From 7664e95d62f62b5b4009a979f2aa973bb7d74cd0 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 3 Sep 2022 02:50:41 +0000 Subject: [PATCH 1/2] feat: add Deidentify action PiperOrigin-RevId: 471923438 Source-Link: https://github.com/googleapis/googleapis/commit/62995d04b95d4da6b691ca6090b394ec67becc8b Source-Link: https://github.com/googleapis/googleapis-gen/commit/96ba1731c712a693995de75378948781af283739 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTZiYTE3MzFjNzEyYTY5Mzk5NWRlNzUzNzg5NDg3ODFhZjI4MzczOSJ9 --- .../google/privacy/dlp/v2/DlpServiceGrpc.java | 4574 ------ .../google/cloud/dlp/v2/DlpServiceClient.java | 152 +- .../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 + .../HttpJsonDlpServiceCallableFactory.java | 0 .../dlp/v2/stub/HttpJsonDlpServiceStub.java | 0 .../dlp/v2/DlpServiceClientHttpJsonTest.java | 0 .../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 | 7431 +++++++++ .../privacy/dlp/v2/ActionOrBuilder.java | 116 +- .../dlp/v2/ActivateJobTriggerRequest.java | 339 +- .../ActivateJobTriggerRequestOrBuilder.java | 31 + .../dlp/v2/AnalyzeDataSourceRiskDetails.java | 13643 +++++----------- ...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 | 29 + .../privacy/dlp/v2/CharacterMaskConfig.java | 560 +- .../dlp/v2/CharacterMaskConfigOrBuilder.java | 63 +- .../google/privacy/dlp/v2/CharsToIgnore.java | 563 +- .../dlp/v2/CharsToIgnoreOrBuilder.java | 48 +- .../privacy/dlp/v2/CloudStorageFileSet.java | 301 +- .../dlp/v2/CloudStorageFileSetOrBuilder.java | 27 +- .../privacy/dlp/v2/CloudStorageOptions.java | 1098 +- .../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 | 949 +- .../privacy/dlp/v2/ContainerOrBuilder.java | 124 +- .../google/privacy/dlp/v2/ContentItem.java | 581 +- .../privacy/dlp/v2/ContentItemOrBuilder.java | 46 +- .../privacy/dlp/v2/ContentLocation.java | 1090 +- .../dlp/v2/ContentLocationOrBuilder.java | 112 +- .../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 | 549 +- .../CryptoDeterministicConfigOrBuilder.java | 48 +- .../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 | 991 +- .../CryptoReplaceFfxFpeConfigOrBuilder.java | 99 +- .../google/privacy/dlp/v2/CustomInfoType.java | 4734 ++---- .../dlp/v2/CustomInfoTypeOrBuilder.java | 85 +- .../privacy/dlp/v2/DataProfileAction.java | 1676 +- .../dlp/v2/DataProfileActionOrBuilder.java | 46 +- .../dlp/v2/DataProfileConfigSnapshot.java | 433 +- .../DataProfileConfigSnapshotOrBuilder.java | 34 +- .../privacy/dlp/v2/DataProfileJobConfig.java | 642 +- .../dlp/v2/DataProfileJobConfigOrBuilder.java | 71 +- .../privacy/dlp/v2/DataProfileLocation.java | 371 +- .../dlp/v2/DataProfileLocationOrBuilder.java | 30 +- .../dlp/v2/DataProfilePubSubCondition.java | 1855 +-- .../DataProfilePubSubConditionOrBuilder.java | 38 +- .../dlp/v2/DataProfilePubSubMessage.java | 413 +- .../v2/DataProfilePubSubMessageOrBuilder.java | 32 +- .../google/privacy/dlp/v2/DataRiskLevel.java | 369 +- .../dlp/v2/DataRiskLevelOrBuilder.java | 24 +- .../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 | 929 +- .../dlp/v2/DeidentifyConfigOrBuilder.java | 77 +- .../dlp/v2/DeidentifyContentRequest.java | 843 +- .../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 | 1278 +- .../com/google/privacy/dlp/v2/DlpJobName.java | 0 .../privacy/dlp/v2/DlpJobOrBuilder.java | 107 +- .../com/google/privacy/dlp/v2/DlpJobType.java | 84 +- .../com/google/privacy/dlp/v2/DlpProto.java | 3641 +++++ .../com/google/privacy/dlp/v2/DlpStorage.java | 560 + .../privacy/dlp/v2/DocumentLocation.java | 262 +- .../dlp/v2/DocumentLocationOrBuilder.java | 20 + .../privacy/dlp/v2/EncryptionStatus.java | 84 +- .../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 | 374 +- .../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 | 136 +- .../com/google/privacy/dlp/v2/Finding.java | 1500 +- .../privacy/dlp/v2/FindingOrBuilder.java | 149 +- .../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 | 71 +- .../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 | 84 +- .../google/privacy/dlp/v2/ImageLocation.java | 366 +- .../dlp/v2/ImageLocationOrBuilder.java | 36 +- .../privacy/dlp/v2/ImageTransformations.java | 4271 +++++ .../dlp/v2/ImageTransformationsOrBuilder.java | 33 + .../com/google/privacy/dlp/v2/InfoType.java | 373 +- .../privacy/dlp/v2/InfoTypeCategory.java | 992 +- .../dlp/v2/InfoTypeCategoryOrBuilder.java | 45 +- .../privacy/dlp/v2/InfoTypeDescription.java | 1189 +- .../dlp/v2/InfoTypeDescriptionOrBuilder.java | 121 +- .../privacy/dlp/v2/InfoTypeOrBuilder.java | 36 +- .../google/privacy/dlp/v2/InfoTypeStats.java | 355 +- .../dlp/v2/InfoTypeStatsOrBuilder.java | 29 +- .../privacy/dlp/v2/InfoTypeSummary.java | 405 +- .../dlp/v2/InfoTypeSummaryOrBuilder.java | 37 +- .../privacy/dlp/v2/InfoTypeSupportedBy.java | 79 +- .../dlp/v2/InfoTypeTransformations.java | 1189 +- .../v2/InfoTypeTransformationsOrBuilder.java | 58 + .../google/privacy/dlp/v2/InspectConfig.java | 2126 +-- .../dlp/v2/InspectConfigOrBuilder.java | 126 +- .../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 | 621 +- .../LargeCustomDictionaryConfigOrBuilder.java | 48 +- .../dlp/v2/LargeCustomDictionaryStats.java | 272 +- .../LargeCustomDictionaryStatsOrBuilder.java | 19 + .../com/google/privacy/dlp/v2/Likelihood.java | 111 +- .../v2/ListDeidentifyTemplatesRequest.java | 682 +- ...stDeidentifyTemplatesRequestOrBuilder.java | 83 +- .../v2/ListDeidentifyTemplatesResponse.java | 449 +- ...tDeidentifyTemplatesResponseOrBuilder.java | 45 +- .../privacy/dlp/v2/ListDlpJobsRequest.java | 847 +- .../dlp/v2/ListDlpJobsRequestOrBuilder.java | 112 +- .../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 | 679 +- .../ListInspectTemplatesRequestOrBuilder.java | 83 +- .../dlp/v2/ListInspectTemplatesResponse.java | 453 +- ...ListInspectTemplatesResponseOrBuilder.java | 45 +- .../dlp/v2/ListJobTriggersRequest.java | 800 +- .../v2/ListJobTriggersRequestOrBuilder.java | 96 +- .../dlp/v2/ListJobTriggersResponse.java | 460 +- .../v2/ListJobTriggersResponseOrBuilder.java | 45 +- .../dlp/v2/ListStoredInfoTypesRequest.java | 662 +- .../ListStoredInfoTypesRequestOrBuilder.java | 79 +- .../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 | 91 +- .../privacy/dlp/v2/MetadataLocation.java | 420 +- .../dlp/v2/MetadataLocationOrBuilder.java | 32 +- .../google/privacy/dlp/v2/MetadataType.java | 77 +- .../dlp/v2/OrganizationLocationName.java | 0 .../privacy/dlp/v2/OrganizationName.java | 0 .../privacy/dlp/v2/OtherInfoTypeSummary.java | 405 +- .../dlp/v2/OtherInfoTypeSummaryOrBuilder.java | 37 +- .../privacy/dlp/v2/OutputStorageConfig.java | 585 +- .../dlp/v2/OutputStorageConfigOrBuilder.java | 44 +- .../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/ProfileStatus.java | 401 +- .../dlp/v2/ProfileStatusOrBuilder.java | 34 +- .../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 | 1830 +-- .../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/RecordTransformation.java | 1059 ++ .../dlp/v2/RecordTransformationOrBuilder.java | 83 + .../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 | 432 +- .../ReidentifyContentResponseOrBuilder.java | 34 +- .../privacy/dlp/v2/RelationalOperator.java | 117 +- .../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/ResourceVisibility.java | 82 +- .../privacy/dlp/v2/RiskAnalysisJobConfig.java | 579 +- .../v2/RiskAnalysisJobConfigOrBuilder.java | 53 +- .../com/google/privacy/dlp/v2/Schedule.java | 387 +- .../privacy/dlp/v2/ScheduleOrBuilder.java | 32 +- .../privacy/dlp/v2/SensitivityScore.java | 367 +- .../dlp/v2/SensitivityScoreOrBuilder.java | 26 +- .../privacy/dlp/v2/StatisticalTable.java | 1221 +- .../dlp/v2/StatisticalTableOrBuilder.java | 90 +- .../google/privacy/dlp/v2/StorageConfig.java | 1679 +- .../dlp/v2/StorageConfigOrBuilder.java | 62 +- .../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 | 93 +- .../privacy/dlp/v2/StoredInfoTypeStats.java | 386 +- .../dlp/v2/StoredInfoTypeStatsOrBuilder.java | 26 +- .../privacy/dlp/v2/StoredInfoTypeVersion.java | 785 +- .../v2/StoredInfoTypeVersionOrBuilder.java | 77 +- .../com/google/privacy/dlp/v2/StoredType.java | 388 +- .../privacy/dlp/v2/StoredTypeOrBuilder.java | 35 +- .../java/com/google/privacy/dlp/v2/Table.java | 879 +- .../privacy/dlp/v2/TableDataProfile.java | 2489 +-- .../dlp/v2/TableDataProfileOrBuilder.java | 242 +- .../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 +- .../privacy/dlp/v2/TransformationConfig.java | 1029 ++ .../dlp/v2/TransformationConfigOrBuilder.java | 97 + .../dlp/v2/TransformationContainerType.java | 135 + .../dlp/v2/TransformationDescription.java | 1200 ++ .../TransformationDescriptionOrBuilder.java | 117 + .../privacy/dlp/v2/TransformationDetails.java | 1894 +++ .../v2/TransformationDetailsOrBuilder.java | 187 + .../TransformationDetailsStorageConfig.java | 821 + ...ormationDetailsStorageConfigOrBuilder.java | 53 + .../dlp/v2/TransformationErrorHandling.java | 1209 +- .../TransformationErrorHandlingOrBuilder.java | 52 +- .../dlp/v2/TransformationLocation.java | 1144 ++ .../v2/TransformationLocationOrBuilder.java | 100 + .../dlp/v2/TransformationOverview.java | 499 +- .../v2/TransformationOverviewOrBuilder.java | 51 +- .../dlp/v2/TransformationResultStatus.java | 788 + .../TransformationResultStatusOrBuilder.java | 57 + .../v2/TransformationResultStatusType.java | 188 + .../privacy/dlp/v2/TransformationSummary.java | 1467 +- .../v2/TransformationSummaryOrBuilder.java | 83 +- .../privacy/dlp/v2/TransformationType.java | 356 + .../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 +- .../privacy/dlp/v2/VersionDescription.java | 761 + .../dlp/v2/VersionDescriptionOrBuilder.java | 49 + .../proto/google/privacy/dlp/v2/dlp.proto | 589 +- .../proto/google/privacy/dlp/v2/storage.proto | 57 +- .../com/google/privacy/dlp/v2/Action.java | 5764 ------- .../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 | 3831 ----- .../com/google/privacy/dlp/v2/DlpStorage.java | 621 - .../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 - 410 files changed, 79005 insertions(+), 100912 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 (97%) 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/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceCallableFactory.java (100%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceStub.java (100%) rename {google-cloud-dlp => owl-bot-staging/v2/google-cloud-dlp}/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientHttpJsonTest.java (100%) 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 create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java 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 (76%) 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 (70%) 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 (78%) 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 (79%) 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 (83%) 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 (67%) 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 (58%) 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 (69%) 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 (72%) 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 (66%) 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 (82%) 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 (91%) 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 (69%) 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 (78%) 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 (86%) 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 (74%) 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/DataProfileAction.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/DataProfileActionOrBuilder.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/DataProfileConfigSnapshot.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/DataProfileConfigSnapshotOrBuilder.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/DataProfileJobConfig.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/DataProfileJobConfigOrBuilder.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/DataProfileLocation.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/DataProfileLocationOrBuilder.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/DataProfilePubSubCondition.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/DataProfilePubSubConditionOrBuilder.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/DataProfilePubSubMessage.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/DataProfilePubSubMessageOrBuilder.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/DataRiskLevel.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/DataRiskLevelOrBuilder.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/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 (70%) 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 (62%) 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 (78%) 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 (66%) 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 (66%) 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/EncryptionStatus.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/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 (79%) 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 (65%) 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 (75%) 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%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformations.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformationsOrBuilder.java 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 (72%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.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/InfoTypeCategoryOrBuilder.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/InfoTypeDescription.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/InfoTypeDescriptionOrBuilder.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/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/InfoTypeSummary.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/InfoTypeSummaryOrBuilder.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/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 (77%) 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 (88%) 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 (76%) 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 (68%) 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 (71%) 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 (76%) 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 (71%) 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 (70%) 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 (73%) 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 (73%) 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 (72%) 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 (70%) 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 (75%) 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 (76%) 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 (78%) 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 (70%) 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 (67%) 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 (73%) 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 (71%) 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 (64%) 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/OtherInfoTypeSummary.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/OtherInfoTypeSummaryOrBuilder.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/OutputStorageConfig.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/OutputStorageConfigOrBuilder.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/PartitionId.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/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/ProfileStatus.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/ProfileStatusOrBuilder.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%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformation.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationOrBuilder.java 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 (68%) 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/ResourceVisibility.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/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 (71%) 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 (67%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.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/SensitivityScoreOrBuilder.java (51%) 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 (66%) 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 (71%) 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 (78%) 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 (72%) 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 (76%) 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 (83%) 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/TableDataProfile.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/TableDataProfileOrBuilder.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/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%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfig.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfigOrBuilder.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationContainerType.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescription.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescriptionOrBuilder.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetails.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsOrBuilder.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfig.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfigOrBuilder.java 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 (62%) 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%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocation.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocationOrBuilder.java 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%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatus.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusOrBuilder.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusType.java 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%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationType.java 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 (69%) 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 (70%) 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%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescription.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescriptionOrBuilder.java rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/proto/google/privacy/dlp/v2/dlp.proto (89%) rename {proto-google-cloud-dlp-v2 => owl-bot-staging/v2/proto-google-cloud-dlp-v2}/src/main/proto/google/privacy/dlp/v2/storage.proto (94%) delete mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java 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 97% 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 2a7392d8..0dcb903b 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 @@ -132,13 +132,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. *
* @@ -528,7 +528,7 @@ public final ReidentifyContentResponse reidentifyContent(ReidentifyContentReques // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns a list of the sensitive information types that the DLP API supports. See + * Returns a list of the sensitive information types that DLP API supports. See * https://cloud.google.com/dlp/docs/infotypes-reference to learn more. * *

Sample code: @@ -554,7 +554,7 @@ public final ListInfoTypesResponse listInfoTypes(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns a list of the sensitive information types that the DLP API supports. See + * Returns a list of the sensitive information types that DLP API supports. See * https://cloud.google.com/dlp/docs/infotypes-reference to learn more. * *

Sample code: @@ -583,7 +583,7 @@ public final ListInfoTypesResponse listInfoTypes(ListInfoTypesRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Returns a list of the sensitive information types that the DLP API supports. See + * Returns a list of the sensitive information types that DLP API supports. See * https://cloud.google.com/dlp/docs/infotypes-reference to learn more. * *

Sample code: @@ -612,7 +612,7 @@ public final UnaryCallable listInfo // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an InspectTemplate for re-using frequently used configuration for inspecting content, + * Creates an InspectTemplate for reusing frequently used configuration for inspecting content, * images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. * *

Sample code: @@ -657,7 +657,7 @@ public final InspectTemplate createInspectTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an InspectTemplate for re-using frequently used configuration for inspecting content, + * Creates an InspectTemplate for reusing frequently used configuration for inspecting content, * images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. * *

Sample code: @@ -702,7 +702,7 @@ public final InspectTemplate createInspectTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an InspectTemplate for re-using frequently used configuration for inspecting content, + * Creates an InspectTemplate for reusing frequently used configuration for inspecting content, * images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. * *

Sample code: @@ -747,7 +747,7 @@ public final InspectTemplate createInspectTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an InspectTemplate for re-using frequently used configuration for inspecting content, + * Creates an InspectTemplate for reusing frequently used configuration for inspecting content, * images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. * *

Sample code: @@ -792,7 +792,7 @@ public final InspectTemplate createInspectTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an InspectTemplate for re-using frequently used configuration for inspecting content, + * Creates an InspectTemplate for reusing frequently used configuration for inspecting content, * images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. * *

Sample code: @@ -837,7 +837,7 @@ public final InspectTemplate createInspectTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an InspectTemplate for re-using frequently used configuration for inspecting content, + * Creates an InspectTemplate for reusing frequently used configuration for inspecting content, * images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. * *

Sample code: @@ -866,7 +866,7 @@ public final InspectTemplate createInspectTemplate(CreateInspectTemplateRequest // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates an InspectTemplate for re-using frequently used configuration for inspecting content, + * Creates an InspectTemplate for reusing frequently used configuration for inspecting content, * images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more. * *

Sample code: @@ -1589,7 +1589,7 @@ public final UnaryCallable deleteInspectTem // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying + * Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying * content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to * learn more. * @@ -1636,7 +1636,7 @@ public final DeidentifyTemplate createDeidentifyTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying + * Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying * content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to * learn more. * @@ -1683,7 +1683,7 @@ public final DeidentifyTemplate createDeidentifyTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying + * Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying * content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to * learn more. * @@ -1730,7 +1730,7 @@ public final DeidentifyTemplate createDeidentifyTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying + * Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying * content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to * learn more. * @@ -1777,7 +1777,7 @@ public final DeidentifyTemplate createDeidentifyTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying + * Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying * content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to * learn more. * @@ -1824,7 +1824,7 @@ public final DeidentifyTemplate createDeidentifyTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying + * Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying * content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to * learn more. * @@ -1855,7 +1855,7 @@ public final DeidentifyTemplate createDeidentifyTemplate( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying + * Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying * content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to * learn more. * @@ -4142,7 +4142,7 @@ public final UnaryCallable getDlpJobCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * 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 + * the DlpJob result. The job will be canceled if possible. See * https://cloud.google.com/dlp/docs/inspecting-storage and * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. * @@ -4169,7 +4169,7 @@ public final void deleteDlpJob(DlpJobName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * 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 + * the DlpJob result. The job will be canceled if possible. See * https://cloud.google.com/dlp/docs/inspecting-storage and * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. * @@ -4195,7 +4195,7 @@ public final void deleteDlpJob(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * 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 + * the DlpJob result. The job will be canceled if possible. See * https://cloud.google.com/dlp/docs/inspecting-storage and * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. * @@ -4223,7 +4223,7 @@ public final void deleteDlpJob(DeleteDlpJobRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * 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 + * the DlpJob result. The job will be canceled if possible. See * https://cloud.google.com/dlp/docs/inspecting-storage and * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. * @@ -4871,11 +4871,7 @@ public final UnaryCallable getStoredIn *

+ Projects scope, location specified:<br/> * `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> * + Projects scope, no location specified (defaults to global):<br/> - * `projects/`<var>PROJECT_ID</var> + Organizations scope, location - * specified:<br/> - * `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> - * + Organizations scope, no location specified (defaults to global):<br/> - * `organizations/`<var>ORG_ID</var> + * `projects/`<var>PROJECT_ID</var> *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

parent=projects/example-project/locations/europe-west3 @@ -4914,11 +4910,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(LocationName p *

+ Projects scope, location specified:<br/> * `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> * + Projects scope, no location specified (defaults to global):<br/> - * `projects/`<var>PROJECT_ID</var> + Organizations scope, location - * specified:<br/> - * `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> - * + Organizations scope, no location specified (defaults to global):<br/> - * `organizations/`<var>ORG_ID</var> + * `projects/`<var>PROJECT_ID</var> *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

parent=projects/example-project/locations/europe-west3 @@ -4958,11 +4950,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes( *

+ Projects scope, location specified:<br/> * `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> * + Projects scope, no location specified (defaults to global):<br/> - * `projects/`<var>PROJECT_ID</var> + Organizations scope, location - * specified:<br/> - * `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> - * + Organizations scope, no location specified (defaults to global):<br/> - * `organizations/`<var>ORG_ID</var> + * `projects/`<var>PROJECT_ID</var> *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

parent=projects/example-project/locations/europe-west3 @@ -5001,11 +4989,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(OrganizationNa *

+ Projects scope, location specified:<br/> * `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> * + Projects scope, no location specified (defaults to global):<br/> - * `projects/`<var>PROJECT_ID</var> + Organizations scope, location - * specified:<br/> - * `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> - * + Organizations scope, no location specified (defaults to global):<br/> - * `organizations/`<var>ORG_ID</var> + * `projects/`<var>PROJECT_ID</var> *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

parent=projects/example-project/locations/europe-west3 @@ -5044,11 +5028,7 @@ public final ListStoredInfoTypesPagedResponse listStoredInfoTypes(ProjectName pa *

+ Projects scope, location specified:<br/> * `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var> * + Projects scope, no location specified (defaults to global):<br/> - * `projects/`<var>PROJECT_ID</var> + Organizations scope, location - * specified:<br/> - * `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var> - * + Organizations scope, no location specified (defaults to global):<br/> - * `organizations/`<var>ORG_ID</var> + * `projects/`<var>PROJECT_ID</var> *

The following example `parent` string specifies a parent project with the identifier * `example-project`, and specifies the `europe-west3` location for processing data: *

parent=projects/example-project/locations/europe-west3 @@ -5485,11 +5465,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 @@ -5510,9 +5487,7 @@ private ListInspectTemplatesPagedResponse(ListInspectTemplatesPage page) { public static class ListInspectTemplatesPage extends AbstractPage< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, - InspectTemplate, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, InspectTemplate, ListInspectTemplatesPage> { private ListInspectTemplatesPage( @@ -5545,11 +5520,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) { @@ -5569,11 +5541,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< @@ -5595,9 +5564,7 @@ private ListDeidentifyTemplatesPagedResponse(ListDeidentifyTemplatesPage page) { public static class ListDeidentifyTemplatesPage extends AbstractPage< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, - DeidentifyTemplate, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate, ListDeidentifyTemplatesPage> { private ListDeidentifyTemplatesPage( @@ -5633,11 +5600,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) { @@ -5657,10 +5621,7 @@ protected ListDeidentifyTemplatesFixedSizeCollection createCollection( public static class ListJobTriggersPagedResponse extends AbstractPagedListResponse< - ListJobTriggersRequest, - ListJobTriggersResponse, - JobTrigger, - ListJobTriggersPage, + ListJobTriggersRequest, ListJobTriggersResponse, JobTrigger, ListJobTriggersPage, ListJobTriggersFixedSizeCollection> { public static ApiFuture createAsync( @@ -5710,10 +5671,7 @@ public ApiFuture createPageAsync( public static class ListJobTriggersFixedSizeCollection extends AbstractFixedSizeCollection< - ListJobTriggersRequest, - ListJobTriggersResponse, - JobTrigger, - ListJobTriggersPage, + ListJobTriggersRequest, ListJobTriggersResponse, JobTrigger, ListJobTriggersPage, ListJobTriggersFixedSizeCollection> { private ListJobTriggersFixedSizeCollection( @@ -5734,10 +5692,7 @@ protected ListJobTriggersFixedSizeCollection createCollection( public static class ListDlpJobsPagedResponse extends AbstractPagedListResponse< - ListDlpJobsRequest, - ListDlpJobsResponse, - DlpJob, - ListDlpJobsPage, + ListDlpJobsRequest, ListDlpJobsResponse, DlpJob, ListDlpJobsPage, ListDlpJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -5784,10 +5739,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) { @@ -5807,11 +5759,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 @@ -5832,9 +5781,7 @@ private ListStoredInfoTypesPagedResponse(ListStoredInfoTypesPage page) { public static class ListStoredInfoTypesPage extends AbstractPage< - ListStoredInfoTypesRequest, - ListStoredInfoTypesResponse, - StoredInfoType, + ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, StoredInfoType, ListStoredInfoTypesPage> { private ListStoredInfoTypesPage( @@ -5867,11 +5814,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 e5574d63..179b7a8a 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 @@ -32,6 +32,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; @@ -97,9 +98,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 @@ -173,8 +174,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(); @@ -205,8 +205,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(); @@ -486,8 +485,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(); @@ -519,8 +517,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(); @@ -620,8 +617,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 da9bfec3..2536c4c1 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 @@ -114,9 +114,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 @@ -162,8 +162,7 @@ public class DlpServiceStubSettings extends StubSettings private final UnaryCallSettings getInspectTemplateSettings; private final PagedCallSettings< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings; private final UnaryCallSettings @@ -175,8 +174,7 @@ public class DlpServiceStubSettings extends StubSettings private final UnaryCallSettings getDeidentifyTemplateSettings; private final PagedCallSettings< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings; private final UnaryCallSettings @@ -256,8 +254,7 @@ public Iterable extractResources( ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate> LIST_DEIDENTIFY_TEMPLATES_PAGE_STR_DESC = new PagedListDescriptor< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate>() { @Override public String emptyToken() { @@ -413,13 +410,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( @@ -437,13 +432,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( @@ -453,8 +446,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate> pageContext = PageContext.create( @@ -501,8 +493,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( @@ -565,8 +556,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; @@ -597,8 +587,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; @@ -876,8 +865,7 @@ public static class Builder extends StubSettings.Builder getInspectTemplateSettings; private final PagedCallSettings.Builder< - ListInspectTemplatesRequest, - ListInspectTemplatesResponse, + ListInspectTemplatesRequest, ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings; private final UnaryCallSettings.Builder @@ -889,8 +877,7 @@ public static class Builder extends StubSettings.Builder getDeidentifyTemplateSettings; private final PagedCallSettings.Builder< - ListDeidentifyTemplatesRequest, - ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings; private final UnaryCallSettings.Builder @@ -923,8 +910,7 @@ public static class Builder extends StubSettings.Builder getStoredInfoTypeSettings; private final PagedCallSettings.Builder< - ListStoredInfoTypesRequest, - ListStoredInfoTypesResponse, + ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings; private final UnaryCallSettings.Builder @@ -1400,8 +1386,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; @@ -1433,8 +1418,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; @@ -1534,8 +1518,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 573b2204..d50ba9f2 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/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceCallableFactory.java b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceCallableFactory.java similarity index 100% rename from google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceCallableFactory.java rename to owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceCallableFactory.java diff --git a/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceStub.java b/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceStub.java similarity index 100% rename from google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceStub.java rename to owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceStub.java diff --git a/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientHttpJsonTest.java b/owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientHttpJsonTest.java similarity index 100% rename from google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientHttpJsonTest.java rename to owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientHttpJsonTest.java 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..b513b785 --- /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 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 reusing 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 reusing 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 canceled 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 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 reusing 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 reusing 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 canceled 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 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 reusing 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 reusing 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 canceled 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 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 reusing 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 reusing 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 canceled 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/Action.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java new file mode 100644 index 00000000..65f4eeca --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java @@ -0,0 +1,7431 @@ +// 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.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action} + */ +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; + // Use Action.newBuilder() to construct. + private Action(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Action() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Action(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Action( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 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(); + } + 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 58: { + com.google.privacy.dlp.v2.Action.Deidentify.Builder subBuilder = null; + if (actionCase_ == 7) { + subBuilder = ((com.google.privacy.dlp.v2.Action.Deidentify) action_).toBuilder(); + } + action_ = + input.readMessage(com.google.privacy.dlp.v2.Action.Deidentify.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.Deidentify) action_); + action_ = subBuilder.buildPartial(); + } + actionCase_ = 7; + 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 (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.Action.class, com.google.privacy.dlp.v2.Action.Builder.class); + } + + 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.
+     * 
+ * + * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + */ + 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
+   * specified.
+   * Compatible with: Inspect, Risk
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.SaveFindings} + */ + 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; + // Use SaveFindings.newBuilder() to construct. + private SaveFindings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SaveFindings() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SaveFindings(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SaveFindings( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 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; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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 + 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_; + } + /** + *
+     * Location to store findings outside of DLP.
+     * 
+ * + * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrBuilder() { + return getOutputConfig(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (outputConfig_ != null) { + output.writeMessage(1, getOutputConfig()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (outputConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOutputConfig()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.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; + + if (hasOutputConfig() != other.hasOutputConfig()) return false; + if (hasOutputConfig()) { + if (!getOutputConfig() + .equals(other.getOutputConfig())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasOutputConfig()) { + hash = (37 * hash) + OUTPUT_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getOutputConfig().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + 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) + 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) + 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); + } + public static com.google.privacy.dlp.v2.Action.SaveFindings 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.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) + throws java.io.IOException { + 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); + } + 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); + } + + @java.lang.Override + 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); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * If set, the detailed findings will be persisted to the specified
+     * OutputStorageConfig. Only a single instance of this action can be
+     * specified.
+     * Compatible with: Inspect, Risk
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.SaveFindings} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (outputConfigBuilder_ == null) { + outputConfig_ = null; + } else { + outputConfig_ = null; + outputConfigBuilder_ = null; + } + return this; + } + + @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; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.SaveFindings getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.SaveFindings build() { + com.google.privacy.dlp.v2.Action.SaveFindings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + if (outputConfigBuilder_ == null) { + result.outputConfig_ = outputConfig_; + } else { + result.outputConfig_ = outputConfigBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.Action.SaveFindings) { + return mergeFrom((com.google.privacy.dlp.v2.Action.SaveFindings)other); + } else { + super.mergeFrom(other); + return this; + } + } + + 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.hasOutputConfig()) { + mergeOutputConfig(other.getOutputConfig()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.Action.SaveFindings parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.Action.SaveFindings) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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_; + /** + *
+       * 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_; + } else { + return outputConfigBuilder_.getMessage(); + } + } + /** + *
+       * Location to store findings outside of DLP.
+       * 
+ * + * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + */ + public Builder setOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig value) { + if (outputConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + outputConfig_ = value; + onChanged(); + } else { + outputConfigBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Location to store findings outside of DLP.
+       * 
+ * + * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + */ + public Builder setOutputConfig( + com.google.privacy.dlp.v2.OutputStorageConfig.Builder builderForValue) { + if (outputConfigBuilder_ == null) { + outputConfig_ = builderForValue.build(); + onChanged(); + } else { + outputConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Location to store findings outside of DLP.
+       * 
+ * + * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + */ + public Builder mergeOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig value) { + if (outputConfigBuilder_ == null) { + if (outputConfig_ != null) { + outputConfig_ = + com.google.privacy.dlp.v2.OutputStorageConfig.newBuilder(outputConfig_).mergeFrom(value).buildPartial(); + } else { + outputConfig_ = value; + } + onChanged(); + } else { + outputConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Location to store findings outside of DLP.
+       * 
+ * + * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + */ + public Builder clearOutputConfig() { + if (outputConfigBuilder_ == null) { + outputConfig_ = null; + onChanged(); + } else { + outputConfig_ = null; + outputConfigBuilder_ = null; + } + + return this; + } + /** + *
+       * Location to store findings outside of DLP.
+       * 
+ * + * .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.
+       * 
+ * + * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; + */ + public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrBuilder() { + if (outputConfigBuilder_ != null) { + return outputConfigBuilder_.getMessageOrBuilder(); + } else { + return outputConfig_ == null ? + com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() : outputConfig_; + } + } + /** + *
+       * Location to store findings outside of DLP.
+       * 
+ * + * .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> + 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()); + outputConfig_ = null; + } + return outputConfigBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.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(); + } + + 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); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.SaveFindings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + 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
+     * the long running DlpJob sending the notifications.
+     * Format is projects/{project}/topics/{topic}.
+     * 
+ * + * 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
+     * the long running DlpJob sending the notifications.
+     * Format is projects/{project}/topics/{topic}.
+     * 
+ * + * string topic = 1; + * @return The bytes for topic. + */ + com.google.protobuf.ByteString + getTopicBytes(); + } + /** + *
+   * Publish a message into a given Pub/Sub topic when DlpJob has completed. The
+   * message contains a single field, `DlpJobName`, which is equal to the
+   * finished job's
+   * [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
+   * Compatible with: Inspect, Risk
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToPubSub} + */ + 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; + // 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) { + return new PublishToPubSub(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PublishToPubSub( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + topic_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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
+     * the long running DlpJob sending the notifications.
+     * Format is projects/{project}/topics/{topic}.
+     * 
+ * + * string topic = 1; + * @return The topic. + */ + @java.lang.Override + public java.lang.String getTopic() { + java.lang.Object ref = topic_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + 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
+     * the long running DlpJob sending the notifications.
+     * Format is projects/{project}/topics/{topic}.
+     * 
+ * + * string topic = 1; + * @return The bytes for topic. + */ + @java.lang.Override + 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); + topic_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.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; + + if (!getTopic() + .equals(other.getTopic())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TOPIC_FIELD_NUMBER; + hash = (53 * hash) + getTopic().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( + 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) + 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) + 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, + 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.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) + throws java.io.IOException { + 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); + } + 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); + } + + @java.lang.Override + 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); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Publish a message into a given Pub/Sub topic when DlpJob has completed. The
+     * message contains a single field, `DlpJobName`, which is equal to the
+     * finished job's
+     * [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
+     * Compatible with: Inspect, Risk
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToPubSub} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + topic_ = ""; + + return this; + } + + @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; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishToPubSub getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishToPubSub build() { + com.google.privacy.dlp.v2.Action.PublishToPubSub result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + result.topic_ = topic_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.Action.PublishToPubSub) { + return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToPubSub)other); + } else { + super.mergeFrom(other); + return this; + } + } + + 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.getTopic().isEmpty()) { + topic_ = other.topic_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.Action.PublishToPubSub parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.Action.PublishToPubSub) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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
+       * the long running DlpJob sending the notifications.
+       * Format is projects/{project}/topics/{topic}.
+       * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + topic_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Cloud Pub/Sub topic to send notifications to. The topic must have given
+       * publishing access rights to the DLP API service account executing
+       * the long running DlpJob sending the notifications.
+       * Format is projects/{project}/topics/{topic}.
+       * 
+ * + * string topic = 1; + * @return The bytes for topic. + */ + 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); + topic_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Cloud Pub/Sub topic to send notifications to. The topic must have given
+       * publishing access rights to the DLP API service account executing
+       * the long running DlpJob sending the notifications.
+       * Format is projects/{project}/topics/{topic}.
+       * 
+ * + * string topic = 1; + * @param value The topic to set. + * @return This builder for chaining. + */ + public Builder setTopic( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + 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
+       * the long running DlpJob sending the notifications.
+       * Format is projects/{project}/topics/{topic}.
+       * 
+ * + * 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
+       * the long running DlpJob sending the notifications.
+       * Format is projects/{project}/topics/{topic}.
+       * 
+ * + * string topic = 1; + * @param value The bytes for topic to set. + * @return This builder for chaining. + */ + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + topic_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.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(); + } + + public static com.google.privacy.dlp.v2.Action.PublishToPubSub getDefaultInstance() { + 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); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishToPubSub getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface PublishSummaryToCsccOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishSummaryToCscc) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Publish the result summary of a DlpJob to the Cloud Security
+   * Command Center (CSCC Alpha).
+   * This action is only available for projects which are parts of
+   * an organization and whitelisted for the alpha Cloud Security Command
+   * Center.
+   * The action will publish the count of finding instances and their info
+   * types. The summary of findings will be persisted in CSCC and are governed
+   * by CSCC service-specific policy, see
+   * https://cloud.google.com/terms/service-terms Only a single instance of this
+   * action can be specified. Compatible with: Inspect
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.PublishSummaryToCscc} + */ + 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; + // Use PublishSummaryToCscc.newBuilder() to construct. + private PublishSummaryToCscc(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PublishSummaryToCscc() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PublishSummaryToCscc(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PublishSummaryToCscc( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.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; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom( + 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) + 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) + 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, + 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.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) + throws java.io.IOException { + 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); + } + 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); + } + + @java.lang.Override + 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) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Publish the result summary of a DlpJob to the Cloud Security
+     * Command Center (CSCC Alpha).
+     * This action is only available for projects which are parts of
+     * an organization and whitelisted for the alpha Cloud Security Command
+     * Center.
+     * The action will publish the count of finding instances and their info
+     * types. The summary of findings will be persisted in CSCC and are governed
+     * by CSCC service-specific policy, see
+     * https://cloud.google.com/terms/service-terms Only a single instance of this
+     * action can be specified. Compatible with: Inspect
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.PublishSummaryToCscc} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @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; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc build() { + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) { + return mergeFrom((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc other) { + if (other == com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.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(); + } + + public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultInstance() { + 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); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface PublishFindingsToCloudDataCatalogOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag
+   * templates are applied to the resource that Cloud DLP scanned. Data
+   * Catalog tag templates are stored in the same project and region where the
+   * BigQuery table exists. For Cloud DLP to create and apply the tag template,
+   * the Cloud DLP service agent must have the
+   * `roles/datacatalog.tagTemplateOwner` permission on the project. The tag
+   * template contains fields summarizing the results of the DlpJob. Any field
+   * values previously written by another DlpJob are deleted. [InfoType naming
+   * patterns][google.privacy.dlp.v2.InfoType] are strictly enforced when using
+   * this feature.
+   * Findings are persisted in Data Catalog storage and are governed by
+   * service-specific policies for Data Catalog. For more information, see
+   * [Service Specific Terms](https://cloud.google.com/terms/service-terms).
+   * Only a single instance of this action can be specified. This action is
+   * allowed only if all resources being scanned are BigQuery tables.
+   * Compatible with: Inspect
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog} + */ + 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; + // Use PublishFindingsToCloudDataCatalog.newBuilder() to construct. + private PublishFindingsToCloudDataCatalog(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PublishFindingsToCloudDataCatalog() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PublishFindingsToCloudDataCatalog(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PublishFindingsToCloudDataCatalog( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.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; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom( + 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) + 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 { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog 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.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) + throws java.io.IOException { + 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, + 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); + } + 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); + } + + @java.lang.Override + 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) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag
+     * templates are applied to the resource that Cloud DLP scanned. Data
+     * Catalog tag templates are stored in the same project and region where the
+     * BigQuery table exists. For Cloud DLP to create and apply the tag template,
+     * the Cloud DLP service agent must have the
+     * `roles/datacatalog.tagTemplateOwner` permission on the project. The tag
+     * template contains fields summarizing the results of the DlpJob. Any field
+     * values previously written by another DlpJob are deleted. [InfoType naming
+     * patterns][google.privacy.dlp.v2.InfoType] are strictly enforced when using
+     * this feature.
+     * Findings are persisted in Data Catalog storage and are governed by
+     * service-specific policies for Data Catalog. For more information, see
+     * [Service Specific Terms](https://cloud.google.com/terms/service-terms).
+     * Only a single instance of this action can be specified. This action is
+     * allowed only if all resources being scanned are BigQuery tables.
+     * Compatible with: Inspect
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @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; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog build() { + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) { + 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; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.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; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog(); + } + + 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); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DeidentifyOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.Deidentify) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * User specified deidentify templates and configs for structured,
+     * unstructured, and image files.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * @return Whether the transformationConfig field is set. + */ + boolean hasTransformationConfig(); + /** + *
+     * User specified deidentify templates and configs for structured,
+     * unstructured, and image files.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * @return The transformationConfig. + */ + com.google.privacy.dlp.v2.TransformationConfig getTransformationConfig(); + /** + *
+     * User specified deidentify templates and configs for structured,
+     * unstructured, and image files.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + */ + com.google.privacy.dlp.v2.TransformationConfigOrBuilder getTransformationConfigOrBuilder(); + + /** + *
+     * Config for storing transformation details. This is separate from the
+     * de-identified content, and contains metadata about the successful
+     * transformations and/or failures that occurred while de-identifying. This
+     * needs to be set in order for users to access information about the status
+     * of each transformation (see
+     * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+     * message for more information about what is noted).
+     * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * @return Whether the transformationDetailsStorageConfig field is set. + */ + boolean hasTransformationDetailsStorageConfig(); + /** + *
+     * Config for storing transformation details. This is separate from the
+     * de-identified content, and contains metadata about the successful
+     * transformations and/or failures that occurred while de-identifying. This
+     * needs to be set in order for users to access information about the status
+     * of each transformation (see
+     * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+     * message for more information about what is noted).
+     * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * @return The transformationDetailsStorageConfig. + */ + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getTransformationDetailsStorageConfig(); + /** + *
+     * Config for storing transformation details. This is separate from the
+     * de-identified content, and contains metadata about the successful
+     * transformations and/or failures that occurred while de-identifying. This
+     * needs to be set in order for users to access information about the status
+     * of each transformation (see
+     * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+     * message for more information about what is noted).
+     * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + */ + com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder getTransformationDetailsStorageConfigOrBuilder(); + + /** + *
+     * Required. User settable Cloud Storage bucket and folders to store de-identified
+     * files. This field must be set for cloud storage deidentification. The
+     * output Cloud Storage bucket must be different from the input bucket.
+     * De-identified files will overwrite files in the output path.
+     * Form of: gs://bucket/folder/ or gs://bucket
+     * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the cloudStorageOutput field is set. + */ + boolean hasCloudStorageOutput(); + /** + *
+     * Required. User settable Cloud Storage bucket and folders to store de-identified
+     * files. This field must be set for cloud storage deidentification. The
+     * output Cloud Storage bucket must be different from the input bucket.
+     * De-identified files will overwrite files in the output path.
+     * Form of: gs://bucket/folder/ or gs://bucket
+     * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return The cloudStorageOutput. + */ + java.lang.String getCloudStorageOutput(); + /** + *
+     * Required. User settable Cloud Storage bucket and folders to store de-identified
+     * files. This field must be set for cloud storage deidentification. The
+     * output Cloud Storage bucket must be different from the input bucket.
+     * De-identified files will overwrite files in the output path.
+     * Form of: gs://bucket/folder/ or gs://bucket
+     * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for cloudStorageOutput. + */ + com.google.protobuf.ByteString + getCloudStorageOutputBytes(); + + /** + *
+     * List of user-specified file type groups to transform. If specified, only
+     * the files with these filetypes will be transformed. If empty, all
+     * supported files will be transformed. Supported types may be automatically
+     * added over time. If a file type is set in this field that isn't supported
+     * by the Deidentify action then the job will fail and will not be
+     * successfully created/started. Currently the only filetypes supported are:
+     * IMAGES, TEXT_FILES, CSV, TSV.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @return A list containing the fileTypesToTransform. + */ + java.util.List getFileTypesToTransformList(); + /** + *
+     * List of user-specified file type groups to transform. If specified, only
+     * the files with these filetypes will be transformed. If empty, all
+     * supported files will be transformed. Supported types may be automatically
+     * added over time. If a file type is set in this field that isn't supported
+     * by the Deidentify action then the job will fail and will not be
+     * successfully created/started. Currently the only filetypes supported are:
+     * IMAGES, TEXT_FILES, CSV, TSV.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @return The count of fileTypesToTransform. + */ + int getFileTypesToTransformCount(); + /** + *
+     * List of user-specified file type groups to transform. If specified, only
+     * the files with these filetypes will be transformed. If empty, all
+     * supported files will be transformed. Supported types may be automatically
+     * added over time. If a file type is set in this field that isn't supported
+     * by the Deidentify action then the job will fail and will not be
+     * successfully created/started. Currently the only filetypes supported are:
+     * IMAGES, TEXT_FILES, CSV, TSV.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param index The index of the element to return. + * @return The fileTypesToTransform at the given index. + */ + com.google.privacy.dlp.v2.FileType getFileTypesToTransform(int index); + /** + *
+     * List of user-specified file type groups to transform. If specified, only
+     * the files with these filetypes will be transformed. If empty, all
+     * supported files will be transformed. Supported types may be automatically
+     * added over time. If a file type is set in this field that isn't supported
+     * by the Deidentify action then the job will fail and will not be
+     * successfully created/started. Currently the only filetypes supported are:
+     * IMAGES, TEXT_FILES, CSV, TSV.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @return A list containing the enum numeric values on the wire for fileTypesToTransform. + */ + java.util.List + getFileTypesToTransformValueList(); + /** + *
+     * List of user-specified file type groups to transform. If specified, only
+     * the files with these filetypes will be transformed. If empty, all
+     * supported files will be transformed. Supported types may be automatically
+     * added over time. If a file type is set in this field that isn't supported
+     * by the Deidentify action then the job will fail and will not be
+     * successfully created/started. Currently the only filetypes supported are:
+     * IMAGES, TEXT_FILES, CSV, TSV.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of fileTypesToTransform at the given index. + */ + int getFileTypesToTransformValue(int index); + + public com.google.privacy.dlp.v2.Action.Deidentify.OutputCase getOutputCase(); + } + /** + *
+   * Create a de-identified copy of the requested table or files.
+   * A TransformationDetail will be created for each transformation.
+   * If any rows in BigQuery are skipped during de-identification
+   * (transformation errors or row size exceeds BigQuery insert API limits) they
+   * are placed in the failure output table. If the original row exceeds
+   * the BigQuery insert API limit it will be truncated when written to the
+   * failure output table. The failure output table can be set in the
+   * action.deidentify.output.big_query_output.deidentified_failure_output_table
+   * field, if no table is set, a table will be automatically created in the
+   * same project and dataset as the original table.
+   * Compatible with: Inspect
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.Deidentify} + */ + public static final class Deidentify extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.Deidentify) + DeidentifyOrBuilder { + private static final long serialVersionUID = 0L; + // Use Deidentify.newBuilder() to construct. + private Deidentify(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Deidentify() { + fileTypesToTransform_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Deidentify(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Deidentify( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26: { + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder subBuilder = null; + if (transformationDetailsStorageConfig_ != null) { + subBuilder = transformationDetailsStorageConfig_.toBuilder(); + } + transformationDetailsStorageConfig_ = input.readMessage(com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transformationDetailsStorageConfig_); + transformationDetailsStorageConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 58: { + com.google.privacy.dlp.v2.TransformationConfig.Builder subBuilder = null; + if (transformationConfig_ != null) { + subBuilder = transformationConfig_.toBuilder(); + } + transformationConfig_ = input.readMessage(com.google.privacy.dlp.v2.TransformationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transformationConfig_); + transformationConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 64: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fileTypesToTransform_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + fileTypesToTransform_.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_ & 0x00000001) != 0)) { + fileTypesToTransform_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + fileTypesToTransform_.add(rawValue); + } + input.popLimit(oldLimit); + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + outputCase_ = 9; + output_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + fileTypesToTransform_ = java.util.Collections.unmodifiableList(fileTypesToTransform_); + } + 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_Deidentify_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_Deidentify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.Action.Deidentify.class, com.google.privacy.dlp.v2.Action.Deidentify.Builder.class); + } + + private int outputCase_ = 0; + private java.lang.Object output_; + public enum OutputCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + CLOUD_STORAGE_OUTPUT(9), + OUTPUT_NOT_SET(0); + private final int value; + private OutputCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static OutputCase valueOf(int value) { + return forNumber(value); + } + + public static OutputCase forNumber(int value) { + switch (value) { + case 9: return CLOUD_STORAGE_OUTPUT; + case 0: return OUTPUT_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public OutputCase + getOutputCase() { + return OutputCase.forNumber( + outputCase_); + } + + public static final int TRANSFORMATION_CONFIG_FIELD_NUMBER = 7; + private com.google.privacy.dlp.v2.TransformationConfig transformationConfig_; + /** + *
+     * User specified deidentify templates and configs for structured,
+     * unstructured, and image files.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * @return Whether the transformationConfig field is set. + */ + @java.lang.Override + public boolean hasTransformationConfig() { + return transformationConfig_ != null; + } + /** + *
+     * User specified deidentify templates and configs for structured,
+     * unstructured, and image files.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * @return The transformationConfig. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationConfig getTransformationConfig() { + return transformationConfig_ == null ? com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance() : transformationConfig_; + } + /** + *
+     * User specified deidentify templates and configs for structured,
+     * unstructured, and image files.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationConfigOrBuilder getTransformationConfigOrBuilder() { + return getTransformationConfig(); + } + + public static final int TRANSFORMATION_DETAILS_STORAGE_CONFIG_FIELD_NUMBER = 3; + private com.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformationDetailsStorageConfig_; + /** + *
+     * Config for storing transformation details. This is separate from the
+     * de-identified content, and contains metadata about the successful
+     * transformations and/or failures that occurred while de-identifying. This
+     * needs to be set in order for users to access information about the status
+     * of each transformation (see
+     * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+     * message for more information about what is noted).
+     * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * @return Whether the transformationDetailsStorageConfig field is set. + */ + @java.lang.Override + public boolean hasTransformationDetailsStorageConfig() { + return transformationDetailsStorageConfig_ != null; + } + /** + *
+     * Config for storing transformation details. This is separate from the
+     * de-identified content, and contains metadata about the successful
+     * transformations and/or failures that occurred while de-identifying. This
+     * needs to be set in order for users to access information about the status
+     * of each transformation (see
+     * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+     * message for more information about what is noted).
+     * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * @return The transformationDetailsStorageConfig. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getTransformationDetailsStorageConfig() { + return transformationDetailsStorageConfig_ == null ? com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance() : transformationDetailsStorageConfig_; + } + /** + *
+     * Config for storing transformation details. This is separate from the
+     * de-identified content, and contains metadata about the successful
+     * transformations and/or failures that occurred while de-identifying. This
+     * needs to be set in order for users to access information about the status
+     * of each transformation (see
+     * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+     * message for more information about what is noted).
+     * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder getTransformationDetailsStorageConfigOrBuilder() { + return getTransformationDetailsStorageConfig(); + } + + public static final int CLOUD_STORAGE_OUTPUT_FIELD_NUMBER = 9; + /** + *
+     * Required. User settable Cloud Storage bucket and folders to store de-identified
+     * files. This field must be set for cloud storage deidentification. The
+     * output Cloud Storage bucket must be different from the input bucket.
+     * De-identified files will overwrite files in the output path.
+     * Form of: gs://bucket/folder/ or gs://bucket
+     * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the cloudStorageOutput field is set. + */ + public boolean hasCloudStorageOutput() { + return outputCase_ == 9; + } + /** + *
+     * Required. User settable Cloud Storage bucket and folders to store de-identified
+     * files. This field must be set for cloud storage deidentification. The
+     * output Cloud Storage bucket must be different from the input bucket.
+     * De-identified files will overwrite files in the output path.
+     * Form of: gs://bucket/folder/ or gs://bucket
+     * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return The cloudStorageOutput. + */ + public java.lang.String getCloudStorageOutput() { + java.lang.Object ref = ""; + if (outputCase_ == 9) { + ref = output_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (outputCase_ == 9) { + output_ = s; + } + return s; + } + } + /** + *
+     * Required. User settable Cloud Storage bucket and folders to store de-identified
+     * files. This field must be set for cloud storage deidentification. The
+     * output Cloud Storage bucket must be different from the input bucket.
+     * De-identified files will overwrite files in the output path.
+     * Form of: gs://bucket/folder/ or gs://bucket
+     * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for cloudStorageOutput. + */ + public com.google.protobuf.ByteString + getCloudStorageOutputBytes() { + java.lang.Object ref = ""; + if (outputCase_ == 9) { + ref = output_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (outputCase_ == 9) { + output_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILE_TYPES_TO_TRANSFORM_FIELD_NUMBER = 8; + private java.util.List fileTypesToTransform_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< + java.lang.Integer, com.google.privacy.dlp.v2.FileType> fileTypesToTransform_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); + return result == null ? com.google.privacy.dlp.v2.FileType.UNRECOGNIZED : result; + } + }; + /** + *
+     * List of user-specified file type groups to transform. If specified, only
+     * the files with these filetypes will be transformed. If empty, all
+     * supported files will be transformed. Supported types may be automatically
+     * added over time. If a file type is set in this field that isn't supported
+     * by the Deidentify action then the job will fail and will not be
+     * successfully created/started. Currently the only filetypes supported are:
+     * IMAGES, TEXT_FILES, CSV, TSV.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @return A list containing the fileTypesToTransform. + */ + @java.lang.Override + public java.util.List getFileTypesToTransformList() { + return new com.google.protobuf.Internal.ListAdapter< + java.lang.Integer, com.google.privacy.dlp.v2.FileType>(fileTypesToTransform_, fileTypesToTransform_converter_); + } + /** + *
+     * List of user-specified file type groups to transform. If specified, only
+     * the files with these filetypes will be transformed. If empty, all
+     * supported files will be transformed. Supported types may be automatically
+     * added over time. If a file type is set in this field that isn't supported
+     * by the Deidentify action then the job will fail and will not be
+     * successfully created/started. Currently the only filetypes supported are:
+     * IMAGES, TEXT_FILES, CSV, TSV.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @return The count of fileTypesToTransform. + */ + @java.lang.Override + public int getFileTypesToTransformCount() { + return fileTypesToTransform_.size(); + } + /** + *
+     * List of user-specified file type groups to transform. If specified, only
+     * the files with these filetypes will be transformed. If empty, all
+     * supported files will be transformed. Supported types may be automatically
+     * added over time. If a file type is set in this field that isn't supported
+     * by the Deidentify action then the job will fail and will not be
+     * successfully created/started. Currently the only filetypes supported are:
+     * IMAGES, TEXT_FILES, CSV, TSV.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param index The index of the element to return. + * @return The fileTypesToTransform at the given index. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.FileType getFileTypesToTransform(int index) { + return fileTypesToTransform_converter_.convert(fileTypesToTransform_.get(index)); + } + /** + *
+     * List of user-specified file type groups to transform. If specified, only
+     * the files with these filetypes will be transformed. If empty, all
+     * supported files will be transformed. Supported types may be automatically
+     * added over time. If a file type is set in this field that isn't supported
+     * by the Deidentify action then the job will fail and will not be
+     * successfully created/started. Currently the only filetypes supported are:
+     * IMAGES, TEXT_FILES, CSV, TSV.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @return A list containing the enum numeric values on the wire for fileTypesToTransform. + */ + @java.lang.Override + public java.util.List + getFileTypesToTransformValueList() { + return fileTypesToTransform_; + } + /** + *
+     * List of user-specified file type groups to transform. If specified, only
+     * the files with these filetypes will be transformed. If empty, all
+     * supported files will be transformed. Supported types may be automatically
+     * added over time. If a file type is set in this field that isn't supported
+     * by the Deidentify action then the job will fail and will not be
+     * successfully created/started. Currently the only filetypes supported are:
+     * IMAGES, TEXT_FILES, CSV, TSV.
+     * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of fileTypesToTransform at the given index. + */ + @java.lang.Override + public int getFileTypesToTransformValue(int index) { + return fileTypesToTransform_.get(index); + } + private int fileTypesToTransformMemoizedSerializedSize; + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (transformationDetailsStorageConfig_ != null) { + output.writeMessage(3, getTransformationDetailsStorageConfig()); + } + if (transformationConfig_ != null) { + output.writeMessage(7, getTransformationConfig()); + } + if (getFileTypesToTransformList().size() > 0) { + output.writeUInt32NoTag(66); + output.writeUInt32NoTag(fileTypesToTransformMemoizedSerializedSize); + } + for (int i = 0; i < fileTypesToTransform_.size(); i++) { + output.writeEnumNoTag(fileTypesToTransform_.get(i)); + } + if (outputCase_ == 9) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, output_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (transformationDetailsStorageConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTransformationDetailsStorageConfig()); + } + if (transformationConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getTransformationConfig()); + } + { + int dataSize = 0; + for (int i = 0; i < fileTypesToTransform_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(fileTypesToTransform_.get(i)); + } + size += dataSize; + if (!getFileTypesToTransformList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }fileTypesToTransformMemoizedSerializedSize = dataSize; + } + if (outputCase_ == 9) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, output_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.Action.Deidentify)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.Action.Deidentify other = (com.google.privacy.dlp.v2.Action.Deidentify) obj; + + if (hasTransformationConfig() != other.hasTransformationConfig()) return false; + if (hasTransformationConfig()) { + if (!getTransformationConfig() + .equals(other.getTransformationConfig())) return false; + } + if (hasTransformationDetailsStorageConfig() != other.hasTransformationDetailsStorageConfig()) return false; + if (hasTransformationDetailsStorageConfig()) { + if (!getTransformationDetailsStorageConfig() + .equals(other.getTransformationDetailsStorageConfig())) return false; + } + if (!fileTypesToTransform_.equals(other.fileTypesToTransform_)) return false; + if (!getOutputCase().equals(other.getOutputCase())) return false; + switch (outputCase_) { + case 9: + if (!getCloudStorageOutput() + .equals(other.getCloudStorageOutput())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTransformationConfig()) { + hash = (37 * hash) + TRANSFORMATION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getTransformationConfig().hashCode(); + } + if (hasTransformationDetailsStorageConfig()) { + hash = (37 * hash) + TRANSFORMATION_DETAILS_STORAGE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getTransformationDetailsStorageConfig().hashCode(); + } + if (getFileTypesToTransformCount() > 0) { + hash = (37 * hash) + FILE_TYPES_TO_TRANSFORM_FIELD_NUMBER; + hash = (53 * hash) + fileTypesToTransform_.hashCode(); + } + switch (outputCase_) { + case 9: + hash = (37 * hash) + CLOUD_STORAGE_OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + getCloudStorageOutput().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.Action.Deidentify parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.Action.Deidentify 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.Action.Deidentify parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.Action.Deidentify parseFrom( + com.google.protobuf.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.Deidentify parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.Action.Deidentify 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.Action.Deidentify 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.Deidentify 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.Action.Deidentify 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.Deidentify parseDelimitedFrom( + java.io.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.Deidentify 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.Action.Deidentify parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.Action.Deidentify prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Create a de-identified copy of the requested table or files.
+     * A TransformationDetail will be created for each transformation.
+     * If any rows in BigQuery are skipped during de-identification
+     * (transformation errors or row size exceeds BigQuery insert API limits) they
+     * are placed in the failure output table. If the original row exceeds
+     * the BigQuery insert API limit it will be truncated when written to the
+     * failure output table. The failure output table can be set in the
+     * action.deidentify.output.big_query_output.deidentified_failure_output_table
+     * field, if no table is set, a table will be automatically created in the
+     * same project and dataset as the original table.
+     * Compatible with: Inspect
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.Deidentify} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.Action.Deidentify) + com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_Deidentify_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_Deidentify_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.Action.Deidentify.class, com.google.privacy.dlp.v2.Action.Deidentify.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.Action.Deidentify.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (transformationConfigBuilder_ == null) { + transformationConfig_ = null; + } else { + transformationConfig_ = null; + transformationConfigBuilder_ = null; + } + if (transformationDetailsStorageConfigBuilder_ == null) { + transformationDetailsStorageConfig_ = null; + } else { + transformationDetailsStorageConfig_ = null; + transformationDetailsStorageConfigBuilder_ = null; + } + fileTypesToTransform_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + outputCase_ = 0; + output_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_Deidentify_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.Deidentify getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.Deidentify build() { + com.google.privacy.dlp.v2.Action.Deidentify result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.Deidentify buildPartial() { + com.google.privacy.dlp.v2.Action.Deidentify result = new com.google.privacy.dlp.v2.Action.Deidentify(this); + int from_bitField0_ = bitField0_; + if (transformationConfigBuilder_ == null) { + result.transformationConfig_ = transformationConfig_; + } else { + result.transformationConfig_ = transformationConfigBuilder_.build(); + } + if (transformationDetailsStorageConfigBuilder_ == null) { + result.transformationDetailsStorageConfig_ = transformationDetailsStorageConfig_; + } else { + result.transformationDetailsStorageConfig_ = transformationDetailsStorageConfigBuilder_.build(); + } + if (outputCase_ == 9) { + result.output_ = output_; + } + if (((bitField0_ & 0x00000001) != 0)) { + fileTypesToTransform_ = java.util.Collections.unmodifiableList(fileTypesToTransform_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.fileTypesToTransform_ = fileTypesToTransform_; + result.outputCase_ = outputCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.Action.Deidentify) { + return mergeFrom((com.google.privacy.dlp.v2.Action.Deidentify)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.Action.Deidentify other) { + if (other == com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance()) return this; + if (other.hasTransformationConfig()) { + mergeTransformationConfig(other.getTransformationConfig()); + } + if (other.hasTransformationDetailsStorageConfig()) { + mergeTransformationDetailsStorageConfig(other.getTransformationDetailsStorageConfig()); + } + if (!other.fileTypesToTransform_.isEmpty()) { + if (fileTypesToTransform_.isEmpty()) { + fileTypesToTransform_ = other.fileTypesToTransform_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFileTypesToTransformIsMutable(); + fileTypesToTransform_.addAll(other.fileTypesToTransform_); + } + onChanged(); + } + switch (other.getOutputCase()) { + case CLOUD_STORAGE_OUTPUT: { + outputCase_ = 9; + output_ = other.output_; + onChanged(); + break; + } + case OUTPUT_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.Action.Deidentify parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.Action.Deidentify) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int outputCase_ = 0; + private java.lang.Object output_; + public OutputCase + getOutputCase() { + return OutputCase.forNumber( + outputCase_); + } + + public Builder clearOutput() { + outputCase_ = 0; + output_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.privacy.dlp.v2.TransformationConfig transformationConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationConfig, com.google.privacy.dlp.v2.TransformationConfig.Builder, com.google.privacy.dlp.v2.TransformationConfigOrBuilder> transformationConfigBuilder_; + /** + *
+       * User specified deidentify templates and configs for structured,
+       * unstructured, and image files.
+       * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * @return Whether the transformationConfig field is set. + */ + public boolean hasTransformationConfig() { + return transformationConfigBuilder_ != null || transformationConfig_ != null; + } + /** + *
+       * User specified deidentify templates and configs for structured,
+       * unstructured, and image files.
+       * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * @return The transformationConfig. + */ + public com.google.privacy.dlp.v2.TransformationConfig getTransformationConfig() { + if (transformationConfigBuilder_ == null) { + return transformationConfig_ == null ? com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance() : transformationConfig_; + } else { + return transformationConfigBuilder_.getMessage(); + } + } + /** + *
+       * User specified deidentify templates and configs for structured,
+       * unstructured, and image files.
+       * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + */ + public Builder setTransformationConfig(com.google.privacy.dlp.v2.TransformationConfig value) { + if (transformationConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformationConfig_ = value; + onChanged(); + } else { + transformationConfigBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * User specified deidentify templates and configs for structured,
+       * unstructured, and image files.
+       * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + */ + public Builder setTransformationConfig( + com.google.privacy.dlp.v2.TransformationConfig.Builder builderForValue) { + if (transformationConfigBuilder_ == null) { + transformationConfig_ = builderForValue.build(); + onChanged(); + } else { + transformationConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * User specified deidentify templates and configs for structured,
+       * unstructured, and image files.
+       * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + */ + public Builder mergeTransformationConfig(com.google.privacy.dlp.v2.TransformationConfig value) { + if (transformationConfigBuilder_ == null) { + if (transformationConfig_ != null) { + transformationConfig_ = + com.google.privacy.dlp.v2.TransformationConfig.newBuilder(transformationConfig_).mergeFrom(value).buildPartial(); + } else { + transformationConfig_ = value; + } + onChanged(); + } else { + transformationConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * User specified deidentify templates and configs for structured,
+       * unstructured, and image files.
+       * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + */ + public Builder clearTransformationConfig() { + if (transformationConfigBuilder_ == null) { + transformationConfig_ = null; + onChanged(); + } else { + transformationConfig_ = null; + transformationConfigBuilder_ = null; + } + + return this; + } + /** + *
+       * User specified deidentify templates and configs for structured,
+       * unstructured, and image files.
+       * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + */ + public com.google.privacy.dlp.v2.TransformationConfig.Builder getTransformationConfigBuilder() { + + onChanged(); + return getTransformationConfigFieldBuilder().getBuilder(); + } + /** + *
+       * User specified deidentify templates and configs for structured,
+       * unstructured, and image files.
+       * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + */ + public com.google.privacy.dlp.v2.TransformationConfigOrBuilder getTransformationConfigOrBuilder() { + if (transformationConfigBuilder_ != null) { + return transformationConfigBuilder_.getMessageOrBuilder(); + } else { + return transformationConfig_ == null ? + com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance() : transformationConfig_; + } + } + /** + *
+       * User specified deidentify templates and configs for structured,
+       * unstructured, and image files.
+       * 
+ * + * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationConfig, com.google.privacy.dlp.v2.TransformationConfig.Builder, com.google.privacy.dlp.v2.TransformationConfigOrBuilder> + getTransformationConfigFieldBuilder() { + if (transformationConfigBuilder_ == null) { + transformationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationConfig, com.google.privacy.dlp.v2.TransformationConfig.Builder, com.google.privacy.dlp.v2.TransformationConfigOrBuilder>( + getTransformationConfig(), + getParentForChildren(), + isClean()); + transformationConfig_ = null; + } + return transformationConfigBuilder_; + } + + private com.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformationDetailsStorageConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig, com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder, com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder> transformationDetailsStorageConfigBuilder_; + /** + *
+       * Config for storing transformation details. This is separate from the
+       * de-identified content, and contains metadata about the successful
+       * transformations and/or failures that occurred while de-identifying. This
+       * needs to be set in order for users to access information about the status
+       * of each transformation (see
+       * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+       * message for more information about what is noted).
+       * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * @return Whether the transformationDetailsStorageConfig field is set. + */ + public boolean hasTransformationDetailsStorageConfig() { + return transformationDetailsStorageConfigBuilder_ != null || transformationDetailsStorageConfig_ != null; + } + /** + *
+       * Config for storing transformation details. This is separate from the
+       * de-identified content, and contains metadata about the successful
+       * transformations and/or failures that occurred while de-identifying. This
+       * needs to be set in order for users to access information about the status
+       * of each transformation (see
+       * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+       * message for more information about what is noted).
+       * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * @return The transformationDetailsStorageConfig. + */ + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getTransformationDetailsStorageConfig() { + if (transformationDetailsStorageConfigBuilder_ == null) { + return transformationDetailsStorageConfig_ == null ? com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance() : transformationDetailsStorageConfig_; + } else { + return transformationDetailsStorageConfigBuilder_.getMessage(); + } + } + /** + *
+       * Config for storing transformation details. This is separate from the
+       * de-identified content, and contains metadata about the successful
+       * transformations and/or failures that occurred while de-identifying. This
+       * needs to be set in order for users to access information about the status
+       * of each transformation (see
+       * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+       * message for more information about what is noted).
+       * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + */ + public Builder setTransformationDetailsStorageConfig(com.google.privacy.dlp.v2.TransformationDetailsStorageConfig value) { + if (transformationDetailsStorageConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformationDetailsStorageConfig_ = value; + onChanged(); + } else { + transformationDetailsStorageConfigBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Config for storing transformation details. This is separate from the
+       * de-identified content, and contains metadata about the successful
+       * transformations and/or failures that occurred while de-identifying. This
+       * needs to be set in order for users to access information about the status
+       * of each transformation (see
+       * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+       * message for more information about what is noted).
+       * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + */ + public Builder setTransformationDetailsStorageConfig( + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder builderForValue) { + if (transformationDetailsStorageConfigBuilder_ == null) { + transformationDetailsStorageConfig_ = builderForValue.build(); + onChanged(); + } else { + transformationDetailsStorageConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Config for storing transformation details. This is separate from the
+       * de-identified content, and contains metadata about the successful
+       * transformations and/or failures that occurred while de-identifying. This
+       * needs to be set in order for users to access information about the status
+       * of each transformation (see
+       * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+       * message for more information about what is noted).
+       * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + */ + public Builder mergeTransformationDetailsStorageConfig(com.google.privacy.dlp.v2.TransformationDetailsStorageConfig value) { + if (transformationDetailsStorageConfigBuilder_ == null) { + if (transformationDetailsStorageConfig_ != null) { + transformationDetailsStorageConfig_ = + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.newBuilder(transformationDetailsStorageConfig_).mergeFrom(value).buildPartial(); + } else { + transformationDetailsStorageConfig_ = value; + } + onChanged(); + } else { + transformationDetailsStorageConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Config for storing transformation details. This is separate from the
+       * de-identified content, and contains metadata about the successful
+       * transformations and/or failures that occurred while de-identifying. This
+       * needs to be set in order for users to access information about the status
+       * of each transformation (see
+       * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+       * message for more information about what is noted).
+       * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + */ + public Builder clearTransformationDetailsStorageConfig() { + if (transformationDetailsStorageConfigBuilder_ == null) { + transformationDetailsStorageConfig_ = null; + onChanged(); + } else { + transformationDetailsStorageConfig_ = null; + transformationDetailsStorageConfigBuilder_ = null; + } + + return this; + } + /** + *
+       * Config for storing transformation details. This is separate from the
+       * de-identified content, and contains metadata about the successful
+       * transformations and/or failures that occurred while de-identifying. This
+       * needs to be set in order for users to access information about the status
+       * of each transformation (see
+       * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+       * message for more information about what is noted).
+       * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + */ + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder getTransformationDetailsStorageConfigBuilder() { + + onChanged(); + return getTransformationDetailsStorageConfigFieldBuilder().getBuilder(); + } + /** + *
+       * Config for storing transformation details. This is separate from the
+       * de-identified content, and contains metadata about the successful
+       * transformations and/or failures that occurred while de-identifying. This
+       * needs to be set in order for users to access information about the status
+       * of each transformation (see
+       * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+       * message for more information about what is noted).
+       * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + */ + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder getTransformationDetailsStorageConfigOrBuilder() { + if (transformationDetailsStorageConfigBuilder_ != null) { + return transformationDetailsStorageConfigBuilder_.getMessageOrBuilder(); + } else { + return transformationDetailsStorageConfig_ == null ? + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance() : transformationDetailsStorageConfig_; + } + } + /** + *
+       * Config for storing transformation details. This is separate from the
+       * de-identified content, and contains metadata about the successful
+       * transformations and/or failures that occurred while de-identifying. This
+       * needs to be set in order for users to access information about the status
+       * of each transformation (see
+       * [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
+       * message for more information about what is noted).
+       * 
+ * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig, com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder, com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder> + getTransformationDetailsStorageConfigFieldBuilder() { + if (transformationDetailsStorageConfigBuilder_ == null) { + transformationDetailsStorageConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig, com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder, com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder>( + getTransformationDetailsStorageConfig(), + getParentForChildren(), + isClean()); + transformationDetailsStorageConfig_ = null; + } + return transformationDetailsStorageConfigBuilder_; + } + + /** + *
+       * Required. User settable Cloud Storage bucket and folders to store de-identified
+       * files. This field must be set for cloud storage deidentification. The
+       * output Cloud Storage bucket must be different from the input bucket.
+       * De-identified files will overwrite files in the output path.
+       * Form of: gs://bucket/folder/ or gs://bucket
+       * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the cloudStorageOutput field is set. + */ + @java.lang.Override + public boolean hasCloudStorageOutput() { + return outputCase_ == 9; + } + /** + *
+       * Required. User settable Cloud Storage bucket and folders to store de-identified
+       * files. This field must be set for cloud storage deidentification. The
+       * output Cloud Storage bucket must be different from the input bucket.
+       * De-identified files will overwrite files in the output path.
+       * Form of: gs://bucket/folder/ or gs://bucket
+       * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return The cloudStorageOutput. + */ + @java.lang.Override + public java.lang.String getCloudStorageOutput() { + java.lang.Object ref = ""; + if (outputCase_ == 9) { + ref = output_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (outputCase_ == 9) { + output_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. User settable Cloud Storage bucket and folders to store de-identified
+       * files. This field must be set for cloud storage deidentification. The
+       * output Cloud Storage bucket must be different from the input bucket.
+       * De-identified files will overwrite files in the output path.
+       * Form of: gs://bucket/folder/ or gs://bucket
+       * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for cloudStorageOutput. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCloudStorageOutputBytes() { + java.lang.Object ref = ""; + if (outputCase_ == 9) { + ref = output_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (outputCase_ == 9) { + output_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. User settable Cloud Storage bucket and folders to store de-identified
+       * files. This field must be set for cloud storage deidentification. The
+       * output Cloud Storage bucket must be different from the input bucket.
+       * De-identified files will overwrite files in the output path.
+       * Form of: gs://bucket/folder/ or gs://bucket
+       * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @param value The cloudStorageOutput to set. + * @return This builder for chaining. + */ + public Builder setCloudStorageOutput( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + outputCase_ = 9; + output_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. User settable Cloud Storage bucket and folders to store de-identified
+       * files. This field must be set for cloud storage deidentification. The
+       * output Cloud Storage bucket must be different from the input bucket.
+       * De-identified files will overwrite files in the output path.
+       * Form of: gs://bucket/folder/ or gs://bucket
+       * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearCloudStorageOutput() { + if (outputCase_ == 9) { + outputCase_ = 0; + output_ = null; + onChanged(); + } + return this; + } + /** + *
+       * Required. User settable Cloud Storage bucket and folders to store de-identified
+       * files. This field must be set for cloud storage deidentification. The
+       * output Cloud Storage bucket must be different from the input bucket.
+       * De-identified files will overwrite files in the output path.
+       * Form of: gs://bucket/folder/ or gs://bucket
+       * 
+ * + * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for cloudStorageOutput to set. + * @return This builder for chaining. + */ + public Builder setCloudStorageOutputBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputCase_ = 9; + output_ = value; + onChanged(); + return this; + } + + private java.util.List fileTypesToTransform_ = + java.util.Collections.emptyList(); + private void ensureFileTypesToTransformIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + fileTypesToTransform_ = new java.util.ArrayList(fileTypesToTransform_); + bitField0_ |= 0x00000001; + } + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @return A list containing the fileTypesToTransform. + */ + public java.util.List getFileTypesToTransformList() { + return new com.google.protobuf.Internal.ListAdapter< + java.lang.Integer, com.google.privacy.dlp.v2.FileType>(fileTypesToTransform_, fileTypesToTransform_converter_); + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @return The count of fileTypesToTransform. + */ + public int getFileTypesToTransformCount() { + return fileTypesToTransform_.size(); + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param index The index of the element to return. + * @return The fileTypesToTransform at the given index. + */ + public com.google.privacy.dlp.v2.FileType getFileTypesToTransform(int index) { + return fileTypesToTransform_converter_.convert(fileTypesToTransform_.get(index)); + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param index The index to set the value at. + * @param value The fileTypesToTransform to set. + * @return This builder for chaining. + */ + public Builder setFileTypesToTransform( + int index, com.google.privacy.dlp.v2.FileType value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFileTypesToTransformIsMutable(); + fileTypesToTransform_.set(index, value.getNumber()); + onChanged(); + return this; + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param value The fileTypesToTransform to add. + * @return This builder for chaining. + */ + public Builder addFileTypesToTransform(com.google.privacy.dlp.v2.FileType value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFileTypesToTransformIsMutable(); + fileTypesToTransform_.add(value.getNumber()); + onChanged(); + return this; + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param values The fileTypesToTransform to add. + * @return This builder for chaining. + */ + public Builder addAllFileTypesToTransform( + java.lang.Iterable values) { + ensureFileTypesToTransformIsMutable(); + for (com.google.privacy.dlp.v2.FileType value : values) { + fileTypesToTransform_.add(value.getNumber()); + } + onChanged(); + return this; + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @return This builder for chaining. + */ + public Builder clearFileTypesToTransform() { + fileTypesToTransform_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @return A list containing the enum numeric values on the wire for fileTypesToTransform. + */ + public java.util.List + getFileTypesToTransformValueList() { + return java.util.Collections.unmodifiableList(fileTypesToTransform_); + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param index The index of the value to return. + * @return The enum numeric value on the wire of fileTypesToTransform at the given index. + */ + public int getFileTypesToTransformValue(int index) { + return fileTypesToTransform_.get(index); + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param index The index to set the value at. + * @param value The enum numeric value on the wire for fileTypesToTransform to set. + * @return This builder for chaining. + */ + public Builder setFileTypesToTransformValue( + int index, int value) { + ensureFileTypesToTransformIsMutable(); + fileTypesToTransform_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param value The enum numeric value on the wire for fileTypesToTransform to add. + * @return This builder for chaining. + */ + public Builder addFileTypesToTransformValue(int value) { + ensureFileTypesToTransformIsMutable(); + fileTypesToTransform_.add(value); + onChanged(); + return this; + } + /** + *
+       * List of user-specified file type groups to transform. If specified, only
+       * the files with these filetypes will be transformed. If empty, all
+       * supported files will be transformed. Supported types may be automatically
+       * added over time. If a file type is set in this field that isn't supported
+       * by the Deidentify action then the job will fail and will not be
+       * successfully created/started. Currently the only filetypes supported are:
+       * IMAGES, TEXT_FILES, CSV, TSV.
+       * 
+ * + * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * @param values The enum numeric values on the wire for fileTypesToTransform to add. + * @return This builder for chaining. + */ + public Builder addAllFileTypesToTransformValue( + java.lang.Iterable values) { + ensureFileTypesToTransformIsMutable(); + for (int value : values) { + fileTypesToTransform_.add(value); + } + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.Deidentify) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.Deidentify) + private static final com.google.privacy.dlp.v2.Action.Deidentify DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.Deidentify(); + } + + public static com.google.privacy.dlp.v2.Action.Deidentify getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Deidentify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Deidentify(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.Deidentify getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface JobNotificationEmailsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.JobNotificationEmails) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Sends an email when the job completes. The email goes to IAM project owners
+   * and technical [Essential
+   * Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails} + */ + 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; + // Use JobNotificationEmails.newBuilder() to construct. + private JobNotificationEmails(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private JobNotificationEmails() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new JobNotificationEmails(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private JobNotificationEmails( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.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; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( + 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) + 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) + 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, + 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.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) + throws java.io.IOException { + 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); + } + 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); + } + + @java.lang.Override + 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) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Sends an email when the job completes. The email goes to IAM project owners
+     * and technical [Essential
+     * Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @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; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.JobNotificationEmails build() { + com.google.privacy.dlp.v2.Action.JobNotificationEmails result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.Action.JobNotificationEmails) { + return mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.Action.JobNotificationEmails other) { + if (other == com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.Action.JobNotificationEmails parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.Action.JobNotificationEmails) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.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(); + } + + public static com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstance() { + 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); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface PublishToStackdriverOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishToStackdriver) + 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
+   * how many findings were found for it. CustomDetectors will be bucketed
+   * as 'Custom' under the Stackdriver label 'info_type'.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToStackdriver} + */ + 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; + // Use PublishToStackdriver.newBuilder() to construct. + private PublishToStackdriver(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PublishToStackdriver() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PublishToStackdriver(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PublishToStackdriver( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.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; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom( + 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) + 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) + 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, + 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.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) + throws java.io.IOException { + 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); + } + 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); + } + + @java.lang.Override + 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) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count. This
+     * will publish a metric to stack driver on each infotype requested and
+     * how many findings were found for it. CustomDetectors will be bucketed
+     * as 'Custom' under the Stackdriver label 'info_type'.
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToStackdriver} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + 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() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @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; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishToStackdriver build() { + com.google.privacy.dlp.v2.Action.PublishToStackdriver result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @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); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.Action.PublishToStackdriver) { + return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToStackdriver)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishToStackdriver other) { + if (other == com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.Action.PublishToStackdriver parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.Action.PublishToStackdriver) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.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(); + } + + public static com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultInstance() { + 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); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.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, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SAVE_FINDINGS(1), + PUB_SUB(2), + PUBLISH_SUMMARY_TO_CSCC(3), + PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG(5), + DEIDENTIFY(7), + JOB_NOTIFICATION_EMAILS(8), + PUBLISH_TO_STACKDRIVER(9), + ACTION_NOT_SET(0); + private final int value; + private ActionCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ActionCase valueOf(int value) { + return forNumber(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 7: return DEIDENTIFY; + 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 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 + 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.getDefaultInstance(); + } + /** + *
+   * Save resulting findings in a provided location.
+   * 
+ * + * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + */ + @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.getDefaultInstance(); + } + + public static final int PUB_SUB_FIELD_NUMBER = 2; + /** + *
+   * Publish a notification to a Pub/Sub topic.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * @return Whether the pubSub field is set. + */ + @java.lang.Override + public boolean hasPubSub() { + return actionCase_ == 2; + } + /** + *
+   * Publish a notification to a Pub/Sub 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.getDefaultInstance(); + } + /** + *
+   * Publish a notification to a Pub/Sub topic.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + */ + @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.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 + 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.getDefaultInstance(); + } + /** + *
+   * Publish summary to Cloud Security Command Center (Alpha).
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + */ + @java.lang.Override + 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.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; + * @return Whether the publishFindingsToCloudDataCatalog field is set. + */ + @java.lang.Override + public boolean hasPublishFindingsToCloudDataCatalog() { + return actionCase_ == 5; + } + /** + *
+   * Publish findings to Cloud Datahub.
+   * 
+ * + * .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() { + if (actionCase_ == 5) { + 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; + */ + @java.lang.Override + 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.getDefaultInstance(); + } + + public static final int DEIDENTIFY_FIELD_NUMBER = 7; + /** + *
+   * Create a de-identified copy of the input data.
+   * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * @return Whether the deidentify field is set. + */ + @java.lang.Override + public boolean hasDeidentify() { + return actionCase_ == 7; + } + /** + *
+   * Create a de-identified copy of the input data.
+   * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * @return The deidentify. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.Action.Deidentify getDeidentify() { + if (actionCase_ == 7) { + return (com.google.privacy.dlp.v2.Action.Deidentify) action_; + } + return com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance(); + } + /** + *
+   * Create a de-identified copy of the input data.
+   * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuilder() { + if (actionCase_ == 7) { + return (com.google.privacy.dlp.v2.Action.Deidentify) action_; + } + return com.google.privacy.dlp.v2.Action.Deidentify.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 + 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.getDefaultInstance(); + } + /** + *
+   * Enable email notification for project owners and editors on job's
+   * completion/failure.
+   * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + @java.lang.Override + 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.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 + 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.getDefaultInstance(); + } + /** + *
+   * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+   * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + @java.lang.Override + 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.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (actionCase_ == 1) { + output.writeMessage(1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_); + } + if (actionCase_ == 2) { + output.writeMessage(2, (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_); + } + if (actionCase_ == 3) { + 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_); + } + if (actionCase_ == 7) { + output.writeMessage(7, (com.google.privacy.dlp.v2.Action.Deidentify) action_); + } + if (actionCase_ == 8) { + output.writeMessage(8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); + } + if (actionCase_ == 9) { + output.writeMessage(9, (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (actionCase_ == 1) { + 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_); + } + if (actionCase_ == 3) { + 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_); + } + if (actionCase_ == 7) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.privacy.dlp.v2.Action.Deidentify) action_); + } + if (actionCase_ == 8) { + 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 += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.Action)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.Action other = (com.google.privacy.dlp.v2.Action) obj; + + if (!getActionCase().equals(other.getActionCase())) return false; + switch (actionCase_) { + case 1: + if (!getSaveFindings() + .equals(other.getSaveFindings())) return false; + break; + case 2: + if (!getPubSub() + .equals(other.getPubSub())) return false; + break; + case 3: + if (!getPublishSummaryToCscc() + .equals(other.getPublishSummaryToCscc())) return false; + break; + case 5: + if (!getPublishFindingsToCloudDataCatalog() + .equals(other.getPublishFindingsToCloudDataCatalog())) return false; + break; + case 7: + if (!getDeidentify() + .equals(other.getDeidentify())) return false; + break; + case 8: + if (!getJobNotificationEmails() + .equals(other.getJobNotificationEmails())) return false; + break; + case 9: + if (!getPublishToStackdriver() + .equals(other.getPublishToStackdriver())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (actionCase_) { + case 1: + hash = (37 * hash) + SAVE_FINDINGS_FIELD_NUMBER; + hash = (53 * hash) + getSaveFindings().hashCode(); + break; + case 2: + hash = (37 * hash) + PUB_SUB_FIELD_NUMBER; + hash = (53 * hash) + getPubSub().hashCode(); + break; + case 3: + hash = (37 * hash) + PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER; + hash = (53 * hash) + getPublishSummaryToCscc().hashCode(); + break; + case 5: + hash = (37 * hash) + PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER; + hash = (53 * hash) + getPublishFindingsToCloudDataCatalog().hashCode(); + break; + case 7: + hash = (37 * hash) + DEIDENTIFY_FIELD_NUMBER; + hash = (53 * hash) + getDeidentify().hashCode(); + break; + case 8: + hash = (37 * hash) + JOB_NOTIFICATION_EMAILS_FIELD_NUMBER; + hash = (53 * hash) + getJobNotificationEmails().hashCode(); + break; + case 9: + hash = (37 * hash) + PUBLISH_TO_STACKDRIVER_FIELD_NUMBER; + hash = (53 * hash) + getPublishToStackdriver().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + 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) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + 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) + 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); + } + public static com.google.privacy.dlp.v2.Action 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.Action 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 parseDelimitedFrom( + java.io.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 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.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); + } + + @java.lang.Override + 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); + } + + @java.lang.Override + 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.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.Action} + */ + 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; + } + + @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 + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.Action.class, com.google.privacy.dlp.v2.Action.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.Action.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + actionCase_ = 0; + action_ = null; + return this; + } + + @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; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.Action.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action build() { + com.google.privacy.dlp.v2.Action result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.Action buildPartial() { + com.google.privacy.dlp.v2.Action result = new com.google.privacy.dlp.v2.Action(this); + if (actionCase_ == 1) { + if (saveFindingsBuilder_ == null) { + result.action_ = action_; + } else { + result.action_ = saveFindingsBuilder_.build(); + } + } + if (actionCase_ == 2) { + if (pubSubBuilder_ == null) { + result.action_ = action_; + } else { + result.action_ = pubSubBuilder_.build(); + } + } + if (actionCase_ == 3) { + if (publishSummaryToCsccBuilder_ == null) { + result.action_ = action_; + } else { + result.action_ = publishSummaryToCsccBuilder_.build(); + } + } + if (actionCase_ == 5) { + if (publishFindingsToCloudDataCatalogBuilder_ == null) { + result.action_ = action_; + } else { + result.action_ = publishFindingsToCloudDataCatalogBuilder_.build(); + } + } + if (actionCase_ == 7) { + if (deidentifyBuilder_ == null) { + result.action_ = action_; + } else { + result.action_ = deidentifyBuilder_.build(); + } + } + if (actionCase_ == 8) { + if (jobNotificationEmailsBuilder_ == null) { + result.action_ = action_; + } else { + result.action_ = jobNotificationEmailsBuilder_.build(); + } + } + if (actionCase_ == 9) { + if (publishToStackdriverBuilder_ == null) { + result.action_ = action_; + } else { + result.action_ = publishToStackdriverBuilder_.build(); + } + } + result.actionCase_ = actionCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.Action) { + return mergeFrom((com.google.privacy.dlp.v2.Action)other); + } else { + super.mergeFrom(other); + return this; + } + } + + 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 DEIDENTIFY: { + mergeDeidentify(other.getDeidentify()); + 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(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.Action parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.Action) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int actionCase_ = 0; + private java.lang.Object action_; + public ActionCase + getActionCase() { + return ActionCase.forNumber( + actionCase_); + } + + public Builder clearAction() { + actionCase_ = 0; + action_ = null; + onChanged(); + 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_; + /** + *
+     * 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 + 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 (saveFindingsBuilder_ == null) { + if (actionCase_ == 1) { + return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; + } + return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); + } else { + if (actionCase_ == 1) { + return saveFindingsBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); + } + } + /** + *
+     * Save resulting findings in a provided location.
+     * 
+ * + * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + */ + public Builder setSaveFindings(com.google.privacy.dlp.v2.Action.SaveFindings value) { + if (saveFindingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + action_ = value; + onChanged(); + } else { + saveFindingsBuilder_.setMessage(value); + } + actionCase_ = 1; + return this; + } + /** + *
+     * Save resulting findings in a provided location.
+     * 
+ * + * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + */ + public Builder setSaveFindings( + com.google.privacy.dlp.v2.Action.SaveFindings.Builder builderForValue) { + if (saveFindingsBuilder_ == null) { + action_ = builderForValue.build(); + onChanged(); + } else { + saveFindingsBuilder_.setMessage(builderForValue.build()); + } + actionCase_ = 1; + return this; + } + /** + *
+     * Save resulting findings in a provided location.
+     * 
+ * + * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + */ + 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(); + } else { + action_ = value; + } + onChanged(); + } else { + if (actionCase_ == 1) { + saveFindingsBuilder_.mergeFrom(value); + } else { + saveFindingsBuilder_.setMessage(value); + } + } + actionCase_ = 1; + return this; + } + /** + *
+     * Save resulting findings in a provided location.
+     * 
+ * + * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + */ + public Builder clearSaveFindings() { + if (saveFindingsBuilder_ == null) { + if (actionCase_ == 1) { + actionCase_ = 0; + action_ = null; + onChanged(); + } + } else { + if (actionCase_ == 1) { + actionCase_ = 0; + action_ = null; + } + saveFindingsBuilder_.clear(); + } + return this; + } + /** + *
+     * Save resulting findings in a provided location.
+     * 
+ * + * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + */ + public com.google.privacy.dlp.v2.Action.SaveFindings.Builder getSaveFindingsBuilder() { + return getSaveFindingsFieldBuilder().getBuilder(); + } + /** + *
+     * Save resulting findings in a provided location.
+     * 
+ * + * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder() { + if ((actionCase_ == 1) && (saveFindingsBuilder_ != null)) { + return saveFindingsBuilder_.getMessageOrBuilder(); + } else { + if (actionCase_ == 1) { + 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.
+     * 
+ * + * .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> + 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>( + (com.google.privacy.dlp.v2.Action.SaveFindings) action_, + getParentForChildren(), + isClean()); + action_ = null; + } + actionCase_ = 1; + 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_; + /** + *
+     * Publish a notification to a Pub/Sub topic.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * @return Whether the pubSub field is set. + */ + @java.lang.Override + public boolean hasPubSub() { + return actionCase_ == 2; + } + /** + *
+     * Publish a notification to a Pub/Sub 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 (pubSubBuilder_ == null) { + if (actionCase_ == 2) { + return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; + } + return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); + } else { + if (actionCase_ == 2) { + return pubSubBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); + } + } + /** + *
+     * Publish a notification to a Pub/Sub topic.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + */ + public Builder setPubSub(com.google.privacy.dlp.v2.Action.PublishToPubSub value) { + if (pubSubBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + action_ = value; + onChanged(); + } else { + pubSubBuilder_.setMessage(value); + } + actionCase_ = 2; + return this; + } + /** + *
+     * Publish a notification to a Pub/Sub topic.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + */ + public Builder setPubSub( + com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder builderForValue) { + if (pubSubBuilder_ == null) { + action_ = builderForValue.build(); + onChanged(); + } else { + pubSubBuilder_.setMessage(builderForValue.build()); + } + actionCase_ = 2; + return this; + } + /** + *
+     * Publish a notification to a Pub/Sub topic.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + */ + 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(); + } else { + action_ = value; + } + onChanged(); + } else { + if (actionCase_ == 2) { + pubSubBuilder_.mergeFrom(value); + } else { + pubSubBuilder_.setMessage(value); + } + } + actionCase_ = 2; + return this; + } + /** + *
+     * Publish a notification to a Pub/Sub topic.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + */ + public Builder clearPubSub() { + if (pubSubBuilder_ == null) { + if (actionCase_ == 2) { + actionCase_ = 0; + action_ = null; + onChanged(); + } + } else { + if (actionCase_ == 2) { + actionCase_ = 0; + action_ = null; + } + pubSubBuilder_.clear(); + } + return this; + } + /** + *
+     * Publish a notification to a Pub/Sub topic.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + */ + public com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder getPubSubBuilder() { + return getPubSubFieldBuilder().getBuilder(); + } + /** + *
+     * Publish a notification to a Pub/Sub topic.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder() { + if ((actionCase_ == 2) && (pubSubBuilder_ != null)) { + return pubSubBuilder_.getMessageOrBuilder(); + } else { + if (actionCase_ == 2) { + return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; + } + return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); + } + } + /** + *
+     * Publish a notification to a Pub/Sub topic.
+     * 
+ * + * .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> + 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>( + (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_, + getParentForChildren(), + isClean()); + action_ = null; + } + actionCase_ = 2; + 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_; + /** + *
+     * 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 + 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 (publishSummaryToCsccBuilder_ == null) { + if (actionCase_ == 3) { + return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; + } + return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); + } else { + if (actionCase_ == 3) { + return publishSummaryToCsccBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); + } + } + /** + *
+     * 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) { + if (publishSummaryToCsccBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + action_ = value; + onChanged(); + } else { + publishSummaryToCsccBuilder_.setMessage(value); + } + actionCase_ = 3; + return this; + } + /** + *
+     * 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.Builder builderForValue) { + if (publishSummaryToCsccBuilder_ == null) { + action_ = builderForValue.build(); + onChanged(); + } else { + publishSummaryToCsccBuilder_.setMessage(builderForValue.build()); + } + actionCase_ = 3; + 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) { + 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(); + } else { + action_ = value; + } + onChanged(); + } else { + if (actionCase_ == 3) { + publishSummaryToCsccBuilder_.mergeFrom(value); + } else { + publishSummaryToCsccBuilder_.setMessage(value); + } + } + actionCase_ = 3; + return this; + } + /** + *
+     * Publish summary to Cloud Security Command Center (Alpha).
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + */ + public Builder clearPublishSummaryToCscc() { + if (publishSummaryToCsccBuilder_ == null) { + if (actionCase_ == 3) { + actionCase_ = 0; + action_ = null; + onChanged(); + } + } else { + if (actionCase_ == 3) { + actionCase_ = 0; + action_ = null; + } + publishSummaryToCsccBuilder_.clear(); + } + 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() { + return getPublishSummaryToCsccFieldBuilder().getBuilder(); + } + /** + *
+     * Publish summary to Cloud Security Command Center (Alpha).
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublishSummaryToCsccOrBuilder() { + if ((actionCase_ == 3) && (publishSummaryToCsccBuilder_ != null)) { + return publishSummaryToCsccBuilder_.getMessageOrBuilder(); + } else { + if (actionCase_ == 3) { + 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).
+     * 
+ * + * .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> + 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>( + (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_, + getParentForChildren(), + isClean()); + action_ = null; + } + actionCase_ = 3; + 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_; + /** + *
+     * Publish findings to Cloud Datahub.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + * @return Whether the publishFindingsToCloudDataCatalog field is set. + */ + @java.lang.Override + public boolean hasPublishFindingsToCloudDataCatalog() { + return actionCase_ == 5; + } + /** + *
+     * Publish findings to Cloud Datahub.
+     * 
+ * + * .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() { + if (publishFindingsToCloudDataCatalogBuilder_ == null) { + if (actionCase_ == 5) { + return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; + } + 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(); + } + } + /** + *
+     * Publish findings to Cloud Datahub.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + */ + public Builder setPublishFindingsToCloudDataCatalog(com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog value) { + if (publishFindingsToCloudDataCatalogBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + action_ = value; + onChanged(); + } else { + publishFindingsToCloudDataCatalogBuilder_.setMessage(value); + } + actionCase_ = 5; + return this; + } + /** + *
+     * Publish findings to Cloud Datahub.
+     * 
+ * + * .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) { + if (publishFindingsToCloudDataCatalogBuilder_ == null) { + action_ = builderForValue.build(); + onChanged(); + } else { + publishFindingsToCloudDataCatalogBuilder_.setMessage(builderForValue.build()); + } + actionCase_ = 5; + return this; + } + /** + *
+     * Publish findings to Cloud Datahub.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + */ + 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(); + } else { + action_ = value; + } + onChanged(); + } else { + if (actionCase_ == 5) { + publishFindingsToCloudDataCatalogBuilder_.mergeFrom(value); + } else { + publishFindingsToCloudDataCatalogBuilder_.setMessage(value); + } + } + actionCase_ = 5; + return this; + } + /** + *
+     * Publish findings to Cloud Datahub.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + */ + public Builder clearPublishFindingsToCloudDataCatalog() { + if (publishFindingsToCloudDataCatalogBuilder_ == null) { + if (actionCase_ == 5) { + actionCase_ = 0; + action_ = null; + onChanged(); + } + } else { + if (actionCase_ == 5) { + actionCase_ = 0; + action_ = null; + } + publishFindingsToCloudDataCatalogBuilder_.clear(); + } + return this; + } + /** + *
+     * Publish findings to Cloud Datahub.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + */ + 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; + */ + @java.lang.Override + 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(); + } + } + /** + *
+     * Publish findings to Cloud Datahub.
+     * 
+ * + * .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> + getPublishFindingsToCloudDataCatalogFieldBuilder() { + if (publishFindingsToCloudDataCatalogBuilder_ == null) { + if (!(actionCase_ == 5)) { + 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>( + (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_, + getParentForChildren(), + isClean()); + action_ = null; + } + actionCase_ = 5; + onChanged();; + return publishFindingsToCloudDataCatalogBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.Deidentify, com.google.privacy.dlp.v2.Action.Deidentify.Builder, com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder> deidentifyBuilder_; + /** + *
+     * Create a de-identified copy of the input data.
+     * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * @return Whether the deidentify field is set. + */ + @java.lang.Override + public boolean hasDeidentify() { + return actionCase_ == 7; + } + /** + *
+     * Create a de-identified copy of the input data.
+     * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * @return The deidentify. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.Action.Deidentify getDeidentify() { + if (deidentifyBuilder_ == null) { + if (actionCase_ == 7) { + return (com.google.privacy.dlp.v2.Action.Deidentify) action_; + } + return com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance(); + } else { + if (actionCase_ == 7) { + return deidentifyBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance(); + } + } + /** + *
+     * Create a de-identified copy of the input data.
+     * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + */ + public Builder setDeidentify(com.google.privacy.dlp.v2.Action.Deidentify value) { + if (deidentifyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + action_ = value; + onChanged(); + } else { + deidentifyBuilder_.setMessage(value); + } + actionCase_ = 7; + return this; + } + /** + *
+     * Create a de-identified copy of the input data.
+     * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + */ + public Builder setDeidentify( + com.google.privacy.dlp.v2.Action.Deidentify.Builder builderForValue) { + if (deidentifyBuilder_ == null) { + action_ = builderForValue.build(); + onChanged(); + } else { + deidentifyBuilder_.setMessage(builderForValue.build()); + } + actionCase_ = 7; + return this; + } + /** + *
+     * Create a de-identified copy of the input data.
+     * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + */ + public Builder mergeDeidentify(com.google.privacy.dlp.v2.Action.Deidentify value) { + if (deidentifyBuilder_ == null) { + if (actionCase_ == 7 && + action_ != com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance()) { + action_ = com.google.privacy.dlp.v2.Action.Deidentify.newBuilder((com.google.privacy.dlp.v2.Action.Deidentify) action_) + .mergeFrom(value).buildPartial(); + } else { + action_ = value; + } + onChanged(); + } else { + if (actionCase_ == 7) { + deidentifyBuilder_.mergeFrom(value); + } else { + deidentifyBuilder_.setMessage(value); + } + } + actionCase_ = 7; + return this; + } + /** + *
+     * Create a de-identified copy of the input data.
+     * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + */ + public Builder clearDeidentify() { + if (deidentifyBuilder_ == null) { + if (actionCase_ == 7) { + actionCase_ = 0; + action_ = null; + onChanged(); + } + } else { + if (actionCase_ == 7) { + actionCase_ = 0; + action_ = null; + } + deidentifyBuilder_.clear(); + } + return this; + } + /** + *
+     * Create a de-identified copy of the input data.
+     * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + */ + public com.google.privacy.dlp.v2.Action.Deidentify.Builder getDeidentifyBuilder() { + return getDeidentifyFieldBuilder().getBuilder(); + } + /** + *
+     * Create a de-identified copy of the input data.
+     * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuilder() { + if ((actionCase_ == 7) && (deidentifyBuilder_ != null)) { + return deidentifyBuilder_.getMessageOrBuilder(); + } else { + if (actionCase_ == 7) { + return (com.google.privacy.dlp.v2.Action.Deidentify) action_; + } + return com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance(); + } + } + /** + *
+     * Create a de-identified copy of the input data.
+     * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.Deidentify, com.google.privacy.dlp.v2.Action.Deidentify.Builder, com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder> + getDeidentifyFieldBuilder() { + if (deidentifyBuilder_ == null) { + if (!(actionCase_ == 7)) { + action_ = com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance(); + } + deidentifyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.Deidentify, com.google.privacy.dlp.v2.Action.Deidentify.Builder, com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder>( + (com.google.privacy.dlp.v2.Action.Deidentify) action_, + getParentForChildren(), + isClean()); + action_ = null; + } + actionCase_ = 7; + onChanged();; + return deidentifyBuilder_; + } + + 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_; + /** + *
+     * 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 + 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 (jobNotificationEmailsBuilder_ == null) { + if (actionCase_ == 8) { + return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_; + } + return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); + } else { + if (actionCase_ == 8) { + return jobNotificationEmailsBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); + } + } + /** + *
+     * Enable email notification for project owners and editors on job's
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public Builder setJobNotificationEmails(com.google.privacy.dlp.v2.Action.JobNotificationEmails value) { + if (jobNotificationEmailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + action_ = value; + onChanged(); + } else { + jobNotificationEmailsBuilder_.setMessage(value); + } + actionCase_ = 8; + return this; + } + /** + *
+     * Enable email notification for project owners and editors on job's
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public Builder setJobNotificationEmails( + com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder builderForValue) { + if (jobNotificationEmailsBuilder_ == null) { + action_ = builderForValue.build(); + onChanged(); + } else { + jobNotificationEmailsBuilder_.setMessage(builderForValue.build()); + } + actionCase_ = 8; + return this; + } + /** + *
+     * Enable email notification for project owners and editors on job's
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + 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(); + } else { + action_ = value; + } + onChanged(); + } else { + if (actionCase_ == 8) { + jobNotificationEmailsBuilder_.mergeFrom(value); + } else { + jobNotificationEmailsBuilder_.setMessage(value); + } + } + actionCase_ = 8; + return this; + } + /** + *
+     * Enable email notification for project owners and editors on job's
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + public Builder clearJobNotificationEmails() { + if (jobNotificationEmailsBuilder_ == null) { + if (actionCase_ == 8) { + actionCase_ = 0; + action_ = null; + onChanged(); + } + } else { + if (actionCase_ == 8) { + actionCase_ = 0; + action_ = null; + } + jobNotificationEmailsBuilder_.clear(); + } + return this; + } + /** + *
+     * Enable email notification for project owners and editors on job's
+     * completion/failure.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + 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.
+     * 
+ * + * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNotificationEmailsOrBuilder() { + if ((actionCase_ == 8) && (jobNotificationEmailsBuilder_ != null)) { + return jobNotificationEmailsBuilder_.getMessageOrBuilder(); + } else { + if (actionCase_ == 8) { + 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.
+     * 
+ * + * .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> + 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>( + (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_, + getParentForChildren(), + isClean()); + action_ = null; + } + actionCase_ = 8; + 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_; + /** + *
+     * 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 + 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 (publishToStackdriverBuilder_ == null) { + if (actionCase_ == 9) { + return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; + } + return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); + } else { + if (actionCase_ == 9) { + return publishToStackdriverBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); + } + } + /** + *
+     * 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) { + if (publishToStackdriverBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + action_ = value; + onChanged(); + } else { + publishToStackdriverBuilder_.setMessage(value); + } + actionCase_ = 9; + return this; + } + /** + *
+     * 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.Builder builderForValue) { + if (publishToStackdriverBuilder_ == null) { + action_ = builderForValue.build(); + onChanged(); + } else { + publishToStackdriverBuilder_.setMessage(builderForValue.build()); + } + actionCase_ = 9; + 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) { + 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(); + } else { + action_ = value; + } + onChanged(); + } else { + if (actionCase_ == 9) { + publishToStackdriverBuilder_.mergeFrom(value); + } else { + publishToStackdriverBuilder_.setMessage(value); + } + } + actionCase_ = 9; + return this; + } + /** + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + public Builder clearPublishToStackdriver() { + if (publishToStackdriverBuilder_ == null) { + if (actionCase_ == 9) { + actionCase_ = 0; + action_ = null; + onChanged(); + } + } else { + if (actionCase_ == 9) { + actionCase_ = 0; + action_ = null; + } + publishToStackdriverBuilder_.clear(); + } + 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() { + return getPublishToStackdriverFieldBuilder().getBuilder(); + } + /** + *
+     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
+     * 
+ * + * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder getPublishToStackdriverOrBuilder() { + if ((actionCase_ == 9) && (publishToStackdriverBuilder_ != null)) { + return publishToStackdriverBuilder_.getMessageOrBuilder(); + } else { + if (actionCase_ == 9) { + 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.
+     * 
+ * + * .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> + 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>( + (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_, + getParentForChildren(), + isClean()); + action_ = null; + } + actionCase_ = 9; + onChanged();; + return publishToStackdriverBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.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(); + } + + 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); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.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 76% 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..4afee7fc 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,34 +35,26 @@ public interface ActionOrBuilder com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder(); /** - * - * *
-   * Publish a notification to a pubsub topic.
+   * Publish a notification to a Pub/Sub 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.
+   * Publish a notification to a Pub/Sub 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.
+   * Publish a notification to a Pub/Sub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; @@ -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,80 @@ 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(); /** + *
+   * Create a de-identified copy of the input data.
+   * 
* + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * @return Whether the deidentify field is set. + */ + boolean hasDeidentify(); + /** + *
+   * Create a de-identified copy of the input data.
+   * 
* + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * @return The deidentify. + */ + com.google.privacy.dlp.v2.Action.Deidentify getDeidentify(); + /** + *
+   * Create a de-identified copy of the input data.
+   * 
+ * + * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + */ + com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuilder(); + + /** *
    * 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 +170,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 b8e960f7..d1384c43 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,20 +53,19 @@ 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) { @@ -91,42 +73,35 @@ private ActivateJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -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.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; } @@ -233,126 +206,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() @@ -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_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 @@ -399,8 +364,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; @@ -410,39 +374,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; @@ -450,8 +413,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(); @@ -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.ActivateJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,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; @@ -513,24 +470,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 { @@ -538,77 +492,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); } @@ -618,12 +559,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(); } @@ -632,16 +573,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; @@ -656,4 +597,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 59cd0d24..9ef5f2a3 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,212 +52,136 @@ 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) { @@ -281,60 +189,49 @@ private AnalyzeDataSourceRiskDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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.
      * 
@@ -344,32 +241,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.
      * 
@@ -379,8 +268,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.
@@ -388,10 +275,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.
@@ -401,8 +287,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.
@@ -412,8 +296,6 @@ public interface NumericalStatsResultOrBuilder
      */
     int getQuantileValuesCount();
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -421,11 +303,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.
@@ -433,42 +313,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) @@ -488,53 +367,48 @@ 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) { @@ -542,7 +416,8 @@ private NumericalStatsResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -551,34 +426,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 @@ -586,14 +454,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 @@ -601,8 +466,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.
      * 
@@ -617,14 +480,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 @@ -632,14 +492,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 @@ -647,8 +504,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.
      * 
@@ -663,8 +518,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.
@@ -677,8 +530,6 @@ public java.util.List getQuantileValuesList() {
       return quantileValues_;
     }
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -687,13 +538,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.
@@ -706,8 +555,6 @@ public int getQuantileValuesCount() {
       return quantileValues_.size();
     }
     /**
-     *
-     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -720,8 +567,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.
@@ -730,12 +575,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;
@@ -747,7 +592,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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());
       }
@@ -767,13 +613,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;
@@ -783,24 +632,25 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
-      if (!(obj
-          instanceof com.google.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;
     }
@@ -829,101 +679,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
@@ -933,52 +770,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(); @@ -1004,22 +834,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); } @@ -1027,10 +854,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_; @@ -1059,55 +884,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()); } @@ -1132,10 +948,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_); } @@ -1156,14 +971,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) { @@ -1172,52 +984,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.
        * 
@@ -1238,15 +1036,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(); @@ -1257,8 +1054,6 @@ public Builder setMinValue(com.google.privacy.dlp.v2.Value.Builder builderForVal return this; } /** - * - * *
        * Minimum value appearing in the column.
        * 
@@ -1269,9 +1064,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; } @@ -1283,8 +1076,6 @@ public Builder mergeMinValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Minimum value appearing in the column.
        * 
@@ -1303,8 +1094,6 @@ public Builder clearMinValue() { return this; } /** - * - * *
        * Minimum value appearing in the column.
        * 
@@ -1312,13 +1101,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.
        * 
@@ -1329,14 +1116,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.
        * 
@@ -1344,17 +1128,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_; @@ -1362,47 +1143,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.
        * 
@@ -1423,15 +1191,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(); @@ -1442,8 +1209,6 @@ public Builder setMaxValue(com.google.privacy.dlp.v2.Value.Builder builderForVal return this; } /** - * - * *
        * Maximum value appearing in the column.
        * 
@@ -1454,9 +1219,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; } @@ -1468,8 +1231,6 @@ public Builder mergeMaxValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Maximum value appearing in the column.
        * 
@@ -1488,8 +1249,6 @@ public Builder clearMaxValue() { return this; } /** - * - * *
        * Maximum value appearing in the column.
        * 
@@ -1497,13 +1256,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.
        * 
@@ -1514,14 +1271,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.
        * 
@@ -1529,42 +1283,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.
@@ -1580,8 +1324,6 @@ public java.util.List getQuantileValuesList() {
         }
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1597,8 +1339,6 @@ public int getQuantileValuesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1614,8 +1354,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.
@@ -1623,7 +1361,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();
@@ -1637,8 +1376,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.
@@ -1658,8 +1395,6 @@ public Builder setQuantileValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1681,8 +1416,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.
@@ -1690,7 +1423,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();
@@ -1704,8 +1438,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.
@@ -1713,7 +1445,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());
@@ -1724,8 +1457,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.
@@ -1745,8 +1476,6 @@ public Builder addQuantileValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1758,7 +1487,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);
@@ -1766,8 +1496,6 @@ public Builder addAllQuantileValues(
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1786,8 +1514,6 @@ public Builder clearQuantileValues() {
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1806,8 +1532,6 @@ public Builder removeQuantileValues(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1815,12 +1539,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.
@@ -1828,16 +1551,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.
@@ -1845,8 +1566,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 {
@@ -1854,8 +1575,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.
@@ -1864,12 +1583,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.
@@ -1877,13 +1594,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.
@@ -1891,22 +1607,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(),
@@ -1915,7 +1625,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) {
@@ -1928,33 +1637,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;
@@ -1966,123 +1672,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) @@ -2102,29 +1777,22 @@ 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) { @@ -2132,80 +1800,64 @@ private CategoricalStatsResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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.
@@ -2213,10 +1865,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.
@@ -2226,8 +1877,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.
@@ -2237,8 +1886,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.
@@ -2246,11 +1893,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.
@@ -2258,58 +1903,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) @@ -2329,45 +1967,42 @@ 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) { @@ -2375,8 +2010,8 @@ private CategoricalStatsHistogramBucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -2385,35 +2020,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 @@ -2424,14 +2051,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 @@ -2442,14 +2066,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 @@ -2460,8 +2081,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.
@@ -2474,8 +2093,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.
@@ -2484,13 +2101,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.
@@ -2503,8 +2118,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.
@@ -2517,8 +2130,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.
@@ -2527,21 +2138,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 @@ -2550,7 +2159,6 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2562,7 +2170,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -2588,21 +2197,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; @@ -2612,26 +2224,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; } @@ -2644,133 +2253,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 @@ -2780,55 +2364,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(); @@ -2850,26 +2424,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); } @@ -2877,14 +2444,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_; @@ -2907,60 +2468,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()); } @@ -2988,10 +2535,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_); } @@ -3015,16 +2561,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) { @@ -3033,19 +2574,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 @@ -3053,51 +2590,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 @@ -3105,51 +2633,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 @@ -3157,61 +2676,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.
@@ -3227,8 +2733,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.
@@ -3244,8 +2748,6 @@ public int getBucketValuesCount() {
           }
         }
         /**
-         *
-         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -3261,8 +2763,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.
@@ -3270,7 +2770,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();
@@ -3284,8 +2785,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.
@@ -3305,8 +2804,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.
@@ -3328,8 +2825,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.
@@ -3337,7 +2832,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();
@@ -3351,8 +2847,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.
@@ -3372,8 +2866,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.
@@ -3393,8 +2885,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.
@@ -3406,7 +2896,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);
@@ -3414,8 +2905,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.
@@ -3434,8 +2923,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.
@@ -3454,8 +2941,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.
@@ -3463,12 +2948,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.
@@ -3479,14 +2963,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.
@@ -3494,8 +2975,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 {
@@ -3503,8 +2984,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.
@@ -3513,12 +2992,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.
@@ -3526,13 +3003,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.
@@ -3540,22 +3016,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(),
@@ -3565,16 +3035,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 @@ -3582,41 +3049,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) { @@ -3629,36 +3089,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; @@ -3670,107 +3124,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; @@ -3782,7 +3202,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -3796,9 +3217,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; @@ -3808,15 +3228,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; @@ -3840,101 +3257,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 @@ -3944,53 +3348,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(); @@ -4004,22 +3400,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); } @@ -4027,15 +3420,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_; @@ -4050,56 +3440,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()) { @@ -4118,13 +3498,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_); } } } @@ -4143,14 +3521,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) { @@ -4159,48 +3534,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 { @@ -4208,15 +3563,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) { @@ -4226,19 +3577,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 { @@ -4246,21 +3591,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(); @@ -4274,21 +3612,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()); @@ -4299,20 +3630,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(); @@ -4326,21 +3650,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(); @@ -4354,20 +3671,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()); @@ -4378,21 +3689,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()); @@ -4403,22 +3707,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( @@ -4430,15 +3726,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) { @@ -4451,15 +3743,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) { @@ -4472,57 +3760,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 { @@ -4530,79 +3800,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(), @@ -4611,7 +3847,6 @@ public Builder removeValueFrequencyHistogramBuckets(int index) { } return valueFrequencyHistogramBucketsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4624,34 +3859,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; @@ -4663,123 +3894,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) @@ -4799,29 +3999,22 @@ 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) { @@ -4829,41 +4022,34 @@ private KAnonymityResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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.
@@ -4872,10 +4058,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.
@@ -4886,8 +4071,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.
@@ -4898,8 +4081,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.
@@ -4908,11 +4089,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.
@@ -4921,59 +4100,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) @@ -4993,29 +4165,27 @@ 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) { @@ -5023,8 +4193,8 @@ private KAnonymityEquivalenceClass( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -5033,29 +4203,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.
@@ -5069,8 +4232,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.
@@ -5080,13 +4241,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.
@@ -5100,8 +4259,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.
@@ -5115,8 +4272,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.
@@ -5126,22 +4281,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 @@ -5150,7 +4303,6 @@ public long getEquivalenceClassSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5162,7 +4314,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -5179,11 +4332,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; @@ -5193,23 +4347,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; } @@ -5226,123 +4374,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 @@ -5352,55 +4472,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(); @@ -5416,26 +4526,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); } @@ -5443,14 +4546,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)) { @@ -5470,60 +4567,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()) { @@ -5542,10 +4625,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_); } @@ -5569,16 +4651,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) { @@ -5587,29 +4664,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.
@@ -5626,8 +4695,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.
@@ -5644,8 +4711,6 @@ public int getQuasiIdsValuesCount() {
           }
         }
         /**
-         *
-         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -5662,8 +4727,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.
@@ -5672,7 +4735,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();
@@ -5686,8 +4750,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.
@@ -5708,8 +4770,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.
@@ -5732,8 +4792,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.
@@ -5742,7 +4800,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();
@@ -5756,8 +4815,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.
@@ -5766,7 +4823,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());
@@ -5777,8 +4835,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.
@@ -5799,8 +4855,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.
@@ -5813,7 +4867,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);
@@ -5821,8 +4876,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.
@@ -5842,8 +4895,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.
@@ -5863,8 +4914,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.
@@ -5873,12 +4922,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.
@@ -5887,16 +4935,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.
@@ -5905,8 +4951,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 {
@@ -5914,8 +4960,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.
@@ -5925,12 +4969,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.
@@ -5939,13 +4981,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.
@@ -5954,22 +4995,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(),
@@ -5979,17 +5014,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 @@ -5997,43 +5029,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) { @@ -6046,36 +5071,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; @@ -6087,183 +5106,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) @@ -6283,49 +5256,42 @@ 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) { @@ -6333,8 +5299,8 @@ private KAnonymityHistogramBucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -6343,35 +5309,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 @@ -6382,14 +5340,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 @@ -6400,14 +5355,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 @@ -6416,113 +5368,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 @@ -6531,7 +5448,6 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6543,7 +5459,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -6569,23 +5486,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; @@ -6595,28 +5513,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; } @@ -6629,137 +5542,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 @@ -6769,55 +5653,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(); @@ -6839,26 +5713,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); } @@ -6866,14 +5733,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_; @@ -6896,60 +5757,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()); } @@ -6977,10 +5824,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_); } @@ -7004,16 +5850,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) { @@ -7022,19 +5863,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 @@ -7042,51 +5879,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 @@ -7094,51 +5922,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 @@ -7146,81 +5965,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 { @@ -7228,16 +6022,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) { @@ -7247,20 +6037,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 { @@ -7268,22 +6052,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(); @@ -7297,22 +6074,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()); @@ -7323,21 +6093,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(); @@ -7351,22 +6114,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(); @@ -7380,21 +6136,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()); @@ -7405,22 +6155,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()); @@ -7431,26 +6174,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); @@ -7458,16 +6194,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) { @@ -7480,16 +6212,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) { @@ -7502,60 +6230,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 { @@ -7563,82 +6273,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(), @@ -7648,16 +6324,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 @@ -7665,41 +6338,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) { @@ -7712,36 +6378,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; @@ -7753,107 +6413,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; @@ -7865,7 +6491,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -7879,9 +6506,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; @@ -7891,14 +6517,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; @@ -7923,95 +6547,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 @@ -8021,52 +6637,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(); @@ -8080,22 +6689,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); } @@ -8103,21 +6709,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; @@ -8127,54 +6729,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()) { @@ -8193,13 +6787,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_); } } } @@ -8218,14 +6810,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) { @@ -8234,48 +6823,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 { @@ -8283,15 +6852,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) { @@ -8301,19 +6866,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 { @@ -8321,21 +6880,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(); @@ -8348,22 +6900,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()); @@ -8374,20 +6919,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(); @@ -8401,21 +6939,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(); @@ -8429,20 +6960,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()); @@ -8453,21 +6978,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()); @@ -8478,22 +6996,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( @@ -8505,15 +7015,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) { @@ -8526,15 +7032,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) { @@ -8547,57 +7049,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 { @@ -8605,79 +7089,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(), @@ -8686,7 +7136,6 @@ public Builder removeEquivalenceClassHistogramBuckets(int index) { } return equivalenceClassHistogramBucketsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8699,33 +7148,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; @@ -8737,123 +7183,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) @@ -8873,29 +7288,22 @@ 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) { @@ -8903,41 +7311,34 @@ private LDiversityResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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.
@@ -8945,10 +7346,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.
@@ -8958,8 +7358,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.
@@ -8969,8 +7367,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.
@@ -8978,11 +7374,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.
@@ -8990,47 +7384,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.
        * 
@@ -9039,8 +7425,6 @@ public interface LDiversityEquivalenceClassOrBuilder */ com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index); /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9049,49 +7433,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(); @@ -9099,15 +7474,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) @@ -9127,46 +7503,41 @@ 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) { @@ -9174,8 +7545,8 @@ private LDiversityEquivalenceClass( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -9187,29 +7558,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.
@@ -9222,8 +7586,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.
@@ -9232,13 +7594,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.
@@ -9251,8 +7611,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.
@@ -9265,8 +7623,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.
@@ -9275,21 +7631,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 @@ -9300,14 +7654,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 @@ -9318,8 +7669,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.
        * 
@@ -9331,8 +7680,6 @@ public java.util.List getTopSensitiveV return topSensitiveValues_; } /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9340,13 +7687,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.
        * 
@@ -9358,8 +7703,6 @@ public int getTopSensitiveValuesCount() { return topSensitiveValues_.size(); } /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9371,8 +7714,6 @@ public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) return topSensitiveValues_.get(index); } /** - * - * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -9386,7 +7727,6 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9398,7 +7738,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -9421,21 +7762,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; @@ -9445,25 +7785,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; } @@ -9480,9 +7816,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(); @@ -9492,117 +7830,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 @@ -9612,56 +7921,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(); @@ -9685,26 +7984,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); } @@ -9712,14 +8004,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)) { @@ -9749,60 +8035,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()) { @@ -9821,10 +8093,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_); } @@ -9854,10 +8125,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_); } @@ -9878,16 +8148,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) { @@ -9896,29 +8161,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.
@@ -9934,8 +8191,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.
@@ -9951,8 +8206,6 @@ public int getQuasiIdsValuesCount() {
           }
         }
         /**
-         *
-         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -9968,8 +8221,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.
@@ -9977,7 +8228,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();
@@ -9991,8 +8243,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.
@@ -10012,8 +8262,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.
@@ -10035,8 +8283,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.
@@ -10044,7 +8290,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();
@@ -10058,8 +8305,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.
@@ -10067,7 +8312,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());
@@ -10078,8 +8324,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.
@@ -10099,8 +8343,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.
@@ -10112,7 +8354,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);
@@ -10120,8 +8363,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.
@@ -10140,8 +8381,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.
@@ -10160,8 +8399,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.
@@ -10169,12 +8406,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.
@@ -10182,16 +8418,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.
@@ -10199,8 +8433,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 {
@@ -10208,8 +8442,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.
@@ -10218,12 +8450,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.
@@ -10231,13 +8461,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.
@@ -10245,22 +8474,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(),
@@ -10270,16 +8493,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 @@ -10287,51 +8507,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 @@ -10339,70 +8550,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 { @@ -10410,8 +8606,6 @@ private void ensureTopSensitiveValuesIsMutable() { } } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10426,8 +8620,6 @@ public int getTopSensitiveValuesCount() { } } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10442,8 +8634,6 @@ public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) } } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10465,8 +8655,6 @@ public Builder setTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10485,8 +8673,6 @@ public Builder setTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10507,8 +8693,6 @@ public Builder addTopSensitiveValues(com.google.privacy.dlp.v2.ValueFrequency va return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10530,8 +8714,6 @@ public Builder addTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10550,8 +8732,6 @@ public Builder addTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10570,8 +8750,6 @@ public Builder addTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10582,7 +8760,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); @@ -10590,8 +8769,6 @@ public Builder addAllTopSensitiveValues( return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10609,8 +8786,6 @@ public Builder clearTopSensitiveValues() { return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10628,8 +8803,6 @@ public Builder removeTopSensitiveValues(int index) { return this; } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10641,8 +8814,6 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder getTopSensitiveValuesBui return getTopSensitiveValuesFieldBuilder().getBuilder(index); } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10652,22 +8823,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 { @@ -10675,8 +8843,6 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOr } } /** - * - * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -10684,12 +8850,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.
          * 
@@ -10698,34 +8862,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(), @@ -10734,7 +8890,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) { @@ -10747,36 +8902,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; @@ -10788,185 +8937,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) @@ -10986,49 +9089,42 @@ 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) { @@ -11036,8 +9132,8 @@ private LDiversityHistogramBucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -11046,36 +9142,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 @@ -11086,15 +9174,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 @@ -11105,14 +9190,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 @@ -11121,113 +9203,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 @@ -11236,7 +9283,6 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11248,7 +9294,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -11274,23 +9321,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; @@ -11300,28 +9348,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; } @@ -11334,137 +9377,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 @@ -11474,55 +9488,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(); @@ -11544,26 +9548,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); } @@ -11571,14 +9568,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_; @@ -11601,60 +9592,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()); } @@ -11682,10 +9659,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_); } @@ -11709,16 +9685,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) { @@ -11727,20 +9698,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 @@ -11748,54 +9715,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 @@ -11803,53 +9761,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 @@ -11857,81 +9806,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 { @@ -11939,16 +9863,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) { @@ -11958,20 +9878,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 { @@ -11979,22 +9893,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(); @@ -12008,22 +9915,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()); @@ -12034,21 +9934,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(); @@ -12062,22 +9955,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(); @@ -12091,21 +9977,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()); @@ -12115,23 +9995,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()); @@ -12142,26 +10015,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); @@ -12169,16 +10035,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) { @@ -12191,16 +10053,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) { @@ -12213,60 +10071,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 { @@ -12274,82 +10114,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(), @@ -12359,16 +10165,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 @@ -12376,41 +10179,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) { @@ -12423,36 +10219,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; @@ -12464,107 +10254,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; @@ -12576,7 +10332,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -12590,9 +10347,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; @@ -12602,14 +10358,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; @@ -12634,95 +10388,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 @@ -12732,52 +10478,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(); @@ -12791,22 +10530,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); } @@ -12814,22 +10550,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; @@ -12839,64 +10570,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(); } @@ -12905,16 +10626,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_); } } } @@ -12933,14 +10651,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) { @@ -12949,48 +10664,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 { @@ -12998,15 +10693,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) { @@ -13016,19 +10707,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 { @@ -13036,21 +10721,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(); @@ -13064,46 +10742,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(); @@ -13117,21 +10780,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(); @@ -13145,20 +10801,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()); @@ -13169,48 +10819,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( @@ -13222,15 +10856,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) { @@ -13243,15 +10873,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) { @@ -13264,57 +10890,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 { @@ -13322,79 +10930,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(), @@ -13403,7 +10977,6 @@ public Builder removeSensitiveValueFrequencyHistogramBuckets(int index) { } return sensitiveValueFrequencyHistogramBucketsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13416,33 +10989,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; @@ -13454,20 +11024,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
@@ -13479,17 +11046,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
@@ -13501,16 +11062,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
@@ -13522,14 +11077,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
@@ -13541,18 +11092,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
@@ -13564,17 +11108,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.
@@ -13582,31 +11121,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)
@@ -13626,29 +11165,22 @@ 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) {
@@ -13656,51 +11188,43 @@ private KMapEstimationResult(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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.
        * 
@@ -13709,8 +11233,6 @@ public interface KMapEstimationQuasiIdValuesOrBuilder */ com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index); /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13719,77 +11241,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) @@ -13809,29 +11320,27 @@ 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) { @@ -13839,8 +11348,8 @@ private KMapEstimationQuasiIdValues( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -13849,29 +11358,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.
        * 
@@ -13883,8 +11385,6 @@ public java.util.List getQuasiIdsValuesList() { return quasiIdsValues_; } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13892,13 +11392,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.
        * 
@@ -13910,8 +11408,6 @@ public int getQuasiIdsValuesCount() { return quasiIdsValues_.size(); } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13923,8 +11419,6 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { return quasiIdsValues_.get(index); } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -13932,21 +11426,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 @@ -13955,7 +11447,6 @@ public long getEstimatedAnonymity() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13967,7 +11458,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -13984,11 +11476,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; @@ -13998,23 +11491,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; } @@ -14031,123 +11518,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 @@ -14157,55 +11616,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(); @@ -14221,26 +11670,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); } @@ -14248,14 +11690,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)) { @@ -14275,60 +11711,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()) { @@ -14347,10 +11769,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_); } @@ -14374,16 +11795,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) { @@ -14392,29 +11808,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.
          * 
@@ -14429,8 +11837,6 @@ public java.util.List getQuasiIdsValuesList() { } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14445,8 +11851,6 @@ public int getQuasiIdsValuesCount() { } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14461,15 +11865,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(); @@ -14483,8 +11886,6 @@ public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14503,8 +11904,6 @@ public Builder setQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14525,15 +11924,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(); @@ -14547,15 +11945,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()); @@ -14566,8 +11963,6 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builder return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14586,8 +11981,6 @@ public Builder addQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14598,7 +11991,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); @@ -14606,8 +12000,6 @@ public Builder addAllQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14625,8 +12017,6 @@ public Builder clearQuasiIdsValues() { return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14644,44 +12034,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 { @@ -14689,8 +12074,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -14698,47 +12081,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(), @@ -14748,16 +12122,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 @@ -14765,41 +12136,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) { @@ -14812,36 +12176,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; @@ -14853,150 +12211,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
@@ -15008,36 +12322,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) @@ -15057,49 +12368,42 @@ 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) { @@ -15107,8 +12411,8 @@ private KMapEstimationHistogramBucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -15117,35 +12421,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 @@ -15156,14 +12452,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 @@ -15174,14 +12467,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 @@ -15190,113 +12480,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 @@ -15305,7 +12560,6 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15317,7 +12571,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -15343,19 +12598,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; @@ -15365,26 +12625,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; } @@ -15397,133 +12654,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 @@ -15533,8 +12765,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A KMapEstimationHistogramBucket message with the following values:
        *   min_anonymity: 3
@@ -15546,49 +12776,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(); @@ -15610,26 +12832,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); } @@ -15637,14 +12852,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_; @@ -15667,60 +12876,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()); } @@ -15748,10 +12943,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_); } @@ -15775,16 +12969,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) { @@ -15793,19 +12982,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 @@ -15813,51 +12998,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 @@ -15865,51 +13041,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 @@ -15917,81 +13084,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 { @@ -15999,16 +13141,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) { @@ -16018,20 +13156,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 { @@ -16039,22 +13171,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(); @@ -16068,22 +13193,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()); @@ -16094,21 +13212,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(); @@ -16122,22 +13233,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(); @@ -16151,21 +13255,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()); @@ -16176,22 +13274,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()); @@ -16202,26 +13293,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); @@ -16229,16 +13313,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) { @@ -16251,16 +13331,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) { @@ -16273,60 +13349,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 { @@ -16334,82 +13392,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(), @@ -16419,16 +13443,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 @@ -16436,41 +13457,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) { @@ -16483,36 +13497,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; @@ -16524,21 +13532,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
@@ -16550,20 +13552,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
@@ -16575,21 +13570,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
@@ -16601,17 +13589,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
@@ -16623,19 +13607,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
@@ -16647,19 +13625,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; @@ -16671,7 +13645,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -16685,9 +13660,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; @@ -16697,17 +13671,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; } @@ -16728,101 +13700,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 @@ -16832,8 +13791,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Result of the reidentifiability analysis. Note that these results are an
      * estimation, not exact values.
@@ -16841,44 +13798,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();
@@ -16892,22 +13844,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);
         }
@@ -16915,15 +13864,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_;
@@ -16938,55 +13884,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()) {
@@ -17005,10 +13942,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_);
             }
@@ -17029,14 +13965,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) {
@@ -17045,36 +13978,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
@@ -17086,14 +14004,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 { @@ -17101,8 +14014,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
@@ -17114,9 +14025,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) { @@ -17126,8 +14035,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
@@ -17139,13 +14046,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 { @@ -17153,8 +14056,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
@@ -17166,15 +14067,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(); @@ -17188,8 +14084,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
@@ -17201,15 +14095,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()); @@ -17220,8 +14109,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
@@ -17233,14 +14120,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(); @@ -17254,8 +14136,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
@@ -17267,15 +14147,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(); @@ -17289,8 +14164,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
@@ -17302,14 +14175,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()); @@ -17320,8 +14189,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
@@ -17333,15 +14200,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()); @@ -17352,8 +14214,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
@@ -17365,19 +14225,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); @@ -17385,8 +14240,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
@@ -17398,9 +14251,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) { @@ -17413,8 +14264,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
@@ -17426,9 +14275,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) { @@ -17441,8 +14288,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
@@ -17454,18 +14299,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
@@ -17477,22 +14317,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
@@ -17504,15 +14338,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 { @@ -17520,8 +14349,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
@@ -17533,21 +14360,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
@@ -17559,22 +14378,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
@@ -17586,34 +14397,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(), @@ -17622,7 +14417,6 @@ public Builder removeKMapEstimationHistogram(int index) { } return kMapEstimationHistogramBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17635,33 +14429,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; @@ -17673,20 +14464,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
@@ -17698,17 +14486,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
@@ -17720,16 +14502,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
@@ -17741,14 +14517,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
@@ -17760,18 +14532,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
@@ -17783,52 +14548,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) @@ -17848,31 +14605,22 @@ 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) { @@ -17880,52 +14628,43 @@ private DeltaPresenceEstimationResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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.
        * 
@@ -17934,8 +14673,6 @@ public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder */ com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index); /** - * - * *
        * The quasi-identifier values.
        * 
@@ -17944,84 +14681,73 @@ 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
-       * δ, is the ratio between the number of records in the dataset with these
-       * quasi-identifier values, and the total number of individuals (inside
-       * *and* outside the dataset) with these quasi-identifier values.
+       * quasi-identifier values is in the dataset. This value, typically
+       * called δ, is the ratio between the number of records in the dataset
+       * with these quasi-identifier values, and the total number of individuals
+       * (inside *and* outside the dataset) with these quasi-identifier values.
        * For example, if there are 15 individuals in the dataset who share the
        * same quasi-identifier values, and an estimated 100 people in the entire
        * population with these values, then δ is 0.15.
        * 
* * 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) @@ -18041,29 +14767,27 @@ 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) { @@ -18071,8 +14795,8 @@ private DeltaPresenceEstimationQuasiIdValues( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -18081,29 +14805,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.
        * 
@@ -18115,8 +14832,6 @@ public java.util.List getQuasiIdsValuesList() { return quasiIdsValues_; } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -18124,13 +14839,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.
        * 
@@ -18142,8 +14855,6 @@ public int getQuasiIdsValuesCount() { return quasiIdsValues_.size(); } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -18155,8 +14866,6 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { return quasiIdsValues_.get(index); } /** - * - * *
        * The quasi-identifier values.
        * 
@@ -18164,28 +14873,26 @@ 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
-       * δ, is the ratio between the number of records in the dataset with these
-       * quasi-identifier values, and the total number of individuals (inside
-       * *and* outside the dataset) with these quasi-identifier values.
+       * quasi-identifier values is in the dataset. This value, typically
+       * called δ, is the ratio between the number of records in the dataset
+       * with these quasi-identifier values, and the total number of individuals
+       * (inside *and* outside the dataset) with these quasi-identifier values.
        * For example, if there are 15 individuals in the dataset who share the
        * same quasi-identifier values, and an estimated 100 people in the entire
        * population with these values, then δ is 0.15.
        * 
* * double estimated_probability = 2; - * * @return The estimatedProbability. */ @java.lang.Override @@ -18194,7 +14901,6 @@ public double getEstimatedProbability() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18206,7 +14912,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -18223,11 +14930,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 (java.lang.Double.doubleToRawLongBits(estimatedProbability_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, estimatedProbability_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, estimatedProbability_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -18237,24 +14945,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; } @@ -18271,126 +14973,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 @@ -18400,56 +15071,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(); @@ -18465,27 +15125,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); } @@ -18493,14 +15145,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)) { @@ -18520,61 +15166,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()) { @@ -18593,10 +15224,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_); } @@ -18620,16 +15250,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) { @@ -18638,29 +15263,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.
          * 
@@ -18675,8 +15292,6 @@ public java.util.List getQuasiIdsValuesList() { } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18691,8 +15306,6 @@ public int getQuasiIdsValuesCount() { } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18707,15 +15320,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(); @@ -18729,8 +15341,6 @@ public Builder setQuasiIdsValues(int index, com.google.privacy.dlp.v2.Value valu return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18749,8 +15359,6 @@ public Builder setQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18771,15 +15379,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(); @@ -18793,15 +15400,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()); @@ -18812,8 +15418,6 @@ public Builder addQuasiIdsValues(com.google.privacy.dlp.v2.Value.Builder builder return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18832,8 +15436,6 @@ public Builder addQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18844,7 +15446,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); @@ -18852,8 +15455,6 @@ public Builder addAllQuasiIdsValues( return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18871,8 +15472,6 @@ public Builder clearQuasiIdsValues() { return this; } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18890,44 +15489,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 { @@ -18935,8 +15529,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(int i } } /** - * - * *
          * The quasi-identifier values.
          * 
@@ -18944,47 +15536,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(), @@ -18994,23 +15577,20 @@ 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
-         * δ, is the ratio between the number of records in the dataset with these
-         * quasi-identifier values, and the total number of individuals (inside
-         * *and* outside the dataset) with these quasi-identifier values.
+         * quasi-identifier values is in the dataset. This value, typically
+         * called δ, is the ratio between the number of records in the dataset
+         * with these quasi-identifier values, and the total number of individuals
+         * (inside *and* outside the dataset) with these quasi-identifier values.
          * For example, if there are 15 individuals in the dataset who share the
          * same quasi-identifier values, and an estimated 100 people in the entire
          * population with these values, then δ is 0.15.
          * 
* * double estimated_probability = 2; - * * @return The estimatedProbability. */ @java.lang.Override @@ -19018,55 +15598,48 @@ 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
-         * δ, is the ratio between the number of records in the dataset with these
-         * quasi-identifier values, and the total number of individuals (inside
-         * *and* outside the dataset) with these quasi-identifier values.
+         * quasi-identifier values is in the dataset. This value, typically
+         * called δ, is the ratio between the number of records in the dataset
+         * with these quasi-identifier values, and the total number of individuals
+         * (inside *and* outside the dataset) with these quasi-identifier values.
          * For example, if there are 15 individuals in the dataset who share the
          * same quasi-identifier values, and an estimated 100 people in the entire
          * population with these values, then δ is 0.15.
          * 
* * 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
-         * δ, is the ratio between the number of records in the dataset with these
-         * quasi-identifier values, and the total number of individuals (inside
-         * *and* outside the dataset) with these quasi-identifier values.
+         * quasi-identifier values is in the dataset. This value, typically
+         * called δ, is the ratio between the number of records in the dataset
+         * with these quasi-identifier values, and the total number of individuals
+         * (inside *and* outside the dataset) with these quasi-identifier values.
          * For example, if there are 15 individuals in the dataset who share the
          * same quasi-identifier values, and an estimated 100 people in the entire
          * population with these values, then δ is 0.15.
          * 
* * 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) { @@ -19079,36 +15652,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; @@ -19120,150 +15687,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:
@@ -19276,36 +15799,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) @@ -19325,51 +15845,42 @@ 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) { @@ -19377,8 +15888,8 @@ private DeltaPresenceEstimationHistogramBucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -19387,35 +15898,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 @@ -19426,14 +15929,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 @@ -19444,14 +15944,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 @@ -19460,113 +15957,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 @@ -19575,7 +16037,6 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -19587,7 +16048,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(minProbability_) != 0) { output.writeDouble(1, minProbability_); } @@ -19613,19 +16075,24 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(minProbability_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, minProbability_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, minProbability_); } if (java.lang.Double.doubleToRawLongBits(maxProbability_) != 0) { - 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; @@ -19635,28 +16102,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; } @@ -19669,139 +16133,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 @@ -19811,8 +16244,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * A DeltaPresenceEstimationHistogramBucket message with the following
        * values:
@@ -19825,50 +16256,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(); @@ -19890,27 +16312,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); } @@ -19918,14 +16332,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_; @@ -19948,61 +16356,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()); } @@ -20030,10 +16423,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_); } @@ -20057,16 +16449,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) { @@ -20075,19 +16462,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 @@ -20095,51 +16478,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 @@ -20147,51 +16521,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 @@ -20199,82 +16564,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 { @@ -20282,16 +16621,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) { @@ -20301,20 +16636,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 { @@ -20322,22 +16651,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(); @@ -20351,22 +16673,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()); @@ -20377,21 +16692,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(); @@ -20405,22 +16713,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(); @@ -20434,21 +16735,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()); @@ -20459,22 +16754,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()); @@ -20485,26 +16773,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); @@ -20512,16 +16793,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) { @@ -20534,16 +16811,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) { @@ -20556,61 +16829,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 { @@ -20618,85 +16872,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(), @@ -20706,16 +16923,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 @@ -20723,41 +16937,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) { @@ -20770,37 +16977,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; @@ -20812,21 +17012,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
@@ -20838,20 +17032,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
@@ -20863,21 +17050,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
@@ -20889,17 +17069,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
@@ -20911,19 +17087,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
@@ -20935,19 +17105,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; @@ -20959,7 +17125,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -20973,9 +17140,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; @@ -20985,16 +17151,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; @@ -21018,114 +17180,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 @@ -21135,56 +17271,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(); @@ -21198,23 +17324,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); } @@ -21222,23 +17344,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; @@ -21248,57 +17364,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()) { @@ -21317,13 +17422,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_); } } } @@ -21342,14 +17445,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) { @@ -21358,37 +17458,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
@@ -21400,14 +17484,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 { @@ -21415,8 +17494,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
@@ -21428,9 +17505,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) { @@ -21440,8 +17515,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
@@ -21453,13 +17526,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 { @@ -21467,8 +17536,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
@@ -21480,15 +17547,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(); @@ -21502,8 +17564,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,15 +17575,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()); @@ -21534,8 +17589,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
@@ -21547,14 +17600,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(); @@ -21568,8 +17616,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
@@ -21581,15 +17627,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(); @@ -21603,8 +17644,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
@@ -21616,14 +17655,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()); @@ -21634,8 +17669,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,15 +17680,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()); @@ -21666,8 +17694,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
@@ -21679,16 +17705,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( @@ -21700,8 +17720,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
@@ -21713,9 +17731,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) { @@ -21728,8 +17744,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
@@ -21741,9 +17755,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) { @@ -21756,8 +17768,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
@@ -21769,18 +17779,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
@@ -21792,22 +17797,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
@@ -21819,16 +17818,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 { @@ -21836,8 +17829,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
@@ -21849,21 +17840,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
@@ -21875,22 +17858,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
@@ -21902,35 +17877,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(), @@ -21939,7 +17897,6 @@ public Builder removeDeltaPresenceEstimationHistogram(int index) { } return deltaPresenceEstimationHistogramBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -21952,36 +17909,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; @@ -21993,44 +17944,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.
      * 
@@ -22040,40 +17982,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) @@ -22092,30 +18030,26 @@ 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) { @@ -22123,41 +18057,34 @@ private RequestedRiskAnalysisOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -22165,25 +18092,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.
      * 
@@ -22196,7 +18116,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -22208,7 +18127,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -22222,7 +18142,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; @@ -22232,19 +18153,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; @@ -22266,114 +18185,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 @@ -22383,53 +18276,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(); @@ -22443,23 +18327,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); } @@ -22467,11 +18347,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 { @@ -22485,57 +18362,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()); } @@ -22554,14 +18420,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) { @@ -22573,47 +18436,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.
        * 
@@ -22634,8 +18484,6 @@ public Builder setJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig valu return this; } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22654,8 +18502,6 @@ public Builder setJobConfig( return this; } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22666,9 +18512,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; } @@ -22680,8 +18524,6 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig va return this; } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22700,8 +18542,6 @@ public Builder clearJobConfig() { return this; } /** - * - * *
        * The job config for the risk job.
        * 
@@ -22709,13 +18549,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.
        * 
@@ -22726,14 +18564,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.
        * 
@@ -22741,22 +18576,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) { @@ -22769,35 +18600,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; @@ -22809,18 +18635,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), @@ -22830,7 +18654,6 @@ public enum ResultCase DELTA_PRESENCE_ESTIMATION_RESULT(9), RESULT_NOT_SET(0); private final int value; - private ResultCase(int value) { this.value = value; } @@ -22846,45 +18669,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 @@ -22892,25 +18705,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.
    * 
@@ -22925,14 +18731,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 @@ -22940,25 +18743,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.
    * 
@@ -22972,16 +18768,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 @@ -22989,60 +18780,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 @@ -23050,62 +18823,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 @@ -23113,60 +18866,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 @@ -23174,60 +18909,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 @@ -23235,60 +18952,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 @@ -23296,65 +18995,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 @@ -23362,46 +19039,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; @@ -23413,7 +19074,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -23421,31 +19083,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()); @@ -23460,53 +19113,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; @@ -23516,46 +19156,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: @@ -23617,127 +19264,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() @@ -23745,15 +19382,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -23781,9 +19419,9 @@ public Builder 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 @@ -23802,8 +19440,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 { @@ -23870,39 +19507,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; @@ -23910,8 +19546,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()); } @@ -23922,40 +19557,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(); @@ -23976,8 +19604,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) { @@ -23986,12 +19613,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() { @@ -24001,49 +19628,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.
      * 
@@ -24064,8 +19679,6 @@ public Builder setRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24084,8 +19697,6 @@ public Builder setRequestedPrivacyMetric( return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24096,9 +19707,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; } @@ -24110,8 +19719,6 @@ public Builder mergeRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetr return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24130,8 +19737,6 @@ public Builder clearRequestedPrivacyMetric() { return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -24139,13 +19744,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.
      * 
@@ -24156,14 +19759,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.
      * 
@@ -24171,17 +19771,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_; @@ -24189,47 +19786,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.
      * 
@@ -24250,8 +19834,6 @@ public Builder setRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable v return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24270,8 +19852,6 @@ public Builder setRequestedSourceTable( return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24282,9 +19862,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; } @@ -24296,8 +19874,6 @@ public Builder mergeRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24316,8 +19892,6 @@ public Builder clearRequestedSourceTable() { return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -24325,13 +19899,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.
      * 
@@ -24342,14 +19914,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.
      * 
@@ -24357,38 +19926,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 @@ -24396,49 +19954,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(); @@ -24452,19 +19996,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(); @@ -24475,30 +20014,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; } @@ -24514,15 +20041,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) { @@ -24541,101 +20064,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 @@ -24643,49 +20132,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(); @@ -24699,19 +20174,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(); @@ -24722,31 +20192,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; } @@ -24762,15 +20219,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) { @@ -24789,102 +20242,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 @@ -24892,48 +20310,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(); @@ -24947,19 +20352,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(); @@ -24970,29 +20370,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; } @@ -25008,15 +20397,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) { @@ -25035,98 +20420,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 @@ -25134,48 +20488,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(); @@ -25189,19 +20530,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(); @@ -25212,29 +20548,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; } @@ -25250,15 +20575,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) { @@ -25277,98 +20598,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 @@ -25376,49 +20666,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(); @@ -25432,19 +20708,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(); @@ -25455,30 +20726,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; } @@ -25494,15 +20753,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) { @@ -25521,103 +20776,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 @@ -25625,51 +20844,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(); @@ -25683,19 +20886,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(); @@ -25706,32 +20904,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; } @@ -25747,15 +20931,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) { @@ -25774,155 +20954,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(); @@ -25936,19 +21057,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(); @@ -25959,25 +21075,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; } @@ -25989,15 +21097,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) { @@ -26011,80 +21115,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); } @@ -26094,12 +21173,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(); } @@ -26108,16 +21187,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; @@ -26132,4 +21211,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 70% 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 d6e4ecdf..9e8eee0a 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,44 +52,39 @@ 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) { @@ -113,39 +92,34 @@ private BigQueryField( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -153,14 +127,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 @@ -168,8 +139,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.
    * 
@@ -184,14 +153,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 @@ -199,14 +165,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 @@ -214,8 +177,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.
    * 
@@ -228,7 +189,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -257,10 +218,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; @@ -270,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.BigQueryField)) { return super.equals(obj); @@ -279,11 +242,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; @@ -309,127 +274,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() @@ -437,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(); @@ -465,9 +422,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 @@ -486,8 +443,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 { @@ -506,39 +462,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; @@ -584,47 +539,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.
      * 
@@ -645,15 +587,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(); @@ -664,8 +605,6 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable.Builder builderF return this; } /** - * - * *
      * Source table of the field.
      * 
@@ -676,9 +615,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; } @@ -690,8 +627,6 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** - * - * *
      * Source table of the field.
      * 
@@ -710,8 +645,6 @@ public Builder clearTable() { return this; } /** - * - * *
      * Source table of the field.
      * 
@@ -719,13 +652,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.
      * 
@@ -736,14 +667,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.
      * 
@@ -751,17 +679,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_; @@ -769,33 +694,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() { @@ -806,8 +722,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
      * Designated field in the BigQuery table.
      * 
@@ -828,15 +742,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(); @@ -847,8 +760,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
      * Designated field in the BigQuery table.
      * 
@@ -859,7 +770,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; } @@ -871,8 +782,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Designated field in the BigQuery table.
      * 
@@ -891,8 +800,6 @@ public Builder clearField() { return this; } /** - * - * *
      * Designated field in the BigQuery table.
      * 
@@ -900,13 +807,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.
      * 
@@ -917,12 +822,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.
      * 
@@ -930,24 +834,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); } @@ -957,12 +858,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(); } @@ -971,16 +872,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; @@ -995,4 +896,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 d4c3088c..375b48cb 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,34 +52,31 @@ 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) { @@ -103,39 +84,34 @@ private BigQueryKey( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -143,25 +119,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.
    * 
@@ -176,8 +145,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
@@ -187,7 +154,6 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
    * 
* * int64 row_number = 2; - * * @return The rowNumber. */ @java.lang.Override @@ -196,7 +162,6 @@ public long getRowNumber() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (tableReference_ != null) { output.writeMessage(1, getTableReference()); } @@ -225,10 +191,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; @@ -238,7 +206,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); @@ -247,9 +215,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; } @@ -266,132 +236,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() @@ -399,15 +362,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); 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 +387,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 @@ -444,8 +408,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 { @@ -460,39 +423,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; @@ -538,47 +500,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.
      * 
@@ -599,8 +548,6 @@ public Builder setTableReference(com.google.privacy.dlp.v2.BigQueryTable value) return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -619,8 +566,6 @@ public Builder setTableReference( return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -631,9 +576,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; } @@ -645,8 +588,6 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -665,8 +606,6 @@ public Builder clearTableReference() { return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -674,13 +613,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.
      * 
@@ -691,14 +628,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.
      * 
@@ -706,26 +640,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
@@ -735,7 +664,6 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
      * 
* * int64 row_number = 2; - * * @return The rowNumber. */ @java.lang.Override @@ -743,8 +671,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
@@ -754,19 +680,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
@@ -776,18 +699,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); } @@ -797,12 +719,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(); } @@ -811,16 +733,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; @@ -835,4 +757,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 9257fb09..5e7e8461 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,76 +57,69 @@ 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) { @@ -151,7 +127,8 @@ private BigQueryOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -166,25 +143,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
@@ -193,12 +165,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
@@ -209,8 +182,6 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     TOP(1),
     /**
-     *
-     *
      * 
      * Randomly pick groups of rows to scan.
      * 
@@ -221,11 +192,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
@@ -236,8 +207,6 @@ public enum SampleMethod implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TOP_VALUE = 1;
     /**
-     *
-     *
      * 
      * Randomly pick groups of rows to scan.
      * 
@@ -246,6 +215,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( @@ -270,49 +240,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; @@ -332,14 +302,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 @@ -347,25 +314,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.
    * 
@@ -380,8 +340,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
@@ -397,8 +355,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
@@ -410,13 +366,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
@@ -432,8 +386,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
@@ -449,8 +401,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
@@ -462,15 +412,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
@@ -479,7 +428,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    * 
* * int64 rows_limit = 3; - * * @return The rowsLimit. */ @java.lang.Override @@ -490,8 +438,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
@@ -501,7 +447,6 @@ public long getRowsLimit() {
    * 
* * int32 rows_limit_percent = 6; - * * @return The rowsLimitPercent. */ @java.lang.Override @@ -513,33 +458,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.
@@ -552,8 +488,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.
@@ -562,13 +496,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.
@@ -581,8 +513,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.
@@ -595,8 +525,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.
@@ -605,15 +533,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.
    * 
@@ -625,8 +552,6 @@ public java.util.List getIncludedFieldsList() return includedFields_; } /** - * - * *
    * Limit scanning only to these fields.
    * 
@@ -634,13 +559,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.
    * 
@@ -652,8 +575,6 @@ public int getIncludedFieldsCount() { return includedFields_.size(); } /** - * - * *
    * Limit scanning only to these fields.
    * 
@@ -665,8 +586,6 @@ public com.google.privacy.dlp.v2.FieldId getIncludedFields(int index) { return includedFields_.get(index); } /** - * - * *
    * Limit scanning only to these fields.
    * 
@@ -674,12 +593,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; @@ -691,7 +610,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -701,9 +621,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++) { @@ -725,28 +643,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; @@ -756,24 +678,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; } @@ -794,7 +721,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; @@ -812,127 +740,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() @@ -940,19 +859,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(); @@ -990,9 +909,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 @@ -1011,8 +930,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_; @@ -1057,39 +975,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; @@ -1119,10 +1036,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_); } @@ -1155,10 +1071,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_); } @@ -1182,10 +1097,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_); } @@ -1219,52 +1133,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.
      * 
@@ -1285,8 +1185,6 @@ public Builder setTableReference(com.google.privacy.dlp.v2.BigQueryTable value) return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1305,8 +1203,6 @@ public Builder setTableReference( return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1317,9 +1213,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; } @@ -1331,8 +1225,6 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1351,8 +1243,6 @@ public Builder clearTableReference() { return this; } /** - * - * *
      * Complete BigQuery table reference.
      * 
@@ -1360,13 +1250,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.
      * 
@@ -1377,14 +1265,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.
      * 
@@ -1392,42 +1277,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
@@ -1446,8 +1321,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
@@ -1466,8 +1339,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
@@ -1486,8 +1357,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
@@ -1498,7 +1367,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();
@@ -1512,8 +1382,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
@@ -1536,8 +1404,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
@@ -1562,8 +1428,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
@@ -1574,7 +1438,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();
@@ -1588,8 +1453,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
@@ -1600,7 +1463,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());
@@ -1611,8 +1475,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
@@ -1635,8 +1497,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
@@ -1651,7 +1511,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);
@@ -1659,8 +1520,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
@@ -1682,8 +1541,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
@@ -1705,8 +1562,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
@@ -1717,12 +1572,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
@@ -1733,16 +1587,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
@@ -1753,8 +1605,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 {
@@ -1762,8 +1614,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
@@ -1775,12 +1625,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
@@ -1791,13 +1639,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
@@ -1808,22 +1655,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(),
@@ -1833,10 +1674,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
@@ -1845,7 +1684,6 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(int
      * 
* * int64 rows_limit = 3; - * * @return The rowsLimit. */ @java.lang.Override @@ -1853,8 +1691,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
@@ -1863,19 +1699,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
@@ -1884,20 +1717,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
@@ -1907,7 +1737,6 @@ public Builder clearRowsLimit() {
      * 
* * int32 rows_limit_percent = 6; - * * @return The rowsLimitPercent. */ @java.lang.Override @@ -1915,8 +1744,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
@@ -1926,19 +1753,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
@@ -1948,11 +1772,10 @@ public Builder setRowsLimitPercent(int value) {
      * 
* * int32 rows_limit_percent = 6; - * * @return This builder for chaining. */ public Builder clearRowsLimitPercent() { - + rowsLimitPercent_ = 0; onChanged(); return this; @@ -1961,42 +1784,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. */ @@ -2004,43 +1819,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.
@@ -2056,8 +1863,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.
@@ -2073,8 +1878,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.
@@ -2090,8 +1893,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.
@@ -2099,7 +1900,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();
@@ -2113,8 +1915,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.
@@ -2134,8 +1934,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.
@@ -2157,8 +1955,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.
@@ -2166,7 +1962,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();
@@ -2180,8 +1977,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.
@@ -2189,7 +1984,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());
@@ -2200,8 +1996,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.
@@ -2221,8 +2015,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.
@@ -2234,7 +2026,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);
@@ -2242,8 +2035,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.
@@ -2262,8 +2053,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.
@@ -2282,8 +2071,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.
@@ -2291,12 +2078,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.
@@ -2304,16 +2090,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.
@@ -2321,8 +2105,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 {
@@ -2330,8 +2114,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.
@@ -2340,12 +2122,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.
@@ -2353,13 +2133,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.
@@ -2367,22 +2146,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(),
@@ -2393,25 +2166,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.
      * 
@@ -2426,8 +2192,6 @@ public java.util.List getIncludedFieldsList() } } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2442,8 +2206,6 @@ public int getIncludedFieldsCount() { } } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2458,15 +2220,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(); @@ -2480,8 +2241,6 @@ public Builder setIncludedFields(int index, com.google.privacy.dlp.v2.FieldId va return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2500,8 +2259,6 @@ public Builder setIncludedFields( return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2522,15 +2279,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(); @@ -2544,15 +2300,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()); @@ -2563,8 +2318,6 @@ public Builder addIncludedFields(com.google.privacy.dlp.v2.FieldId.Builder build return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2583,8 +2336,6 @@ public Builder addIncludedFields( return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2595,7 +2346,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); @@ -2603,8 +2355,6 @@ public Builder addAllIncludedFields( return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2622,8 +2372,6 @@ public Builder clearIncludedFields() { return this; } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2641,44 +2389,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 { @@ -2686,8 +2429,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int } } /** - * - * *
      * Limit scanning only to these fields.
      * 
@@ -2695,47 +2436,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(), @@ -2744,9 +2476,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); } @@ -2756,12 +2488,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(); } @@ -2770,16 +2502,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; @@ -2794,4 +2526,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 09a4740d..e41dbab7 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,34 +59,31 @@ 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) {
@@ -111,40 +91,35 @@ private BigQueryTable(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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 @@ -153,30 +128,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 { @@ -187,14 +162,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 @@ -203,29 +175,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 { @@ -236,14 +208,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 @@ -252,29 +221,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 { @@ -283,7 +252,6 @@ public com.google.protobuf.ByteString getTableIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,7 +263,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -331,16 +300,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -363,104 +335,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
@@ -471,23 +436,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()
@@ -495,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();
@@ -517,9 +481,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
@@ -538,8 +502,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_;
@@ -551,39 +514,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;
@@ -635,21 +597,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; @@ -658,22 +618,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 { @@ -681,64 +640,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; @@ -746,20 +698,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; @@ -768,21 +718,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 { @@ -790,61 +739,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; @@ -852,20 +794,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; @@ -874,21 +814,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 { @@ -896,68 +835,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); } @@ -967,12 +899,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(); } @@ -981,16 +913,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; @@ -1005,4 +937,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 057e9788..ad27898e 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,33 +52,33 @@ 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) { @@ -102,39 +86,34 @@ private BoundingBox( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -145,14 +124,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 @@ -163,14 +139,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 @@ -181,14 +154,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 @@ -197,7 +167,6 @@ public int getHeight() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,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 (top_ != 0) { output.writeInt32(1, top_); } @@ -232,16 +202,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; @@ -251,17 +225,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; } @@ -286,126 +264,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() @@ -413,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(); @@ -437,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_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 @@ -458,8 +429,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_; @@ -472,39 +442,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; @@ -554,16 +523,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 @@ -571,51 +537,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 @@ -623,51 +580,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 @@ -675,51 +623,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 @@ -727,43 +666,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); } @@ -773,12 +706,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(); } @@ -787,16 +720,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; @@ -811,4 +744,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 75d61d06..feadd308 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,26 +62,22 @@ 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) {
@@ -106,7 +85,8 @@ private BucketingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -115,56 +95,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.
@@ -175,32 +143,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.
      * 
@@ -210,78 +170,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) @@ -300,58 +245,52 @@ 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) { @@ -359,40 +298,35 @@ private Bucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -400,15 +334,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 @@ -416,8 +347,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.
@@ -433,14 +362,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 @@ -448,14 +374,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 @@ -463,8 +386,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.
      * 
@@ -479,16 +400,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 @@ -496,34 +412,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() { @@ -531,7 +436,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getReplacementValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -543,7 +447,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (min_ != null) { output.writeMessage(1, getMin()); } @@ -563,13 +468,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; @@ -579,25 +487,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; @@ -628,93 +538,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 @@ -724,32 +628,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() @@ -757,15 +656,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -791,9 +691,9 @@ public Builder 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 @@ -812,8 +712,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 { @@ -837,41 +736,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; @@ -879,8 +775,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()); } @@ -909,8 +804,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) { @@ -922,35 +816,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() { @@ -961,8 +846,6 @@ public com.google.privacy.dlp.v2.Value getMin() { } } /** - * - * *
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -984,8 +867,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.
@@ -993,7 +874,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();
@@ -1004,8 +886,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.
@@ -1016,7 +896,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;
           }
@@ -1028,8 +909,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.
@@ -1049,8 +928,6 @@ public Builder clearMin() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -1059,13 +936,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.
@@ -1077,12 +952,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.
@@ -1091,17 +965,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_;
@@ -1109,33 +980,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() { @@ -1146,8 +1008,6 @@ public com.google.privacy.dlp.v2.Value getMax() { } } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1168,15 +1028,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(); @@ -1187,8 +1046,6 @@ public Builder setMax(com.google.privacy.dlp.v2.Value.Builder builderForValue) { return this; } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1198,7 +1055,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; } @@ -1210,8 +1068,6 @@ public Builder mergeMax(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1230,8 +1086,6 @@ public Builder clearMax() { return this; } /** - * - * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1239,13 +1093,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.
        * 
@@ -1256,12 +1108,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.
        * 
@@ -1269,17 +1120,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_; @@ -1287,58 +1135,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) { @@ -1354,17 +1183,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(); @@ -1375,23 +1201,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; } @@ -1403,15 +1223,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) { @@ -1425,69 +1241,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) { @@ -1500,12 +1299,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(); } @@ -1514,16 +1313,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; @@ -1538,13 +1337,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.
    * 
@@ -1556,8 +1354,6 @@ public java.util.List getBucke return buckets_; } /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1565,13 +1361,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.
    * 
@@ -1583,8 +1377,6 @@ public int getBucketsCount() { return buckets_.size(); } /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1596,8 +1388,6 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket getBuckets(int index) { return buckets_.get(index); } /** - * - * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1605,12 +1395,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; @@ -1622,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 < buckets_.size(); i++) { output.writeMessage(1, buckets_.get(i)); } @@ -1636,7 +1427,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; @@ -1646,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.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; } @@ -1675,104 +1467,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,
@@ -1787,23 +1572,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()
@@ -1811,17 +1594,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();
@@ -1835,9 +1618,9 @@ public Builder 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
@@ -1856,8 +1639,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)) {
@@ -1876,39 +1658,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;
@@ -1935,10 +1716,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_);
           }
@@ -1972,29 +1752,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.
      * 
@@ -2009,8 +1781,6 @@ public java.util.List getBucke } } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2025,8 +1795,6 @@ public int getBucketsCount() { } } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2041,15 +1809,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(); @@ -2063,8 +1830,6 @@ public Builder setBuckets(int index, com.google.privacy.dlp.v2.BucketingConfig.B return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2083,8 +1848,6 @@ public Builder setBuckets( return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2105,15 +1868,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(); @@ -2127,8 +1889,6 @@ public Builder addBuckets(int index, com.google.privacy.dlp.v2.BucketingConfig.B return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2147,8 +1907,6 @@ public Builder addBuckets( return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2167,8 +1925,6 @@ public Builder addBuckets( return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2179,7 +1935,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); @@ -2187,8 +1944,6 @@ public Builder addAllBuckets( return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2206,8 +1961,6 @@ public Builder clearBuckets() { return this; } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2225,20 +1978,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.
      * 
@@ -2248,22 +1998,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 { @@ -2271,8 +2018,6 @@ public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBui } } /** - * - * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2280,55 +2025,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); } @@ -2338,12 +2077,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(); } @@ -2352,16 +2091,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; @@ -2376,4 +2115,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 96d982a2..9c67fc15 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,25 +54,24 @@ 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) { @@ -97,31 +79,27 @@ private ByteContentItem( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -130,10 +108,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
      * 
@@ -142,8 +119,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ BYTES_TYPE_UNSPECIFIED(0), /** - * - * *
      * Any image type.
      * 
@@ -152,8 +127,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE(6), /** - * - * *
      * jpeg
      * 
@@ -162,8 +135,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE_JPEG(1), /** - * - * *
      * bmp
      * 
@@ -172,8 +143,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE_BMP(2), /** - * - * *
      * png
      * 
@@ -182,8 +151,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE_PNG(3), /** - * - * *
      * svg
      * 
@@ -192,8 +159,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ IMAGE_SVG(4), /** - * - * *
      * plain text
      * 
@@ -202,8 +167,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ TEXT_UTF8(5), /** - * - * *
      * docx, docm, dotx, dotm
      * 
@@ -212,8 +175,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ WORD_DOCUMENT(7), /** - * - * *
      * pdf
      * 
@@ -222,8 +183,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ PDF(8), /** - * - * *
      * pptx, pptm, potx, potm, pot
      * 
@@ -232,8 +191,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ POWERPOINT_DOCUMENT(9), /** - * - * *
      * xlsx, xlsm, xltx, xltm
      * 
@@ -242,8 +199,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ EXCEL_DOCUMENT(10), /** - * - * *
      * avro
      * 
@@ -252,8 +207,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ AVRO(11), /** - * - * *
      * csv
      * 
@@ -262,8 +215,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ CSV(12), /** - * - * *
      * tsv
      * 
@@ -275,8 +226,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unused
      * 
@@ -285,8 +234,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BYTES_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Any image type.
      * 
@@ -295,8 +242,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_VALUE = 6; /** - * - * *
      * jpeg
      * 
@@ -305,8 +250,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_JPEG_VALUE = 1; /** - * - * *
      * bmp
      * 
@@ -315,8 +258,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_BMP_VALUE = 2; /** - * - * *
      * png
      * 
@@ -325,8 +266,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_PNG_VALUE = 3; /** - * - * *
      * svg
      * 
@@ -335,8 +274,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMAGE_SVG_VALUE = 4; /** - * - * *
      * plain text
      * 
@@ -345,8 +282,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TEXT_UTF8_VALUE = 5; /** - * - * *
      * docx, docm, dotx, dotm
      * 
@@ -355,8 +290,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WORD_DOCUMENT_VALUE = 7; /** - * - * *
      * pdf
      * 
@@ -365,8 +298,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PDF_VALUE = 8; /** - * - * *
      * pptx, pptm, potx, potm, pot
      * 
@@ -375,8 +306,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POWERPOINT_DOCUMENT_VALUE = 9; /** - * - * *
      * xlsx, xlsm, xltx, xltm
      * 
@@ -385,8 +314,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXCEL_DOCUMENT_VALUE = 10; /** - * - * *
      * avro
      * 
@@ -395,8 +322,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVRO_VALUE = 11; /** - * - * *
      * csv
      * 
@@ -405,8 +330,6 @@ public enum BytesType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CSV_VALUE = 12; /** - * - * *
      * tsv
      * 
@@ -415,6 +338,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( @@ -439,71 +363,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 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); + } + }; - 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; @@ -523,52 +436,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 @@ -577,7 +476,6 @@ public com.google.protobuf.ByteString getData() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -589,9 +487,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()) { @@ -606,12 +504,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; @@ -621,16 +520,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; } @@ -651,127 +550,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() @@ -779,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(); @@ -799,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_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 @@ -820,8 +711,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(); @@ -832,39 +722,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; @@ -910,67 +799,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. */ @@ -978,24 +851,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; @@ -1003,14 +873,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 @@ -1018,46 +885,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); } @@ -1067,12 +928,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(); } @@ -1081,16 +942,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; @@ -1105,4 +966,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 3461e3a3..fb70439e 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,20 +53,19 @@ 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) { @@ -91,41 +73,34 @@ private CancelDlpJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -134,31 +109,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 { @@ -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.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; } @@ -230,127 +203,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() @@ -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_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 @@ -397,8 +362,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; @@ -408,39 +372,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; @@ -484,22 +447,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; @@ -508,23 +467,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 { @@ -532,74 +488,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); } @@ -609,12 +552,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(); } @@ -623,16 +566,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; @@ -647,4 +590,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 78% 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 4e0ba1c0..da14a99d 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,42 +60,38 @@ 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) {
@@ -120,7 +99,8 @@ private CharacterMaskConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -129,27 +109,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
@@ -158,7 +133,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string masking_character = 1; - * * @return The maskingCharacter. */ @java.lang.Override @@ -167,15 +141,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
@@ -184,15 +157,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 { @@ -203,15 +177,24 @@ 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.
+   * If `number_to_mask` is negative, this denotes inverse masking. Cloud DLP
+   * masks all but a number of characters.
+   * For example, suppose you have the following values:
+   * - `masking_character` is `*`
+   * - `number_to_mask` is `-4`
+   * - `reverse_order` is `false`
+   * - `CharsToIgnore` includes `-`
+   * - Input string is `1234-5678-9012-3456`
+   * The resulting de-identified string is
+   * `****-****-****-3456`. Cloud DLP masks all but the last four characters.
+   * If `reverse_order` is `true`, all but the first four characters are masked
+   * as `1234-****-****-****`.
    * 
* * int32 number_to_mask = 2; - * * @return The numberToMask. */ @java.lang.Override @@ -222,8 +205,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
@@ -233,7 +214,6 @@ public int getNumberToMask() {
    * 
* * bool reverse_order = 3; - * * @return The reverseOrder. */ @java.lang.Override @@ -244,8 +224,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
@@ -260,8 +238,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
@@ -272,13 +248,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
@@ -293,8 +267,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
@@ -309,8 +281,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
@@ -327,7 +297,6 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -339,7 +308,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maskingCharacter_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, maskingCharacter_);
     }
@@ -365,14 +335,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;
@@ -382,18 +354,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;
   }
@@ -410,7 +385,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();
@@ -420,104 +396,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.
@@ -529,23 +498,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()
@@ -553,17 +520,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();
@@ -583,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_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
@@ -604,8 +571,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_;
@@ -627,39 +593,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;
@@ -696,10 +661,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_);
           }
@@ -733,13 +697,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
@@ -748,13 +709,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; @@ -763,8 +724,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
@@ -773,14 +732,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 { @@ -788,8 +748,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
@@ -798,22 +756,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
@@ -822,18 +778,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
@@ -842,32 +795,41 @@ 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.
+     * If `number_to_mask` is negative, this denotes inverse masking. Cloud DLP
+     * masks all but a number of characters.
+     * For example, suppose you have the following values:
+     * - `masking_character` is `*`
+     * - `number_to_mask` is `-4`
+     * - `reverse_order` is `false`
+     * - `CharsToIgnore` includes `-`
+     * - Input string is `1234-5678-9012-3456`
+     * The resulting de-identified string is
+     * `****-****-****-3456`. Cloud DLP masks all but the last four characters.
+     * If `reverse_order` is `true`, all but the first four characters are masked
+     * as `1234-****-****-****`.
      * 
* * int32 number_to_mask = 2; - * * @return The numberToMask. */ @java.lang.Override @@ -875,47 +837,63 @@ 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.
+     * If `number_to_mask` is negative, this denotes inverse masking. Cloud DLP
+     * masks all but a number of characters.
+     * For example, suppose you have the following values:
+     * - `masking_character` is `*`
+     * - `number_to_mask` is `-4`
+     * - `reverse_order` is `false`
+     * - `CharsToIgnore` includes `-`
+     * - Input string is `1234-5678-9012-3456`
+     * The resulting de-identified string is
+     * `****-****-****-3456`. Cloud DLP masks all but the last four characters.
+     * If `reverse_order` is `true`, all but the first four characters are masked
+     * as `1234-****-****-****`.
      * 
* * 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.
+     * If `number_to_mask` is negative, this denotes inverse masking. Cloud DLP
+     * masks all but a number of characters.
+     * For example, suppose you have the following values:
+     * - `masking_character` is `*`
+     * - `number_to_mask` is `-4`
+     * - `reverse_order` is `false`
+     * - `CharsToIgnore` includes `-`
+     * - Input string is `1234-5678-9012-3456`
+     * The resulting de-identified string is
+     * `****-****-****-3456`. Cloud DLP masks all but the last four characters.
+     * If `reverse_order` is `true`, all but the first four characters are masked
+     * as `1234-****-****-****`.
      * 
* * 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
@@ -925,7 +903,6 @@ public Builder clearNumberToMask() {
      * 
* * bool reverse_order = 3; - * * @return The reverseOrder. */ @java.lang.Override @@ -933,8 +910,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
@@ -944,19 +919,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
@@ -966,36 +938,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
@@ -1013,8 +977,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
@@ -1032,8 +994,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
@@ -1051,8 +1011,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
@@ -1062,7 +1020,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();
@@ -1076,8 +1035,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
@@ -1099,8 +1056,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
@@ -1124,8 +1079,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
@@ -1135,7 +1088,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();
@@ -1149,8 +1103,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
@@ -1172,8 +1124,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
@@ -1195,8 +1145,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
@@ -1210,7 +1158,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);
@@ -1218,8 +1167,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
@@ -1240,8 +1187,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
@@ -1262,8 +1207,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
@@ -1273,12 +1216,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
@@ -1291,14 +1233,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
@@ -1308,8 +1247,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 {
@@ -1317,8 +1256,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
@@ -1329,12 +1266,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
@@ -1344,13 +1279,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
@@ -1360,22 +1294,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(),
@@ -1384,9 +1312,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);
     }
 
@@ -1396,12 +1324,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();
   }
@@ -1410,16 +1338,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;
@@ -1434,4 +1362,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..1024f9f0 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,35 @@ 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.
+   * If `number_to_mask` is negative, this denotes inverse masking. Cloud DLP
+   * masks all but a number of characters.
+   * For example, suppose you have the following values:
+   * - `masking_character` is `*`
+   * - `number_to_mask` is `-4`
+   * - `reverse_order` is `false`
+   * - `CharsToIgnore` includes `-`
+   * - Input string is `1234-5678-9012-3456`
+   * The resulting de-identified string is
+   * `****-****-****-3456`. Cloud DLP masks all but the last four characters.
+   * If `reverse_order` is `true`, all but the first four characters are masked
+   * as `1234-****-****-****`.
    * 
* * 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 +66,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 +80,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 +94,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 +105,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 +114,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 +126,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 85c57349..9017a873 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,27 +53,25 @@ 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) {
@@ -97,41 +79,36 @@ private CharsToIgnore(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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.
+   * Convenience enum for indicating 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.
      * 
@@ -140,8 +117,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ COMMON_CHARS_TO_IGNORE_UNSPECIFIED(0), /** - * - * *
      * 0-9
      * 
@@ -150,8 +125,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ NUMERIC(1), /** - * - * *
      * A-Z
      * 
@@ -160,8 +133,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ ALPHA_UPPER_CASE(2), /** - * - * *
      * a-z
      * 
@@ -170,8 +141,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ ALPHA_LOWER_CASE(3), /** - * - * *
      * US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
      * 
@@ -180,8 +149,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ PUNCTUATION(4), /** - * - * *
      * Whitespace character, one of [ \t\n\x0B\f\r]
      * 
@@ -193,8 +160,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
      * Unused.
      * 
@@ -203,8 +168,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ public static final int COMMON_CHARS_TO_IGNORE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * 0-9
      * 
@@ -213,8 +176,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ public static final int NUMERIC_VALUE = 1; /** - * - * *
      * A-Z
      * 
@@ -223,8 +184,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ public static final int ALPHA_UPPER_CASE_VALUE = 2; /** - * - * *
      * a-z
      * 
@@ -233,8 +192,6 @@ public enum CommonCharsToIgnore implements com.google.protobuf.ProtocolMessageEn */ public static final int ALPHA_LOWER_CASE_VALUE = 3; /** - * - * *
      * US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
      * 
@@ -243,8 +200,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]
      * 
@@ -253,6 +208,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( @@ -277,20 +233,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; } } @@ -298,28 +247,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); } @@ -328,7 +277,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; @@ -347,16 +297,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; } @@ -372,50 +319,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() { @@ -426,7 +364,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; @@ -435,24 +374,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; } @@ -464,32 +402,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() { @@ -499,34 +429,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; @@ -538,7 +459,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -558,9 +480,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; @@ -570,7 +491,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); @@ -580,11 +501,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: @@ -617,104 +539,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.
@@ -722,23 +637,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()
@@ -746,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();
@@ -764,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_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
@@ -785,8 +699,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_;
       }
@@ -802,39 +715,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;
@@ -844,22 +756,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();
@@ -889,12 +798,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() {
@@ -904,15 +813,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 @@ -920,14 +827,11 @@ public boolean hasCharactersToSkip() { return charactersCase_ == 1; } /** - * - * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; - * * @return The charactersToSkip. */ @java.lang.Override @@ -937,7 +841,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; @@ -948,25 +853,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; } @@ -976,35 +880,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() { @@ -1016,22 +915,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(); @@ -1039,17 +936,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 @@ -1057,17 +949,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 @@ -1078,17 +965,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. */ @@ -1099,51 +981,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(); } @@ -1153,17 +1019,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() { @@ -1174,9 +1035,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); } @@ -1186,12 +1047,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(); } @@ -1200,16 +1061,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; @@ -1224,4 +1085,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 b04b78b7..3920225d 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,20 +53,19 @@ 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) { @@ -91,40 +73,35 @@ private CloudStorageFileSet( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -133,30 +110,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 { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getUrlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } @@ -201,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -228,127 +205,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() @@ -356,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.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 @@ -395,8 +364,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; @@ -406,39 +374,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; @@ -482,21 +449,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; @@ -505,22 +470,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 { @@ -528,71 +492,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); } @@ -602,12 +559,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(); } @@ -616,16 +573,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; @@ -640,4 +597,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 aef6599d..e679a90d 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,43 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
+ * Options defining a file or a set of files within a Cloud Storage
  * bucket.
  * 
* * 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,77 +56,70 @@ 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) { @@ -151,7 +127,8 @@ private CloudStorageOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -160,25 +137,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
@@ -187,12 +159,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).
      * 
@@ -201,8 +174,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.
@@ -214,11 +185,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).
      * 
@@ -227,8 +198,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.
@@ -238,6 +207,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(
@@ -262,49 +232,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;
@@ -321,14 +291,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.
@@ -341,13 +308,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.
@@ -360,40 +324,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.
@@ -404,39 +360,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) @@ -455,37 +409,32 @@ 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) { @@ -493,33 +442,29 @@ private FileSet( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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.
@@ -532,7 +477,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string url = 1; - * * @return The url. */ @java.lang.Override @@ -541,15 +485,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.
@@ -562,15 +505,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 { @@ -581,15 +525,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 @@ -597,26 +538,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.
@@ -630,7 +564,6 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder getRegexFileS
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -642,7 +575,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.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_);
       }
@@ -662,7 +596,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;
@@ -672,18 +607,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;
@@ -708,94 +644,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
@@ -805,32 +734,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() @@ -838,15 +762,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -862,9 +787,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 @@ -883,8 +808,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_; @@ -899,41 +823,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; @@ -941,8 +862,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(); @@ -969,8 +889,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) { @@ -982,8 +901,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.
@@ -996,13 +913,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; @@ -1011,8 +928,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.
@@ -1025,14 +940,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 { @@ -1040,8 +956,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.
@@ -1054,22 +968,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.
@@ -1082,18 +994,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.
@@ -1106,16 +1015,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; @@ -1123,49 +1032,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.
@@ -1187,8 +1083,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.
@@ -1208,8 +1102,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.
@@ -1221,9 +1113,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;
           }
@@ -1235,8 +1125,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.
@@ -1256,8 +1144,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.
@@ -1266,13 +1152,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.
@@ -1280,19 +1164,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.
@@ -1301,22 +1181,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) {
@@ -1329,12 +1205,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();
     }
@@ -1343,16 +1219,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;
@@ -1367,19 +1243,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 @@ -1387,25 +1261,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.
    * 
@@ -1420,8 +1287,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
@@ -1430,7 +1295,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet
    * 
* * int64 bytes_limit_per_file = 4; - * * @return The bytesLimitPerFile. */ @java.lang.Override @@ -1441,8 +1305,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,
@@ -1452,7 +1314,6 @@ public long getBytesLimitPerFile() {
    * 
* * int32 bytes_limit_per_file_percent = 8; - * * @return The bytesLimitPerFilePercent. */ @java.lang.Override @@ -1463,20 +1324,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
@@ -1488,7 +1345,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 @@ -1497,8 +1353,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
@@ -1510,7 +1364,6 @@ public java.util.List getFileTypesList() {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return The count of fileTypes. */ @java.lang.Override @@ -1518,8 +1371,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
@@ -1531,7 +1382,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. */ @@ -1540,8 +1390,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
@@ -1553,16 +1401,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
@@ -1574,7 +1420,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. */ @@ -1582,40 +1427,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,
@@ -1623,7 +1458,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod getSampleMetho
    * 
* * int32 files_limit_percent = 7; - * * @return The filesLimitPercent. */ @java.lang.Override @@ -1632,7 +1466,6 @@ public int getFilesLimitPercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1644,7 +1477,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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()); @@ -1659,9 +1493,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) { @@ -1680,33 +1512,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; @@ -1716,23 +1551,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; } @@ -1749,7 +1587,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) { @@ -1765,128 +1604,119 @@ 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
+   * Options defining a file or a set of files within a Cloud Storage
    * bucket.
    * 
* * 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() @@ -1894,15 +1724,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1926,9 +1757,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 @@ -1947,8 +1778,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_; @@ -1972,39 +1802,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; @@ -2066,52 +1895,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.
      * 
@@ -2132,8 +1947,6 @@ public Builder setFileSet(com.google.privacy.dlp.v2.CloudStorageOptions.FileSet return this; } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2152,8 +1965,6 @@ public Builder setFileSet( return this; } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2164,9 +1975,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; } @@ -2178,8 +1987,6 @@ public Builder mergeFileSet(com.google.privacy.dlp.v2.CloudStorageOptions.FileSe return this; } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2198,8 +2005,6 @@ public Builder clearFileSet() { return this; } /** - * - * *
      * The set of one or more files to scan.
      * 
@@ -2207,13 +2012,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.
      * 
@@ -2224,14 +2027,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.
      * 
@@ -2239,26 +2039,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
@@ -2267,7 +2062,6 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet
      * 
* * int64 bytes_limit_per_file = 4; - * * @return The bytesLimitPerFile. */ @java.lang.Override @@ -2275,8 +2069,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
@@ -2285,19 +2077,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
@@ -2306,20 +2095,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,
@@ -2329,7 +2115,6 @@ public Builder clearBytesLimitPerFile() {
      * 
* * int32 bytes_limit_per_file_percent = 8; - * * @return The bytesLimitPerFilePercent. */ @java.lang.Override @@ -2337,8 +2122,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,
@@ -2348,19 +2131,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,
@@ -2370,18 +2150,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_); @@ -2389,8 +2168,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
@@ -2402,7 +2179,6 @@ private void ensureFileTypesIsMutable() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return A list containing the fileTypes. */ public java.util.List getFileTypesList() { @@ -2410,8 +2186,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
@@ -2423,15 +2197,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
@@ -2443,7 +2214,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. */ @@ -2451,8 +2221,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
@@ -2464,12 +2232,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(); } @@ -2479,8 +2247,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
@@ -2492,7 +2258,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. */ @@ -2506,8 +2271,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
@@ -2519,7 +2282,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. */ @@ -2533,8 +2295,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
@@ -2546,7 +2306,6 @@ public Builder addAllFileTypes(
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @return This builder for chaining. */ public Builder clearFileTypes() { @@ -2556,8 +2315,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
@@ -2569,15 +2326,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
@@ -2589,7 +2344,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. */ @@ -2597,8 +2351,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
@@ -2610,20 +2362,18 @@ public int getFileTypesValue(int index) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for fileTypes to set. * @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
@@ -2635,7 +2385,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. */ @@ -2646,8 +2395,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
@@ -2659,11 +2406,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); @@ -2675,71 +2422,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,
@@ -2747,7 +2482,6 @@ public Builder clearSampleMethod() {
      * 
* * int32 files_limit_percent = 7; - * * @return The filesLimitPercent. */ @java.lang.Override @@ -2755,8 +2489,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,
@@ -2764,19 +2496,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,
@@ -2784,18 +2513,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); } @@ -2805,12 +2533,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(); } @@ -2819,16 +2547,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; @@ -2843,4 +2571,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 89d8fbfd..8e97e3cb 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,20 +53,19 @@ 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) { @@ -91,40 +73,35 @@ private CloudStoragePath( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -133,30 +110,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 { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } @@ -201,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -228,127 +205,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() @@ -356,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.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 @@ -395,8 +364,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; @@ -406,39 +374,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; @@ -482,21 +449,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; @@ -505,22 +470,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 { @@ -528,71 +492,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); } @@ -602,12 +559,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(); } @@ -616,16 +573,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; @@ -640,4 +597,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 79% 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 eed93c40..eb7247ed 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,40 +81,37 @@ 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) {
@@ -139,7 +119,8 @@ private CloudStorageRegexFileSet(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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();
@@ -151,33 +132,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 @@ -186,29 +161,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 { @@ -219,8 +194,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
@@ -233,15 +206,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
@@ -254,15 +225,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
@@ -275,7 +243,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. */ @@ -283,8 +250,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
@@ -297,19 +262,17 @@ 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
@@ -320,15 +283,13 @@ 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_; } /** - * - * *
    * 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
@@ -339,15 +300,12 @@ public com.google.protobuf.ProtocolStringList getExcludeRegexList() {
    * 
* * 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
@@ -358,7 +316,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. */ @@ -366,8 +323,6 @@ 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
@@ -378,16 +333,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; @@ -399,7 +353,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -445,17 +400,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; } @@ -483,103 +440,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
@@ -611,23 +561,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()
@@ -635,15 +583,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -657,9 +606,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
@@ -678,8 +627,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)) {
@@ -700,39 +648,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;
@@ -740,8 +687,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();
@@ -785,8 +731,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) {
@@ -795,25 +740,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; @@ -822,21 +764,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 { @@ -844,78 +785,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
@@ -928,15 +858,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
@@ -949,15 +877,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
@@ -970,7 +895,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. */ @@ -978,8 +902,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
@@ -992,16 +914,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
@@ -1014,23 +934,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
@@ -1043,22 +961,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
@@ -1071,19 +987,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
@@ -1096,7 +1011,6 @@ public Builder addAllIncludeRegex(java.lang.Iterable values) {
      * 
* * repeated string include_regex = 2; - * * @return This builder for chaining. */ public Builder clearIncludeRegex() { @@ -1106,8 +1020,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
@@ -1120,33 +1032,29 @@ 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
@@ -1157,15 +1065,13 @@ 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
@@ -1176,15 +1082,12 @@ public com.google.protobuf.ProtocolStringList getExcludeRegexList() {
      * 
* * 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
@@ -1195,7 +1098,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. */ @@ -1203,8 +1105,6 @@ 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
@@ -1215,16 +1115,14 @@ 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
@@ -1235,23 +1133,21 @@ 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; } /** - * - * *
      * 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
@@ -1262,22 +1158,20 @@ 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; } /** - * - * *
      * 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
@@ -1288,19 +1182,18 @@ 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; } /** - * - * *
      * 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
@@ -1311,7 +1204,6 @@ public Builder addAllExcludeRegex(java.lang.Iterable values) {
      * 
* * repeated string exclude_regex = 3; - * * @return This builder for chaining. */ public Builder clearExcludeRegex() { @@ -1321,8 +1213,6 @@ 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
@@ -1333,23 +1223,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); } @@ -1359,12 +1249,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(); } @@ -1373,16 +1263,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; @@ -1397,4 +1287,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 83% 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 935373a7..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,15 +90,13 @@ 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); /** - * - * *
    * 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
@@ -140,13 +107,11 @@ public interface CloudStorageRegexFileSetOrBuilder
    * 
* * 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
@@ -157,13 +122,10 @@ public interface CloudStorageRegexFileSetOrBuilder
    * 
* * 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
@@ -174,14 +136,11 @@ 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); /** - * - * *
    * 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
@@ -192,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 0354e2d9..519c4b27 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,28 +52,28 @@ 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) { @@ -97,23 +81,22 @@ private Color( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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); } @@ -121,14 +104,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 @@ -139,14 +119,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 @@ -157,14 +134,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 @@ -173,7 +147,6 @@ public float getBlue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +158,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (java.lang.Float.floatToRawIntBits(red_) != 0) { output.writeFloat(1, red_); } @@ -205,13 +179,16 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(red_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, red_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, red_); } if (java.lang.Float.floatToRawIntBits(green_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, green_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, green_); } if (java.lang.Float.floatToRawIntBits(blue_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, blue_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(3, blue_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -221,19 +198,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; } @@ -246,133 +226,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); } @@ -382,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(); @@ -404,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_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 @@ -437,39 +414,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; @@ -516,16 +492,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 @@ -533,51 +506,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 @@ -585,51 +549,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 @@ -637,43 +592,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); } @@ -683,12 +632,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(); } @@ -697,16 +646,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; @@ -721,4 +670,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 67% 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 4dfedde7..b5ff2fa2 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,70 +59,62 @@ 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) {
@@ -147,39 +122,34 @@ private Container(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       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.
+   * Container type, for example BigQuery or Cloud Storage.
    * 
* * string type = 1; - * * @return The type. */ @java.lang.Override @@ -188,29 +158,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.
+   * Container type, for example BigQuery or 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 { @@ -221,15 +191,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 @@ -238,30 +205,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 { @@ -272,17 +239,14 @@ 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:
    * - BigQuery: 'Project:DataSetId.TableId'
-   * - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
+   * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
    * 
* * string full_path = 3; - * * @return The fullPath. */ @java.lang.Override @@ -291,32 +255,32 @@ 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:
    * - BigQuery: 'Project:DataSetId.TableId'
-   * - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
+   * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
    * 
* * 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 { @@ -327,19 +291,16 @@ 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:
    * - For BigQuery table `project_id:dataset_id.table_id`, the root is
    *  `dataset_id`
-   * - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
+   * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
    *  is `gs://bucket`
    * 
* * string root_path = 4; - * * @return The rootPath. */ @java.lang.Override @@ -348,34 +309,34 @@ 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:
    * - For BigQuery table `project_id:dataset_id.table_id`, the root is
    *  `dataset_id`
-   * - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
+   * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
    *  is `gs://bucket`
    * 
* * 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 { @@ -386,19 +347,16 @@ 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:
    * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
    *  `table_id`
-   * - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
+   * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
    *  path is `folder/filename.txt`
    * 
* * string relative_path = 5; - * * @return The relativePath. */ @java.lang.Override @@ -407,34 +365,34 @@ 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:
    * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
    *  `table_id`
-   * - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
+   * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
    *  path is `folder/filename.txt`
    * 
* * 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 { @@ -445,17 +403,14 @@ 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.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Findings container modification timestamp, if applicable. For Cloud
+   * Storage, this field contains the last file modification timestamp. For a
+   * BigQuery table, this field contains the last_modified_time property. For
+   * Datastore, this field isn't populated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -463,17 +418,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
-   * Findings container modification timestamp, if applicable.
-   * For Google Cloud Storage contains last file modification timestamp.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Findings container modification timestamp, if applicable. For Cloud
+   * Storage, this field contains the last file modification timestamp. For a
+   * BigQuery table, this field contains the last_modified_time property. For
+   * Datastore, this field isn't populated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -481,13 +433,11 @@ 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.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Findings container modification timestamp, if applicable. For Cloud
+   * Storage, this field contains the last file modification timestamp. For a
+   * BigQuery table, this field contains the last_modified_time property. For
+   * Datastore, this field isn't populated.
    * 
* * .google.protobuf.Timestamp update_time = 6; @@ -500,15 +450,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).
+   * ("generation" for Cloud Storage).
    * 
* * string version = 7; - * * @return The version. */ @java.lang.Override @@ -517,30 +464,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).
+   * ("generation" for 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 { @@ -549,7 +496,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -561,7 +507,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -608,7 +555,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_); @@ -621,23 +569,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; } @@ -670,103 +625,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.
@@ -774,23 +723,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()
@@ -798,15 +745,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -832,9 +780,9 @@ public Builder 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
@@ -873,39 +821,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;
@@ -972,20 +919,18 @@ public Builder mergeFrom(
 
     private java.lang.Object type_ = "";
     /**
-     *
-     *
      * 
-     * Container type, for example BigQuery or Google Cloud Storage.
+     * Container type, for example BigQuery or 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; @@ -994,21 +939,20 @@ public java.lang.String getType() { } } /** - * - * *
-     * Container type, for example BigQuery or Google Cloud Storage.
+     * Container type, for example BigQuery or 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 { @@ -1016,61 +960,54 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
-     * Container type, for example BigQuery or Google Cloud Storage.
+     * Container type, for example BigQuery or 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.
+     * Container type, for example BigQuery or 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.
+     * Container type, for example BigQuery or 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; @@ -1078,21 +1015,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; @@ -1101,22 +1036,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 { @@ -1124,64 +1058,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; @@ -1189,23 +1116,21 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object fullPath_ = ""; /** - * - * *
      * A string representation of the full container name.
      * Examples:
      * - BigQuery: 'Project:DataSetId.TableId'
-     * - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
+     * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
      * 
* * 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; @@ -1214,24 +1139,23 @@ public java.lang.String getFullPath() { } } /** - * - * *
      * A string representation of the full container name.
      * Examples:
      * - BigQuery: 'Project:DataSetId.TableId'
-     * - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
+     * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
      * 
* * 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 { @@ -1239,70 +1163,63 @@ public com.google.protobuf.ByteString getFullPathBytes() { } } /** - * - * *
      * A string representation of the full container name.
      * Examples:
      * - BigQuery: 'Project:DataSetId.TableId'
-     * - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
+     * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
      * 
* * 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:
      * - BigQuery: 'Project:DataSetId.TableId'
-     * - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
+     * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
      * 
* * 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:
      * - BigQuery: 'Project:DataSetId.TableId'
-     * - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
+     * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
      * 
* * 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; @@ -1310,25 +1227,23 @@ public Builder setFullPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object rootPath_ = ""; /** - * - * *
      * The root of the container.
      * Examples:
      * - For BigQuery table `project_id:dataset_id.table_id`, the root is
      *  `dataset_id`
-     * - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
+     * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
      *  is `gs://bucket`
      * 
* * 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; @@ -1337,26 +1252,25 @@ public java.lang.String getRootPath() { } } /** - * - * *
      * The root of the container.
      * Examples:
      * - For BigQuery table `project_id:dataset_id.table_id`, the root is
      *  `dataset_id`
-     * - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
+     * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
      *  is `gs://bucket`
      * 
* * 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 { @@ -1364,76 +1278,69 @@ public com.google.protobuf.ByteString getRootPathBytes() { } } /** - * - * *
      * The root of the container.
      * Examples:
      * - For BigQuery table `project_id:dataset_id.table_id`, the root is
      *  `dataset_id`
-     * - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
+     * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
      *  is `gs://bucket`
      * 
* * 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:
      * - For BigQuery table `project_id:dataset_id.table_id`, the root is
      *  `dataset_id`
-     * - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
+     * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
      *  is `gs://bucket`
      * 
* * string root_path = 4; - * * @return This builder for chaining. */ public Builder clearRootPath() { - + rootPath_ = getDefaultInstance().getRootPath(); onChanged(); return this; } /** - * - * *
      * The root of the container.
      * Examples:
      * - For BigQuery table `project_id:dataset_id.table_id`, the root is
      *  `dataset_id`
-     * - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
+     * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
      *  is `gs://bucket`
      * 
* * 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; @@ -1441,25 +1348,23 @@ public Builder setRootPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object relativePath_ = ""; /** - * - * *
      * The rest of the path after the root.
      * Examples:
      * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
      *  `table_id`
-     * - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
+     * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
      *  path is `folder/filename.txt`
      * 
* * 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; @@ -1468,26 +1373,25 @@ public java.lang.String getRelativePath() { } } /** - * - * *
      * The rest of the path after the root.
      * Examples:
      * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
      *  `table_id`
-     * - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
+     * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
      *  path is `folder/filename.txt`
      * 
* * 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 { @@ -1495,76 +1399,69 @@ public com.google.protobuf.ByteString getRelativePathBytes() { } } /** - * - * *
      * The rest of the path after the root.
      * Examples:
      * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
      *  `table_id`
-     * - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
+     * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
      *  path is `folder/filename.txt`
      * 
* * 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:
      * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
      *  `table_id`
-     * - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
+     * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
      *  path is `folder/filename.txt`
      * 
* * 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:
      * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
      *  `table_id`
-     * - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
+     * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
      *  path is `folder/filename.txt`
      * 
* * 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; @@ -1572,58 +1469,45 @@ 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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Findings container modification timestamp, if applicable. For Cloud
+     * Storage, this field contains the last file modification timestamp. For a
+     * BigQuery table, this field contains the last_modified_time property. For
+     * Datastore, this field isn't populated.
      * 
* * .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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Findings container modification timestamp, if applicable. For Cloud
+     * Storage, this field contains the last file modification timestamp. For a
+     * BigQuery table, this field contains the last_modified_time property. For
+     * Datastore, this field isn't populated.
      * 
* * .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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Findings container modification timestamp, if applicable. For Cloud
+     * Storage, this field contains the last file modification timestamp. For a
+     * BigQuery table, this field contains the last_modified_time property. For
+     * Datastore, this field isn't populated.
      * 
* * .google.protobuf.Timestamp update_time = 6; @@ -1642,18 +1526,17 @@ 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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Findings container modification timestamp, if applicable. For Cloud
+     * Storage, this field contains the last file modification timestamp. For a
+     * BigQuery table, this field contains the last_modified_time property. For
+     * Datastore, this field isn't populated.
      * 
* * .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(); @@ -1664,13 +1547,11 @@ 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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Findings container modification timestamp, if applicable. For Cloud
+     * Storage, this field contains the last file modification timestamp. For a
+     * BigQuery table, this field contains the last_modified_time property. For
+     * Datastore, this field isn't populated.
      * 
* * .google.protobuf.Timestamp update_time = 6; @@ -1679,7 +1560,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; } @@ -1691,13 +1572,11 @@ 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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Findings container modification timestamp, if applicable. For Cloud
+     * Storage, this field contains the last file modification timestamp. For a
+     * BigQuery table, this field contains the last_modified_time property. For
+     * Datastore, this field isn't populated.
      * 
* * .google.protobuf.Timestamp update_time = 6; @@ -1714,30 +1593,26 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
-     * Findings container modification timestamp, if applicable.
-     * For Google Cloud Storage contains last file modification timestamp.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Findings container modification timestamp, if applicable. For Cloud
+     * Storage, this field contains the last file modification timestamp. For a
+     * BigQuery table, this field contains the last_modified_time property. For
+     * Datastore, this field isn't populated.
      * 
* * .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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Findings container modification timestamp, if applicable. For Cloud
+     * Storage, this field contains the last file modification timestamp. For a
+     * BigQuery table, this field contains the last_modified_time property. For
+     * Datastore, this field isn't populated.
      * 
* * .google.protobuf.Timestamp update_time = 6; @@ -1746,35 +1621,29 @@ 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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Findings container modification timestamp, if applicable. For Cloud
+     * Storage, this field contains the last file modification timestamp. For a
+     * BigQuery table, this field contains the last_modified_time property. For
+     * Datastore, this field isn't populated.
      * 
* * .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_; @@ -1782,21 +1651,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object version_ = ""; /** - * - * *
      * Findings container version, if available
-     * ("generation" for Google Cloud Storage).
+     * ("generation" for 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; @@ -1805,22 +1672,21 @@ public java.lang.String getVersion() { } } /** - * - * *
      * Findings container version, if available
-     * ("generation" for Google Cloud Storage).
+     * ("generation" for 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 { @@ -1828,71 +1694,64 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * Findings container version, if available
-     * ("generation" for Google Cloud Storage).
+     * ("generation" for 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).
+     * ("generation" for 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).
+     * ("generation" for 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); } @@ -1902,12 +1761,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(); } @@ -1916,16 +1775,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; @@ -1940,4 +1799,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 58% 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..6f9a1e30 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,219 +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 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.
+   * Container type, for example BigQuery or Cloud Storage.
    * 
* * string type = 1; - * * @return The type. */ java.lang.String getType(); /** - * - * *
-   * Container type, for example BigQuery or Google Cloud Storage.
+   * Container type, for example BigQuery or 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:
    * - BigQuery: 'Project:DataSetId.TableId'
-   * - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
+   * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
    * 
* * string full_path = 3; - * * @return The fullPath. */ java.lang.String getFullPath(); /** - * - * *
    * A string representation of the full container name.
    * Examples:
    * - BigQuery: 'Project:DataSetId.TableId'
-   * - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
+   * - Cloud Storage: 'gs://Bucket/folders/filename.txt'
    * 
* * 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:
    * - For BigQuery table `project_id:dataset_id.table_id`, the root is
    *  `dataset_id`
-   * - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
+   * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
    *  is `gs://bucket`
    * 
* * string root_path = 4; - * * @return The rootPath. */ java.lang.String getRootPath(); /** - * - * *
    * The root of the container.
    * Examples:
    * - For BigQuery table `project_id:dataset_id.table_id`, the root is
    *  `dataset_id`
-   * - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
+   * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root
    *  is `gs://bucket`
    * 
* * 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:
    * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
    *  `table_id`
-   * - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
+   * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
    *  path is `folder/filename.txt`
    * 
* * string relative_path = 5; - * * @return The relativePath. */ java.lang.String getRelativePath(); /** - * - * *
    * The rest of the path after the root.
    * Examples:
    * - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
    *  `table_id`
-   * - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
+   * - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
    *  path is `folder/filename.txt`
    * 
* * 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.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Findings container modification timestamp, if applicable. For Cloud
+   * Storage, this field contains the last file modification timestamp. For a
+   * BigQuery table, this field contains the last_modified_time property. For
+   * Datastore, this field isn't populated.
    * 
* * .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.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Findings container modification timestamp, if applicable. For Cloud
+   * Storage, this field contains the last file modification timestamp. For a
+   * BigQuery table, this field contains the last_modified_time property. For
+   * Datastore, this field isn't populated.
    * 
* * .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.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Findings container modification timestamp, if applicable. For Cloud
+   * Storage, this field contains the last file modification timestamp. For a
+   * BigQuery table, this field contains the last_modified_time property. For
+   * Datastore, this field isn't populated.
    * 
* * .google.protobuf.Timestamp update_time = 6; @@ -221,29 +172,24 @@ public interface ContainerOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Findings container version, if available
-   * ("generation" for Google Cloud Storage).
+   * ("generation" for Cloud Storage).
    * 
* * string version = 7; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * Findings container version, if available
-   * ("generation" for Google Cloud Storage).
+   * ("generation" for 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 1e2ce84c..e480782c 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,51 +52,47 @@ 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) { @@ -120,41 +100,36 @@ private ContentItem( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -170,52 +145,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() { @@ -226,7 +191,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; @@ -235,24 +201,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; } @@ -264,8 +229,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
@@ -273,7 +236,6 @@ public com.google.protobuf.ByteString getValueBytes() {
    * 
* * .google.privacy.dlp.v2.Table table = 4; - * * @return Whether the table field is set. */ @java.lang.Override @@ -281,8 +243,6 @@ public boolean hasTable() { return dataItemCase_ == 4; } /** - * - * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -290,19 +250,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
@@ -314,21 +271,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 @@ -336,26 +290,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`.
    * 
@@ -365,13 +314,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; @@ -383,7 +331,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -406,14 +355,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; @@ -423,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.ContentItem)) { return super.equals(obj); @@ -433,13 +380,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: @@ -476,126 +426,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() @@ -603,15 +545,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +564,9 @@ public Builder 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 @@ -642,8 +585,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_; } @@ -670,39 +612,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; @@ -712,27 +653,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(); @@ -762,12 +699,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() { @@ -777,15 +714,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 @@ -793,14 +728,11 @@ public boolean hasValue() { return dataItemCase_ == 3; } /** - * - * *
      * String data to inspect or redact.
      * 
* * string value = 3; - * * @return The value. */ @java.lang.Override @@ -810,7 +742,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; @@ -821,25 +754,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; } @@ -849,35 +781,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() { @@ -889,22 +816,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(); @@ -912,13 +837,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
@@ -926,7 +846,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 @@ -934,8 +853,6 @@ public boolean hasTable() { return dataItemCase_ == 4; } /** - * - * *
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -943,7 +860,6 @@ public boolean hasTable() {
      * 
* * .google.privacy.dlp.v2.Table table = 4; - * * @return The table. */ @java.lang.Override @@ -961,8 +877,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
@@ -985,8 +899,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
@@ -995,7 +907,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();
@@ -1006,8 +919,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
@@ -1018,13 +929,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;
         }
@@ -1040,8 +948,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
@@ -1067,8 +973,6 @@ public Builder clearTable() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -1081,8 +985,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
@@ -1103,8 +1005,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
@@ -1114,42 +1014,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 @@ -1157,14 +1047,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 @@ -1182,8 +1069,6 @@ public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { } } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1204,15 +1089,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(); @@ -1223,8 +1107,6 @@ public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem.Builder bui return this; } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1233,13 +1115,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; } @@ -1255,8 +1134,6 @@ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1280,8 +1157,6 @@ public Builder clearByteItem() { return this; } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1292,8 +1167,6 @@ public com.google.privacy.dlp.v2.ByteContentItem.Builder getByteItemBuilder() { return getByteItemFieldBuilder().getBuilder(); } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1312,8 +1185,6 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() } } /** - * - * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1321,32 +1192,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); } @@ -1356,12 +1221,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(); } @@ -1370,16 +1235,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; @@ -1394,4 +1259,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 69% 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 1786d50d..edd6fa3c 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,106 +55,94 @@ 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) {
@@ -179,34 +150,30 @@ private ContentLocation(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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),
@@ -214,7 +181,6 @@ public enum LocationCase
     METADATA_LOCATION(8),
     LOCATION_NOT_SET(0);
     private final int value;
-
     private LocationCase(int value) {
       this.value = value;
     }
@@ -230,35 +196,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
@@ -267,11 +226,10 @@ public LocationCase getLocationCase() {
    * * Cloud Storage files: `gs://{bucket}/{path}`
    * * Datastore namespace: {namespace}
    * Nested names could be absent if the embedded object has no string
-   * identifier (for an example an image contained within a document).
+   * identifier (for example, an image contained within a document).
    * 
* * string container_name = 1; - * * @return The containerName. */ @java.lang.Override @@ -280,15 +238,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
@@ -297,19 +254,20 @@ public java.lang.String getContainerName() {
    * * Cloud Storage files: `gs://{bucket}/{path}`
    * * Datastore namespace: {namespace}
    * Nested names could be absent if the embedded object has no string
-   * identifier (for an example an image contained within a document).
+   * identifier (for example, an image contained within a document).
    * 
* * 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 { @@ -319,14 +277,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 @@ -334,26 +289,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.
    * 
@@ -363,21 +313,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 @@ -385,26 +332,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.
    * 
@@ -414,21 +356,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 @@ -436,26 +375,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.
    * 
@@ -465,21 +399,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 @@ -487,26 +418,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.
    * 
@@ -516,7 +442,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(); } @@ -524,17 +450,14 @@ 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.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Finding container modification timestamp, if applicable. For Cloud Storage,
+   * this field contains the last file modification timestamp. For a BigQuery
+   * table, this field contains the last_modified_time property. For Datastore,
+   * this field isn't populated.
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; - * * @return Whether the containerTimestamp field is set. */ @java.lang.Override @@ -542,33 +465,26 @@ public boolean hasContainerTimestamp() { return containerTimestamp_ != null; } /** - * - * *
-   * Findings container modification timestamp, if applicable.
-   * For Google Cloud Storage contains last file modification timestamp.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Finding container modification timestamp, if applicable. For Cloud Storage,
+   * this field contains the last file modification timestamp. For a BigQuery
+   * table, this field contains the last_modified_time property. For Datastore,
+   * this field isn't populated.
    * 
* * .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.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Finding container modification timestamp, if applicable. For Cloud Storage,
+   * this field contains the last file modification timestamp. For a BigQuery
+   * table, this field contains the last_modified_time property. For Datastore,
+   * this field isn't populated.
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; @@ -581,15 +497,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).
+   * Finding container version, if available
+   * ("generation" for Cloud Storage).
    * 
* * string container_version = 7; - * * @return The containerVersion. */ @java.lang.Override @@ -598,30 +511,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).
+   * Finding container version, if available
+   * ("generation" for 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 { @@ -630,7 +543,6 @@ public com.google.protobuf.ByteString getContainerVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -642,7 +554,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -677,30 +590,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; @@ -710,33 +620,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: @@ -785,104 +701,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.
@@ -890,23 +799,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()
@@ -914,15 +821,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -942,9 +850,9 @@ public Builder 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
@@ -963,8 +871,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) {
@@ -1009,39 +916,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;
@@ -1062,30 +968,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();
@@ -1115,12 +1016,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() {
@@ -1130,10 +1031,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
@@ -1142,17 +1042,17 @@ public Builder clearLocation() {
      * * Cloud Storage files: `gs://{bucket}/{path}`
      * * Datastore namespace: {namespace}
      * Nested names could be absent if the embedded object has no string
-     * identifier (for an example an image contained within a document).
+     * identifier (for example, an image contained within a document).
      * 
* * 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; @@ -1161,8 +1061,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
@@ -1171,18 +1069,19 @@ public java.lang.String getContainerName() {
      * * Cloud Storage files: `gs://{bucket}/{path}`
      * * Datastore namespace: {namespace}
      * Nested names could be absent if the embedded object has no string
-     * identifier (for an example an image contained within a document).
+     * identifier (for example, an image contained within a document).
      * 
* * 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 { @@ -1190,8 +1089,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
@@ -1200,26 +1097,24 @@ public com.google.protobuf.ByteString getContainerNameBytes() {
      * * Cloud Storage files: `gs://{bucket}/{path}`
      * * Datastore namespace: {namespace}
      * Nested names could be absent if the embedded object has no string
-     * identifier (for an example an image contained within a document).
+     * identifier (for example, an image contained within a document).
      * 
* * 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
@@ -1228,22 +1123,19 @@ public Builder setContainerName(java.lang.String value) {
      * * Cloud Storage files: `gs://{bucket}/{path}`
      * * Datastore namespace: {namespace}
      * Nested names could be absent if the embedded object has no string
-     * identifier (for an example an image contained within a document).
+     * identifier (for example, an image contained within a document).
      * 
* * 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
@@ -1252,39 +1144,33 @@ public Builder clearContainerName() {
      * * Cloud Storage files: `gs://{bucket}/{path}`
      * * Datastore namespace: {namespace}
      * Nested names could be absent if the embedded object has no string
-     * identifier (for an example an image contained within a document).
+     * identifier (for example, an image contained within a document).
      * 
* * 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 @@ -1292,14 +1178,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 @@ -1317,8 +1200,6 @@ public com.google.privacy.dlp.v2.RecordLocation getRecordLocation() { } } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1339,8 +1220,6 @@ public Builder setRecordLocation(com.google.privacy.dlp.v2.RecordLocation value) return this; } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1359,8 +1238,6 @@ public Builder setRecordLocation( return this; } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1369,13 +1246,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; } @@ -1391,8 +1265,6 @@ public Builder mergeRecordLocation(com.google.privacy.dlp.v2.RecordLocation valu return this; } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1416,8 +1288,6 @@ public Builder clearRecordLocation() { return this; } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1428,8 +1298,6 @@ public com.google.privacy.dlp.v2.RecordLocation.Builder getRecordLocationBuilder return getRecordLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1448,8 +1316,6 @@ public com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuil } } /** - * - * *
      * Location within a row or record of a database table.
      * 
@@ -1457,44 +1323,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 @@ -1502,14 +1356,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 @@ -1527,8 +1378,6 @@ public com.google.privacy.dlp.v2.ImageLocation getImageLocation() { } } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1549,8 +1398,6 @@ public Builder setImageLocation(com.google.privacy.dlp.v2.ImageLocation value) { return this; } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1569,8 +1416,6 @@ public Builder setImageLocation( return this; } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1579,13 +1424,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; } @@ -1601,8 +1443,6 @@ public Builder mergeImageLocation(com.google.privacy.dlp.v2.ImageLocation value) return this; } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1626,8 +1466,6 @@ public Builder clearImageLocation() { return this; } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1638,8 +1476,6 @@ public com.google.privacy.dlp.v2.ImageLocation.Builder getImageLocationBuilder() return getImageLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1658,8 +1494,6 @@ public com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilde } } /** - * - * *
      * Location within an image's pixels.
      * 
@@ -1667,44 +1501,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 @@ -1712,14 +1534,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 @@ -1737,8 +1556,6 @@ public com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation() { } } /** - * - * *
      * Location data for document files.
      * 
@@ -1759,8 +1576,6 @@ public Builder setDocumentLocation(com.google.privacy.dlp.v2.DocumentLocation va return this; } /** - * - * *
      * Location data for document files.
      * 
@@ -1779,8 +1594,6 @@ public Builder setDocumentLocation( return this; } /** - * - * *
      * Location data for document files.
      * 
@@ -1789,13 +1602,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; } @@ -1811,8 +1621,6 @@ public Builder mergeDocumentLocation(com.google.privacy.dlp.v2.DocumentLocation return this; } /** - * - * *
      * Location data for document files.
      * 
@@ -1836,8 +1644,6 @@ public Builder clearDocumentLocation() { return this; } /** - * - * *
      * Location data for document files.
      * 
@@ -1848,8 +1654,6 @@ public com.google.privacy.dlp.v2.DocumentLocation.Builder getDocumentLocationBui return getDocumentLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Location data for document files.
      * 
@@ -1868,8 +1672,6 @@ public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOr } } /** - * - * *
      * Location data for document files.
      * 
@@ -1877,44 +1679,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 @@ -1922,14 +1712,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 @@ -1947,8 +1734,6 @@ public com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation() { } } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -1969,8 +1754,6 @@ public Builder setMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation va return this; } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -1989,8 +1772,6 @@ public Builder setMetadataLocation( return this; } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -1999,13 +1780,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; } @@ -2021,8 +1799,6 @@ public Builder mergeMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation return this; } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -2046,8 +1822,6 @@ public Builder clearMetadataLocation() { return this; } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -2058,8 +1832,6 @@ public com.google.privacy.dlp.v2.MetadataLocation.Builder getMetadataLocationBui return getMetadataLocationFieldBuilder().getBuilder(); } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -2078,8 +1850,6 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr } } /** - * - * *
      * Location within the metadata for inspected content.
      * 
@@ -2087,84 +1857,65 @@ 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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Finding container modification timestamp, if applicable. For Cloud Storage,
+     * this field contains the last file modification timestamp. For a BigQuery
+     * table, this field contains the last_modified_time property. For Datastore,
+     * this field isn't populated.
      * 
* * .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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Finding container modification timestamp, if applicable. For Cloud Storage,
+     * this field contains the last file modification timestamp. For a BigQuery
+     * table, this field contains the last_modified_time property. For Datastore,
+     * this field isn't populated.
      * 
* * .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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Finding container modification timestamp, if applicable. For Cloud Storage,
+     * this field contains the last file modification timestamp. For a BigQuery
+     * table, this field contains the last_modified_time property. For Datastore,
+     * this field isn't populated.
      * 
* * .google.protobuf.Timestamp container_timestamp = 6; @@ -2183,18 +1934,17 @@ 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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Finding container modification timestamp, if applicable. For Cloud Storage,
+     * this field contains the last file modification timestamp. For a BigQuery
+     * table, this field contains the last_modified_time property. For Datastore,
+     * this field isn't populated.
      * 
* * .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(); @@ -2205,13 +1955,11 @@ 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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Finding container modification timestamp, if applicable. For Cloud Storage,
+     * this field contains the last file modification timestamp. For a BigQuery
+     * table, this field contains the last_modified_time property. For Datastore,
+     * this field isn't populated.
      * 
* * .google.protobuf.Timestamp container_timestamp = 6; @@ -2220,9 +1968,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; } @@ -2234,13 +1980,11 @@ 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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Finding container modification timestamp, if applicable. For Cloud Storage,
+     * this field contains the last file modification timestamp. For a BigQuery
+     * table, this field contains the last_modified_time property. For Datastore,
+     * this field isn't populated.
      * 
* * .google.protobuf.Timestamp container_timestamp = 6; @@ -2257,30 +2001,26 @@ public Builder clearContainerTimestamp() { return this; } /** - * - * *
-     * Findings container modification timestamp, if applicable.
-     * For Google Cloud Storage contains last file modification timestamp.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Finding container modification timestamp, if applicable. For Cloud Storage,
+     * this field contains the last file modification timestamp. For a BigQuery
+     * table, this field contains the last_modified_time property. For Datastore,
+     * this field isn't populated.
      * 
* * .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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Finding container modification timestamp, if applicable. For Cloud Storage,
+     * this field contains the last file modification timestamp. For a BigQuery
+     * table, this field contains the last_modified_time property. For Datastore,
+     * this field isn't populated.
      * 
* * .google.protobuf.Timestamp container_timestamp = 6; @@ -2289,35 +2029,29 @@ 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.
-     * For BigQuery table contains last_modified_time property.
-     * For Datastore - not populated.
+     * Finding container modification timestamp, if applicable. For Cloud Storage,
+     * this field contains the last file modification timestamp. For a BigQuery
+     * table, this field contains the last_modified_time property. For Datastore,
+     * this field isn't populated.
      * 
* * .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_; @@ -2325,21 +2059,19 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() { private java.lang.Object containerVersion_ = ""; /** - * - * *
-     * Findings container version, if available
-     * ("generation" for Google Cloud Storage).
+     * Finding container version, if available
+     * ("generation" for 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; @@ -2348,22 +2080,21 @@ public java.lang.String getContainerVersion() { } } /** - * - * *
-     * Findings container version, if available
-     * ("generation" for Google Cloud Storage).
+     * Finding container version, if available
+     * ("generation" for 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 { @@ -2371,71 +2102,64 @@ public com.google.protobuf.ByteString getContainerVersionBytes() { } } /** - * - * *
-     * Findings container version, if available
-     * ("generation" for Google Cloud Storage).
+     * Finding container version, if available
+     * ("generation" for 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).
+     * Finding container version, if available
+     * ("generation" for 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).
+     * Finding container version, if available
+     * ("generation" for 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); } @@ -2445,12 +2169,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(); } @@ -2459,16 +2183,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; @@ -2483,4 +2207,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 72% 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..7516580a 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
@@ -34,17 +16,14 @@ public interface ContentLocationOrBuilder
    * * Cloud Storage files: `gs://{bucket}/{path}`
    * * Datastore namespace: {namespace}
    * Nested names could be absent if the embedded object has no string
-   * identifier (for an example an image contained within a document).
+   * identifier (for example, an image contained within a document).
    * 
* * 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
@@ -53,42 +32,34 @@ public interface ContentLocationOrBuilder
    * * Cloud Storage files: `gs://{bucket}/{path}`
    * * Datastore namespace: {namespace}
    * Nested names could be absent if the embedded object has no string
-   * identifier (for an example an image contained within a document).
+   * identifier (for example, an image contained within a document).
    * 
* * 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,43 +150,35 @@ 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.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Finding container modification timestamp, if applicable. For Cloud Storage,
+   * this field contains the last file modification timestamp. For a BigQuery
+   * table, this field contains the last_modified_time property. For Datastore,
+   * this field isn't populated.
    * 
* * .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.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Finding container modification timestamp, if applicable. For Cloud Storage,
+   * this field contains the last file modification timestamp. For a BigQuery
+   * table, this field contains the last_modified_time property. For Datastore,
+   * this field isn't populated.
    * 
* * .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.
-   * For BigQuery table contains last_modified_time property.
-   * For Datastore - not populated.
+   * Finding container modification timestamp, if applicable. For Cloud Storage,
+   * this field contains the last file modification timestamp. For a BigQuery
+   * table, this field contains the last_modified_time property. For Datastore,
+   * this field isn't populated.
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; @@ -247,31 +186,26 @@ public interface ContentLocationOrBuilder com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder(); /** - * - * *
-   * Findings container version, if available
-   * ("generation" for Google Cloud Storage).
+   * Finding container version, if available
+   * ("generation" for Cloud Storage).
    * 
* * string container_version = 7; - * * @return The containerVersion. */ java.lang.String getContainerVersion(); /** - * - * *
-   * Findings container version, if available
-   * ("generation" for Google Cloud Storage).
+   * Finding container version, if available
+   * ("generation" for 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 66% 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 48802658..c6a8b7f5 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; /** - * - * *
  * 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() { - return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(2); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(5); } 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 1532e216..fcb273fc 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,50 +55,44 @@ 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) { @@ -124,33 +100,29 @@ private CreateDeidentifyTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -170,10 +142,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 @@ -182,15 +151,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
@@ -210,18 +178,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 { @@ -232,16 +199,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 @@ -249,34 +211,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() { @@ -286,8 +237,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
@@ -296,7 +245,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
    * 
* * string template_id = 3; - * * @return The templateId. */ @java.lang.Override @@ -305,15 +253,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
@@ -322,15 +269,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 { @@ -341,14 +289,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 @@ -357,29 +302,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 { @@ -388,7 +333,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -400,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -426,7 +371,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_); @@ -442,21 +388,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; } @@ -484,127 +433,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() @@ -612,15 +551,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -640,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_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 @@ -661,8 +601,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_; @@ -679,39 +618,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; @@ -719,8 +657,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(); @@ -755,8 +692,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) { @@ -768,8 +704,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
@@ -789,16 +723,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; @@ -807,8 +739,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -828,17 +758,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 { @@ -846,8 +775,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -867,25 +794,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
@@ -905,21 +828,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
@@ -939,19 +857,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; @@ -959,58 +875,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) { @@ -1026,15 +923,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) { @@ -1048,23 +941,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; } @@ -1076,15 +963,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) { @@ -1098,64 +981,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_; @@ -1163,8 +1030,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
@@ -1173,13 +1038,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; @@ -1188,8 +1053,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
@@ -1198,14 +1061,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 { @@ -1213,8 +1077,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
@@ -1223,22 +1085,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
@@ -1247,18 +1107,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
@@ -1267,16 +1124,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; @@ -1284,20 +1141,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; @@ -1306,21 +1161,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 { @@ -1328,68 +1182,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); } @@ -1399,12 +1246,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(); } @@ -1413,16 +1260,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; @@ -1437,4 +1284,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 5e7ba33b..4cc05576 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,66 +57,59 @@ 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) {
@@ -141,40 +117,35 @@ private CreateDlpJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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;
     }
@@ -190,31 +161,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
@@ -230,10 +196,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 @@ -242,15 +205,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
@@ -266,18 +228,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 { @@ -287,14 +248,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 @@ -302,26 +260,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.
    * 
@@ -331,22 +284,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 @@ -354,27 +304,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.
@@ -385,7 +330,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();
   }
@@ -393,8 +338,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
@@ -403,7 +346,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
    * 
* * string job_id = 4; - * * @return The jobId. */ @java.lang.Override @@ -412,15 +354,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
@@ -429,15 +370,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 { @@ -448,14 +390,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 @@ -464,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 { @@ -495,7 +434,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,7 +445,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -536,14 +475,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_); @@ -559,24 +496,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: @@ -615,104 +556,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
@@ -721,23 +655,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()
@@ -745,15 +677,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -769,9 +702,9 @@ public Builder 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
@@ -790,8 +723,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) {
@@ -818,39 +750,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;
@@ -872,20 +803,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();
@@ -915,12 +843,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() {
@@ -930,10 +858,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
@@ -949,16 +876,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; @@ -967,8 +892,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -984,17 +907,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 { @@ -1002,8 +924,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1019,25 +939,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
@@ -1053,21 +969,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
@@ -1083,38 +994,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 @@ -1122,14 +1025,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 @@ -1147,8 +1047,6 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { } } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1169,8 +1067,6 @@ public Builder setInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1189,8 +1085,6 @@ public Builder setInspectJob( return this; } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1199,13 +1093,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; } @@ -1221,8 +1112,6 @@ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1246,8 +1135,6 @@ public Builder clearInspectJob() { return this; } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1258,8 +1145,6 @@ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getInspectJobBuilder() return getInspectJobFieldBuilder().getBuilder(); } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1278,8 +1163,6 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde } } /** - * - * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1287,45 +1170,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 @@ -1333,15 +1204,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 @@ -1359,8 +1227,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() { } } /** - * - * *
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1382,8 +1248,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.
@@ -1403,8 +1267,6 @@ public Builder setRiskJob(
       return this;
     }
     /**
-     *
-     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1414,13 +1276,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;
         }
@@ -1436,8 +1295,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.
@@ -1462,8 +1319,6 @@ public Builder clearRiskJob() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1475,8 +1330,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.
@@ -1496,8 +1349,6 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1506,34 +1357,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
@@ -1542,13 +1385,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; @@ -1557,8 +1400,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
@@ -1567,14 +1408,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 { @@ -1582,8 +1424,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
@@ -1592,22 +1432,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
@@ -1616,18 +1454,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
@@ -1636,16 +1471,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; @@ -1653,20 +1488,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; @@ -1675,21 +1508,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 { @@ -1697,68 +1529,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); } @@ -1768,12 +1593,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(); } @@ -1782,16 +1607,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; @@ -1806,4 +1631,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 915e456c..42ae2412 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,50 +55,44 @@ 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) { @@ -123,33 +100,29 @@ private CreateInspectTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -169,10 +142,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 @@ -181,15 +151,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
@@ -209,18 +178,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 { @@ -231,16 +199,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 @@ -248,34 +211,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() { @@ -285,8 +237,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
@@ -295,7 +245,6 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
    * 
* * string template_id = 3; - * * @return The templateId. */ @java.lang.Override @@ -304,15 +253,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
@@ -321,15 +269,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 { @@ -340,14 +289,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 @@ -356,29 +302,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 { @@ -387,7 +333,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -425,7 +371,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_); @@ -441,21 +388,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; } @@ -483,127 +433,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() @@ -611,15 +551,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -639,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_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 @@ -660,8 +601,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_; @@ -678,39 +618,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; @@ -718,8 +657,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(); @@ -754,8 +692,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) { @@ -767,8 +704,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
@@ -788,16 +723,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; @@ -806,8 +739,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -827,17 +758,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 { @@ -845,8 +775,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -866,25 +794,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
@@ -904,21 +828,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
@@ -938,19 +857,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; @@ -958,58 +875,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) { @@ -1025,15 +923,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) { @@ -1047,23 +941,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; } @@ -1075,15 +963,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) { @@ -1097,64 +981,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_; @@ -1162,8 +1030,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
@@ -1172,13 +1038,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; @@ -1187,8 +1053,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
@@ -1197,14 +1061,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 { @@ -1212,8 +1077,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
@@ -1222,22 +1085,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
@@ -1246,18 +1107,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
@@ -1266,16 +1124,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; @@ -1283,20 +1141,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; @@ -1305,21 +1161,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 { @@ -1327,68 +1182,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); } @@ -1398,12 +1246,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(); } @@ -1412,16 +1260,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; @@ -1436,4 +1284,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 9ca19fed..100f45d0 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,50 +55,44 @@ 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) { @@ -123,33 +100,29 @@ private CreateJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -165,10 +138,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 +147,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
@@ -201,18 +170,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 { @@ -223,16 +191,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 @@ -240,34 +203,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() { @@ -277,8 +229,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
@@ -287,7 +237,6 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
    * 
* * string trigger_id = 3; - * * @return The triggerId. */ @java.lang.Override @@ -296,15 +245,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
@@ -313,15 +261,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 { @@ -332,14 +281,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 @@ -348,29 +294,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 { @@ -379,7 +325,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +336,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -417,7 +363,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_); @@ -433,21 +380,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; } @@ -475,126 +425,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() @@ -602,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(); @@ -630,9 +572,9 @@ public Builder 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 @@ -651,8 +593,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_; @@ -669,39 +610,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; @@ -709,8 +649,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(); @@ -745,8 +684,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) { @@ -758,8 +696,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
@@ -775,16 +711,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; @@ -793,8 +727,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -810,17 +742,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 { @@ -828,8 +759,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -845,25 +774,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
@@ -879,21 +804,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
@@ -909,19 +829,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; @@ -929,58 +847,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) { @@ -996,17 +895,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(); @@ -1017,23 +913,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; } @@ -1045,15 +935,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) { @@ -1067,64 +953,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_; @@ -1132,8 +1002,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
@@ -1142,13 +1010,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; @@ -1157,8 +1025,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
@@ -1167,14 +1033,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 { @@ -1182,8 +1049,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
@@ -1192,22 +1057,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
@@ -1216,18 +1079,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
@@ -1236,16 +1096,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; @@ -1253,20 +1113,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; @@ -1275,21 +1133,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 { @@ -1297,68 +1154,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); } @@ -1368,12 +1218,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(); } @@ -1382,16 +1232,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; @@ -1406,4 +1256,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 bdfb5596..81e415e1 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,50 +55,44 @@ 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) { @@ -123,33 +100,29 @@ private CreateStoredInfoTypeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -169,10 +142,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 @@ -181,15 +151,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
@@ -209,18 +178,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 { @@ -231,16 +199,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 @@ -248,34 +211,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() { @@ -285,8 +237,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
@@ -295,7 +245,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
    * 
* * string stored_info_type_id = 3; - * * @return The storedInfoTypeId. */ @java.lang.Override @@ -304,15 +253,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
@@ -321,15 +269,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 { @@ -340,14 +289,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 @@ -356,29 +302,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 { @@ -387,7 +333,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -425,7 +371,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_); @@ -441,21 +388,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; } @@ -483,127 +433,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() @@ -611,15 +551,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -639,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_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 @@ -660,8 +601,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_; @@ -678,39 +618,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; @@ -718,8 +657,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(); @@ -754,8 +692,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) { @@ -767,8 +704,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
@@ -788,16 +723,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; @@ -806,8 +739,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -827,17 +758,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 { @@ -845,8 +775,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -866,25 +794,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
@@ -904,21 +828,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
@@ -938,19 +857,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; @@ -958,58 +875,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) { @@ -1025,15 +923,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) { @@ -1047,23 +941,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; } @@ -1075,15 +963,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) { @@ -1097,64 +981,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_; @@ -1162,8 +1030,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
@@ -1172,13 +1038,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; @@ -1187,8 +1053,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
@@ -1197,14 +1061,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 { @@ -1212,8 +1077,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
@@ -1222,22 +1085,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
@@ -1246,18 +1107,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
@@ -1266,16 +1124,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; @@ -1283,20 +1141,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; @@ -1305,21 +1161,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 { @@ -1327,68 +1182,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); } @@ -1398,12 +1246,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(); } @@ -1412,16 +1260,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; @@ -1436,4 +1284,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 82% 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 cbd4989b..f4f672f6 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,59 +54,52 @@ 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) {
@@ -130,33 +107,29 @@ private CryptoDeterministicConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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
@@ -164,7 +137,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 @@ -172,8 +144,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
@@ -181,18 +151,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
@@ -209,8 +174,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
@@ -241,7 +204,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 @@ -249,8 +211,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
@@ -281,18 +241,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
@@ -332,8 +287,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
@@ -348,11 +301,10 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
    * 2. the field is not present when transforming a given value,
    * plaintext would be used as is for encryption.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return Whether the context field is set. */ @java.lang.Override @@ -360,8 +312,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
@@ -376,11 +326,10 @@ public boolean hasContext() {
    * 2. the field is not present when transforming a given value,
    * plaintext would be used as is for encryption.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return The context. */ @java.lang.Override @@ -388,8 +337,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
@@ -404,7 +351,7 @@ public com.google.privacy.dlp.v2.FieldId getContext() {
    * 2. the field is not present when transforming a given value,
    * plaintext would be used as is for encryption.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; @@ -415,7 +362,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -427,7 +373,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cryptoKey_ != null) { output.writeMessage(1, getCryptoKey()); } @@ -447,13 +394,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; @@ -463,25 +413,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; @@ -512,103 +464,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.
@@ -617,23 +562,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()
@@ -641,15 +584,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -675,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_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
@@ -696,8 +640,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 {
@@ -721,39 +664,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;
@@ -761,8 +703,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());
       }
@@ -791,8 +732,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) {
@@ -804,13 +744,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
@@ -818,15 +753,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
@@ -834,21 +766,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
@@ -871,8 +798,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
@@ -881,7 +806,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();
@@ -892,8 +818,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
@@ -906,9 +830,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;
         }
@@ -920,8 +842,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
@@ -942,8 +862,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
@@ -953,13 +871,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
@@ -972,14 +888,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
@@ -989,17 +902,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_;
@@ -1007,13 +917,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
@@ -1044,15 +949,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
@@ -1083,21 +985,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
@@ -1143,8 +1040,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
@@ -1188,8 +1083,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
@@ -1225,9 +1118,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;
         }
@@ -1239,8 +1130,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
@@ -1284,8 +1173,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
@@ -1318,13 +1205,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
@@ -1360,14 +1245,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
@@ -1400,17 +1282,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_;
@@ -1418,13 +1297,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
@@ -1439,19 +1313,16 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
      * 2. the field is not present when transforming a given value,
      * plaintext would be used as is for encryption.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * 
* * .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
@@ -1466,11 +1337,10 @@ public boolean hasContext() {
      * 2. the field is not present when transforming a given value,
      * plaintext would be used as is for encryption.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -1481,8 +1351,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
@@ -1497,7 +1365,7 @@ public com.google.privacy.dlp.v2.FieldId getContext() {
      * 2. the field is not present when transforming a given value,
      * plaintext would be used as is for encryption.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; @@ -1516,8 +1384,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
@@ -1532,12 +1398,13 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
      * 2. the field is not present when transforming a given value,
      * plaintext would be used as is for encryption.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * 
* * .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(); @@ -1548,8 +1415,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
@@ -1564,7 +1429,7 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForVa
      * 2. the field is not present when transforming a given value,
      * plaintext would be used as is for encryption.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; @@ -1573,9 +1438,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; } @@ -1587,8 +1450,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
@@ -1603,7 +1464,7 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
      * 2. the field is not present when transforming a given value,
      * plaintext would be used as is for encryption.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; @@ -1620,8 +1481,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
@@ -1636,19 +1495,17 @@ public Builder clearContext() {
      * 2. the field is not present when transforming a given value,
      * plaintext would be used as is for encryption.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * 
* * .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
@@ -1663,7 +1520,7 @@ public com.google.privacy.dlp.v2.FieldId.Builder getContextBuilder() {
      * 2. the field is not present when transforming a given value,
      * plaintext would be used as is for encryption.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; @@ -1672,12 +1529,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
@@ -1692,30 +1548,27 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
      * 2. the field is not present when transforming a given value,
      * plaintext would be used as is for encryption.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * 
* * .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); } @@ -1725,12 +1578,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(); } @@ -1739,16 +1592,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; @@ -1763,4 +1616,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 91% 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..073fd88c 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
@@ -191,17 +157,14 @@ public interface CryptoDeterministicConfigOrBuilder
    * 2. the field is not present when transforming a given value,
    * plaintext would be used as is for encryption.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * 
* * .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
@@ -216,17 +179,14 @@ public interface CryptoDeterministicConfigOrBuilder
    * 2. the field is not present when transforming a given value,
    * plaintext would be used as is for encryption.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * 
* * .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
@@ -241,7 +201,7 @@ public interface CryptoDeterministicConfigOrBuilder
    * 2. the field is not present when transforming a given value,
    * plaintext would be used as is for encryption.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; 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 69% 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 8185d59c..cf752650 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,29 +58,26 @@ 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) {
@@ -104,39 +85,34 @@ private CryptoHashConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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 @@ -144,25 +120,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.
    * 
@@ -175,7 +144,6 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cryptoKey_ != null) { output.writeMessage(1, getCryptoKey()); } @@ -201,7 +170,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; @@ -211,17 +181,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; @@ -243,104 +213,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.
@@ -353,23 +316,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()
@@ -377,15 +338,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -399,9 +361,9 @@ public Builder 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
@@ -420,8 +382,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 {
@@ -435,39 +396,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;
@@ -510,47 +470,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.
      * 
@@ -571,15 +518,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(); @@ -590,8 +536,6 @@ public Builder setCryptoKey(com.google.privacy.dlp.v2.CryptoKey.Builder builderF return this; } /** - * - * *
      * The key used by the hash function.
      * 
@@ -602,9 +546,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; } @@ -616,8 +558,6 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { return this; } /** - * - * *
      * The key used by the hash function.
      * 
@@ -636,8 +576,6 @@ public Builder clearCryptoKey() { return this; } /** - * - * *
      * The key used by the hash function.
      * 
@@ -645,13 +583,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.
      * 
@@ -662,14 +598,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.
      * 
@@ -677,24 +610,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); } @@ -704,12 +634,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(); } @@ -718,16 +648,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; @@ -742,4 +672,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 f9472665..9e4b088b 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,61 +57,55 @@ 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) {
@@ -135,41 +113,36 @@ private CryptoKey(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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;
     }
@@ -185,38 +158,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 @@ -224,26 +190,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
    * 
@@ -253,21 +214,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 @@ -275,26 +233,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
    * 
@@ -304,21 +257,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 @@ -326,26 +276,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
    * 
@@ -355,13 +300,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; @@ -373,7 +317,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -393,19 +338,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; @@ -415,7 +357,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); @@ -425,13 +367,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: @@ -468,103 +413,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
@@ -576,23 +515,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()
@@ -600,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();
@@ -618,9 +556,9 @@ public Builder 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
@@ -670,39 +608,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;
@@ -712,25 +649,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();
@@ -760,12 +693,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() {
@@ -775,20 +708,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 @@ -796,14 +724,11 @@ public boolean hasTransient() { return sourceCase_ == 1; } /** - * - * *
      * Transient crypto key
      * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; - * * @return The transient. */ @java.lang.Override @@ -821,8 +746,6 @@ public com.google.privacy.dlp.v2.TransientCryptoKey getTransient() { } } /** - * - * *
      * Transient crypto key
      * 
@@ -843,8 +766,6 @@ public Builder setTransient(com.google.privacy.dlp.v2.TransientCryptoKey value) return this; } /** - * - * *
      * Transient crypto key
      * 
@@ -863,8 +784,6 @@ public Builder setTransient( return this; } /** - * - * *
      * Transient crypto key
      * 
@@ -873,13 +792,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; } @@ -895,8 +811,6 @@ public Builder mergeTransient(com.google.privacy.dlp.v2.TransientCryptoKey value return this; } /** - * - * *
      * Transient crypto key
      * 
@@ -920,8 +834,6 @@ public Builder clearTransient() { return this; } /** - * - * *
      * Transient crypto key
      * 
@@ -932,8 +844,6 @@ public com.google.privacy.dlp.v2.TransientCryptoKey.Builder getTransientBuilder( return getTransientFieldBuilder().getBuilder(); } /** - * - * *
      * Transient crypto key
      * 
@@ -952,8 +862,6 @@ public com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuild } } /** - * - * *
      * Transient crypto key
      * 
@@ -961,44 +869,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 @@ -1006,14 +902,11 @@ public boolean hasUnwrapped() { return sourceCase_ == 2; } /** - * - * *
      * Unwrapped crypto key
      * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; - * * @return The unwrapped. */ @java.lang.Override @@ -1031,8 +924,6 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped() { } } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1053,8 +944,6 @@ public Builder setUnwrapped(com.google.privacy.dlp.v2.UnwrappedCryptoKey value) return this; } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1073,8 +962,6 @@ public Builder setUnwrapped( return this; } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1083,13 +970,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; } @@ -1105,8 +989,6 @@ public Builder mergeUnwrapped(com.google.privacy.dlp.v2.UnwrappedCryptoKey value return this; } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1130,8 +1012,6 @@ public Builder clearUnwrapped() { return this; } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1142,8 +1022,6 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder getUnwrappedBuilder( return getUnwrappedFieldBuilder().getBuilder(); } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1162,8 +1040,6 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuild } } /** - * - * *
      * Unwrapped crypto key
      * 
@@ -1171,44 +1047,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 @@ -1216,14 +1080,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 @@ -1241,8 +1102,6 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() { } } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1263,8 +1122,6 @@ public Builder setKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey value return this; } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1283,8 +1140,6 @@ public Builder setKmsWrapped( return this; } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1293,13 +1148,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; } @@ -1315,8 +1167,6 @@ public Builder mergeKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey val return this; } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1340,8 +1190,6 @@ public Builder clearKmsWrapped() { return this; } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1352,8 +1200,6 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder getKmsWrappedBuilde return getKmsWrappedFieldBuilder().getBuilder(); } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1372,8 +1218,6 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBui } } /** - * - * *
      * Key wrapped using Cloud KMS
      * 
@@ -1381,32 +1225,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); } @@ -1416,12 +1254,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(); } @@ -1430,16 +1268,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; @@ -1454,4 +1292,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 78% 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 dcfeb5fb..9ab2cb66 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,79 +63,69 @@ 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:
-            {
-              alphabet_ = input.readInt32();
-              alphabetCase_ = 6;
-              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: {
+            alphabet_ = input.readInt32();
+            alphabetCase_ = 6;
+            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) {
@@ -159,43 +133,38 @@ private CryptoReplaceFfxFpeConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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
-   * the "radix". Therefore each corresponds to particular radix.
+   * the "radix". Therefore each corresponds to a particular radix.
    * 
* * 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.
      * 
@@ -204,8 +173,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED(0), /** - * - * *
      * `[0-9]` (radix of 10)
      * 
@@ -214,8 +181,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ NUMERIC(1), /** - * - * *
      * `[0-9A-F]` (radix of 16)
      * 
@@ -224,8 +189,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ HEXADECIMAL(2), /** - * - * *
      * `[0-9A-Z]` (radix of 36)
      * 
@@ -234,8 +197,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ UPPER_CASE_ALPHA_NUMERIC(3), /** - * - * *
      * `[0-9A-Za-z]` (radix of 62)
      * 
@@ -247,8 +208,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa ; /** - * - * *
      * Unused.
      * 
@@ -257,8 +216,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)
      * 
@@ -267,8 +224,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ public static final int NUMERIC_VALUE = 1; /** - * - * *
      * `[0-9A-F]` (radix of 16)
      * 
@@ -277,8 +232,6 @@ public enum FfxCommonNativeAlphabet implements com.google.protobuf.ProtocolMessa */ public static final int HEXADECIMAL_VALUE = 2; /** - * - * *
      * `[0-9A-Z]` (radix of 36)
      * 
@@ -287,8 +240,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)
      * 
@@ -297,6 +248,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( @@ -321,18 +273,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; } } @@ -340,31 +286,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(); @@ -372,7 +316,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; @@ -391,17 +336,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; } @@ -417,41 +359,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 @@ -459,34 +392,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() { @@ -496,8 +418,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
@@ -507,7 +427,7 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
    * 1. the field is not present when transforming a given value,
    * a default tweak will be used.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * Currently, the referenced field may be of value type integer or string.
    * The tweak is constructed as a sequence of bytes in big endian byte order
    * such that:
@@ -516,7 +436,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 @@ -524,8 +443,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
@@ -535,7 +452,7 @@ public boolean hasContext() {
    * 1. the field is not present when transforming a given value,
    * a default tweak will be used.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * Currently, the referenced field may be of value type integer or string.
    * The tweak is constructed as a sequence of bytes in big endian byte order
    * such that:
@@ -544,7 +461,6 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 2; - * * @return The context. */ @java.lang.Override @@ -552,8 +468,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
@@ -563,7 +477,7 @@ public com.google.privacy.dlp.v2.FieldId getContext() {
    * 1. the field is not present when transforming a given value,
    * a default tweak will be used.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * Currently, the referenced field may be of value type integer or string.
    * The tweak is constructed as a sequence of bytes in big endian byte order
    * such that:
@@ -580,32 +494,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() { @@ -615,37 +519,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
@@ -660,15 +552,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
@@ -683,7 +572,6 @@ public boolean hasCustomAlphabet() {
    * 
* * string custom_alphabet = 5; - * * @return The customAlphabet. */ public java.lang.String getCustomAlphabet() { @@ -694,7 +582,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; @@ -703,8 +592,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
@@ -719,17 +606,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; } @@ -741,14 +629,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 @@ -756,14 +641,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 @@ -777,8 +659,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
@@ -805,7 +685,6 @@ public int getRadix() {
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; - * * @return Whether the surrogateInfoType field is set. */ @java.lang.Override @@ -813,8 +692,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
@@ -841,18 +718,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
@@ -886,7 +758,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -898,7 +769,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -912,7 +784,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());
@@ -927,25 +800,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;
@@ -955,36 +831,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:
@@ -1034,103 +915,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
@@ -1148,23 +1022,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()
@@ -1172,15 +1044,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1208,9 +1081,9 @@ public Builder 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
@@ -1229,8 +1102,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 {
@@ -1264,39 +1136,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;
@@ -1304,8 +1175,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());
       }
@@ -1316,27 +1186,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();
@@ -1357,8 +1223,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) {
@@ -1367,12 +1232,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() {
@@ -1382,60 +1247,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) { @@ -1451,17 +1298,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(); @@ -1472,23 +1316,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; } @@ -1500,15 +1338,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) { @@ -1522,64 +1356,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_; @@ -1587,13 +1405,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
@@ -1603,7 +1416,7 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() {
      * 1. the field is not present when transforming a given value,
      * a default tweak will be used.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * Currently, the referenced field may be of value type integer or string.
      * The tweak is constructed as a sequence of bytes in big endian byte order
      * such that:
@@ -1612,15 +1425,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
@@ -1630,7 +1440,7 @@ public boolean hasContext() {
      * 1. the field is not present when transforming a given value,
      * a default tweak will be used.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * Currently, the referenced field may be of value type integer or string.
      * The tweak is constructed as a sequence of bytes in big endian byte order
      * such that:
@@ -1639,7 +1449,6 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 2; - * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -1650,8 +1459,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
@@ -1661,7 +1468,7 @@ public com.google.privacy.dlp.v2.FieldId getContext() {
      * 1. the field is not present when transforming a given value,
      * a default tweak will be used.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * Currently, the referenced field may be of value type integer or string.
      * The tweak is constructed as a sequence of bytes in big endian byte order
      * such that:
@@ -1685,8 +1492,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
@@ -1696,7 +1501,7 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId value) {
      * 1. the field is not present when transforming a given value,
      * a default tweak will be used.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * Currently, the referenced field may be of value type integer or string.
      * The tweak is constructed as a sequence of bytes in big endian byte order
      * such that:
@@ -1706,7 +1511,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();
@@ -1717,8 +1523,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
@@ -1728,7 +1532,7 @@ public Builder setContext(com.google.privacy.dlp.v2.FieldId.Builder builderForVa
      * 1. the field is not present when transforming a given value,
      * a default tweak will be used.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * Currently, the referenced field may be of value type integer or string.
      * The tweak is constructed as a sequence of bytes in big endian byte order
      * such that:
@@ -1742,9 +1546,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;
         }
@@ -1756,8 +1558,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
@@ -1767,7 +1567,7 @@ public Builder mergeContext(com.google.privacy.dlp.v2.FieldId value) {
      * 1. the field is not present when transforming a given value,
      * a default tweak will be used.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * Currently, the referenced field may be of value type integer or string.
      * The tweak is constructed as a sequence of bytes in big endian byte order
      * such that:
@@ -1789,8 +1589,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
@@ -1800,7 +1598,7 @@ public Builder clearContext() {
      * 1. the field is not present when transforming a given value,
      * a default tweak will be used.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * Currently, the referenced field may be of value type integer or string.
      * The tweak is constructed as a sequence of bytes in big endian byte order
      * such that:
@@ -1811,13 +1609,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
@@ -1827,7 +1623,7 @@ public com.google.privacy.dlp.v2.FieldId.Builder getContextBuilder() {
      * 1. the field is not present when transforming a given value,
      * a default tweak will be used.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * Currently, the referenced field may be of value type integer or string.
      * The tweak is constructed as a sequence of bytes in big endian byte order
      * such that:
@@ -1841,12 +1637,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
@@ -1856,7 +1651,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
      * 1. the field is not present when transforming a given value,
      * a default tweak will be used.
      * Note that case (1) is expected when an `InfoTypeTransformation` is
-     * applied to both structured and non-structured `ContentItem`s.
+     * applied to both structured and unstructured `ContentItem`s.
      * Currently, the referenced field may be of value type integer or string.
      * The tweak is constructed as a sequence of bytes in big endian byte order
      * such that:
@@ -1867,33 +1662,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 @@ -1901,16 +1688,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 @@ -1921,16 +1703,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. */ @@ -1941,50 +1718,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(); } @@ -1994,16 +1754,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() { @@ -2016,8 +1771,6 @@ public Builder clearCommonAlphabet() { } /** - * - * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -2032,7 +1785,6 @@ public Builder clearCommonAlphabet() {
      * 
* * string custom_alphabet = 5; - * * @return Whether the customAlphabet field is set. */ @java.lang.Override @@ -2040,8 +1792,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
@@ -2056,7 +1806,6 @@ public boolean hasCustomAlphabet() {
      * 
* * string custom_alphabet = 5; - * * @return The customAlphabet. */ @java.lang.Override @@ -2066,7 +1815,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; @@ -2077,8 +1827,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
@@ -2093,18 +1841,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; } @@ -2114,8 +1863,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
@@ -2130,22 +1877,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
@@ -2160,7 +1905,6 @@ public Builder setCustomAlphabet(java.lang.String value) {
      * 
* * string custom_alphabet = 5; - * * @return This builder for chaining. */ public Builder clearCustomAlphabet() { @@ -2172,8 +1916,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
@@ -2188,15 +1930,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(); @@ -2204,28 +1946,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() { @@ -2235,14 +1971,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. */ @@ -2253,14 +1986,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() { @@ -2274,13 +2004,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
@@ -2307,15 +2032,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
@@ -2342,21 +2064,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
@@ -2398,8 +2115,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
@@ -2439,8 +2154,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
@@ -2472,9 +2185,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;
         }
@@ -2486,8 +2197,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
@@ -2527,8 +2236,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
@@ -2557,13 +2264,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
@@ -2595,14 +2300,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
@@ -2631,24 +2333,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);
     }
 
@@ -2658,12 +2357,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();
   }
@@ -2672,16 +2371,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;
@@ -2696,4 +2395,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 86%
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..248d1bcb 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
@@ -76,7 +44,7 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
    * 1. the field is not present when transforming a given value,
    * a default tweak will be used.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * Currently, the referenced field may be of value type integer or string.
    * The tweak is constructed as a sequence of bytes in big endian byte order
    * such that:
@@ -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
@@ -101,7 +66,7 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
    * 1. the field is not present when transforming a given value,
    * a default tweak will be used.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * Currently, the referenced field may be of value type integer or string.
    * The tweak is constructed as a sequence of bytes in big endian byte order
    * such that:
@@ -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
@@ -126,7 +88,7 @@ public interface CryptoReplaceFfxFpeConfigOrBuilder
    * 1. the field is not present when transforming a given value,
    * a default tweak will be used.
    * Note that case (1) is expected when an `InfoTypeTransformation` is
-   * applied to both structured and non-structured `ContentItem`s.
+   * applied to both structured and unstructured `ContentItem`s.
    * Currently, the referenced field may be of value type integer or string.
    * The tweak is constructed as a sequence of bytes in big endian byte order
    * such that:
@@ -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 74%
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 063eb57e..6ab039fc 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,125 +57,103 @@ 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();
             }
-          case 64:
-            {
-              int rawValue = input.readEnum();
+            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;
+          }
+          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) {
@@ -200,7 +161,8 @@ private CustomInfoType(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -209,27 +171,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.
      * 
@@ -238,8 +198,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.
@@ -252,8 +210,6 @@ public enum ExclusionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * A finding of this custom info type will not be excluded from results.
      * 
@@ -262,8 +218,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.
@@ -273,6 +227,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(
@@ -297,47 +252,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;
@@ -354,38 +310,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.
      * 
@@ -395,34 +342,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.
@@ -435,8 +374,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
@@ -463,29 +400,30 @@ public interface DictionaryOrBuilder
    *
    * 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)
@@ -504,50 +442,41 @@ 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) {
@@ -555,36 +484,31 @@ private Dictionary(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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
@@ -592,13 +516,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
@@ -606,13 +528,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
@@ -620,14 +539,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
@@ -635,46 +551,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) @@ -694,23 +608,22 @@ 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) { @@ -718,8 +631,8 @@ private WordList( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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(); @@ -728,27 +641,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
@@ -756,15 +664,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
@@ -772,15 +678,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
@@ -788,7 +691,6 @@ public int getWordsCount() {
        * 
* * repeated string words = 1; - * * @param index The index of the element to return. * @return The words at the given index. */ @@ -796,8 +698,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
@@ -805,16 +705,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; @@ -826,7 +725,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -855,15 +755,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; } @@ -885,94 +785,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 @@ -982,32 +875,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() @@ -1015,15 +903,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1033,14 +922,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(); } @@ -1055,8 +943,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(); @@ -1071,52 +958,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_; @@ -1146,9 +1027,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) { @@ -1157,21 +1036,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
@@ -1179,15 +1053,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
@@ -1195,15 +1067,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
@@ -1211,7 +1080,6 @@ public int getWordsCount() {
          * 
* * repeated string words = 1; - * * @param index The index of the element to return. * @return The words at the given index. */ @@ -1219,8 +1087,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
@@ -1228,16 +1094,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
@@ -1245,23 +1109,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
@@ -1269,22 +1131,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
@@ -1292,19 +1152,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
@@ -1312,7 +1171,6 @@ public Builder addAllWords(java.lang.Iterable values) {
          * 
* * repeated string words = 1; - * * @return This builder for chaining. */ public Builder clearWords() { @@ -1322,8 +1180,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
@@ -1331,21 +1187,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) { @@ -1358,32 +1213,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; @@ -1395,24 +1248,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; } @@ -1428,36 +1278,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 @@ -1465,26 +1309,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.
      * 
@@ -1492,25 +1331,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 @@ -1518,27 +1353,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.
@@ -1549,13 +1379,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;
@@ -1567,10 +1396,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_);
@@ -1585,14 +1414,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;
@@ -1602,21 +1429,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:
@@ -1650,94 +1478,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
@@ -1747,8 +1568,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
@@ -1775,24 +1594,21 @@ 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()
@@ -1800,15 +1616,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1818,9 +1635,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
@@ -1839,8 +1656,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_;
@@ -1864,41 +1680,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;
@@ -1906,23 +1719,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();
@@ -1943,8 +1752,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) {
@@ -1953,12 +1761,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() {
@@ -1968,20 +1776,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 @@ -1989,14 +1792,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 @@ -2014,16 +1814,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(); @@ -2037,8 +1834,6 @@ public Builder setWordList( return this; } /** - * - * *
        * List of words or phrases to search for.
        * 
@@ -2057,26 +1852,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; } @@ -2092,8 +1879,6 @@ public Builder mergeWordList( return this; } /** - * - * *
        * List of words or phrases to search for.
        * 
@@ -2117,21 +1902,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.
        * 
@@ -2139,8 +1919,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 { @@ -2151,8 +1930,6 @@ public Builder clearWordList() { } } /** - * - * *
        * List of words or phrases to search for.
        * 
@@ -2160,46 +1937,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 @@ -2207,15 +1971,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 @@ -2233,8 +1994,6 @@ public com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath() { } } /** - * - * *
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2256,8 +2015,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.
@@ -2277,8 +2034,6 @@ public Builder setCloudStoragePath(
         return this;
       }
       /**
-       *
-       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2288,13 +2043,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;
           }
@@ -2310,8 +2062,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.
@@ -2336,8 +2086,6 @@ public Builder clearCloudStoragePath() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2349,8 +2097,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.
@@ -2370,8 +2116,6 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getCloudStoragePathOr
         }
       }
       /**
-       *
-       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2380,30 +2124,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) {
@@ -2416,12 +2153,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();
     }
@@ -2430,16 +2167,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;
@@ -2454,16 +2191,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
@@ -2471,13 +2206,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
@@ -2485,71 +2217,59 @@ public interface RegexOrBuilder
      * 
* * 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(); @@ -2557,15 +2277,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) @@ -2585,43 +2306,40 @@ 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) { @@ -2629,7 +2347,8 @@ private Regex( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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 @@ -2638,27 +2357,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
@@ -2666,7 +2380,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string pattern = 1; - * * @return The pattern. */ @java.lang.Override @@ -2675,15 +2388,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
@@ -2691,15 +2403,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 { @@ -2710,57 +2423,47 @@ public com.google.protobuf.ByteString getPatternBytes() { 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; @@ -2772,7 +2475,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -2799,13 +2503,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; } @@ -2817,16 +2522,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; } @@ -2849,94 +2555,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 @@ -2946,32 +2646,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() @@ -2979,15 +2674,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2999,9 +2695,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 @@ -3020,8 +2716,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)) { @@ -3037,41 +2732,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; @@ -3079,8 +2771,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(); @@ -3123,13 +2814,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
@@ -3137,13 +2825,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; @@ -3152,8 +2840,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
@@ -3161,14 +2847,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 { @@ -3176,8 +2863,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
@@ -3185,22 +2870,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
@@ -3208,18 +2891,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
@@ -3227,71 +2907,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; - } + } } /** - * - * *
        * 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. */ @@ -3299,35 +2969,30 @@ 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. */ @@ -3338,34 +3003,30 @@ 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() { @@ -3374,7 +3035,6 @@ public Builder clearGroupIndexes() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3387,12 +3047,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(); } @@ -3401,16 +3061,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; @@ -3425,15 +3085,14 @@ 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
@@ -3447,29 +3106,30 @@ public interface SurrogateTypeOrBuilder
    *
    * 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)
@@ -3488,13 +3148,13 @@ 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) {
@@ -3502,30 +3162,27 @@ private SurrogateType(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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;
@@ -3537,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 {
       unknownFields.writeTo(output);
     }
 
@@ -3555,13 +3213,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;
@@ -3580,94 +3237,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
@@ -3677,8 +3327,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations
      * such as
@@ -3692,24 +3340,21 @@ 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()
@@ -3717,15 +3362,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3733,9 +3379,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
@@ -3754,8 +3400,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;
       }
@@ -3764,41 +3409,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;
@@ -3806,8 +3448,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;
@@ -3827,8 +3468,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) {
@@ -3837,7 +3477,6 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3850,12 +3489,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();
     }
@@ -3864,16 +3503,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;
@@ -3888,57 +3527,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
@@ -3948,29 +3573,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)
@@ -3989,34 +3615,27 @@ 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) {
@@ -4024,36 +3643,31 @@ private DetectionRule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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. For tabular data,
        * if you want to modify the likelihood of an entire column of findngs,
@@ -4063,27 +3677,21 @@ public interface ProximityOrBuilder
        * 
* * 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.
@@ -4091,29 +3699,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)
@@ -4132,23 +3741,23 @@ 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) {
@@ -4156,34 +3765,29 @@ private Proximity(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              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. For tabular data,
        * if you want to modify the likelihood of an entire column of findngs,
@@ -4193,7 +3797,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * 
* * int32 window_before = 1; - * * @return The windowBefore. */ @java.lang.Override @@ -4204,14 +3807,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 @@ -4220,7 +3820,6 @@ public int getWindowAfter() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4232,7 +3831,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -4249,10 +3849,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; @@ -4262,16 +3864,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; } @@ -4293,96 +3896,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 @@ -4392,8 +3986,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Message for specifying a window around a finding to apply a detection
        * rule.
@@ -4401,41 +3993,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();
@@ -4447,16 +4036,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
@@ -4470,8 +4057,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();
@@ -4482,53 +4068,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());
           }
@@ -4554,9 +4133,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) {
@@ -4566,10 +4143,8 @@ public Builder mergeFrom(
           return this;
         }
 
-        private int windowBefore_;
+        private int windowBefore_ ;
         /**
-         *
-         *
          * 
          * Number of characters before the finding to consider. For tabular data,
          * if you want to modify the likelihood of an entire column of findngs,
@@ -4579,7 +4154,6 @@ public Builder mergeFrom(
          * 
* * int32 window_before = 1; - * * @return The windowBefore. */ @java.lang.Override @@ -4587,8 +4161,6 @@ public int getWindowBefore() { return windowBefore_; } /** - * - * *
          * Number of characters before the finding to consider. For tabular data,
          * if you want to modify the likelihood of an entire column of findngs,
@@ -4598,19 +4170,16 @@ public int getWindowBefore() {
          * 
* * 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. For tabular data,
          * if you want to modify the likelihood of an entire column of findngs,
@@ -4620,26 +4189,22 @@ public Builder setWindowBefore(int value) {
          * 
* * 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 @@ -4647,41 +4212,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) { @@ -4694,32 +4252,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; @@ -4731,57 +4287,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
@@ -4794,13 +4338,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
@@ -4813,18 +4354,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.
@@ -4832,29 +4368,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)
@@ -4873,26 +4410,24 @@ private LikelihoodAdjustment(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  int rawValue = input.readEnum();
-                  adjustmentCase_ = 1;
-                  adjustment_ = rawValue;
-                  break;
-                }
-              case 16:
-                {
-                  adjustment_ = input.readInt32();
-                  adjustmentCase_ = 2;
-                  break;
-                }
-              default:
-                {
-                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                    done = true;
-                  }
-                  break;
+              case 8: {
+                int rawValue = input.readEnum();
+                adjustmentCase_ = 1;
+                adjustment_ = rawValue;
+                break;
+              }
+              case 16: {
+                adjustment_ = input.readInt32();
+                adjustmentCase_ = 2;
+                break;
+              }
+              default: {
+                if (!parseUnknownField(
+                    input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
                 }
+                break;
+              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4900,42 +4435,35 @@ private LikelihoodAdjustment(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              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;
         }
@@ -4951,50 +4479,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() { @@ -5004,21 +4523,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; @@ -5026,8 +4542,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
@@ -5040,7 +4554,6 @@ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() {
        * 
* * int32 relative_likelihood = 2; - * * @return Whether the relativeLikelihood field is set. */ @java.lang.Override @@ -5048,8 +4561,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
@@ -5062,7 +4573,6 @@ public boolean hasRelativeLikelihood() {
        * 
* * int32 relative_likelihood = 2; - * * @return The relativeLikelihood. */ @java.lang.Override @@ -5074,7 +4584,6 @@ public int getRelativeLikelihood() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5086,12 +4595,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); } @@ -5103,14 +4614,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; @@ -5120,23 +4630,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: @@ -5169,103 +4678,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 @@ -5275,52 +4769,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(); @@ -5330,22 +4817,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); } @@ -5353,10 +4837,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_; } @@ -5372,71 +4854,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(); @@ -5453,14 +4922,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) { @@ -5469,12 +4935,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() { @@ -5484,15 +4950,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 @@ -5500,14 +4964,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 @@ -5518,14 +4979,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. */ @@ -5536,35 +4994,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. */ @@ -5578,14 +5030,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() { @@ -5598,8 +5047,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
@@ -5612,15 +5059,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
@@ -5633,7 +5077,6 @@ public boolean hasRelativeLikelihood() {
          * 
* * int32 relative_likelihood = 2; - * * @return The relativeLikelihood. */ public int getRelativeLikelihood() { @@ -5643,8 +5086,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
@@ -5657,7 +5098,6 @@ public int getRelativeLikelihood() {
          * 
* * int32 relative_likelihood = 2; - * * @param value The relativeLikelihood to set. * @return This builder for chaining. */ @@ -5668,8 +5108,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
@@ -5682,7 +5120,6 @@ public Builder setRelativeLikelihood(int value) {
          * 
* * int32 relative_likelihood = 2; - * * @return This builder for chaining. */ public Builder clearRelativeLikelihood() { @@ -5693,7 +5130,6 @@ public Builder clearRelativeLikelihood() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5706,34 +5142,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; @@ -5745,44 +5177,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.
        * 
@@ -5792,8 +5215,6 @@ public interface HotwordRuleOrBuilder com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOrBuilder(); /** - * - * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -5810,13 +5231,10 @@ public interface HotwordRuleOrBuilder
        * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; - * * @return Whether the proximity field is set. */ boolean hasProximity(); /** - * - * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -5833,13 +5251,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(); /** - * - * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -5857,55 +5272,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.
@@ -5913,29 +5309,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)
@@ -5954,68 +5351,52 @@ 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) {
@@ -6023,40 +5404,34 @@ private HotwordRule(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              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 @@ -6064,25 +5439,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.
        * 
@@ -6097,8 +5465,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_; /** - * - * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -6115,7 +5481,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 @@ -6123,8 +5488,6 @@ public boolean hasProximity() { return proximity_ != null; } /** - * - * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -6141,18 +5504,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_; } /** - * - * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -6171,25 +5529,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 @@ -6197,45 +5548,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; @@ -6247,7 +5583,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -6267,15 +5604,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; @@ -6285,25 +5623,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; @@ -6334,96 +5674,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 @@ -6433,8 +5764,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * The rule that adjusts the likelihood of findings within a certain
        * proximity of hotwords.
@@ -6442,41 +5771,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();
@@ -6502,22 +5828,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);
           }
@@ -6526,8 +5849,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 {
@@ -6551,53 +5873,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());
           }
@@ -6626,9 +5941,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) {
@@ -6640,47 +5953,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.
          * 
@@ -6701,8 +6001,6 @@ public Builder setHotwordRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex va return this; } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6721,8 +6019,6 @@ public Builder setHotwordRegex( return this; } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6733,9 +6029,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; } @@ -6747,8 +6041,6 @@ public Builder mergeHotwordRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex return this; } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6767,8 +6059,6 @@ public Builder clearHotwordRegex() { return this; } /** - * - * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6776,13 +6066,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.
          * 
@@ -6793,14 +6081,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.
          * 
@@ -6808,17 +6093,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_; @@ -6826,13 +6108,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_; /** - * - * *
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6849,15 +6126,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; } /** - * - * *
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6874,22 +6148,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(); } } /** - * - * *
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6907,8 +6175,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();
@@ -6922,8 +6189,6 @@ public Builder setProximity(
           return this;
         }
         /**
-         *
-         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6942,8 +6207,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();
@@ -6954,8 +6218,6 @@ public Builder setProximity(
           return this;
         }
         /**
-         *
-         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6973,15 +6235,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;
             }
@@ -6993,8 +6251,6 @@ public Builder mergeProximity(
           return this;
         }
         /**
-         *
-         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -7024,8 +6280,6 @@ public Builder clearProximity() {
           return this;
         }
         /**
-         *
-         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -7043,15 +6297,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();
         }
         /**
-         *
-         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -7069,20 +6320,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_;
           }
         }
         /**
-         *
-         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -7101,83 +6347,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(); @@ -7191,19 +6410,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(); @@ -7214,25 +6428,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; } @@ -7244,15 +6450,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) { @@ -7266,75 +6468,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) { @@ -7347,32 +6526,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; @@ -7384,23 +6561,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; } @@ -7416,35 +6590,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 @@ -7452,47 +6620,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; @@ -7504,10 +6661,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); } @@ -7519,9 +6676,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; @@ -7531,18 +6687,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: @@ -7572,94 +6728,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 @@ -7669,8 +6818,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
      * `CustomInfoType` to alter behavior under certain circumstances, depending
@@ -7680,24 +6827,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()
@@ -7705,15 +6849,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -7723,9 +6868,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
@@ -7744,8 +6889,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_;
@@ -7762,41 +6906,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;
@@ -7804,18 +6945,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();
@@ -7836,8 +6974,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) {
@@ -7846,12 +6983,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() {
@@ -7861,21 +6998,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 @@ -7883,15 +7014,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 @@ -7900,28 +7027,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(); @@ -7935,18 +7056,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(); @@ -7957,27 +7074,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; } @@ -7993,14 +7101,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) { @@ -8019,79 +7124,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) { @@ -8104,12 +7188,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(); } @@ -8118,16 +7202,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; @@ -8142,14 +7226,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), @@ -8157,7 +7240,6 @@ public enum TypeCase STORED_TYPE(5), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -8173,35 +7255,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
@@ -8212,7 +7287,6 @@ public TypeCase getTypeCase() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -8220,8 +7294,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
@@ -8232,7 +7304,6 @@ public boolean hasInfoType() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ @java.lang.Override @@ -8240,8 +7311,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
@@ -8261,8 +7330,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
@@ -8270,16 +7337,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
@@ -8287,27 +7350,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 @@ -8315,26 +7372,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.
    * 
@@ -8344,21 +7396,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 @@ -8366,26 +7415,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.
    * 
@@ -8395,22 +7439,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 @@ -8418,27 +7459,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.
@@ -8447,25 +7483,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 @@ -8473,27 +7505,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`.
@@ -8504,7 +7531,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();
   }
@@ -8512,8 +7539,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
@@ -8523,13 +7548,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
@@ -8539,13 +7561,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
@@ -8559,8 +7579,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
@@ -8574,8 +7592,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
@@ -8593,45 +7609,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; @@ -8643,7 +7647,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -8665,9 +7670,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); @@ -8680,38 +7683,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; @@ -8721,7 +7722,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); @@ -8730,24 +7731,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: @@ -8800,104 +7807,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.
@@ -8905,23 +7905,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()
@@ -8929,17 +7927,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();
@@ -8965,9 +7963,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
@@ -8986,8 +7984,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_;
@@ -9042,39 +8039,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;
@@ -9107,10 +8103,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_);
           }
@@ -9120,30 +8115,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();
@@ -9173,12 +8163,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() {
@@ -9192,13 +8182,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
@@ -9209,15 +8194,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
@@ -9228,21 +8210,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
@@ -9268,8 +8245,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
@@ -9281,7 +8256,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();
@@ -9292,8 +8268,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
@@ -9309,9 +8283,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;
         }
@@ -9323,8 +8295,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
@@ -9348,8 +8318,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
@@ -9362,13 +8330,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
@@ -9384,14 +8350,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
@@ -9404,17 +8367,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_;
@@ -9422,8 +8382,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
@@ -9431,16 +8389,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
@@ -9448,19 +8402,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
@@ -9468,19 +8419,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
@@ -9488,7 +8435,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. */ @@ -9496,14 +8442,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
@@ -9511,30 +8455,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 @@ -9542,14 +8479,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 @@ -9567,8 +8501,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9589,8 +8521,6 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9609,8 +8539,6 @@ public Builder setDictionary( return this; } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9619,13 +8547,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; } @@ -9641,8 +8566,6 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9666,8 +8589,6 @@ public Builder clearDictionary() { return this; } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9678,8 +8599,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9698,8 +8617,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** - * - * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -9707,44 +8624,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 @@ -9752,14 +8657,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 @@ -9777,8 +8679,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9799,8 +8699,6 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9819,8 +8717,6 @@ public Builder setRegex( return this; } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9829,13 +8725,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; } @@ -9851,8 +8744,6 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9876,8 +8767,6 @@ public Builder clearRegex() { return this; } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9888,8 +8777,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9908,8 +8795,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** - * - * *
      * Regular expression based CustomInfoType.
      * 
@@ -9917,45 +8802,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 @@ -9963,15 +8836,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 @@ -9989,8 +8859,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType() } } /** - * - * *
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -10012,8 +8880,6 @@ public Builder setSurrogateType(com.google.privacy.dlp.v2.CustomInfoType.Surroga
       return this;
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -10033,8 +8899,6 @@ public Builder setSurrogateType(
       return this;
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -10042,17 +8906,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;
         }
@@ -10068,8 +8927,6 @@ public Builder mergeSurrogateType(
       return this;
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -10094,8 +8951,6 @@ public Builder clearSurrogateType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -10103,13 +8958,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.
@@ -10118,8 +8970,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 {
@@ -10130,8 +8981,6 @@ public Builder clearSurrogateType() {
       }
     }
     /**
-     *
-     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -10140,45 +8989,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 @@ -10186,15 +9023,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 @@ -10212,8 +9046,6 @@ public com.google.privacy.dlp.v2.StoredType getStoredType() { } } /** - * - * *
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -10235,8 +9067,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`.
@@ -10244,7 +9074,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();
@@ -10255,8 +9086,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`.
@@ -10266,12 +9095,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;
         }
@@ -10287,8 +9114,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`.
@@ -10313,8 +9138,6 @@ public Builder clearStoredType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -10326,8 +9149,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`.
@@ -10347,8 +9168,6 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -10357,60 +9176,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 { @@ -10418,16 +9223,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) { @@ -10437,16 +9239,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) { @@ -10456,16 +9255,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) { @@ -10482,16 +9278,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) { @@ -10505,16 +9298,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) { @@ -10530,16 +9320,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) { @@ -10556,16 +9343,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) { @@ -10579,16 +9363,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) { @@ -10602,23 +9383,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); @@ -10626,16 +9404,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) { @@ -10648,16 +9423,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) { @@ -10670,55 +9442,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 { @@ -10726,68 +9488,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(), @@ -10799,71 +9544,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. */ @@ -10871,32 +9600,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); } @@ -10906,12 +9632,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(); } @@ -10920,16 +9646,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; @@ -10944,4 +9670,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/DataProfileAction.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileAction.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileAction.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileAction.java index ce6f3e9e..699a1956 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileAction.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileAction.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 task to execute when a data profile has been generated.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction} */ -public final class DataProfileAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataProfileAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileAction) DataProfileActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataProfileAction.newBuilder() to construct. private DataProfileAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DataProfileAction() {} + private DataProfileAction() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataProfileAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DataProfileAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,52 +52,41 @@ private DataProfileAction( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.DataProfileAction.Export.Builder subBuilder = null; - if (actionCase_ == 1) { - subBuilder = - ((com.google.privacy.dlp.v2.DataProfileAction.Export) action_).toBuilder(); - } - action_ = - input.readMessage( - com.google.privacy.dlp.v2.DataProfileAction.Export.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.Export) action_); - action_ = subBuilder.buildPartial(); - } - actionCase_ = 1; - break; + case 10: { + com.google.privacy.dlp.v2.DataProfileAction.Export.Builder subBuilder = null; + if (actionCase_ == 1) { + subBuilder = ((com.google.privacy.dlp.v2.DataProfileAction.Export) action_).toBuilder(); } - case 18: - { - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder subBuilder = - null; - if (actionCase_ == 2) { - subBuilder = - ((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_) - .toBuilder(); - } - action_ = - input.readMessage( - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); - action_ = subBuilder.buildPartial(); - } - actionCase_ = 2; - break; + action_ = + input.readMessage(com.google.privacy.dlp.v2.DataProfileAction.Export.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.Export) action_); + action_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + actionCase_ = 1; + break; + } + case 18: { + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder subBuilder = null; + if (actionCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_).toBuilder(); } + action_ = + input.readMessage(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); + action_ = subBuilder.buildPartial(); + } + actionCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,41 +94,36 @@ private DataProfileAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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_DataProfileAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileAction.class, - com.google.privacy.dlp.v2.DataProfileAction.Builder.class); + com.google.privacy.dlp.v2.DataProfileAction.class, com.google.privacy.dlp.v2.DataProfileAction.Builder.class); } /** - * - * *
    * Types of event that can trigger an action.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.DataProfileAction.EventType} */ - public enum EventType implements com.google.protobuf.ProtocolMessageEnum { + public enum EventType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unused.
      * 
@@ -164,8 +132,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
      * New profile (not a re-profile).
      * 
@@ -174,8 +140,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ NEW_PROFILE(1), /** - * - * *
      * Changed one of the following profile metrics:
      * * Table data risk score
@@ -190,8 +154,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     CHANGED_PROFILE(2),
     /**
-     *
-     *
      * 
      * Table data risk score or sensitivity score increased.
      * 
@@ -200,8 +162,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ SCORE_INCREASED(3), /** - * - * *
      * A user (non-internal) error occurred.
      * 
@@ -213,8 +173,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unused.
      * 
@@ -223,8 +181,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * New profile (not a re-profile).
      * 
@@ -233,8 +189,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NEW_PROFILE_VALUE = 1; /** - * - * *
      * Changed one of the following profile metrics:
      * * Table data risk score
@@ -249,8 +203,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CHANGED_PROFILE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Table data risk score or sensitivity score increased.
      * 
@@ -259,8 +211,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCORE_INCREASED_VALUE = 3; /** - * - * *
      * A user (non-internal) error occurred.
      * 
@@ -269,6 +219,7 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_CHANGED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -293,53 +244,51 @@ public static EventType valueOf(int value) { */ public static EventType forNumber(int value) { switch (value) { - case 0: - return EVENT_TYPE_UNSPECIFIED; - case 1: - return NEW_PROFILE; - case 2: - return CHANGED_PROFILE; - case 3: - return SCORE_INCREASED; - case 4: - return ERROR_CHANGED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return EVENT_TYPE_UNSPECIFIED; + case 1: return NEW_PROFILE; + case 2: return CHANGED_PROFILE; + case 3: return SCORE_INCREASED; + case 4: return ERROR_CHANGED; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EventType findValueByNumber(int number) { - return EventType.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + EventType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EventType findValueByNumber(int number) { + return EventType.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.DataProfileAction.getDescriptor().getEnumTypes().get(0); } private static final EventType[] VALUES = values(); - public static EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EventType 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; @@ -356,14 +305,11 @@ private EventType(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.DataProfileAction.EventType) } - public interface ExportOrBuilder - extends + public interface ExportOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileAction.Export) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -371,13 +317,10 @@ public interface ExportOrBuilder
      * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; - * * @return Whether the profileTable field is set. */ boolean hasProfileTable(); /** - * - * *
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -385,13 +328,10 @@ public interface ExportOrBuilder
      * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; - * * @return The profileTable. */ com.google.privacy.dlp.v2.BigQueryTable getProfileTable(); /** - * - * *
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -403,8 +343,6 @@ public interface ExportOrBuilder
     com.google.privacy.dlp.v2.BigQueryTableOrBuilder getProfileTableOrBuilder();
   }
   /**
-   *
-   *
    * 
    * If set, the detailed data profiles will be persisted to the location
    * of your choice whenever updated.
@@ -412,29 +350,30 @@ public interface ExportOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction.Export}
    */
-  public static final class Export extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Export extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileAction.Export)
       ExportOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Export.newBuilder() to construct.
     private Export(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Export() {}
+    private Export() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Export();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Export(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -453,29 +392,26 @@ private Export(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
-                if (profileTable_ != null) {
-                  subBuilder = profileTable_.toBuilder();
-                }
-                profileTable_ =
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(profileTable_);
-                  profileTable_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
+              if (profileTable_ != null) {
+                subBuilder = profileTable_.toBuilder();
+              }
+              profileTable_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(profileTable_);
+                profileTable_ = 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) {
@@ -483,33 +419,29 @@ private Export(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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_DataProfileAction_Export_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DataProfileAction.Export.class,
-              com.google.privacy.dlp.v2.DataProfileAction.Export.Builder.class);
+              com.google.privacy.dlp.v2.DataProfileAction.Export.class, com.google.privacy.dlp.v2.DataProfileAction.Export.Builder.class);
     }
 
     public static final int PROFILE_TABLE_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.BigQueryTable profileTable_;
     /**
-     *
-     *
      * 
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -517,7 +449,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; - * * @return Whether the profileTable field is set. */ @java.lang.Override @@ -525,8 +456,6 @@ public boolean hasProfileTable() { return profileTable_ != null; } /** - * - * *
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -534,18 +463,13 @@ public boolean hasProfileTable() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; - * * @return The profileTable. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getProfileTable() { - return profileTable_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : profileTable_; + return profileTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : profileTable_; } /** - * - * *
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -560,7 +484,6 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getProfileTableOrBuilder
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -572,7 +495,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (profileTable_ != null) {
         output.writeMessage(1, getProfileTable());
       }
@@ -586,7 +510,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (profileTable_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProfileTable());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getProfileTable());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -596,17 +521,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.DataProfileAction.Export)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.DataProfileAction.Export other =
-          (com.google.privacy.dlp.v2.DataProfileAction.Export) obj;
+      com.google.privacy.dlp.v2.DataProfileAction.Export other = (com.google.privacy.dlp.v2.DataProfileAction.Export) obj;
 
       if (hasProfileTable() != other.hasProfileTable()) return false;
       if (hasProfileTable()) {
-        if (!getProfileTable().equals(other.getProfileTable())) return false;
+        if (!getProfileTable()
+            .equals(other.getProfileTable())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -629,93 +554,87 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
-        java.nio.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.DataProfileAction.Export parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.privacy.dlp.v2.DataProfileAction.Export parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.privacy.dlp.v2.DataProfileAction.Export parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileAction.Export prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -725,8 +644,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * If set, the detailed data profiles will be persisted to the location
      * of your choice whenever updated.
@@ -734,24 +651,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction.Export}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileAction.Export)
         com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.DataProfileAction.Export.class,
-                com.google.privacy.dlp.v2.DataProfileAction.Export.Builder.class);
+                com.google.privacy.dlp.v2.DataProfileAction.Export.class, com.google.privacy.dlp.v2.DataProfileAction.Export.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.DataProfileAction.Export.newBuilder()
@@ -759,15 +673,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -781,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_DataProfileAction_Export_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor;
       }
 
       @java.lang.Override
@@ -802,8 +717,7 @@ public com.google.privacy.dlp.v2.DataProfileAction.Export build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.DataProfileAction.Export buildPartial() {
-        com.google.privacy.dlp.v2.DataProfileAction.Export result =
-            new com.google.privacy.dlp.v2.DataProfileAction.Export(this);
+        com.google.privacy.dlp.v2.DataProfileAction.Export result = new com.google.privacy.dlp.v2.DataProfileAction.Export(this);
         if (profileTableBuilder_ == null) {
           result.profileTable_ = profileTable_;
         } else {
@@ -817,41 +731,38 @@ public com.google.privacy.dlp.v2.DataProfileAction.Export buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.privacy.dlp.v2.DataProfileAction.Export) {
-          return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.Export) other);
+          return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.Export)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -859,8 +770,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileAction.Export other) {
-        if (other == com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance())
-          return this;
+        if (other == com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance()) return this;
         if (other.hasProfileTable()) {
           mergeProfileTable(other.getProfileTable());
         }
@@ -883,8 +793,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.DataProfileAction.Export) e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.DataProfileAction.Export) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -896,13 +805,8 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.BigQueryTable profileTable_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.BigQueryTable,
-              com.google.privacy.dlp.v2.BigQueryTable.Builder,
-              com.google.privacy.dlp.v2.BigQueryTableOrBuilder>
-          profileTableBuilder_;
+          com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> profileTableBuilder_;
       /**
-       *
-       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -910,15 +814,12 @@ public Builder mergeFrom(
        * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; - * * @return Whether the profileTable field is set. */ public boolean hasProfileTable() { return profileTableBuilder_ != null || profileTable_ != null; } /** - * - * *
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -926,21 +827,16 @@ public boolean hasProfileTable() {
        * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; - * * @return The profileTable. */ public com.google.privacy.dlp.v2.BigQueryTable getProfileTable() { if (profileTableBuilder_ == null) { - return profileTable_ == null - ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() - : profileTable_; + return profileTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : profileTable_; } else { return profileTableBuilder_.getMessage(); } } /** - * - * *
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -963,8 +859,6 @@ public Builder setProfileTable(com.google.privacy.dlp.v2.BigQueryTable value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -985,8 +879,6 @@ public Builder setProfileTable(
         return this;
       }
       /**
-       *
-       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -999,9 +891,7 @@ public Builder mergeProfileTable(com.google.privacy.dlp.v2.BigQueryTable value)
         if (profileTableBuilder_ == null) {
           if (profileTable_ != null) {
             profileTable_ =
-                com.google.privacy.dlp.v2.BigQueryTable.newBuilder(profileTable_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.privacy.dlp.v2.BigQueryTable.newBuilder(profileTable_).mergeFrom(value).buildPartial();
           } else {
             profileTable_ = value;
           }
@@ -1013,8 +903,6 @@ public Builder mergeProfileTable(com.google.privacy.dlp.v2.BigQueryTable value)
         return this;
       }
       /**
-       *
-       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -1035,8 +923,6 @@ public Builder clearProfileTable() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -1046,13 +932,11 @@ public Builder clearProfileTable() {
        * .google.privacy.dlp.v2.BigQueryTable profile_table = 1;
        */
       public com.google.privacy.dlp.v2.BigQueryTable.Builder getProfileTableBuilder() {
-
+        
         onChanged();
         return getProfileTableFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -1065,14 +949,11 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getProfileTableOrBuilder
         if (profileTableBuilder_ != null) {
           return profileTableBuilder_.getMessageOrBuilder();
         } else {
-          return profileTable_ == null
-              ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()
-              : profileTable_;
+          return profileTable_ == null ?
+              com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : profileTable_;
         }
       }
       /**
-       *
-       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -1082,22 +963,18 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getProfileTableOrBuilder
        * .google.privacy.dlp.v2.BigQueryTable profile_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> 
           getProfileTableFieldBuilder() {
         if (profileTableBuilder_ == null) {
-          profileTableBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.BigQueryTable,
-                  com.google.privacy.dlp.v2.BigQueryTable.Builder,
-                  com.google.privacy.dlp.v2.BigQueryTableOrBuilder>(
-                  getProfileTable(), getParentForChildren(), isClean());
+          profileTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>(
+                  getProfileTable(),
+                  getParentForChildren(),
+                  isClean());
           profileTable_ = null;
         }
         return profileTableBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1110,12 +987,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileAction.Export)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileAction.Export)
     private static final com.google.privacy.dlp.v2.DataProfileAction.Export DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileAction.Export();
     }
@@ -1124,16 +1001,16 @@ public static com.google.privacy.dlp.v2.DataProfileAction.Export getDefaultInsta
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Export parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new Export(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Export parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new Export(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1148,96 +1025,77 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.DataProfileAction.Export getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface PubSubNotificationOrBuilder
-      extends
+  public interface PubSubNotificationOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileAction.PubSubNotification)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Cloud Pub/Sub topic to send notifications to.
      * Format is projects/{project}/topics/{topic}.
      * 
* * string topic = 1; - * * @return The topic. */ java.lang.String getTopic(); /** - * - * *
      * Cloud Pub/Sub topic to send notifications to.
      * Format is projects/{project}/topics/{topic}.
      * 
* * string topic = 1; - * * @return The bytes for topic. */ - com.google.protobuf.ByteString getTopicBytes(); + com.google.protobuf.ByteString + getTopicBytes(); /** - * - * *
      * The type of event that triggers a Pub/Sub. At most one
      * `PubSubNotification` per EventType is permitted.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The enum numeric value on the wire for event. */ int getEventValue(); /** - * - * *
      * The type of event that triggers a Pub/Sub. At most one
      * `PubSubNotification` per EventType is permitted.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The event. */ com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent(); /** - * - * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
      * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; - * * @return Whether the pubsubCondition field is set. */ boolean hasPubsubCondition(); /** - * - * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
      * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; - * * @return The pubsubCondition. */ com.google.privacy.dlp.v2.DataProfilePubSubCondition getPubsubCondition(); /** - * - * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
@@ -1248,41 +1106,29 @@ public interface PubSubNotificationOrBuilder
     com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder getPubsubConditionOrBuilder();
 
     /**
-     *
-     *
      * 
      * How much data to include in the Pub/Sub message. If the user wishes to
      * limit the size of the message, they can use resource_name and fetch the
      * profile fields they wish to. Per table profile (not per column).
      * 
* - * - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; * @return The enum numeric value on the wire for detailOfMessage. */ int getDetailOfMessageValue(); /** - * - * *
      * How much data to include in the Pub/Sub message. If the user wishes to
      * limit the size of the message, they can use resource_name and fetch the
      * profile fields they wish to. Per table profile (not per column).
      * 
* - * - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; * @return The detailOfMessage. */ com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel getDetailOfMessage(); } /** - * - * *
    * Send a Pub/Sub message into the given Pub/Sub topic to connect other
    * systems to data profile generation. The message payload data will
@@ -1291,16 +1137,15 @@ public interface PubSubNotificationOrBuilder
    *
    * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction.PubSubNotification}
    */
-  public static final class PubSubNotification extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PubSubNotification extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileAction.PubSubNotification)
       PubSubNotificationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PubSubNotification.newBuilder() to construct.
     private PubSubNotification(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PubSubNotification() {
       topic_ = "";
       event_ = 0;
@@ -1309,15 +1154,16 @@ private PubSubNotification() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PubSubNotification();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private PubSubNotification(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1336,51 +1182,44 @@ private PubSubNotification(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                topic_ = s;
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+              topic_ = s;
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
 
-                event_ = rawValue;
-                break;
+              event_ = rawValue;
+              break;
+            }
+            case 26: {
+              com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder subBuilder = null;
+              if (pubsubCondition_ != null) {
+                subBuilder = pubsubCondition_.toBuilder();
               }
-            case 26:
-              {
-                com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder subBuilder = null;
-                if (pubsubCondition_ != null) {
-                  subBuilder = pubsubCondition_.toBuilder();
-                }
-                pubsubCondition_ =
-                    input.readMessage(
-                        com.google.privacy.dlp.v2.DataProfilePubSubCondition.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(pubsubCondition_);
-                  pubsubCondition_ = subBuilder.buildPartial();
-                }
-
-                break;
+              pubsubCondition_ = input.readMessage(com.google.privacy.dlp.v2.DataProfilePubSubCondition.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(pubsubCondition_);
+                pubsubCondition_ = subBuilder.buildPartial();
               }
-            case 32:
-              {
-                int rawValue = input.readEnum();
 
-                detailOfMessage_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              break;
+            }
+            case 32: {
+              int rawValue = input.readEnum();
+
+              detailOfMessage_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1388,41 +1227,36 @@ private PubSubNotification(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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_DataProfileAction_PubSubNotification_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.class,
-              com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder.class);
+              com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.class, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * The levels of detail that can be included in the Pub/Sub message.
      * 
* * Protobuf enum {@code google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel} */ - public enum DetailLevel implements com.google.protobuf.ProtocolMessageEnum { + public enum DetailLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unused.
        * 
@@ -1431,8 +1265,6 @@ public enum DetailLevel implements com.google.protobuf.ProtocolMessageEnum { */ DETAIL_LEVEL_UNSPECIFIED(0), /** - * - * *
        * The full table data profile.
        * 
@@ -1441,8 +1273,6 @@ public enum DetailLevel implements com.google.protobuf.ProtocolMessageEnum { */ TABLE_PROFILE(1), /** - * - * *
        * The resource name of the table.
        * 
@@ -1454,8 +1284,6 @@ public enum DetailLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unused.
        * 
@@ -1464,8 +1292,6 @@ public enum DetailLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DETAIL_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The full table data profile.
        * 
@@ -1474,8 +1300,6 @@ public enum DetailLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_PROFILE_VALUE = 1; /** - * - * *
        * The resource name of the table.
        * 
@@ -1484,6 +1308,7 @@ public enum DetailLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESOURCE_NAME_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1508,51 +1333,49 @@ public static DetailLevel valueOf(int value) { */ public static DetailLevel forNumber(int value) { switch (value) { - case 0: - return DETAIL_LEVEL_UNSPECIFIED; - case 1: - return TABLE_PROFILE; - case 2: - return RESOURCE_NAME; - default: - return null; + case 0: return DETAIL_LEVEL_UNSPECIFIED; + case 1: return TABLE_PROFILE; + case 2: return RESOURCE_NAME; + 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< + DetailLevel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DetailLevel findValueByNumber(int number) { + return DetailLevel.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DetailLevel findValueByNumber(int number) { - return DetailLevel.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.DataProfileAction.PubSubNotification.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDescriptor().getEnumTypes().get(0); } private static final DetailLevel[] VALUES = values(); - public static DetailLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DetailLevel 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; @@ -1572,15 +1395,12 @@ private DetailLevel(int value) { public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** - * - * *
      * Cloud Pub/Sub topic to send notifications to.
      * Format is projects/{project}/topics/{topic}.
      * 
* * string topic = 1; - * * @return The topic. */ @java.lang.Override @@ -1589,30 +1409,30 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** - * - * *
      * Cloud Pub/Sub topic to send notifications to.
      * Format is projects/{project}/topics/{topic}.
      * 
* * 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 { @@ -1623,55 +1443,41 @@ public com.google.protobuf.ByteString getTopicBytes() { public static final int EVENT_FIELD_NUMBER = 2; private int event_; /** - * - * *
      * The type of event that triggers a Pub/Sub. At most one
      * `PubSubNotification` per EventType is permitted.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The enum numeric value on the wire for event. */ - @java.lang.Override - public int getEventValue() { + @java.lang.Override public int getEventValue() { return event_; } /** - * - * *
      * The type of event that triggers a Pub/Sub. At most one
      * `PubSubNotification` per EventType is permitted.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The event. */ - @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { + @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.EventType result = - com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); - return result == null - ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfileAction.EventType result = com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); + return result == null ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED : result; } public static final int PUBSUB_CONDITION_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.DataProfilePubSubCondition pubsubCondition_; /** - * - * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
      * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; - * * @return Whether the pubsubCondition field is set. */ @java.lang.Override @@ -1679,26 +1485,19 @@ public boolean hasPubsubCondition() { return pubsubCondition_ != null; } /** - * - * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
      * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; - * * @return The pubsubCondition. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition getPubsubCondition() { - return pubsubCondition_ == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance() - : pubsubCondition_; + return pubsubCondition_ == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance() : pubsubCondition_; } /** - * - * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
@@ -1707,61 +1506,42 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition getPubsubCondition()
      * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder
-        getPubsubConditionOrBuilder() {
+    public com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder getPubsubConditionOrBuilder() {
       return getPubsubCondition();
     }
 
     public static final int DETAIL_OF_MESSAGE_FIELD_NUMBER = 4;
     private int detailOfMessage_;
     /**
-     *
-     *
      * 
      * How much data to include in the Pub/Sub message. If the user wishes to
      * limit the size of the message, they can use resource_name and fetch the
      * profile fields they wish to. Per table profile (not per column).
      * 
* - * - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; * @return The enum numeric value on the wire for detailOfMessage. */ - @java.lang.Override - public int getDetailOfMessageValue() { + @java.lang.Override public int getDetailOfMessageValue() { return detailOfMessage_; } /** - * - * *
      * How much data to include in the Pub/Sub message. If the user wishes to
      * limit the size of the message, they can use resource_name and fetch the
      * profile fields they wish to. Per table profile (not per column).
      * 
* - * - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; * @return The detailOfMessage. */ - @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel - getDetailOfMessage() { + @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel getDetailOfMessage() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel result = - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.valueOf( - detailOfMessage_); - return result == null - ? com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel result = com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.valueOf(detailOfMessage_); + return result == null ? com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1773,22 +1553,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } - if (event_ - != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED - .getNumber()) { + if (event_ != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, event_); } if (pubsubCondition_ != null) { output.writeMessage(3, getPubsubCondition()); } - if (detailOfMessage_ - != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel - .DETAIL_LEVEL_UNSPECIFIED - .getNumber()) { + if (detailOfMessage_ != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.DETAIL_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(4, detailOfMessage_); } unknownFields.writeTo(output); @@ -1803,19 +1579,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); } - if (event_ - != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, event_); + if (event_ != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, event_); } if (pubsubCondition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPubsubCondition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPubsubCondition()); } - if (detailOfMessage_ - != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel - .DETAIL_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, detailOfMessage_); + if (detailOfMessage_ != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.DETAIL_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, detailOfMessage_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1825,19 +1599,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.DataProfileAction.PubSubNotification)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification other = - (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) obj; + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification other = (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) obj; - if (!getTopic().equals(other.getTopic())) return false; + if (!getTopic() + .equals(other.getTopic())) return false; if (event_ != other.event_) return false; if (hasPubsubCondition() != other.hasPubsubCondition()) return false; if (hasPubsubCondition()) { - if (!getPubsubCondition().equals(other.getPubsubCondition())) return false; + if (!getPubsubCondition() + .equals(other.getPubsubCondition())) return false; } if (detailOfMessage_ != other.detailOfMessage_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1867,94 +1642,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( - java.nio.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.DataProfileAction.PubSubNotification parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1964,8 +1732,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Send a Pub/Sub message into the given Pub/Sub topic to connect other
      * systems to data profile generation. The message payload data will
@@ -1974,24 +1740,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction.PubSubNotification}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileAction.PubSubNotification)
         com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto
-            .internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.class,
-                com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder.class);
+                com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.class, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.newBuilder()
@@ -1999,15 +1762,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2027,14 +1791,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_DataProfileAction_PubSubNotification_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification
-          getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance();
       }
 
@@ -2049,8 +1812,7 @@ public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification buildPartial() {
-        com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification result =
-            new com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification(this);
+        com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification result = new com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification(this);
         result.topic_ = topic_;
         result.event_ = event_;
         if (pubsubConditionBuilder_ == null) {
@@ -2067,52 +1829,46 @@ public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification 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.DataProfileAction.PubSubNotification) {
-          return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) other);
+          return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification other) {
-        if (other
-            == com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance())
-          return this;
+      public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification other) {
+        if (other == com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance()) return this;
         if (!other.getTopic().isEmpty()) {
           topic_ = other.topic_;
           onChanged();
@@ -2145,9 +1901,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -2159,21 +1913,19 @@ public Builder mergeFrom(
 
       private java.lang.Object topic_ = "";
       /**
-       *
-       *
        * 
        * Cloud Pub/Sub topic to send notifications to.
        * Format is projects/{project}/topics/{topic}.
        * 
* * 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; @@ -2182,22 +1934,21 @@ public java.lang.String getTopic() { } } /** - * - * *
        * Cloud Pub/Sub topic to send notifications to.
        * Format is projects/{project}/topics/{topic}.
        * 
* * 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 { @@ -2205,64 +1956,57 @@ public com.google.protobuf.ByteString getTopicBytes() { } } /** - * - * *
        * Cloud Pub/Sub topic to send notifications to.
        * Format is projects/{project}/topics/{topic}.
        * 
* * 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.
        * Format is projects/{project}/topics/{topic}.
        * 
* * 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.
        * Format is projects/{project}/topics/{topic}.
        * 
* * 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; @@ -2270,71 +2014,55 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { private int event_ = 0; /** - * - * *
        * The type of event that triggers a Pub/Sub. At most one
        * `PubSubNotification` per EventType is permitted.
        * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The enum numeric value on the wire for event. */ - @java.lang.Override - public int getEventValue() { + @java.lang.Override public int getEventValue() { return event_; } /** - * - * *
        * The type of event that triggers a Pub/Sub. At most one
        * `PubSubNotification` per EventType is permitted.
        * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @param value The enum numeric value on the wire for event to set. * @return This builder for chaining. */ public Builder setEventValue(int value) { - + event_ = value; onChanged(); return this; } /** - * - * *
        * The type of event that triggers a Pub/Sub. At most one
        * `PubSubNotification` per EventType is permitted.
        * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The event. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.EventType result = - com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); - return result == null - ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfileAction.EventType result = com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); + return result == null ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED : result; } /** - * - * *
        * The type of event that triggers a Pub/Sub. At most one
        * `PubSubNotification` per EventType is permitted.
        * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @param value The event to set. * @return This builder for chaining. */ @@ -2342,25 +2070,22 @@ public Builder setEvent(com.google.privacy.dlp.v2.DataProfileAction.EventType va if (value == null) { throw new NullPointerException(); } - + event_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The type of event that triggers a Pub/Sub. At most one
        * `PubSubNotification` per EventType is permitted.
        * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return This builder for chaining. */ public Builder clearEvent() { - + event_ = 0; onChanged(); return this; @@ -2368,49 +2093,36 @@ public Builder clearEvent() { private com.google.privacy.dlp.v2.DataProfilePubSubCondition pubsubCondition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder, - com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder> - pubsubConditionBuilder_; + com.google.privacy.dlp.v2.DataProfilePubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder> pubsubConditionBuilder_; /** - * - * *
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
        * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; - * * @return Whether the pubsubCondition field is set. */ public boolean hasPubsubCondition() { return pubsubConditionBuilder_ != null || pubsubCondition_ != null; } /** - * - * *
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
        * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; - * * @return The pubsubCondition. */ public com.google.privacy.dlp.v2.DataProfilePubSubCondition getPubsubCondition() { if (pubsubConditionBuilder_ == null) { - return pubsubCondition_ == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance() - : pubsubCondition_; + return pubsubCondition_ == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance() : pubsubCondition_; } else { return pubsubConditionBuilder_.getMessage(); } } /** - * - * *
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2418,8 +2130,7 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition getPubsubCondition()
        *
        * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
        */
-      public Builder setPubsubCondition(
-          com.google.privacy.dlp.v2.DataProfilePubSubCondition value) {
+      public Builder setPubsubCondition(com.google.privacy.dlp.v2.DataProfilePubSubCondition value) {
         if (pubsubConditionBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2433,8 +2144,6 @@ public Builder setPubsubCondition(
         return this;
       }
       /**
-       *
-       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2454,8 +2163,6 @@ public Builder setPubsubCondition(
         return this;
       }
       /**
-       *
-       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2463,14 +2170,11 @@ public Builder setPubsubCondition(
        *
        * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
        */
-      public Builder mergePubsubCondition(
-          com.google.privacy.dlp.v2.DataProfilePubSubCondition value) {
+      public Builder mergePubsubCondition(com.google.privacy.dlp.v2.DataProfilePubSubCondition value) {
         if (pubsubConditionBuilder_ == null) {
           if (pubsubCondition_ != null) {
             pubsubCondition_ =
-                com.google.privacy.dlp.v2.DataProfilePubSubCondition.newBuilder(pubsubCondition_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.privacy.dlp.v2.DataProfilePubSubCondition.newBuilder(pubsubCondition_).mergeFrom(value).buildPartial();
           } else {
             pubsubCondition_ = value;
           }
@@ -2482,8 +2186,6 @@ public Builder mergePubsubCondition(
         return this;
       }
       /**
-       *
-       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2503,8 +2205,6 @@ public Builder clearPubsubCondition() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2512,15 +2212,12 @@ public Builder clearPubsubCondition() {
        *
        * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
        */
-      public com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder
-          getPubsubConditionBuilder() {
-
+      public com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder getPubsubConditionBuilder() {
+        
         onChanged();
         return getPubsubConditionFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2528,19 +2225,15 @@ public Builder clearPubsubCondition() {
        *
        * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
        */
-      public com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder
-          getPubsubConditionOrBuilder() {
+      public com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder getPubsubConditionOrBuilder() {
         if (pubsubConditionBuilder_ != null) {
           return pubsubConditionBuilder_.getMessageOrBuilder();
         } else {
-          return pubsubCondition_ == null
-              ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance()
-              : pubsubCondition_;
+          return pubsubCondition_ == null ?
+              com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance() : pubsubCondition_;
         }
       }
       /**
-       *
-       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2549,17 +2242,14 @@ public Builder clearPubsubCondition() {
        * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.DataProfilePubSubCondition,
-              com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder,
-              com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder>
+          com.google.privacy.dlp.v2.DataProfilePubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder> 
           getPubsubConditionFieldBuilder() {
         if (pubsubConditionBuilder_ == null) {
-          pubsubConditionBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.privacy.dlp.v2.DataProfilePubSubCondition,
-                  com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder,
-                  com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder>(
-                  getPubsubCondition(), getParentForChildren(), isClean());
+          pubsubConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.privacy.dlp.v2.DataProfilePubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder>(
+                  getPubsubCondition(),
+                  getParentForChildren(),
+                  isClean());
           pubsubCondition_ = null;
         }
         return pubsubConditionBuilder_;
@@ -2567,121 +2257,87 @@ public Builder clearPubsubCondition() {
 
       private int detailOfMessage_ = 0;
       /**
-       *
-       *
        * 
        * How much data to include in the Pub/Sub message. If the user wishes to
        * limit the size of the message, they can use resource_name and fetch the
        * profile fields they wish to. Per table profile (not per column).
        * 
* - * - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; * @return The enum numeric value on the wire for detailOfMessage. */ - @java.lang.Override - public int getDetailOfMessageValue() { + @java.lang.Override public int getDetailOfMessageValue() { return detailOfMessage_; } /** - * - * *
        * How much data to include in the Pub/Sub message. If the user wishes to
        * limit the size of the message, they can use resource_name and fetch the
        * profile fields they wish to. Per table profile (not per column).
        * 
* - * - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; * @param value The enum numeric value on the wire for detailOfMessage to set. * @return This builder for chaining. */ public Builder setDetailOfMessageValue(int value) { - + detailOfMessage_ = value; onChanged(); return this; } /** - * - * *
        * How much data to include in the Pub/Sub message. If the user wishes to
        * limit the size of the message, they can use resource_name and fetch the
        * profile fields they wish to. Per table profile (not per column).
        * 
* - * - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; * @return The detailOfMessage. */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel - getDetailOfMessage() { + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel getDetailOfMessage() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel result = - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.valueOf( - detailOfMessage_); - return result == null - ? com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel - .UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel result = com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.valueOf(detailOfMessage_); + return result == null ? com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.UNRECOGNIZED : result; } /** - * - * *
        * How much data to include in the Pub/Sub message. If the user wishes to
        * limit the size of the message, they can use resource_name and fetch the
        * profile fields they wish to. Per table profile (not per column).
        * 
* - * - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; * @param value The detailOfMessage to set. * @return This builder for chaining. */ - public Builder setDetailOfMessage( - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel value) { + public Builder setDetailOfMessage(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel value) { if (value == null) { throw new NullPointerException(); } - + detailOfMessage_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * How much data to include in the Pub/Sub message. If the user wishes to
        * limit the size of the message, they can use resource_name and fetch the
        * profile fields they wish to. Per table profile (not per column).
        * 
* - * - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; * @return This builder for chaining. */ public Builder clearDetailOfMessage() { - + detailOfMessage_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2694,32 +2350,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileAction.PubSubNotification) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileAction.PubSubNotification) - private static final com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification(); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification - getDefaultInstance() { + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PubSubNotification parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PubSubNotification(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubSubNotification parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PubSubNotification(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2731,24 +2385,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification 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 { EXPORT_DATA(1), PUB_SUB_NOTIFICATION(2), ACTION_NOT_SET(0); private final int value; - private ActionCase(int value) { this.value = value; } @@ -2764,36 +2415,30 @@ public static ActionCase valueOf(int value) { public static ActionCase forNumber(int value) { switch (value) { - case 1: - return EXPORT_DATA; - case 2: - return PUB_SUB_NOTIFICATION; - case 0: - return ACTION_NOT_SET; - default: - return null; + case 1: return EXPORT_DATA; + case 2: return PUB_SUB_NOTIFICATION; + 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 EXPORT_DATA_FIELD_NUMBER = 1; /** - * - * *
    * Export data profiles into a provided location.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; - * * @return Whether the exportData field is set. */ @java.lang.Override @@ -2801,26 +2446,21 @@ public boolean hasExportData() { return actionCase_ == 1; } /** - * - * *
    * Export data profiles into a provided location.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; - * * @return The exportData. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.Export getExportData() { if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.DataProfileAction.Export) action_; + return (com.google.privacy.dlp.v2.DataProfileAction.Export) action_; } return com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance(); } /** - * - * *
    * Export data profiles into a provided location.
    * 
@@ -2830,22 +2470,18 @@ public com.google.privacy.dlp.v2.DataProfileAction.Export getExportData() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder getExportDataOrBuilder() { if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.DataProfileAction.Export) action_; + return (com.google.privacy.dlp.v2.DataProfileAction.Export) action_; } return com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance(); } public static final int PUB_SUB_NOTIFICATION_FIELD_NUMBER = 2; /** - * - * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; * @return Whether the pubSubNotification field is set. */ @java.lang.Override @@ -2853,45 +2489,36 @@ public boolean hasPubSubNotification() { return actionCase_ == 2; } /** - * - * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; * @return The pubSubNotification. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getPubSubNotification() { if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_; + return (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_; } return com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance(); } /** - * - * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder - getPubSubNotificationOrBuilder() { + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder getPubSubNotificationOrBuilder() { if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_; + return (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_; } return com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2903,13 +2530,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 (actionCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.DataProfileAction.Export) action_); } if (actionCase_ == 2) { - output.writeMessage( - 2, (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); + output.writeMessage(2, (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); } unknownFields.writeTo(output); } @@ -2921,14 +2548,12 @@ public int getSerializedSize() { size = 0; if (actionCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.privacy.dlp.v2.DataProfileAction.Export) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.DataProfileAction.Export) action_); } if (actionCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2938,21 +2563,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.DataProfileAction)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfileAction other = - (com.google.privacy.dlp.v2.DataProfileAction) obj; + com.google.privacy.dlp.v2.DataProfileAction other = (com.google.privacy.dlp.v2.DataProfileAction) obj; if (!getActionCase().equals(other.getActionCase())) return false; switch (actionCase_) { case 1: - if (!getExportData().equals(other.getExportData())) return false; + if (!getExportData() + .equals(other.getExportData())) return false; break; case 2: - if (!getPubSubNotification().equals(other.getPubSubNotification())) return false; + if (!getPubSubNotification() + .equals(other.getPubSubNotification())) return false; break; case 0: default: @@ -2985,127 +2611,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DataProfileAction parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileAction parseFrom(java.io.InputStream input) 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.DataProfileAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfileAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfileAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 when a data profile has been generated.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileAction) com.google.privacy.dlp.v2.DataProfileActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileAction.class, - com.google.privacy.dlp.v2.DataProfileAction.Builder.class); + com.google.privacy.dlp.v2.DataProfileAction.class, com.google.privacy.dlp.v2.DataProfileAction.Builder.class); } // Construct using com.google.privacy.dlp.v2.DataProfileAction.newBuilder() @@ -3113,15 +2730,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3131,9 +2749,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor; } @java.lang.Override @@ -3152,8 +2770,7 @@ public com.google.privacy.dlp.v2.DataProfileAction build() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction buildPartial() { - com.google.privacy.dlp.v2.DataProfileAction result = - new com.google.privacy.dlp.v2.DataProfileAction(this); + com.google.privacy.dlp.v2.DataProfileAction result = new com.google.privacy.dlp.v2.DataProfileAction(this); if (actionCase_ == 1) { if (exportDataBuilder_ == null) { result.action_ = action_; @@ -3177,39 +2794,38 @@ public com.google.privacy.dlp.v2.DataProfileAction buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfileAction) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction) other); + return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction)other); } else { super.mergeFrom(other); return this; @@ -3219,20 +2835,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileAction other) { if (other == com.google.privacy.dlp.v2.DataProfileAction.getDefaultInstance()) return this; switch (other.getActionCase()) { - case EXPORT_DATA: - { - mergeExportData(other.getExportData()); - break; - } - case PUB_SUB_NOTIFICATION: - { - mergePubSubNotification(other.getPubSubNotification()); - break; - } - case ACTION_NOT_SET: - { - break; - } + case EXPORT_DATA: { + mergeExportData(other.getExportData()); + break; + } + case PUB_SUB_NOTIFICATION: { + mergePubSubNotification(other.getPubSubNotification()); + break; + } + case ACTION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -3262,12 +2875,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() { @@ -3277,20 +2890,15 @@ public Builder clearAction() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.Export, - com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, - com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder> - exportDataBuilder_; + com.google.privacy.dlp.v2.DataProfileAction.Export, com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder> exportDataBuilder_; /** - * - * *
      * Export data profiles into a provided location.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; - * * @return Whether the exportData field is set. */ @java.lang.Override @@ -3298,14 +2906,11 @@ public boolean hasExportData() { return actionCase_ == 1; } /** - * - * *
      * Export data profiles into a provided location.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; - * * @return The exportData. */ @java.lang.Override @@ -3323,8 +2928,6 @@ public com.google.privacy.dlp.v2.DataProfileAction.Export getExportData() { } } /** - * - * *
      * Export data profiles into a provided location.
      * 
@@ -3345,8 +2948,6 @@ public Builder setExportData(com.google.privacy.dlp.v2.DataProfileAction.Export return this; } /** - * - * *
      * Export data profiles into a provided location.
      * 
@@ -3365,8 +2966,6 @@ public Builder setExportData( return this; } /** - * - * *
      * Export data profiles into a provided location.
      * 
@@ -3375,13 +2974,10 @@ public Builder setExportData( */ public Builder mergeExportData(com.google.privacy.dlp.v2.DataProfileAction.Export value) { if (exportDataBuilder_ == null) { - if (actionCase_ == 1 - && action_ != com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance()) { - action_ = - com.google.privacy.dlp.v2.DataProfileAction.Export.newBuilder( - (com.google.privacy.dlp.v2.DataProfileAction.Export) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 1 && + action_ != com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance()) { + action_ = com.google.privacy.dlp.v2.DataProfileAction.Export.newBuilder((com.google.privacy.dlp.v2.DataProfileAction.Export) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3397,8 +2993,6 @@ public Builder mergeExportData(com.google.privacy.dlp.v2.DataProfileAction.Expor return this; } /** - * - * *
      * Export data profiles into a provided location.
      * 
@@ -3422,8 +3016,6 @@ public Builder clearExportData() { return this; } /** - * - * *
      * Export data profiles into a provided location.
      * 
@@ -3434,8 +3026,6 @@ public com.google.privacy.dlp.v2.DataProfileAction.Export.Builder getExportDataB return getExportDataFieldBuilder().getBuilder(); } /** - * - * *
      * Export data profiles into a provided location.
      * 
@@ -3454,8 +3044,6 @@ public com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder getExportData } } /** - * - * *
      * Export data profiles into a provided location.
      * 
@@ -3463,45 +3051,32 @@ public com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder getExportData * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.Export, - com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, - com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder> + com.google.privacy.dlp.v2.DataProfileAction.Export, com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder> getExportDataFieldBuilder() { if (exportDataBuilder_ == null) { if (!(actionCase_ == 1)) { action_ = com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance(); } - exportDataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.Export, - com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, - com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder>( + exportDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileAction.Export, com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder>( (com.google.privacy.dlp.v2.DataProfileAction.Export) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 1; - onChanged(); - ; + onChanged();; return exportDataBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder> - pubSubNotificationBuilder_; + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder> pubSubNotificationBuilder_; /** - * - * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; * @return Whether the pubSubNotification field is set. */ @java.lang.Override @@ -3509,15 +3084,11 @@ public boolean hasPubSubNotification() { return actionCase_ == 2; } /** - * - * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; * @return The pubSubNotification. */ @java.lang.Override @@ -3535,17 +3106,13 @@ public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getPubSubN } } /** - * - * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; */ - public Builder setPubSubNotification( - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification value) { + public Builder setPubSubNotification(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification value) { if (pubSubNotificationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3559,14 +3126,11 @@ public Builder setPubSubNotification( return this; } /** - * - * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; */ public Builder setPubSubNotification( com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder builderForValue) { @@ -3580,27 +3144,18 @@ public Builder setPubSubNotification( return this; } /** - * - * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; */ - public Builder mergePubSubNotification( - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification value) { + public Builder mergePubSubNotification(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification value) { if (pubSubNotificationBuilder_ == null) { - if (actionCase_ == 2 - && action_ - != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification - .getDefaultInstance()) { - action_ = - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.newBuilder( - (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_) - .mergeFrom(value) - .buildPartial(); + if (actionCase_ == 2 && + action_ != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance()) { + action_ = com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.newBuilder((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_) + .mergeFrom(value).buildPartial(); } else { action_ = value; } @@ -3616,14 +3171,11 @@ public Builder mergePubSubNotification( return this; } /** - * - * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; */ public Builder clearPubSubNotification() { if (pubSubNotificationBuilder_ == null) { @@ -3642,32 +3194,24 @@ public Builder clearPubSubNotification() { return this; } /** - * - * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; */ - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder - getPubSubNotificationBuilder() { + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder getPubSubNotificationBuilder() { return getPubSubNotificationFieldBuilder().getBuilder(); } /** - * - * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder - getPubSubNotificationOrBuilder() { + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder getPubSubNotificationOrBuilder() { if ((actionCase_ == 2) && (pubSubNotificationBuilder_ != null)) { return pubSubNotificationBuilder_.getMessageOrBuilder(); } else { @@ -3678,43 +3222,33 @@ public Builder clearPubSubNotification() { } } /** - * - * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder> + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder> getPubSubNotificationFieldBuilder() { if (pubSubNotificationBuilder_ == null) { if (!(actionCase_ == 2)) { - action_ = - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance(); - } - pubSubNotificationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder>( + action_ = com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance(); + } + pubSubNotificationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder>( (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 2; - onChanged(); - ; + onChanged();; return pubSubNotificationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3724,12 +3258,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileAction) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileAction) private static final com.google.privacy.dlp.v2.DataProfileAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileAction(); } @@ -3738,16 +3272,16 @@ public static com.google.privacy.dlp.v2.DataProfileAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfileAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfileAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3762,4 +3296,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DataProfileAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.java similarity index 67% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.java index 99de8286..8d80aa9e 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.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 DataProfileActionOrBuilder - extends +public interface DataProfileActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Export data profiles into a provided location.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; - * * @return Whether the exportData field is set. */ boolean hasExportData(); /** - * - * *
    * Export data profiles into a provided location.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; - * * @return The exportData. */ com.google.privacy.dlp.v2.DataProfileAction.Export getExportData(); /** - * - * *
    * Export data profiles into a provided location.
    * 
@@ -59,43 +35,31 @@ public interface DataProfileActionOrBuilder com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder getExportDataOrBuilder(); /** - * - * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; * @return Whether the pubSubNotification field is set. */ boolean hasPubSubNotification(); /** - * - * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; * @return The pubSubNotification. */ com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getPubSubNotification(); /** - * - * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; - * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; */ - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder - getPubSubNotificationOrBuilder(); + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder getPubSubNotificationOrBuilder(); public com.google.privacy.dlp.v2.DataProfileAction.ActionCase getActionCase(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.java index add1165f..c73e3869 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.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; /** - * - * *
  * Snapshot of the configurations used to generate the profile.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileConfigSnapshot} */ -public final class DataProfileConfigSnapshot extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataProfileConfigSnapshot extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileConfigSnapshot) DataProfileConfigSnapshotOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataProfileConfigSnapshot.newBuilder() to construct. private DataProfileConfigSnapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DataProfileConfigSnapshot() {} + private DataProfileConfigSnapshot() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataProfileConfigSnapshot(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DataProfileConfigSnapshot( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private DataProfileConfigSnapshot( case 0: done = true; 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(); } - case 26: - { - com.google.privacy.dlp.v2.DataProfileJobConfig.Builder subBuilder = null; - if (dataProfileJob_ != null) { - subBuilder = dataProfileJob_.toBuilder(); - } - dataProfileJob_ = - input.readMessage( - com.google.privacy.dlp.v2.DataProfileJobConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataProfileJob_); - dataProfileJob_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.privacy.dlp.v2.DataProfileJobConfig.Builder subBuilder = null; + if (dataProfileJob_ != null) { + subBuilder = dataProfileJob_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + dataProfileJob_ = input.readMessage(com.google.privacy.dlp.v2.DataProfileJobConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataProfileJob_); + dataProfileJob_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,40 +92,35 @@ private DataProfileConfigSnapshot( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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_DataProfileConfigSnapshot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.class, - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder.class); + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.class, com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder.class); } public static final int INSPECT_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** - * - * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -155,26 +128,19 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** - * - * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
    * 
* * .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_; } /** - * - * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -190,14 +156,11 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
   public static final int DATA_PROFILE_JOB_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.DataProfileJobConfig dataProfileJob_;
   /**
-   *
-   *
    * 
    * A copy of the configuration used to generate this profile.
    * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; - * * @return Whether the dataProfileJob field is set. */ @java.lang.Override @@ -205,25 +168,18 @@ public boolean hasDataProfileJob() { return dataProfileJob_ != null; } /** - * - * *
    * A copy of the configuration used to generate this profile.
    * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; - * * @return The dataProfileJob. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileJobConfig getDataProfileJob() { - return dataProfileJob_ == null - ? com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() - : dataProfileJob_; + return dataProfileJob_ == null ? com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() : dataProfileJob_; } /** - * - * *
    * A copy of the configuration used to generate this profile.
    * 
@@ -236,7 +192,6 @@ public com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder getDataProfileJob } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (inspectConfig_ != null) { output.writeMessage(2, getInspectConfig()); } @@ -265,10 +221,12 @@ public int getSerializedSize() { size = 0; if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInspectConfig()); } if (dataProfileJob_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDataProfileJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDataProfileJob()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,21 +236,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.DataProfileConfigSnapshot)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfileConfigSnapshot other = - (com.google.privacy.dlp.v2.DataProfileConfigSnapshot) obj; + com.google.privacy.dlp.v2.DataProfileConfigSnapshot other = (com.google.privacy.dlp.v2.DataProfileConfigSnapshot) obj; if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig().equals(other.getInspectConfig())) return false; + if (!getInspectConfig() + .equals(other.getInspectConfig())) return false; } if (hasDataProfileJob() != other.hasDataProfileJob()) return false; if (hasDataProfileJob()) { - if (!getDataProfileJob().equals(other.getDataProfileJob())) return false; + if (!getDataProfileJob() + .equals(other.getDataProfileJob())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -319,126 +278,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( - java.nio.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.DataProfileConfigSnapshot parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileConfigSnapshot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Snapshot of the configurations used to generate the profile.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileConfigSnapshot} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileConfigSnapshot) com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.class, - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder.class); + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.class, com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder.class); } // Construct using com.google.privacy.dlp.v2.DataProfileConfigSnapshot.newBuilder() @@ -446,15 +396,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -474,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; } @java.lang.Override @@ -495,8 +446,7 @@ public com.google.privacy.dlp.v2.DataProfileConfigSnapshot build() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfileConfigSnapshot buildPartial() { - com.google.privacy.dlp.v2.DataProfileConfigSnapshot result = - new com.google.privacy.dlp.v2.DataProfileConfigSnapshot(this); + com.google.privacy.dlp.v2.DataProfileConfigSnapshot result = new com.google.privacy.dlp.v2.DataProfileConfigSnapshot(this); if (inspectConfigBuilder_ == null) { result.inspectConfig_ = inspectConfig_; } else { @@ -515,39 +465,38 @@ public com.google.privacy.dlp.v2.DataProfileConfigSnapshot buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfileConfigSnapshot) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfileConfigSnapshot) other); + return mergeFrom((com.google.privacy.dlp.v2.DataProfileConfigSnapshot)other); } else { super.mergeFrom(other); return this; @@ -555,8 +504,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileConfigSnapshot other) { - if (other == com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance()) return this; if (other.hasInspectConfig()) { mergeInspectConfig(other.getInspectConfig()); } @@ -582,8 +530,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DataProfileConfigSnapshot) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DataProfileConfigSnapshot) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -595,49 +542,36 @@ public Builder mergeFrom( 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_; /** - * - * *
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** - * - * *
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
      * 
* * .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(); } } /** - * - * *
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -659,8 +593,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -680,8 +612,6 @@ public Builder setInspectConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -693,9 +623,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;
         }
@@ -707,8 +635,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -728,8 +654,6 @@ public Builder clearInspectConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -738,13 +662,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();
     }
     /**
-     *
-     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -756,14 +678,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_;
       }
     }
     /**
-     *
-     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -772,17 +691,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_;
@@ -790,47 +706,34 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
 
     private com.google.privacy.dlp.v2.DataProfileJobConfig dataProfileJob_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.DataProfileJobConfig,
-            com.google.privacy.dlp.v2.DataProfileJobConfig.Builder,
-            com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder>
-        dataProfileJobBuilder_;
+        com.google.privacy.dlp.v2.DataProfileJobConfig, com.google.privacy.dlp.v2.DataProfileJobConfig.Builder, com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder> dataProfileJobBuilder_;
     /**
-     *
-     *
      * 
      * A copy of the configuration used to generate this profile.
      * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; - * * @return Whether the dataProfileJob field is set. */ public boolean hasDataProfileJob() { return dataProfileJobBuilder_ != null || dataProfileJob_ != null; } /** - * - * *
      * A copy of the configuration used to generate this profile.
      * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; - * * @return The dataProfileJob. */ public com.google.privacy.dlp.v2.DataProfileJobConfig getDataProfileJob() { if (dataProfileJobBuilder_ == null) { - return dataProfileJob_ == null - ? com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() - : dataProfileJob_; + return dataProfileJob_ == null ? com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() : dataProfileJob_; } else { return dataProfileJobBuilder_.getMessage(); } } /** - * - * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -851,8 +754,6 @@ public Builder setDataProfileJob(com.google.privacy.dlp.v2.DataProfileJobConfig return this; } /** - * - * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -871,8 +772,6 @@ public Builder setDataProfileJob( return this; } /** - * - * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -883,9 +782,7 @@ public Builder mergeDataProfileJob(com.google.privacy.dlp.v2.DataProfileJobConfi if (dataProfileJobBuilder_ == null) { if (dataProfileJob_ != null) { dataProfileJob_ = - com.google.privacy.dlp.v2.DataProfileJobConfig.newBuilder(dataProfileJob_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.DataProfileJobConfig.newBuilder(dataProfileJob_).mergeFrom(value).buildPartial(); } else { dataProfileJob_ = value; } @@ -897,8 +794,6 @@ public Builder mergeDataProfileJob(com.google.privacy.dlp.v2.DataProfileJobConfi return this; } /** - * - * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -917,8 +812,6 @@ public Builder clearDataProfileJob() { return this; } /** - * - * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -926,13 +819,11 @@ public Builder clearDataProfileJob() { * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; */ public com.google.privacy.dlp.v2.DataProfileJobConfig.Builder getDataProfileJobBuilder() { - + onChanged(); return getDataProfileJobFieldBuilder().getBuilder(); } /** - * - * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -943,14 +834,11 @@ public com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder getDataProfileJob if (dataProfileJobBuilder_ != null) { return dataProfileJobBuilder_.getMessageOrBuilder(); } else { - return dataProfileJob_ == null - ? com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() - : dataProfileJob_; + return dataProfileJob_ == null ? + com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() : dataProfileJob_; } } /** - * - * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -958,24 +846,21 @@ public com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder getDataProfileJob * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileJobConfig, - com.google.privacy.dlp.v2.DataProfileJobConfig.Builder, - com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder> + com.google.privacy.dlp.v2.DataProfileJobConfig, com.google.privacy.dlp.v2.DataProfileJobConfig.Builder, com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder> getDataProfileJobFieldBuilder() { if (dataProfileJobBuilder_ == null) { - dataProfileJobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileJobConfig, - com.google.privacy.dlp.v2.DataProfileJobConfig.Builder, - com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder>( - getDataProfileJob(), getParentForChildren(), isClean()); + dataProfileJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileJobConfig, com.google.privacy.dlp.v2.DataProfileJobConfig.Builder, com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder>( + getDataProfileJob(), + getParentForChildren(), + isClean()); dataProfileJob_ = null; } return dataProfileJobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -985,12 +870,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileConfigSnapshot) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileConfigSnapshot) private static final com.google.privacy.dlp.v2.DataProfileConfigSnapshot DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileConfigSnapshot(); } @@ -999,16 +884,16 @@ public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileConfigSnapshot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfileConfigSnapshot(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileConfigSnapshot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfileConfigSnapshot(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1023,4 +908,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.DataProfileConfigSnapshot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.java similarity index 74% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.java index 5014cbfc..337522af 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.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 DataProfileConfigSnapshotOrBuilder - extends +public interface DataProfileConfigSnapshotOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileConfigSnapshot) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** - * - * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; - * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** - * - * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -62,32 +38,24 @@ public interface DataProfileConfigSnapshotOrBuilder
   com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * A copy of the configuration used to generate this profile.
    * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; - * * @return Whether the dataProfileJob field is set. */ boolean hasDataProfileJob(); /** - * - * *
    * A copy of the configuration used to generate this profile.
    * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; - * * @return The dataProfileJob. */ com.google.privacy.dlp.v2.DataProfileJobConfig getDataProfileJob(); /** - * - * *
    * A copy of the configuration used to generate this profile.
    * 
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.java similarity index 79% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.java index 329774ca..c3dbffae 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.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 setting up a job to scan resources for profile generation.
  * Only one data profile configuration may exist per organization, folder,
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.DataProfileJobConfig}
  */
-public final class DataProfileJobConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DataProfileJobConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileJobConfig)
     DataProfileJobConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DataProfileJobConfig.newBuilder() to construct.
   private DataProfileJobConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DataProfileJobConfig() {
     projectId_ = "";
     inspectTemplates_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -50,15 +32,16 @@ private DataProfileJobConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DataProfileJobConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DataProfileJobConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,58 +61,50 @@ private DataProfileJobConfig(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.privacy.dlp.v2.DataProfileLocation.Builder subBuilder = null;
-              if (location_ != null) {
-                subBuilder = location_.toBuilder();
-              }
-              location_ =
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.DataProfileLocation.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(location_);
-                location_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 10: {
+            com.google.privacy.dlp.v2.DataProfileLocation.Builder subBuilder = null;
+            if (location_ != null) {
+              subBuilder = location_.toBuilder();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              projectId_ = s;
-              break;
+            location_ = input.readMessage(com.google.privacy.dlp.v2.DataProfileLocation.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(location_);
+              location_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                dataProfileActions_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              dataProfileActions_.add(
-                  input.readMessage(
-                      com.google.privacy.dlp.v2.DataProfileAction.parser(), extensionRegistry));
-              break;
+
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            projectId_ = s;
+            break;
+          }
+          case 50: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              dataProfileActions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000002;
             }
-          case 58:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                inspectTemplates_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              inspectTemplates_.add(s);
-              break;
+            dataProfileActions_.add(
+                input.readMessage(com.google.privacy.dlp.v2.DataProfileAction.parser(), extensionRegistry));
+            break;
+          }
+          case 58: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              inspectTemplates_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            inspectTemplates_.add(s);
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -137,7 +112,8 @@ private DataProfileJobConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         dataProfileActions_ = java.util.Collections.unmodifiableList(dataProfileActions_);
@@ -149,33 +125,27 @@ private DataProfileJobConfig(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.DataProfileJobConfig.class,
-            com.google.privacy.dlp.v2.DataProfileJobConfig.Builder.class);
+            com.google.privacy.dlp.v2.DataProfileJobConfig.class, com.google.privacy.dlp.v2.DataProfileJobConfig.Builder.class);
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.DataProfileLocation location_;
   /**
-   *
-   *
    * 
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; - * * @return Whether the location field is set. */ @java.lang.Override @@ -183,25 +153,18 @@ public boolean hasLocation() { return location_ != null; } /** - * - * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; - * * @return The location. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileLocation getLocation() { - return location_ == null - ? com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() - : location_; + return location_ == null ? com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() : location_; } /** - * - * *
    * The data to scan.
    * 
@@ -216,8 +179,6 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild public static final int PROJECT_ID_FIELD_NUMBER = 5; private volatile java.lang.Object projectId_; /** - * - * *
    * The project that will run the scan. The DLP service
    * account that exists within this project must have access to all resources
@@ -225,7 +186,6 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild
    * 
* * string project_id = 5; - * * @return The projectId. */ @java.lang.Override @@ -234,15 +194,14 @@ 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 project that will run the scan. The DLP service
    * account that exists within this project must have access to all resources
@@ -250,15 +209,16 @@ public java.lang.String getProjectId() {
    * 
* * string project_id = 5; - * * @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 { @@ -269,8 +229,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int INSPECT_TEMPLATES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList inspectTemplates_; /** - * - * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -288,15 +246,13 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * repeated string inspect_templates = 7; - * * @return A list containing the inspectTemplates. */ - public com.google.protobuf.ProtocolStringList getInspectTemplatesList() { + public com.google.protobuf.ProtocolStringList + getInspectTemplatesList() { return inspectTemplates_; } /** - * - * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -314,15 +270,12 @@ public com.google.protobuf.ProtocolStringList getInspectTemplatesList() {
    * 
* * repeated string inspect_templates = 7; - * * @return The count of inspectTemplates. */ public int getInspectTemplatesCount() { return inspectTemplates_.size(); } /** - * - * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -340,7 +293,6 @@ public int getInspectTemplatesCount() {
    * 
* * repeated string inspect_templates = 7; - * * @param index The index of the element to return. * @return The inspectTemplates at the given index. */ @@ -348,8 +300,6 @@ public java.lang.String getInspectTemplates(int index) { return inspectTemplates_.get(index); } /** - * - * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -367,19 +317,17 @@ public java.lang.String getInspectTemplates(int index) {
    * 
* * repeated string inspect_templates = 7; - * * @param index The index of the value to return. * @return The bytes of the inspectTemplates at the given index. */ - public com.google.protobuf.ByteString getInspectTemplatesBytes(int index) { + public com.google.protobuf.ByteString + getInspectTemplatesBytes(int index) { return inspectTemplates_.getByteString(index); } public static final int DATA_PROFILE_ACTIONS_FIELD_NUMBER = 6; private java.util.List dataProfileActions_; /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -391,8 +339,6 @@ public java.util.List getDataProfil return dataProfileActions_; } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -400,13 +346,11 @@ public java.util.List getDataProfil * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ @java.lang.Override - public java.util.List + public java.util.List getDataProfileActionsOrBuilderList() { return dataProfileActions_; } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -418,8 +362,6 @@ public int getDataProfileActionsCount() { return dataProfileActions_.size(); } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -431,8 +373,6 @@ public com.google.privacy.dlp.v2.DataProfileAction getDataProfileActions(int ind return dataProfileActions_.get(index); } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -446,7 +386,6 @@ public com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileAction } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -458,7 +397,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (location_ != null) { output.writeMessage(1, getLocation()); } @@ -481,14 +421,15 @@ public int getSerializedSize() { size = 0; if (location_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLocation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getLocation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, projectId_); } for (int i = 0; i < dataProfileActions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, dataProfileActions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, dataProfileActions_.get(i)); } { int dataSize = 0; @@ -506,21 +447,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.DataProfileJobConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfileJobConfig other = - (com.google.privacy.dlp.v2.DataProfileJobConfig) obj; + com.google.privacy.dlp.v2.DataProfileJobConfig other = (com.google.privacy.dlp.v2.DataProfileJobConfig) obj; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { - if (!getLocation().equals(other.getLocation())) return false; - } - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getInspectTemplatesList().equals(other.getInspectTemplatesList())) return false; - if (!getDataProfileActionsList().equals(other.getDataProfileActionsList())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + } + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getInspectTemplatesList() + .equals(other.getInspectTemplatesList())) return false; + if (!getDataProfileActionsList() + .equals(other.getDataProfileActionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -551,104 +495,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom(java.io.InputStream input) 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.DataProfileJobConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileJobConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 setting up a job to scan resources for profile generation.
    * Only one data profile configuration may exist per organization, folder,
@@ -660,23 +597,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.DataProfileJobConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileJobConfig)
       com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DataProfileJobConfig.class,
-              com.google.privacy.dlp.v2.DataProfileJobConfig.Builder.class);
+              com.google.privacy.dlp.v2.DataProfileJobConfig.class, com.google.privacy.dlp.v2.DataProfileJobConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.DataProfileJobConfig.newBuilder()
@@ -684,17 +619,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) {
         getDataProfileActionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -718,9 +653,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
     }
 
     @java.lang.Override
@@ -739,8 +674,7 @@ public com.google.privacy.dlp.v2.DataProfileJobConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.DataProfileJobConfig buildPartial() {
-      com.google.privacy.dlp.v2.DataProfileJobConfig result =
-          new com.google.privacy.dlp.v2.DataProfileJobConfig(this);
+      com.google.privacy.dlp.v2.DataProfileJobConfig result = new com.google.privacy.dlp.v2.DataProfileJobConfig(this);
       int from_bitField0_ = bitField0_;
       if (locationBuilder_ == null) {
         result.location_ = location_;
@@ -770,39 +704,38 @@ public com.google.privacy.dlp.v2.DataProfileJobConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.DataProfileJobConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.DataProfileJobConfig) other);
+        return mergeFrom((com.google.privacy.dlp.v2.DataProfileJobConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -846,10 +779,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileJobConfig other) {
             dataProfileActionsBuilder_ = null;
             dataProfileActions_ = other.dataProfileActions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            dataProfileActionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getDataProfileActionsFieldBuilder()
-                    : null;
+            dataProfileActionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getDataProfileActionsFieldBuilder() : null;
           } else {
             dataProfileActionsBuilder_.addAllMessages(other.dataProfileActions_);
           }
@@ -883,52 +815,38 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.DataProfileLocation location_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.DataProfileLocation,
-            com.google.privacy.dlp.v2.DataProfileLocation.Builder,
-            com.google.privacy.dlp.v2.DataProfileLocationOrBuilder>
-        locationBuilder_;
+        com.google.privacy.dlp.v2.DataProfileLocation, com.google.privacy.dlp.v2.DataProfileLocation.Builder, com.google.privacy.dlp.v2.DataProfileLocationOrBuilder> locationBuilder_;
     /**
-     *
-     *
      * 
      * The data to scan.
      * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; - * * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** - * - * *
      * The data to scan.
      * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; - * * @return The location. */ public com.google.privacy.dlp.v2.DataProfileLocation getLocation() { if (locationBuilder_ == null) { - return location_ == null - ? com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() - : location_; + return location_ == null ? com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() : location_; } else { return locationBuilder_.getMessage(); } } /** - * - * *
      * The data to scan.
      * 
@@ -949,8 +867,6 @@ public Builder setLocation(com.google.privacy.dlp.v2.DataProfileLocation value) return this; } /** - * - * *
      * The data to scan.
      * 
@@ -969,8 +885,6 @@ public Builder setLocation( return this; } /** - * - * *
      * The data to scan.
      * 
@@ -981,9 +895,7 @@ public Builder mergeLocation(com.google.privacy.dlp.v2.DataProfileLocation value if (locationBuilder_ == null) { if (location_ != null) { location_ = - com.google.privacy.dlp.v2.DataProfileLocation.newBuilder(location_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.DataProfileLocation.newBuilder(location_).mergeFrom(value).buildPartial(); } else { location_ = value; } @@ -995,8 +907,6 @@ public Builder mergeLocation(com.google.privacy.dlp.v2.DataProfileLocation value return this; } /** - * - * *
      * The data to scan.
      * 
@@ -1015,8 +925,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * The data to scan.
      * 
@@ -1024,13 +932,11 @@ public Builder clearLocation() { * .google.privacy.dlp.v2.DataProfileLocation location = 1; */ public com.google.privacy.dlp.v2.DataProfileLocation.Builder getLocationBuilder() { - + onChanged(); return getLocationFieldBuilder().getBuilder(); } /** - * - * *
      * The data to scan.
      * 
@@ -1041,14 +947,11 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { - return location_ == null - ? com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() - : location_; + return location_ == null ? + com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() : location_; } } /** - * - * *
      * The data to scan.
      * 
@@ -1056,17 +959,14 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild * .google.privacy.dlp.v2.DataProfileLocation location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileLocation, - com.google.privacy.dlp.v2.DataProfileLocation.Builder, - com.google.privacy.dlp.v2.DataProfileLocationOrBuilder> + com.google.privacy.dlp.v2.DataProfileLocation, com.google.privacy.dlp.v2.DataProfileLocation.Builder, com.google.privacy.dlp.v2.DataProfileLocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { - locationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileLocation, - com.google.privacy.dlp.v2.DataProfileLocation.Builder, - com.google.privacy.dlp.v2.DataProfileLocationOrBuilder>( - getLocation(), getParentForChildren(), isClean()); + locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileLocation, com.google.privacy.dlp.v2.DataProfileLocation.Builder, com.google.privacy.dlp.v2.DataProfileLocationOrBuilder>( + getLocation(), + getParentForChildren(), + isClean()); location_ = null; } return locationBuilder_; @@ -1074,8 +974,6 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild private java.lang.Object projectId_ = ""; /** - * - * *
      * The project that will run the scan. The DLP service
      * account that exists within this project must have access to all resources
@@ -1083,13 +981,13 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild
      * 
* * string project_id = 5; - * * @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; @@ -1098,8 +996,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * The project that will run the scan. The DLP service
      * account that exists within this project must have access to all resources
@@ -1107,14 +1003,15 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 5; - * * @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,8 +1019,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * The project that will run the scan. The DLP service
      * account that exists within this project must have access to all resources
@@ -1131,22 +1026,20 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
      * 
* * string project_id = 5; - * * @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 project that will run the scan. The DLP service
      * account that exists within this project must have access to all resources
@@ -1154,18 +1047,15 @@ public Builder setProjectId(java.lang.String value) {
      * 
* * string project_id = 5; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * The project that will run the scan. The DLP service
      * account that exists within this project must have access to all resources
@@ -1173,33 +1063,29 @@ public Builder clearProjectId() {
      * 
* * string project_id = 5; - * * @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; } - private com.google.protobuf.LazyStringList inspectTemplates_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList inspectTemplates_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInspectTemplatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { inspectTemplates_ = new com.google.protobuf.LazyStringArrayList(inspectTemplates_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1217,15 +1103,13 @@ private void ensureInspectTemplatesIsMutable() {
      * 
* * repeated string inspect_templates = 7; - * * @return A list containing the inspectTemplates. */ - public com.google.protobuf.ProtocolStringList getInspectTemplatesList() { + public com.google.protobuf.ProtocolStringList + getInspectTemplatesList() { return inspectTemplates_.getUnmodifiableView(); } /** - * - * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1243,15 +1127,12 @@ public com.google.protobuf.ProtocolStringList getInspectTemplatesList() {
      * 
* * repeated string inspect_templates = 7; - * * @return The count of inspectTemplates. */ public int getInspectTemplatesCount() { return inspectTemplates_.size(); } /** - * - * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1269,7 +1150,6 @@ public int getInspectTemplatesCount() {
      * 
* * repeated string inspect_templates = 7; - * * @param index The index of the element to return. * @return The inspectTemplates at the given index. */ @@ -1277,8 +1157,6 @@ public java.lang.String getInspectTemplates(int index) { return inspectTemplates_.get(index); } /** - * - * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1296,16 +1174,14 @@ public java.lang.String getInspectTemplates(int index) {
      * 
* * repeated string inspect_templates = 7; - * * @param index The index of the value to return. * @return The bytes of the inspectTemplates at the given index. */ - public com.google.protobuf.ByteString getInspectTemplatesBytes(int index) { + public com.google.protobuf.ByteString + getInspectTemplatesBytes(int index) { return inspectTemplates_.getByteString(index); } /** - * - * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1323,23 +1199,21 @@ public com.google.protobuf.ByteString getInspectTemplatesBytes(int index) {
      * 
* * repeated string inspect_templates = 7; - * * @param index The index to set the value at. * @param value The inspectTemplates to set. * @return This builder for chaining. */ - public Builder setInspectTemplates(int index, java.lang.String value) { + public Builder setInspectTemplates( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInspectTemplatesIsMutable(); + throw new NullPointerException(); + } + ensureInspectTemplatesIsMutable(); inspectTemplates_.set(index, value); onChanged(); return this; } /** - * - * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1357,22 +1231,20 @@ public Builder setInspectTemplates(int index, java.lang.String value) {
      * 
* * repeated string inspect_templates = 7; - * * @param value The inspectTemplates to add. * @return This builder for chaining. */ - public Builder addInspectTemplates(java.lang.String value) { + public Builder addInspectTemplates( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInspectTemplatesIsMutable(); + throw new NullPointerException(); + } + ensureInspectTemplatesIsMutable(); inspectTemplates_.add(value); onChanged(); return this; } /** - * - * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1390,19 +1262,18 @@ public Builder addInspectTemplates(java.lang.String value) {
      * 
* * repeated string inspect_templates = 7; - * * @param values The inspectTemplates to add. * @return This builder for chaining. */ - public Builder addAllInspectTemplates(java.lang.Iterable values) { + public Builder addAllInspectTemplates( + java.lang.Iterable values) { ensureInspectTemplatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inspectTemplates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, inspectTemplates_); onChanged(); return this; } /** - * - * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1420,7 +1291,6 @@ public Builder addAllInspectTemplates(java.lang.Iterable value
      * 
* * repeated string inspect_templates = 7; - * * @return This builder for chaining. */ public Builder clearInspectTemplates() { @@ -1430,8 +1300,6 @@ public Builder clearInspectTemplates() { return this; } /** - * - * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1449,15 +1317,15 @@ public Builder clearInspectTemplates() {
      * 
* * repeated string inspect_templates = 7; - * * @param value The bytes of the inspectTemplates to add. * @return This builder for chaining. */ - public Builder addInspectTemplatesBytes(com.google.protobuf.ByteString value) { + public Builder addInspectTemplatesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInspectTemplatesIsMutable(); inspectTemplates_.add(value); onChanged(); @@ -1465,26 +1333,18 @@ public Builder addInspectTemplatesBytes(com.google.protobuf.ByteString value) { } private java.util.List dataProfileActions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDataProfileActionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dataProfileActions_ = - new java.util.ArrayList( - dataProfileActions_); + dataProfileActions_ = new java.util.ArrayList(dataProfileActions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction, - com.google.privacy.dlp.v2.DataProfileAction.Builder, - com.google.privacy.dlp.v2.DataProfileActionOrBuilder> - dataProfileActionsBuilder_; + com.google.privacy.dlp.v2.DataProfileAction, com.google.privacy.dlp.v2.DataProfileAction.Builder, com.google.privacy.dlp.v2.DataProfileActionOrBuilder> dataProfileActionsBuilder_; /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1499,8 +1359,6 @@ public java.util.List getDataProfil } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1515,8 +1373,6 @@ public int getDataProfileActionsCount() { } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1531,8 +1387,6 @@ public com.google.privacy.dlp.v2.DataProfileAction getDataProfileActions(int ind } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1554,8 +1408,6 @@ public Builder setDataProfileActions( return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1574,8 +1426,6 @@ public Builder setDataProfileActions( return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1596,8 +1446,6 @@ public Builder addDataProfileActions(com.google.privacy.dlp.v2.DataProfileAction return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1619,8 +1467,6 @@ public Builder addDataProfileActions( return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1639,8 +1485,6 @@ public Builder addDataProfileActions( return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1659,8 +1503,6 @@ public Builder addDataProfileActions( return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1671,7 +1513,8 @@ public Builder addAllDataProfileActions( java.lang.Iterable values) { if (dataProfileActionsBuilder_ == null) { ensureDataProfileActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataProfileActions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dataProfileActions_); onChanged(); } else { dataProfileActionsBuilder_.addAllMessages(values); @@ -1679,8 +1522,6 @@ public Builder addAllDataProfileActions( return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1698,8 +1539,6 @@ public Builder clearDataProfileActions() { return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1717,8 +1556,6 @@ public Builder removeDataProfileActions(int index) { return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1730,8 +1567,6 @@ public com.google.privacy.dlp.v2.DataProfileAction.Builder getDataProfileActions return getDataProfileActionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1741,22 +1576,19 @@ public com.google.privacy.dlp.v2.DataProfileAction.Builder getDataProfileActions public com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileActionsOrBuilder( int index) { if (dataProfileActionsBuilder_ == null) { - return dataProfileActions_.get(index); - } else { + return dataProfileActions_.get(index); } else { return dataProfileActionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ - public java.util.List - getDataProfileActionsOrBuilderList() { + public java.util.List + getDataProfileActionsOrBuilderList() { if (dataProfileActionsBuilder_ != null) { return dataProfileActionsBuilder_.getMessageOrBuilderList(); } else { @@ -1764,8 +1596,6 @@ public com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileAction } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1773,12 +1603,10 @@ public com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileAction * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ public com.google.privacy.dlp.v2.DataProfileAction.Builder addDataProfileActionsBuilder() { - return getDataProfileActionsFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.DataProfileAction.getDefaultInstance()); + return getDataProfileActionsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.DataProfileAction.getDefaultInstance()); } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1787,34 +1615,26 @@ public com.google.privacy.dlp.v2.DataProfileAction.Builder addDataProfileActions */ public com.google.privacy.dlp.v2.DataProfileAction.Builder addDataProfileActionsBuilder( int index) { - return getDataProfileActionsFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.DataProfileAction.getDefaultInstance()); + return getDataProfileActionsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.DataProfileAction.getDefaultInstance()); } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ - public java.util.List - getDataProfileActionsBuilderList() { + public java.util.List + getDataProfileActionsBuilderList() { return getDataProfileActionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction, - com.google.privacy.dlp.v2.DataProfileAction.Builder, - com.google.privacy.dlp.v2.DataProfileActionOrBuilder> + com.google.privacy.dlp.v2.DataProfileAction, com.google.privacy.dlp.v2.DataProfileAction.Builder, com.google.privacy.dlp.v2.DataProfileActionOrBuilder> getDataProfileActionsFieldBuilder() { if (dataProfileActionsBuilder_ == null) { - dataProfileActionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction, - com.google.privacy.dlp.v2.DataProfileAction.Builder, - com.google.privacy.dlp.v2.DataProfileActionOrBuilder>( + dataProfileActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileAction, com.google.privacy.dlp.v2.DataProfileAction.Builder, com.google.privacy.dlp.v2.DataProfileActionOrBuilder>( dataProfileActions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1823,9 +1643,9 @@ public com.google.privacy.dlp.v2.DataProfileAction.Builder addDataProfileActions } return dataProfileActionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1835,12 +1655,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileJobConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileJobConfig) private static final com.google.privacy.dlp.v2.DataProfileJobConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileJobConfig(); } @@ -1849,16 +1669,16 @@ public static com.google.privacy.dlp.v2.DataProfileJobConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileJobConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfileJobConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileJobConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfileJobConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1873,4 +1693,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DataProfileJobConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.java similarity index 85% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.java index 9caeda8e..76a7c337 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.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 DataProfileJobConfigOrBuilder - extends +public interface DataProfileJobConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileJobConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; - * * @return Whether the location field is set. */ boolean hasLocation(); /** - * - * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; - * * @return The location. */ com.google.privacy.dlp.v2.DataProfileLocation getLocation(); /** - * - * *
    * The data to scan.
    * 
@@ -59,8 +35,6 @@ public interface DataProfileJobConfigOrBuilder com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuilder(); /** - * - * *
    * The project that will run the scan. The DLP service
    * account that exists within this project must have access to all resources
@@ -68,13 +42,10 @@ public interface DataProfileJobConfigOrBuilder
    * 
* * string project_id = 5; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * The project that will run the scan. The DLP service
    * account that exists within this project must have access to all resources
@@ -82,14 +53,12 @@ public interface DataProfileJobConfigOrBuilder
    * 
* * string project_id = 5; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -107,13 +76,11 @@ public interface DataProfileJobConfigOrBuilder
    * 
* * repeated string inspect_templates = 7; - * * @return A list containing the inspectTemplates. */ - java.util.List getInspectTemplatesList(); + java.util.List + getInspectTemplatesList(); /** - * - * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -131,13 +98,10 @@ public interface DataProfileJobConfigOrBuilder
    * 
* * repeated string inspect_templates = 7; - * * @return The count of inspectTemplates. */ int getInspectTemplatesCount(); /** - * - * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -155,14 +119,11 @@ public interface DataProfileJobConfigOrBuilder
    * 
* * repeated string inspect_templates = 7; - * * @param index The index of the element to return. * @return The inspectTemplates at the given index. */ java.lang.String getInspectTemplates(int index); /** - * - * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -180,25 +141,22 @@ public interface DataProfileJobConfigOrBuilder
    * 
* * repeated string inspect_templates = 7; - * * @param index The index of the value to return. * @return The bytes of the inspectTemplates at the given index. */ - com.google.protobuf.ByteString getInspectTemplatesBytes(int index); + com.google.protobuf.ByteString + getInspectTemplatesBytes(int index); /** - * - * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ - java.util.List getDataProfileActionsList(); + java.util.List + getDataProfileActionsList(); /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -207,8 +165,6 @@ public interface DataProfileJobConfigOrBuilder */ com.google.privacy.dlp.v2.DataProfileAction getDataProfileActions(int index); /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -217,24 +173,21 @@ public interface DataProfileJobConfigOrBuilder */ int getDataProfileActionsCount(); /** - * - * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ - java.util.List + java.util.List getDataProfileActionsOrBuilderList(); /** - * - * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ - com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileActionsOrBuilder(int index); + com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileActionsOrBuilder( + int index); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.java index eecba7d3..c2a8f62f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.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 data that will be profiled.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileLocation} */ -public final class DataProfileLocation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataProfileLocation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileLocation) DataProfileLocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataProfileLocation.newBuilder() to construct. private DataProfileLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DataProfileLocation() {} + private DataProfileLocation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataProfileLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DataProfileLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,25 +52,23 @@ private DataProfileLocation( case 0: done = true; break; - case 8: - { - location_ = input.readInt64(); - locationCase_ = 1; - break; - } - case 16: - { - location_ = input.readInt64(); - locationCase_ = 2; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + location_ = input.readInt64(); + locationCase_ = 1; + break; + } + case 16: { + location_ = input.readInt64(); + locationCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,40 +76,35 @@ private DataProfileLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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_DataProfileLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileLocation.class, - com.google.privacy.dlp.v2.DataProfileLocation.Builder.class); + com.google.privacy.dlp.v2.DataProfileLocation.class, com.google.privacy.dlp.v2.DataProfileLocation.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 { ORGANIZATION_ID(1), FOLDER_ID(2), LOCATION_NOT_SET(0); private final int value; - private LocationCase(int value) { this.value = value; } @@ -143,36 +120,30 @@ public static LocationCase valueOf(int value) { public static LocationCase forNumber(int value) { switch (value) { - case 1: - return ORGANIZATION_ID; - case 2: - return FOLDER_ID; - case 0: - return LOCATION_NOT_SET; - default: - return null; + case 1: return ORGANIZATION_ID; + case 2: return FOLDER_ID; + 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 ORGANIZATION_ID_FIELD_NUMBER = 1; /** - * - * *
    * The ID of an organization to scan.
    * 
* * int64 organization_id = 1; - * * @return Whether the organizationId field is set. */ @java.lang.Override @@ -180,14 +151,11 @@ public boolean hasOrganizationId() { return locationCase_ == 1; } /** - * - * *
    * The ID of an organization to scan.
    * 
* * int64 organization_id = 1; - * * @return The organizationId. */ @java.lang.Override @@ -200,14 +168,11 @@ public long getOrganizationId() { public static final int FOLDER_ID_FIELD_NUMBER = 2; /** - * - * *
    * The ID of the Folder within an organization to scan.
    * 
* * int64 folder_id = 2; - * * @return Whether the folderId field is set. */ @java.lang.Override @@ -215,14 +180,11 @@ public boolean hasFolderId() { return locationCase_ == 2; } /** - * - * *
    * The ID of the Folder within an organization to scan.
    * 
* * int64 folder_id = 2; - * * @return The folderId. */ @java.lang.Override @@ -234,7 +196,6 @@ public long getFolderId() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,12 +207,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 (locationCase_ == 1) { - output.writeInt64(1, (long) ((java.lang.Long) location_)); + output.writeInt64( + 1, (long)((java.lang.Long) location_)); } if (locationCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) location_)); + output.writeInt64( + 2, (long)((java.lang.Long) location_)); } unknownFields.writeTo(output); } @@ -263,14 +227,14 @@ public int getSerializedSize() { size = 0; if (locationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 1, (long) ((java.lang.Long) location_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 1, (long)((java.lang.Long) location_)); } if (locationCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) location_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) location_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,21 +244,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.DataProfileLocation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfileLocation other = - (com.google.privacy.dlp.v2.DataProfileLocation) obj; + com.google.privacy.dlp.v2.DataProfileLocation other = (com.google.privacy.dlp.v2.DataProfileLocation) obj; if (!getLocationCase().equals(other.getLocationCase())) return false; switch (locationCase_) { case 1: - if (getOrganizationId() != other.getOrganizationId()) return false; + if (getOrganizationId() + != other.getOrganizationId()) return false; break; case 2: - if (getFolderId() != other.getFolderId()) return false; + if (getFolderId() + != other.getFolderId()) return false; break; case 0: default: @@ -313,11 +278,13 @@ public int hashCode() { switch (locationCase_) { case 1: hash = (37 * hash) + ORGANIZATION_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOrganizationId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOrganizationId()); break; case 2: hash = (37 * hash) + FOLDER_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFolderId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFolderId()); break; case 0: default: @@ -327,127 +294,118 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom(java.io.InputStream input) 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.DataProfileLocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfileLocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfileLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileLocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 data that will be profiled.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileLocation) com.google.privacy.dlp.v2.DataProfileLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileLocation.class, - com.google.privacy.dlp.v2.DataProfileLocation.Builder.class); + com.google.privacy.dlp.v2.DataProfileLocation.class, com.google.privacy.dlp.v2.DataProfileLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.DataProfileLocation.newBuilder() @@ -455,15 +413,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +432,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; } @java.lang.Override @@ -494,8 +453,7 @@ public com.google.privacy.dlp.v2.DataProfileLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfileLocation buildPartial() { - com.google.privacy.dlp.v2.DataProfileLocation result = - new com.google.privacy.dlp.v2.DataProfileLocation(this); + com.google.privacy.dlp.v2.DataProfileLocation result = new com.google.privacy.dlp.v2.DataProfileLocation(this); if (locationCase_ == 1) { result.location_ = location_; } @@ -511,39 +469,38 @@ public com.google.privacy.dlp.v2.DataProfileLocation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfileLocation) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfileLocation) other); + return mergeFrom((com.google.privacy.dlp.v2.DataProfileLocation)other); } else { super.mergeFrom(other); return this; @@ -553,20 +510,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileLocation other) { if (other == com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance()) return this; switch (other.getLocationCase()) { - case ORGANIZATION_ID: - { - setOrganizationId(other.getOrganizationId()); - break; - } - case FOLDER_ID: - { - setFolderId(other.getFolderId()); - break; - } - case LOCATION_NOT_SET: - { - break; - } + case ORGANIZATION_ID: { + setOrganizationId(other.getOrganizationId()); + break; + } + case FOLDER_ID: { + setFolderId(other.getFolderId()); + break; + } + case LOCATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -596,12 +550,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() { @@ -611,29 +565,24 @@ public Builder clearLocation() { return this; } + /** - * - * *
      * The ID of an organization to scan.
      * 
* * int64 organization_id = 1; - * * @return Whether the organizationId field is set. */ public boolean hasOrganizationId() { return locationCase_ == 1; } /** - * - * *
      * The ID of an organization to scan.
      * 
* * int64 organization_id = 1; - * * @return The organizationId. */ public long getOrganizationId() { @@ -643,14 +592,11 @@ public long getOrganizationId() { return 0L; } /** - * - * *
      * The ID of an organization to scan.
      * 
* * int64 organization_id = 1; - * * @param value The organizationId to set. * @return This builder for chaining. */ @@ -661,14 +607,11 @@ public Builder setOrganizationId(long value) { return this; } /** - * - * *
      * The ID of an organization to scan.
      * 
* * int64 organization_id = 1; - * * @return This builder for chaining. */ public Builder clearOrganizationId() { @@ -681,28 +624,22 @@ public Builder clearOrganizationId() { } /** - * - * *
      * The ID of the Folder within an organization to scan.
      * 
* * int64 folder_id = 2; - * * @return Whether the folderId field is set. */ public boolean hasFolderId() { return locationCase_ == 2; } /** - * - * *
      * The ID of the Folder within an organization to scan.
      * 
* * int64 folder_id = 2; - * * @return The folderId. */ public long getFolderId() { @@ -712,14 +649,11 @@ public long getFolderId() { return 0L; } /** - * - * *
      * The ID of the Folder within an organization to scan.
      * 
* * int64 folder_id = 2; - * * @param value The folderId to set. * @return This builder for chaining. */ @@ -730,14 +664,11 @@ public Builder setFolderId(long value) { return this; } /** - * - * *
      * The ID of the Folder within an organization to scan.
      * 
* * int64 folder_id = 2; - * * @return This builder for chaining. */ public Builder clearFolderId() { @@ -748,9 +679,9 @@ public Builder clearFolderId() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -760,12 +691,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileLocation) private static final com.google.privacy.dlp.v2.DataProfileLocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileLocation(); } @@ -774,16 +705,16 @@ public static com.google.privacy.dlp.v2.DataProfileLocation getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfileLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfileLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -798,4 +729,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DataProfileLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java similarity index 61% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java index a1c0ab1f..e9c5aa7a 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java @@ -1,74 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under 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 DataProfileLocationOrBuilder - extends +public interface DataProfileLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileLocation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The ID of an organization to scan.
    * 
* * int64 organization_id = 1; - * * @return Whether the organizationId field is set. */ boolean hasOrganizationId(); /** - * - * *
    * The ID of an organization to scan.
    * 
* * int64 organization_id = 1; - * * @return The organizationId. */ long getOrganizationId(); /** - * - * *
    * The ID of the Folder within an organization to scan.
    * 
* * int64 folder_id = 2; - * * @return Whether the folderId field is set. */ boolean hasFolderId(); /** - * - * *
    * The ID of the Folder within an organization to scan.
    * 
* * int64 folder_id = 2; - * * @return The folderId. */ long getFolderId(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.java similarity index 62% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.java index 6f114872..0ad14780 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.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 condition for determining whether a PubSub should be triggered.
+ * A condition for determining whether a Pub/Sub should be triggered.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition} */ -public final class DataProfilePubSubCondition extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataProfilePubSubCondition extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfilePubSubCondition) DataProfilePubSubConditionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataProfilePubSubCondition.newBuilder() to construct. private DataProfilePubSubCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DataProfilePubSubCondition() {} + private DataProfilePubSubCondition() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataProfilePubSubCondition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DataProfilePubSubCondition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,32 +52,26 @@ private DataProfilePubSubCondition( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder - subBuilder = null; - if (expressions_ != null) { - subBuilder = expressions_.toBuilder(); - } - expressions_ = - input.readMessage( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expressions_); - expressions_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.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.DataProfilePubSubCondition.PubSubExpressions.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) { @@ -101,41 +79,36 @@ private DataProfilePubSubCondition( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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_DataProfilePubSubCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.class, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder.class); } /** - * - * *
    * Various score levels for resources.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket} */ - public enum ProfileScoreBucket implements com.google.protobuf.ProtocolMessageEnum { + public enum ProfileScoreBucket + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unused.
      * 
@@ -144,8 +117,6 @@ public enum ProfileScoreBucket implements com.google.protobuf.ProtocolMessageEnu */ PROFILE_SCORE_BUCKET_UNSPECIFIED(0), /** - * - * *
      * High risk/sensitivity detected.
      * 
@@ -154,8 +125,6 @@ public enum ProfileScoreBucket implements com.google.protobuf.ProtocolMessageEnu */ HIGH(1), /** - * - * *
      * Medium or high risk/sensitivity detected.
      * 
@@ -167,8 +136,6 @@ public enum ProfileScoreBucket implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
      * Unused.
      * 
@@ -177,8 +144,6 @@ public enum ProfileScoreBucket implements com.google.protobuf.ProtocolMessageEnu */ public static final int PROFILE_SCORE_BUCKET_UNSPECIFIED_VALUE = 0; /** - * - * *
      * High risk/sensitivity detected.
      * 
@@ -187,8 +152,6 @@ public enum ProfileScoreBucket implements com.google.protobuf.ProtocolMessageEnu */ public static final int HIGH_VALUE = 1; /** - * - * *
      * Medium or high risk/sensitivity detected.
      * 
@@ -197,6 +160,7 @@ public enum ProfileScoreBucket implements com.google.protobuf.ProtocolMessageEnu */ public static final int MEDIUM_OR_HIGH_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -221,14 +185,10 @@ public static ProfileScoreBucket valueOf(int value) { */ public static ProfileScoreBucket forNumber(int value) { switch (value) { - case 0: - return PROFILE_SCORE_BUCKET_UNSPECIFIED; - case 1: - return HIGH; - case 2: - return MEDIUM_OR_HIGH; - default: - return null; + case 0: return PROFILE_SCORE_BUCKET_UNSPECIFIED; + case 1: return HIGH; + case 2: return MEDIUM_OR_HIGH; + default: return null; } } @@ -236,31 +196,29 @@ public static ProfileScoreBucket forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ProfileScoreBucket> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ProfileScoreBucket findValueByNumber(int number) { + return ProfileScoreBucket.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ProfileScoreBucket findValueByNumber(int number) { - return ProfileScoreBucket.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.DataProfilePubSubCondition.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDescriptor().getEnumTypes().get(0); } private static final ProfileScoreBucket[] VALUES = values(); @@ -268,7 +226,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ProfileScoreBucket 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; @@ -285,133 +244,99 @@ private ProfileScoreBucket(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket) } - public interface PubSubConditionOrBuilder - extends + public interface PubSubConditionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The minimum data risk score that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @return Whether the minimumRiskScore field is set. */ boolean hasMinimumRiskScore(); /** - * - * *
      * The minimum data risk score that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @return The enum numeric value on the wire for minimumRiskScore. */ int getMinimumRiskScoreValue(); /** - * - * *
      * The minimum data risk score that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @return The minimumRiskScore. */ com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumRiskScore(); /** - * - * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @return Whether the minimumSensitivityScore field is set. */ boolean hasMinimumSensitivityScore(); /** - * - * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @return The enum numeric value on the wire for minimumSensitivityScore. */ int getMinimumSensitivityScoreValue(); /** - * - * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @return The minimumSensitivityScore. */ - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket - getMinimumSensitivityScore(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumSensitivityScore(); - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.ValueCase - getValueCase(); + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.ValueCase getValueCase(); } /** - * - * *
    * A condition consisting of a value.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition} */ - public static final class PubSubCondition extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PubSubCondition extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) PubSubConditionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PubSubCondition.newBuilder() to construct. private PubSubCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PubSubCondition() {} + private PubSubCondition() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PubSubCondition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PubSubCondition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -430,27 +355,25 @@ private PubSubCondition( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); - valueCase_ = 1; - value_ = rawValue; - break; - } - case 16: - { - int rawValue = input.readEnum(); - valueCase_ = 2; - value_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + int rawValue = input.readEnum(); + valueCase_ = 1; + value_ = rawValue; + break; + } + case 16: { + int rawValue = input.readEnum(); + valueCase_ = 2; + value_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,40 +381,35 @@ private PubSubCondition( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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_DataProfilePubSubCondition_PubSubCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.class, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; - public enum ValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MINIMUM_RISK_SCORE(1), MINIMUM_SENSITIVITY_SCORE(2), VALUE_NOT_SET(0); private final int value; - private ValueCase(int value) { this.value = value; } @@ -507,54 +425,41 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: - return MINIMUM_RISK_SCORE; - case 2: - return MINIMUM_SENSITIVITY_SCORE; - case 0: - return VALUE_NOT_SET; - default: - return null; + case 1: return MINIMUM_RISK_SCORE; + case 2: return MINIMUM_SENSITIVITY_SCORE; + case 0: return VALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public static final int MINIMUM_RISK_SCORE_FIELD_NUMBER = 1; /** - * - * *
      * The minimum data risk score that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @return Whether the minimumRiskScore field is set. */ public boolean hasMinimumRiskScore() { return valueCase_ == 1; } /** - * - * *
      * The minimum data risk score that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @return The enum numeric value on the wire for minimumRiskScore. */ public int getMinimumRiskScoreValue() { @@ -564,61 +469,41 @@ public int getMinimumRiskScoreValue() { return 0; } /** - * - * *
      * The minimum data risk score that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @return The minimumRiskScore. */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket - getMinimumRiskScore() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumRiskScore() { if (valueCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( - (java.lang.Integer) value_); - return result == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( + (java.lang.Integer) value_); + return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED : result; } - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket - .PROFILE_SCORE_BUCKET_UNSPECIFIED; + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.PROFILE_SCORE_BUCKET_UNSPECIFIED; } public static final int MINIMUM_SENSITIVITY_SCORE_FIELD_NUMBER = 2; /** - * - * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @return Whether the minimumSensitivityScore field is set. */ public boolean hasMinimumSensitivityScore() { return valueCase_ == 2; } /** - * - * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @return The enum numeric value on the wire for minimumSensitivityScore. */ public int getMinimumSensitivityScoreValue() { @@ -628,35 +513,24 @@ public int getMinimumSensitivityScoreValue() { return 0; } /** - * - * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @return The minimumSensitivityScore. */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket - getMinimumSensitivityScore() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumSensitivityScore() { if (valueCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( - (java.lang.Integer) value_); - return result == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( + (java.lang.Integer) value_); + return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED : result; } - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket - .PROFILE_SCORE_BUCKET_UNSPECIFIED; + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.PROFILE_SCORE_BUCKET_UNSPECIFIED; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -668,7 +542,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (valueCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) value_)); } @@ -685,12 +560,12 @@ public int getSerializedSize() { size = 0; if (valueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(1, ((java.lang.Integer) value_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, ((java.lang.Integer) value_)); } if (valueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(2, ((java.lang.Integer) value_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, ((java.lang.Integer) value_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -700,22 +575,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.DataProfilePubSubCondition.PubSubCondition)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition other = - (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) obj; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition other = (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) obj; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: - if (getMinimumRiskScoreValue() != other.getMinimumRiskScoreValue()) return false; + if (getMinimumRiskScoreValue() + != other.getMinimumRiskScoreValue()) return false; break; case 2: - if (getMinimumSensitivityScoreValue() != other.getMinimumSensitivityScoreValue()) - return false; + if (getMinimumSensitivityScoreValue() + != other.getMinimumSensitivityScoreValue()) return false; break; case 0: default: @@ -749,95 +624,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( - java.nio.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.DataProfilePubSubCondition.PubSubCondition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - parseDelimitedFrom( - java.io.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.DataProfilePubSubCondition.PubSubCondition parseDelimitedFrom( + java.io.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.DataProfilePubSubCondition.PubSubCondition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -847,49 +714,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A condition consisting of a value.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.class, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.newBuilder() + // Construct using com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.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(); @@ -899,22 +761,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_DataProfilePubSubCondition_PubSubCondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - .getDefaultInstance(); + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition build() { - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition result = - buildPartial(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -923,8 +782,7 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition buil @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition buildPartial() { - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition result = - new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition(this); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition result = new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition(this); if (valueCase_ == 1) { result.value_ = value_; } @@ -940,68 +798,58 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) { - return mergeFrom( - (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) other); + return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition other) { - if (other - == com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition other) { + if (other == com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.getDefaultInstance()) return this; switch (other.getValueCase()) { - case MINIMUM_RISK_SCORE: - { - setMinimumRiskScoreValue(other.getMinimumRiskScoreValue()); - break; - } - case MINIMUM_SENSITIVITY_SCORE: - { - setMinimumSensitivityScoreValue(other.getMinimumSensitivityScoreValue()); - break; - } - case VALUE_NOT_SET: - { - break; - } + case MINIMUM_RISK_SCORE: { + setMinimumRiskScoreValue(other.getMinimumRiskScoreValue()); + break; + } + case MINIMUM_SENSITIVITY_SCORE: { + setMinimumSensitivityScoreValue(other.getMinimumSensitivityScoreValue()); + break; + } + case VALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1022,9 +870,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1033,12 +879,12 @@ public Builder mergeFrom( } return this; } - private int valueCase_ = 0; private java.lang.Object value_; - - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public Builder clearValue() { @@ -1048,17 +894,13 @@ public Builder clearValue() { return this; } + /** - * - * *
        * The minimum data risk score that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @return Whether the minimumRiskScore field is set. */ @java.lang.Override @@ -1066,16 +908,11 @@ public boolean hasMinimumRiskScore() { return valueCase_ == 1; } /** - * - * *
        * The minimum data risk score that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @return The enum numeric value on the wire for minimumRiskScore. */ @java.lang.Override @@ -1086,16 +923,11 @@ public int getMinimumRiskScoreValue() { return 0; } /** - * - * *
        * The minimum data risk score that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @param value The enum numeric value on the wire for minimumRiskScore to set. * @return This builder for chaining. */ @@ -1106,49 +938,33 @@ public Builder setMinimumRiskScoreValue(int value) { return this; } /** - * - * *
        * The minimum data risk score that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @return The minimumRiskScore. */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket - getMinimumRiskScore() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumRiskScore() { if (valueCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( - (java.lang.Integer) value_); - return result == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( + (java.lang.Integer) value_); + return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED : result; } - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket - .PROFILE_SCORE_BUCKET_UNSPECIFIED; + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.PROFILE_SCORE_BUCKET_UNSPECIFIED; } /** - * - * *
        * The minimum data risk score that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @param value The minimumRiskScore to set. * @return This builder for chaining. */ - public Builder setMinimumRiskScore( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket value) { + public Builder setMinimumRiskScore(com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket value) { if (value == null) { throw new NullPointerException(); } @@ -1158,16 +974,11 @@ public Builder setMinimumRiskScore( return this; } /** - * - * *
        * The minimum data risk score that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; * @return This builder for chaining. */ public Builder clearMinimumRiskScore() { @@ -1180,16 +991,11 @@ public Builder clearMinimumRiskScore() { } /** - * - * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @return Whether the minimumSensitivityScore field is set. */ @java.lang.Override @@ -1197,16 +1003,11 @@ public boolean hasMinimumSensitivityScore() { return valueCase_ == 2; } /** - * - * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @return The enum numeric value on the wire for minimumSensitivityScore. */ @java.lang.Override @@ -1217,16 +1018,11 @@ public int getMinimumSensitivityScoreValue() { return 0; } /** - * - * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @param value The enum numeric value on the wire for minimumSensitivityScore to set. * @return This builder for chaining. */ @@ -1237,49 +1033,33 @@ public Builder setMinimumSensitivityScoreValue(int value) { return this; } /** - * - * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @return The minimumSensitivityScore. */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket - getMinimumSensitivityScore() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumSensitivityScore() { if (valueCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( - (java.lang.Integer) value_); - return result == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( + (java.lang.Integer) value_); + return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED : result; } - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket - .PROFILE_SCORE_BUCKET_UNSPECIFIED; + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.PROFILE_SCORE_BUCKET_UNSPECIFIED; } /** - * - * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @param value The minimumSensitivityScore to set. * @return This builder for chaining. */ - public Builder setMinimumSensitivityScore( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket value) { + public Builder setMinimumSensitivityScore(com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket value) { if (value == null) { throw new NullPointerException(); } @@ -1289,16 +1069,11 @@ public Builder setMinimumSensitivityScore( return this; } /** - * - * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; * @return This builder for chaining. */ public Builder clearMinimumSensitivityScore() { @@ -1309,7 +1084,6 @@ public Builder clearMinimumSensitivityScore() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1322,32 +1096,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) - private static final com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition(); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - getDefaultInstance() { + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PubSubCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PubSubCondition(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubSubCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PubSubCondition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1359,131 +1131,95 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PubSubExpressionsOrBuilder - extends + public interface PubSubExpressionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The operator to apply to the collection of conditions.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; * @return The enum numeric value on the wire for logicalOperator. */ int getLogicalOperatorValue(); /** - * - * *
      * The operator to apply to the collection of conditions.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; * @return The logicalOperator. */ - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator - getLogicalOperator(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator getLogicalOperator(); /** - * - * *
      * Conditions to apply to the expression.
      * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - java.util.List + java.util.List getConditionsList(); /** - * - * *
      * Conditions to apply to the expression.
      * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getConditions(int index); /** - * - * *
      * Conditions to apply to the expression.
      * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ int getConditionsCount(); /** - * - * *
      * Conditions to apply to the expression.
      * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - java.util.List< - ? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> + java.util.List getConditionsOrBuilderList(); /** - * - * *
      * Conditions to apply to the expression.
      * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder - getConditionsOrBuilder(int index); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder getConditionsOrBuilder( + int index); } /** - * - * *
    * An expression, consisting of an operator and conditions.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions} */ - public static final class PubSubExpressions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PubSubExpressions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) PubSubExpressionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PubSubExpressions.newBuilder() to construct. private PubSubExpressions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PubSubExpressions() { logicalOperator_ = 0; conditions_ = java.util.Collections.emptyList(); @@ -1491,15 +1227,16 @@ private PubSubExpressions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PubSubExpressions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PubSubExpressions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1519,35 +1256,28 @@ private PubSubExpressions( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - logicalOperator_ = rawValue; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conditions_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition>(); - mutable_bitField0_ |= 0x00000001; - } - conditions_.add( - input.readMessage( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - .parser(), - extensionRegistry)); - break; + logicalOperator_ = rawValue; + break; + } + case 18: { + 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.DataProfilePubSubCondition.PubSubCondition.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1555,7 +1285,8 @@ private PubSubExpressions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -1564,36 +1295,29 @@ private PubSubExpressions( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.class, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder.class); } /** - * - * *
      * Logical operators for conditional checks.
      * 
* - * Protobuf enum {@code - * google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator} + * Protobuf enum {@code google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator} */ - public enum PubSubLogicalOperator implements com.google.protobuf.ProtocolMessageEnum { + public enum PubSubLogicalOperator + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unused.
        * 
@@ -1602,8 +1326,6 @@ public enum PubSubLogicalOperator implements com.google.protobuf.ProtocolMessage */ LOGICAL_OPERATOR_UNSPECIFIED(0), /** - * - * *
        * Conditional OR.
        * 
@@ -1612,8 +1334,6 @@ public enum PubSubLogicalOperator implements com.google.protobuf.ProtocolMessage */ OR(1), /** - * - * *
        * Conditional AND.
        * 
@@ -1625,8 +1345,6 @@ public enum PubSubLogicalOperator implements com.google.protobuf.ProtocolMessage ; /** - * - * *
        * Unused.
        * 
@@ -1635,8 +1353,6 @@ public enum PubSubLogicalOperator implements com.google.protobuf.ProtocolMessage */ public static final int LOGICAL_OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Conditional OR.
        * 
@@ -1645,8 +1361,6 @@ public enum PubSubLogicalOperator implements com.google.protobuf.ProtocolMessage */ public static final int OR_VALUE = 1; /** - * - * *
        * Conditional AND.
        * 
@@ -1655,6 +1369,7 @@ public enum PubSubLogicalOperator implements com.google.protobuf.ProtocolMessage */ public static final int AND_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1679,14 +1394,10 @@ public static PubSubLogicalOperator valueOf(int value) { */ public static PubSubLogicalOperator forNumber(int value) { switch (value) { - case 0: - return LOGICAL_OPERATOR_UNSPECIFIED; - case 1: - return OR; - case 2: - return AND; - default: - return null; + case 0: return LOGICAL_OPERATOR_UNSPECIFIED; + case 1: return OR; + case 2: return AND; + default: return null; } } @@ -1694,32 +1405,29 @@ public static PubSubLogicalOperator forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + PubSubLogicalOperator> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PubSubLogicalOperator findValueByNumber(int number) { + return PubSubLogicalOperator.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PubSubLogicalOperator findValueByNumber(int number) { - return PubSubLogicalOperator.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.DataProfilePubSubCondition.PubSubExpressions - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDescriptor().getEnumTypes().get(0); } private static final PubSubLogicalOperator[] VALUES = values(); @@ -1727,7 +1435,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static PubSubLogicalOperator 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; @@ -1747,136 +1456,91 @@ private PubSubLogicalOperator(int value) { public static final int LOGICAL_OPERATOR_FIELD_NUMBER = 1; private int logicalOperator_; /** - * - * *
      * The operator to apply to the collection of conditions.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator 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 collection of conditions.
      * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; * @return The logicalOperator. */ - @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .PubSubLogicalOperator - getLogicalOperator() { + @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator getLogicalOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator - result = - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .PubSubLogicalOperator.valueOf(logicalOperator_); - return result == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .PubSubLogicalOperator.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.valueOf(logicalOperator_); + return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.UNRECOGNIZED : result; } public static final int CONDITIONS_FIELD_NUMBER = 2; - private java.util.List - conditions_; + private java.util.List conditions_; /** - * - * *
      * Conditions to apply to the expression.
      * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ @java.lang.Override - public java.util.List - getConditionsList() { + public java.util.List getConditionsList() { return conditions_; } /** - * - * *
      * Conditions to apply to the expression.
      * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
      * Conditions to apply to the expression.
      * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ @java.lang.Override public int getConditionsCount() { return conditions_.size(); } /** - * - * *
      * Conditions to apply to the expression.
      * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getConditions( - int index) { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getConditions(int index) { return conditions_.get(index); } /** - * - * *
      * Conditions to apply to the expression.
      * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder - getConditionsOrBuilder(int index) { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder getConditionsOrBuilder( + int index) { return conditions_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1888,11 +1552,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.DataProfilePubSubCondition.PubSubExpressions - .PubSubLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (logicalOperator_ != com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) { output.writeEnum(1, logicalOperator_); } for (int i = 0; i < conditions_.size(); i++) { @@ -1907,14 +1569,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (logicalOperator_ - != com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .PubSubLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, logicalOperator_); + if (logicalOperator_ != com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, logicalOperator_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, conditions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1924,17 +1585,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.DataProfilePubSubCondition.PubSubExpressions)) { + if (!(obj instanceof com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions other = - (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) obj; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions other = (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) obj; if (logicalOperator_ != other.logicalOperator_) return false; - if (!getConditionsList().equals(other.getConditionsList())) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1958,95 +1618,87 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( - java.nio.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.DataProfilePubSubCondition.PubSubExpressions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - parseDelimitedFrom( - java.io.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.DataProfilePubSubCondition.PubSubExpressions parseDelimitedFrom( + java.io.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.DataProfilePubSubCondition.PubSubExpressions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions prototype) { + public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2056,52 +1708,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An expression, consisting of an operator and conditions.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.class, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder - .class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder.class); } - // Construct using - // com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.newBuilder() + // Construct using com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.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) { getConditionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2117,22 +1762,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_DataProfilePubSubCondition_PubSubExpressions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .getDefaultInstance(); + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions build() { - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions result = - buildPartial(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2141,8 +1783,7 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions bu @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions buildPartial() { - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions result = - new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions(this); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions result = new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions(this); int from_bitField0_ = bitField0_; result.logicalOperator_ = logicalOperator_; if (conditionsBuilder_ == null) { @@ -2162,54 +1803,46 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) { - return mergeFrom( - (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) other); + if (other instanceof com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) { + return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions other) { - if (other - == com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions other) { + if (other == com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDefaultInstance()) return this; if (other.logicalOperator_ != 0) { setLogicalOperatorValue(other.getLogicalOperatorValue()); } @@ -2231,10 +1864,9 @@ public Builder mergeFrom( 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_); } @@ -2259,9 +1891,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2270,152 +1900,102 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private int logicalOperator_ = 0; /** - * - * *
        * The operator to apply to the collection of conditions.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator 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 collection of conditions.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator 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 collection of conditions.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; * @return The logicalOperator. */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .PubSubLogicalOperator - getLogicalOperator() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator getLogicalOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator - result = - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .PubSubLogicalOperator.valueOf(logicalOperator_); - return result == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .PubSubLogicalOperator.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.valueOf(logicalOperator_); + return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.UNRECOGNIZED : result; } /** - * - * *
        * The operator to apply to the collection of conditions.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; * @param value The logicalOperator to set. * @return This builder for chaining. */ - public Builder setLogicalOperator( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .PubSubLogicalOperator - value) { + public Builder setLogicalOperator(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator value) { if (value == null) { throw new NullPointerException(); } - + logicalOperator_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The operator to apply to the collection of conditions.
        * 
* - * - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; * @return This builder for chaining. */ public Builder clearLogicalOperator() { - + logicalOperator_ = 0; onChanged(); return this; } - private java.util.List - conditions_ = java.util.Collections.emptyList(); - + private java.util.List conditions_ = + java.util.Collections.emptyList(); private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conditions_ = - new java.util.ArrayList< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition>( - conditions_); + conditions_ = new java.util.ArrayList(conditions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> - conditionsBuilder_; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> conditionsBuilder_; /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - public java.util.List - getConditionsList() { + public java.util.List getConditionsList() { if (conditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(conditions_); } else { @@ -2423,15 +2003,11 @@ private void ensureConditionsIsMutable() { } } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ public int getConditionsCount() { if (conditionsBuilder_ == null) { @@ -2441,18 +2017,13 @@ public int getConditionsCount() { } } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getConditions( - int index) { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getConditions(int index) { if (conditionsBuilder_ == null) { return conditions_.get(index); } else { @@ -2460,15 +2031,11 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getC } } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ public Builder setConditions( int index, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition value) { @@ -2485,20 +2052,14 @@ public Builder setConditions( return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ public Builder setConditions( - int index, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.set(index, builderForValue.build()); @@ -2509,18 +2070,13 @@ public Builder setConditions( return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - public Builder addConditions( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition value) { + public Builder addConditions(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2534,15 +2090,11 @@ public Builder addConditions( return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ public Builder addConditions( int index, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition value) { @@ -2559,19 +2111,14 @@ public Builder addConditions( return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ public Builder addConditions( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder - builderForValue) { + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -2582,20 +2129,14 @@ public Builder addConditions( return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ public Builder addConditions( - int index, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder - builderForValue) { + int index, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(index, builderForValue.build()); @@ -2606,23 +2147,18 @@ public Builder addConditions( return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ public Builder addAllConditions( - java.lang.Iterable< - ? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition> - 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); @@ -2630,15 +2166,11 @@ public Builder addAllConditions( return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ public Builder clearConditions() { if (conditionsBuilder_ == null) { @@ -2651,15 +2183,11 @@ public Builder clearConditions() { return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ public Builder removeConditions(int index) { if (conditionsBuilder_ == null) { @@ -2672,54 +2200,39 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder - getConditionsBuilder(int index) { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder getConditionsBuilder( + int index) { return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder - getConditionsOrBuilder(int index) { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder getConditionsOrBuilder( + int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - public java.util.List< - ? extends - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -2727,76 +2240,53 @@ public Builder removeConditions(int index) { } } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder - addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - .getDefaultInstance()); + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder addConditionsBuilder() { + return getConditionsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.getDefaultInstance()); } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder - addConditionsBuilder(int index) { - return getConditionsFieldBuilder() - .addBuilder( - index, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition - .getDefaultInstance()); + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.getDefaultInstance()); } /** - * - * *
        * Conditions to apply to the expression.
        * 
* - * - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; - * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; */ - public java.util.List< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder> - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2809,33 +2299,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) - private static final com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - DEFAULT_INSTANCE; - + private static final com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions(); + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions(); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - getDefaultInstance() { + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PubSubExpressions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PubSubExpressions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubSubExpressions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PubSubExpressions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2847,24 +2334,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int EXPRESSIONS_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions_; /** - * - * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; * @return Whether the expressions field is set. */ @java.lang.Override @@ -2872,42 +2355,30 @@ public boolean hasExpressions() { return expressions_ != null; } /** - * - * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; * @return The expressions. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getExpressions() { - return expressions_ == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .getDefaultInstance() - : expressions_; + return expressions_ == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDefaultInstance() : expressions_; } /** - * - * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder - getExpressionsOrBuilder() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder getExpressionsOrBuilder() { return getExpressions(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2919,7 +2390,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(1, getExpressions()); } @@ -2933,7 +2405,8 @@ public int getSerializedSize() { size = 0; if (expressions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExpressions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getExpressions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2943,17 +2416,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.DataProfilePubSubCondition)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfilePubSubCondition other = - (com.google.privacy.dlp.v2.DataProfilePubSubCondition) obj; + com.google.privacy.dlp.v2.DataProfilePubSubCondition other = (com.google.privacy.dlp.v2.DataProfilePubSubCondition) 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; @@ -2976,126 +2449,117 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( - java.nio.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.DataProfilePubSubCondition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfilePubSubCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 PubSub should be triggered.
+   * A condition for determining whether a Pub/Sub should be triggered.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfilePubSubCondition) com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.class, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder.class); } // Construct using com.google.privacy.dlp.v2.DataProfilePubSubCondition.newBuilder() @@ -3103,15 +2567,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3125,9 +2590,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; } @java.lang.Override @@ -3146,8 +2611,7 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition build() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition buildPartial() { - com.google.privacy.dlp.v2.DataProfilePubSubCondition result = - new com.google.privacy.dlp.v2.DataProfilePubSubCondition(this); + com.google.privacy.dlp.v2.DataProfilePubSubCondition result = new com.google.privacy.dlp.v2.DataProfilePubSubCondition(this); if (expressionsBuilder_ == null) { result.expressions_ = expressions_; } else { @@ -3161,39 +2625,38 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfilePubSubCondition) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubCondition) other); + return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubCondition)other); } else { super.mergeFrom(other); return this; @@ -3201,8 +2664,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfilePubSubCondition other) { - if (other == com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance()) return this; if (other.hasExpressions()) { mergeExpressions(other.getExpressions()); } @@ -3225,8 +2687,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DataProfilePubSubCondition) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DataProfilePubSubCondition) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3238,59 +2699,41 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder> - expressionsBuilder_; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder> expressionsBuilder_; /** - * - * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; * @return Whether the expressions field is set. */ public boolean hasExpressions() { return expressionsBuilder_ != null || expressions_ != null; } /** - * - * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; * @return The expressions. */ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getExpressions() { if (expressionsBuilder_ == null) { - return expressions_ == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .getDefaultInstance() - : expressions_; + return expressions_ == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDefaultInstance() : expressions_; } else { return expressionsBuilder_.getMessage(); } } /** - * - * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; */ - public Builder setExpressions( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions value) { + public Builder setExpressions(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions value) { if (expressionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3304,18 +2747,14 @@ public Builder setExpressions( return this; } /** - * - * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; */ public Builder setExpressions( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder - builderForValue) { + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder builderForValue) { if (expressionsBuilder_ == null) { expressions_ = builderForValue.build(); onChanged(); @@ -3326,24 +2765,17 @@ public Builder setExpressions( return this; } /** - * - * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; */ - public Builder mergeExpressions( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions value) { + public Builder mergeExpressions(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions value) { if (expressionsBuilder_ == null) { if (expressions_ != null) { expressions_ = - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.newBuilder( - expressions_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.newBuilder(expressions_).mergeFrom(value).buildPartial(); } else { expressions_ = value; } @@ -3355,14 +2787,11 @@ public Builder mergeExpressions( return this; } /** - * - * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; */ public Builder clearExpressions() { if (expressionsBuilder_ == null) { @@ -3376,71 +2805,55 @@ public Builder clearExpressions() { return this; } /** - * - * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder - getExpressionsBuilder() { - + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder getExpressionsBuilder() { + onChanged(); return getExpressionsFieldBuilder().getBuilder(); } /** - * - * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder - getExpressionsOrBuilder() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder getExpressionsOrBuilder() { if (expressionsBuilder_ != null) { return expressionsBuilder_.getMessageOrBuilder(); } else { - return expressions_ == null - ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions - .getDefaultInstance() - : expressions_; + return expressions_ == null ? + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDefaultInstance() : expressions_; } } /** - * - * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder> + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder> getExpressionsFieldBuilder() { if (expressionsBuilder_ == null) { - expressionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder>( - getExpressions(), getParentForChildren(), isClean()); + expressionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder>( + 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); } @@ -3450,12 +2863,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfilePubSubCondition) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfilePubSubCondition) private static final com.google.privacy.dlp.v2.DataProfilePubSubCondition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfilePubSubCondition(); } @@ -3464,16 +2877,16 @@ public static com.google.privacy.dlp.v2.DataProfilePubSubCondition getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfilePubSubCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfilePubSubCondition(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfilePubSubCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfilePubSubCondition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3488,4 +2901,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.DataProfilePubSubCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java similarity index 50% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java index e03119a3..fc6d80a1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java @@ -1,64 +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; -public interface DataProfilePubSubConditionOrBuilder - extends +public interface DataProfilePubSubConditionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfilePubSubCondition) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; * @return Whether the expressions field is set. */ boolean hasExpressions(); /** - * - * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; * @return The expressions. */ com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getExpressions(); /** - * - * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; - * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; */ - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder - getExpressionsOrBuilder(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder getExpressionsOrBuilder(); } diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java similarity index 69% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java index 4a9bade7..4fc3b7a5 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java @@ -1,60 +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 message that will be published to a Pub/Sub topic.
+ * Pub/Sub topic message for a DataProfileAction.PubSubNotification event.
  * To receive a message of protocol buffer schema type, convert the message data
  * to an object of this proto class.
- * https://cloud.google.com/pubsub/docs/samples/pubsub-subscribe-proto-messages
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubMessage} */ -public final class DataProfilePubSubMessage extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataProfilePubSubMessage extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfilePubSubMessage) DataProfilePubSubMessageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataProfilePubSubMessage.newBuilder() to construct. private DataProfilePubSubMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataProfilePubSubMessage() { event_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataProfilePubSubMessage(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DataProfilePubSubMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,36 +55,32 @@ private DataProfilePubSubMessage( case 0: done = true; break; - case 10: - { - com.google.privacy.dlp.v2.TableDataProfile.Builder subBuilder = null; - if (profile_ != null) { - subBuilder = profile_.toBuilder(); - } - profile_ = - input.readMessage( - com.google.privacy.dlp.v2.TableDataProfile.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(profile_); - profile_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.privacy.dlp.v2.TableDataProfile.Builder subBuilder = null; + if (profile_ != null) { + subBuilder = profile_.toBuilder(); } - case 16: - { - int rawValue = input.readEnum(); - - event_ = rawValue; - break; + profile_ = input.readMessage(com.google.privacy.dlp.v2.TableDataProfile.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(profile_); + profile_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + int rawValue = input.readEnum(); + + event_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,33 +88,29 @@ private DataProfilePubSubMessage( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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_DataProfilePubSubMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubMessage.class, - com.google.privacy.dlp.v2.DataProfilePubSubMessage.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubMessage.class, com.google.privacy.dlp.v2.DataProfilePubSubMessage.Builder.class); } public static final int PROFILE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.TableDataProfile profile_; /** - * - * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -144,7 +118,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; - * * @return Whether the profile field is set. */ @java.lang.Override @@ -152,8 +125,6 @@ public boolean hasProfile() { return profile_ != null; } /** - * - * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -161,18 +132,13 @@ public boolean hasProfile() {
    * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; - * * @return The profile. */ @java.lang.Override public com.google.privacy.dlp.v2.TableDataProfile getProfile() { - return profile_ == null - ? com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance() - : profile_; + return profile_ == null ? com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance() : profile_; } /** - * - * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -189,43 +155,31 @@ public com.google.privacy.dlp.v2.TableDataProfileOrBuilder getProfileOrBuilder()
   public static final int EVENT_FIELD_NUMBER = 2;
   private int event_;
   /**
-   *
-   *
    * 
    * The event that caused the Pub/Sub message to be sent.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The enum numeric value on the wire for event. */ - @java.lang.Override - public int getEventValue() { + @java.lang.Override public int getEventValue() { return event_; } /** - * - * *
    * The event that caused the Pub/Sub message to be sent.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The event. */ - @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { + @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.EventType result = - com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); - return result == null - ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfileAction.EventType result = com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); + return result == null ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,13 +191,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 (profile_ != null) { output.writeMessage(1, getProfile()); } - if (event_ - != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED - .getNumber()) { + if (event_ != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, event_); } unknownFields.writeTo(output); @@ -256,12 +209,12 @@ public int getSerializedSize() { size = 0; if (profile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProfile()); } - if (event_ - != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, event_); + if (event_ != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, event_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -271,17 +224,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.DataProfilePubSubMessage)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfilePubSubMessage other = - (com.google.privacy.dlp.v2.DataProfilePubSubMessage) obj; + com.google.privacy.dlp.v2.DataProfilePubSubMessage other = (com.google.privacy.dlp.v2.DataProfilePubSubMessage) obj; if (hasProfile() != other.hasProfile()) return false; if (hasProfile()) { - if (!getProfile().equals(other.getProfile())) return false; + if (!getProfile() + .equals(other.getProfile())) return false; } if (event_ != other.event_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -307,129 +260,119 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( - java.nio.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.DataProfilePubSubMessage parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfilePubSubMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 message that will be published to a Pub/Sub topic.
+   * Pub/Sub topic message for a DataProfileAction.PubSubNotification event.
    * To receive a message of protocol buffer schema type, convert the message data
    * to an object of this proto class.
-   * https://cloud.google.com/pubsub/docs/samples/pubsub-subscribe-proto-messages
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubMessage} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfilePubSubMessage) com.google.privacy.dlp.v2.DataProfilePubSubMessageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubMessage.class, - com.google.privacy.dlp.v2.DataProfilePubSubMessage.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubMessage.class, com.google.privacy.dlp.v2.DataProfilePubSubMessage.Builder.class); } // Construct using com.google.privacy.dlp.v2.DataProfilePubSubMessage.newBuilder() @@ -437,15 +380,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -461,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_DataProfilePubSubMessage_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor; } @java.lang.Override @@ -482,8 +426,7 @@ public com.google.privacy.dlp.v2.DataProfilePubSubMessage build() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubMessage buildPartial() { - com.google.privacy.dlp.v2.DataProfilePubSubMessage result = - new com.google.privacy.dlp.v2.DataProfilePubSubMessage(this); + com.google.privacy.dlp.v2.DataProfilePubSubMessage result = new com.google.privacy.dlp.v2.DataProfilePubSubMessage(this); if (profileBuilder_ == null) { result.profile_ = profile_; } else { @@ -498,39 +441,38 @@ public com.google.privacy.dlp.v2.DataProfilePubSubMessage buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfilePubSubMessage) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubMessage) other); + return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubMessage)other); } else { super.mergeFrom(other); return this; @@ -538,8 +480,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfilePubSubMessage other) { - if (other == com.google.privacy.dlp.v2.DataProfilePubSubMessage.getDefaultInstance()) - return this; + if (other == com.google.privacy.dlp.v2.DataProfilePubSubMessage.getDefaultInstance()) return this; if (other.hasProfile()) { mergeProfile(other.getProfile()); } @@ -565,8 +506,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.DataProfilePubSubMessage) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DataProfilePubSubMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -578,13 +518,8 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.TableDataProfile profile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TableDataProfile, - com.google.privacy.dlp.v2.TableDataProfile.Builder, - com.google.privacy.dlp.v2.TableDataProfileOrBuilder> - profileBuilder_; + com.google.privacy.dlp.v2.TableDataProfile, com.google.privacy.dlp.v2.TableDataProfile.Builder, com.google.privacy.dlp.v2.TableDataProfileOrBuilder> profileBuilder_; /** - * - * *
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -592,15 +527,12 @@ public Builder mergeFrom(
      * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; - * * @return Whether the profile field is set. */ public boolean hasProfile() { return profileBuilder_ != null || profile_ != null; } /** - * - * *
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -608,21 +540,16 @@ public boolean hasProfile() {
      * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; - * * @return The profile. */ public com.google.privacy.dlp.v2.TableDataProfile getProfile() { if (profileBuilder_ == null) { - return profile_ == null - ? com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance() - : profile_; + return profile_ == null ? com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance() : profile_; } else { return profileBuilder_.getMessage(); } } /** - * - * *
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -645,8 +572,6 @@ public Builder setProfile(com.google.privacy.dlp.v2.TableDataProfile value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -655,7 +580,8 @@ public Builder setProfile(com.google.privacy.dlp.v2.TableDataProfile value) {
      *
      * .google.privacy.dlp.v2.TableDataProfile profile = 1;
      */
-    public Builder setProfile(com.google.privacy.dlp.v2.TableDataProfile.Builder builderForValue) {
+    public Builder setProfile(
+        com.google.privacy.dlp.v2.TableDataProfile.Builder builderForValue) {
       if (profileBuilder_ == null) {
         profile_ = builderForValue.build();
         onChanged();
@@ -666,8 +592,6 @@ public Builder setProfile(com.google.privacy.dlp.v2.TableDataProfile.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -680,9 +604,7 @@ public Builder mergeProfile(com.google.privacy.dlp.v2.TableDataProfile value) {
       if (profileBuilder_ == null) {
         if (profile_ != null) {
           profile_ =
-              com.google.privacy.dlp.v2.TableDataProfile.newBuilder(profile_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.TableDataProfile.newBuilder(profile_).mergeFrom(value).buildPartial();
         } else {
           profile_ = value;
         }
@@ -694,8 +616,6 @@ public Builder mergeProfile(com.google.privacy.dlp.v2.TableDataProfile value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -716,8 +636,6 @@ public Builder clearProfile() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -727,13 +645,11 @@ public Builder clearProfile() {
      * .google.privacy.dlp.v2.TableDataProfile profile = 1;
      */
     public com.google.privacy.dlp.v2.TableDataProfile.Builder getProfileBuilder() {
-
+      
       onChanged();
       return getProfileFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -746,14 +662,11 @@ public com.google.privacy.dlp.v2.TableDataProfileOrBuilder getProfileOrBuilder()
       if (profileBuilder_ != null) {
         return profileBuilder_.getMessageOrBuilder();
       } else {
-        return profile_ == null
-            ? com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance()
-            : profile_;
+        return profile_ == null ?
+            com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance() : profile_;
       }
     }
     /**
-     *
-     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -763,17 +676,14 @@ public com.google.privacy.dlp.v2.TableDataProfileOrBuilder getProfileOrBuilder()
      * .google.privacy.dlp.v2.TableDataProfile profile = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TableDataProfile,
-            com.google.privacy.dlp.v2.TableDataProfile.Builder,
-            com.google.privacy.dlp.v2.TableDataProfileOrBuilder>
+        com.google.privacy.dlp.v2.TableDataProfile, com.google.privacy.dlp.v2.TableDataProfile.Builder, com.google.privacy.dlp.v2.TableDataProfileOrBuilder> 
         getProfileFieldBuilder() {
       if (profileBuilder_ == null) {
-        profileBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.TableDataProfile,
-                com.google.privacy.dlp.v2.TableDataProfile.Builder,
-                com.google.privacy.dlp.v2.TableDataProfileOrBuilder>(
-                getProfile(), getParentForChildren(), isClean());
+        profileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.TableDataProfile, com.google.privacy.dlp.v2.TableDataProfile.Builder, com.google.privacy.dlp.v2.TableDataProfileOrBuilder>(
+                getProfile(),
+                getParentForChildren(),
+                isClean());
         profile_ = null;
       }
       return profileBuilder_;
@@ -781,67 +691,51 @@ public com.google.privacy.dlp.v2.TableDataProfileOrBuilder getProfileOrBuilder()
 
     private int event_ = 0;
     /**
-     *
-     *
      * 
      * The event that caused the Pub/Sub message to be sent.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The enum numeric value on the wire for event. */ - @java.lang.Override - public int getEventValue() { + @java.lang.Override public int getEventValue() { return event_; } /** - * - * *
      * The event that caused the Pub/Sub message to be sent.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @param value The enum numeric value on the wire for event to set. * @return This builder for chaining. */ public Builder setEventValue(int value) { - + event_ = value; onChanged(); return this; } /** - * - * *
      * The event that caused the Pub/Sub message to be sent.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The event. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.EventType result = - com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); - return result == null - ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataProfileAction.EventType result = com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); + return result == null ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED : result; } /** - * - * *
      * The event that caused the Pub/Sub message to be sent.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @param value The event to set. * @return This builder for chaining. */ @@ -849,31 +743,28 @@ public Builder setEvent(com.google.privacy.dlp.v2.DataProfileAction.EventType va if (value == null) { throw new NullPointerException(); } - + event_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The event that caused the Pub/Sub message to be sent.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return This builder for chaining. */ public Builder clearEvent() { - + event_ = 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); } @@ -883,12 +774,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfilePubSubMessage) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfilePubSubMessage) private static final com.google.privacy.dlp.v2.DataProfilePubSubMessage DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfilePubSubMessage(); } @@ -897,16 +788,16 @@ public static com.google.privacy.dlp.v2.DataProfilePubSubMessage getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfilePubSubMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfilePubSubMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfilePubSubMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfilePubSubMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -921,4 +812,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DataProfilePubSubMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.java similarity index 72% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.java index 4e97f492..4a0867a1 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.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 DataProfilePubSubMessageOrBuilder - extends +public interface DataProfilePubSubMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfilePubSubMessage) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -33,13 +15,10 @@ public interface DataProfilePubSubMessageOrBuilder
    * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; - * * @return Whether the profile field is set. */ boolean hasProfile(); /** - * - * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -47,13 +26,10 @@ public interface DataProfilePubSubMessageOrBuilder
    * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; - * * @return The profile. */ com.google.privacy.dlp.v2.TableDataProfile getProfile(); /** - * - * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -65,26 +41,20 @@ public interface DataProfilePubSubMessageOrBuilder
   com.google.privacy.dlp.v2.TableDataProfileOrBuilder getProfileOrBuilder();
 
   /**
-   *
-   *
    * 
    * The event that caused the Pub/Sub message to be sent.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The enum numeric value on the wire for event. */ int getEventValue(); /** - * - * *
    * The event that caused the Pub/Sub message to be sent.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; - * * @return The event. */ com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent(); diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java similarity index 70% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java index 1a147062..774125c2 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java @@ -1,58 +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; /** - * - * *
  * Score is a summary of all elements in the data profile.
- * A higher number means more risky.
+ * A higher number means more risk.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DataRiskLevel} */ -public final class DataRiskLevel extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DataRiskLevel extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataRiskLevel) DataRiskLevelOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DataRiskLevel.newBuilder() to construct. private DataRiskLevel(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataRiskLevel() { score_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DataRiskLevel(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DataRiskLevel( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +54,19 @@ private DataRiskLevel( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - score_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + score_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,41 +74,36 @@ private DataRiskLevel( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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_DataRiskLevel_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataRiskLevel.class, - com.google.privacy.dlp.v2.DataRiskLevel.Builder.class); + com.google.privacy.dlp.v2.DataRiskLevel.class, com.google.privacy.dlp.v2.DataRiskLevel.Builder.class); } /** - * - * *
    * Various score levels for resources.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore} */ - public enum DataRiskLevelScore implements com.google.protobuf.ProtocolMessageEnum { + public enum DataRiskLevelScore + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unused.
      * 
@@ -135,8 +112,6 @@ public enum DataRiskLevelScore implements com.google.protobuf.ProtocolMessageEnu */ RISK_SCORE_UNSPECIFIED(0), /** - * - * *
      * Low risk - Lower indication of sensitive data that appears to have
      * additional access restrictions in place or no indication of sensitive
@@ -147,20 +122,16 @@ public enum DataRiskLevelScore implements com.google.protobuf.ProtocolMessageEnu
      */
     RISK_LOW(10),
     /**
-     *
-     *
      * 
      * Medium risk - Sensitive data may be present but additional access or fine
-     * grain access restrictions appears to be present.  Consider limiting
-     * access even further or transforming data to mask.
+     * grain access restrictions appear to be present.  Consider limiting
+     * access even further or transform data to mask.
      * 
* * RISK_MODERATE = 20; */ RISK_MODERATE(20), /** - * - * *
      * High risk – SPII may be present. Access controls may include public
      * ACLs. Exfiltration of data may lead to user data loss. Re-identification
@@ -174,8 +145,6 @@ public enum DataRiskLevelScore implements com.google.protobuf.ProtocolMessageEnu
     ;
 
     /**
-     *
-     *
      * 
      * Unused.
      * 
@@ -184,8 +153,6 @@ public enum DataRiskLevelScore implements com.google.protobuf.ProtocolMessageEnu */ public static final int RISK_SCORE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Low risk - Lower indication of sensitive data that appears to have
      * additional access restrictions in place or no indication of sensitive
@@ -196,20 +163,16 @@ public enum DataRiskLevelScore implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int RISK_LOW_VALUE = 10;
     /**
-     *
-     *
      * 
      * Medium risk - Sensitive data may be present but additional access or fine
-     * grain access restrictions appears to be present.  Consider limiting
-     * access even further or transforming data to mask.
+     * grain access restrictions appear to be present.  Consider limiting
+     * access even further or transform data to mask.
      * 
* * RISK_MODERATE = 20; */ public static final int RISK_MODERATE_VALUE = 20; /** - * - * *
      * High risk – SPII may be present. Access controls may include public
      * ACLs. Exfiltration of data may lead to user data loss. Re-identification
@@ -220,6 +183,7 @@ public enum DataRiskLevelScore implements com.google.protobuf.ProtocolMessageEnu
      */
     public static final int RISK_HIGH_VALUE = 30;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -244,16 +208,11 @@ public static DataRiskLevelScore valueOf(int value) {
      */
     public static DataRiskLevelScore forNumber(int value) {
       switch (value) {
-        case 0:
-          return RISK_SCORE_UNSPECIFIED;
-        case 10:
-          return RISK_LOW;
-        case 20:
-          return RISK_MODERATE;
-        case 30:
-          return RISK_HIGH;
-        default:
-          return null;
+        case 0: return RISK_SCORE_UNSPECIFIED;
+        case 10: return RISK_LOW;
+        case 20: return RISK_MODERATE;
+        case 30: return RISK_HIGH;
+        default: return null;
       }
     }
 
@@ -261,28 +220,28 @@ public static DataRiskLevelScore forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DataRiskLevelScore> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DataRiskLevelScore findValueByNumber(int number) {
+              return DataRiskLevelScore.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public DataRiskLevelScore findValueByNumber(int number) {
-                return DataRiskLevelScore.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.DataRiskLevel.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -291,7 +250,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static DataRiskLevelScore 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;
@@ -311,43 +271,31 @@ private DataRiskLevelScore(int value) {
   public static final int SCORE_FIELD_NUMBER = 1;
   private int score_;
   /**
-   *
-   *
    * 
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; - * * @return The enum numeric value on the wire for score. */ - @java.lang.Override - public int getScoreValue() { + @java.lang.Override public int getScoreValue() { return score_; } /** - * - * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; - * * @return The score. */ - @java.lang.Override - public com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore getScore() { + @java.lang.Override public com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore getScore() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore result = - com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.valueOf(score_); - return result == null - ? com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore result = com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.valueOf(score_); + return result == null ? com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -359,10 +307,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (score_ - != com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.RISK_SCORE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (score_ != com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.RISK_SCORE_UNSPECIFIED.getNumber()) { output.writeEnum(1, score_); } unknownFields.writeTo(output); @@ -374,10 +321,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (score_ - != com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.RISK_SCORE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, score_); + if (score_ != com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.RISK_SCORE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, score_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,7 +333,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.DataRiskLevel)) { return super.equals(obj); @@ -413,128 +359,119 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom(java.io.InputStream input) 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.DataRiskLevel parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.DataRiskLevel parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.DataRiskLevel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataRiskLevel parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DataRiskLevel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Score is a summary of all elements in the data profile.
-   * A higher number means more risky.
+   * A higher number means more risk.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataRiskLevel} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataRiskLevel) com.google.privacy.dlp.v2.DataRiskLevelOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataRiskLevel.class, - com.google.privacy.dlp.v2.DataRiskLevel.Builder.class); + com.google.privacy.dlp.v2.DataRiskLevel.class, com.google.privacy.dlp.v2.DataRiskLevel.Builder.class); } // Construct using com.google.privacy.dlp.v2.DataRiskLevel.newBuilder() @@ -542,15 +479,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -560,9 +498,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor; } @java.lang.Override @@ -581,8 +519,7 @@ public com.google.privacy.dlp.v2.DataRiskLevel build() { @java.lang.Override public com.google.privacy.dlp.v2.DataRiskLevel buildPartial() { - com.google.privacy.dlp.v2.DataRiskLevel result = - new com.google.privacy.dlp.v2.DataRiskLevel(this); + com.google.privacy.dlp.v2.DataRiskLevel result = new com.google.privacy.dlp.v2.DataRiskLevel(this); result.score_ = score_; onBuilt(); return result; @@ -592,39 +529,38 @@ public com.google.privacy.dlp.v2.DataRiskLevel buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataRiskLevel) { - return mergeFrom((com.google.privacy.dlp.v2.DataRiskLevel) other); + return mergeFrom((com.google.privacy.dlp.v2.DataRiskLevel)other); } else { super.mergeFrom(other); return this; @@ -667,67 +603,51 @@ public Builder mergeFrom( private int score_ = 0; /** - * - * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; - * * @return The enum numeric value on the wire for score. */ - @java.lang.Override - public int getScoreValue() { + @java.lang.Override public int getScoreValue() { return score_; } /** - * - * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; - * * @param value The enum numeric value on the wire for score to set. * @return This builder for chaining. */ public Builder setScoreValue(int value) { - + score_ = value; onChanged(); return this; } /** - * - * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; - * * @return The score. */ @java.lang.Override public com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore getScore() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore result = - com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.valueOf(score_); - return result == null - ? com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore result = com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.valueOf(score_); + return result == null ? com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.UNRECOGNIZED : result; } /** - * - * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; - * * @param value The score to set. * @return This builder for chaining. */ @@ -735,31 +655,28 @@ public Builder setScore(com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelSco if (value == null) { throw new NullPointerException(); } - + score_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; - * * @return This builder for chaining. */ public Builder clearScore() { - + score_ = 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); } @@ -769,12 +686,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataRiskLevel) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataRiskLevel) private static final com.google.privacy.dlp.v2.DataRiskLevel DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataRiskLevel(); } @@ -783,16 +700,16 @@ public static com.google.privacy.dlp.v2.DataRiskLevel getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataRiskLevel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataRiskLevel(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataRiskLevel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataRiskLevel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,4 +724,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DataRiskLevel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.java similarity index 53% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.java index b0631cc5..1c8fa554 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.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 DataRiskLevelOrBuilder - extends +public interface DataRiskLevelOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataRiskLevel) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; - * * @return The enum numeric value on the wire for score. */ int getScoreValue(); /** - * - * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; - * * @return The score. */ com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore getScore(); 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 70ae9510..cf4ff511 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,28 +52,26 @@ 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) { @@ -97,39 +79,34 @@ private DatastoreKey( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -137,14 +114,11 @@ public boolean hasEntityKey() { return entityKey_ != null; } /** - * - * *
    * Datastore entity key.
    * 
* * .google.privacy.dlp.v2.Key entity_key = 1; - * * @return The entityKey. */ @java.lang.Override @@ -152,8 +126,6 @@ public com.google.privacy.dlp.v2.Key getEntityKey() { return entityKey_ == null ? com.google.privacy.dlp.v2.Key.getDefaultInstance() : entityKey_; } /** - * - * *
    * Datastore entity key.
    * 
@@ -166,7 +138,6 @@ public com.google.privacy.dlp.v2.KeyOrBuilder getEntityKeyOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,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 (entityKey_ != null) { output.writeMessage(1, getEntityKey()); } @@ -192,7 +164,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; @@ -202,7 +175,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); @@ -211,7 +184,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; @@ -233,127 +207,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() @@ -361,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +349,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 @@ -404,8 +370,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 { @@ -419,39 +384,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; @@ -494,33 +458,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() { @@ -531,8 +486,6 @@ public com.google.privacy.dlp.v2.Key getEntityKey() { } } /** - * - * *
      * Datastore entity key.
      * 
@@ -553,15 +506,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(); @@ -572,8 +524,6 @@ public Builder setEntityKey(com.google.privacy.dlp.v2.Key.Builder builderForValu return this; } /** - * - * *
      * Datastore entity key.
      * 
@@ -584,7 +534,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; } @@ -596,8 +546,6 @@ public Builder mergeEntityKey(com.google.privacy.dlp.v2.Key value) { return this; } /** - * - * *
      * Datastore entity key.
      * 
@@ -616,8 +564,6 @@ public Builder clearEntityKey() { return this; } /** - * - * *
      * Datastore entity key.
      * 
@@ -625,13 +571,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.
      * 
@@ -642,12 +586,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.
      * 
@@ -655,24 +598,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); } @@ -682,12 +622,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(); } @@ -696,16 +636,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; @@ -720,4 +660,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 70% 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 f8e48379..4ea4f17b 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,45 +52,39 @@ 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) { @@ -114,40 +92,35 @@ private DatastoreOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -155,26 +128,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.
@@ -190,14 +156,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 @@ -205,14 +168,11 @@ public boolean hasKind() { return kind_ != null; } /** - * - * *
    * The kind to process.
    * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; - * * @return The kind. */ @java.lang.Override @@ -220,8 +180,6 @@ public com.google.privacy.dlp.v2.KindExpression getKind() { return kind_ == null ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() : kind_; } /** - * - * *
    * The kind to process.
    * 
@@ -234,7 +192,6 @@ public com.google.privacy.dlp.v2.KindExpressionOrBuilder getKindOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (partitionId_ != null) { output.writeMessage(1, getPartitionId()); } @@ -263,10 +221,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; @@ -276,21 +236,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -316,127 +277,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() @@ -444,15 +396,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +425,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 @@ -493,8 +446,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 { @@ -513,39 +465,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; @@ -591,49 +542,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.
@@ -655,8 +593,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.
@@ -664,7 +600,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();
@@ -675,8 +612,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.
@@ -688,9 +623,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;
         }
@@ -702,8 +635,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.
@@ -723,8 +654,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.
@@ -733,13 +662,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.
@@ -751,14 +678,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.
@@ -767,17 +691,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_;
@@ -785,47 +706,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.
      * 
@@ -846,15 +754,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(); @@ -865,8 +772,6 @@ public Builder setKind(com.google.privacy.dlp.v2.KindExpression.Builder builderF return this; } /** - * - * *
      * The kind to process.
      * 
@@ -877,9 +782,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; } @@ -891,8 +794,6 @@ public Builder mergeKind(com.google.privacy.dlp.v2.KindExpression value) { return this; } /** - * - * *
      * The kind to process.
      * 
@@ -911,8 +812,6 @@ public Builder clearKind() { return this; } /** - * - * *
      * The kind to process.
      * 
@@ -920,13 +819,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.
      * 
@@ -937,14 +834,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.
      * 
@@ -952,24 +846,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); } @@ -979,12 +870,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(); } @@ -993,16 +884,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; @@ -1017,4 +908,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 b90df960..a24dce55 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,54 +54,50 @@ 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) {
@@ -125,39 +105,34 @@ private DateShiftConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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;
     }
@@ -173,29 +148,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
@@ -204,7 +175,6 @@ public MethodCase getMethodCase() {
    * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The upperBoundDays. */ @java.lang.Override @@ -215,14 +185,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 @@ -233,8 +200,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
@@ -242,7 +207,6 @@ public int getLowerBoundDays() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return Whether the context field is set. */ @java.lang.Override @@ -250,8 +214,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
@@ -259,7 +221,6 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return The context. */ @java.lang.Override @@ -267,8 +228,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
@@ -284,8 +243,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
@@ -293,7 +250,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 @@ -301,8 +257,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
@@ -310,19 +264,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
@@ -334,13 +285,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;
@@ -352,7 +302,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (upperBoundDays_ != 0) {
       output.writeInt32(1, upperBoundDays_);
     }
@@ -375,18 +326,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;
@@ -396,24 +349,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:
@@ -450,104 +406,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
@@ -556,23 +505,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()
@@ -580,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();
@@ -608,9 +556,9 @@ public Builder 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
@@ -629,8 +577,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) {
@@ -654,39 +601,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;
@@ -705,15 +651,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();
@@ -743,12 +687,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() {
@@ -758,10 +702,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
@@ -770,7 +713,6 @@ public Builder clearMethod() {
      * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The upperBoundDays. */ @java.lang.Override @@ -778,8 +720,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
@@ -788,19 +728,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
@@ -809,26 +746,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 @@ -836,36 +769,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; @@ -873,13 +800,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
@@ -887,15 +809,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
@@ -903,7 +822,6 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; - * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -914,8 +832,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
@@ -938,8 +854,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
@@ -948,7 +862,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();
@@ -959,8 +874,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
@@ -973,9 +886,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;
         }
@@ -987,8 +898,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
@@ -1009,8 +918,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
@@ -1020,13 +927,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
@@ -1039,12 +944,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
@@ -1054,30 +958,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
@@ -1085,7 +981,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 @@ -1093,8 +988,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
@@ -1102,7 +995,6 @@ public boolean hasCryptoKey() {
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; - * * @return The cryptoKey. */ @java.lang.Override @@ -1120,8 +1012,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
@@ -1144,8 +1034,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
@@ -1154,7 +1042,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();
@@ -1165,8 +1054,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
@@ -1177,13 +1064,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;
         }
@@ -1199,8 +1083,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
@@ -1226,8 +1108,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
@@ -1240,8 +1120,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
@@ -1262,8 +1140,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
@@ -1273,30 +1149,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);
     }
 
@@ -1306,12 +1178,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();
   }
@@ -1320,16 +1192,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;
@@ -1344,4 +1216,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 52ea42cc..672116d3 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,64 +54,58 @@ 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) {
@@ -136,79 +113,72 @@ private DateTime(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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) @@ -227,18 +197,18 @@ 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) { @@ -246,40 +216,35 @@ private TimeZone( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -288,7 +253,6 @@ public int getOffsetMinutes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,7 +264,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (offsetMinutes_ != 0) { output.writeInt32(1, offsetMinutes_); } @@ -314,7 +279,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; @@ -324,15 +290,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; } @@ -351,94 +317,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 @@ -448,32 +408,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() @@ -481,15 +436,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -499,9 +455,9 @@ public Builder 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 @@ -520,8 +476,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; @@ -531,41 +486,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; @@ -606,17 +558,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 @@ -624,43 +573,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) { @@ -673,12 +615,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(); } @@ -687,16 +629,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; @@ -711,20 +653,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 @@ -732,15 +672,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 @@ -748,8 +685,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.
@@ -765,33 +700,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; @@ -800,14 +727,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 @@ -815,14 +739,11 @@ public boolean hasTime() { return time_ != null; } /** - * - * *
    * Time of day
    * 
* * .google.type.TimeOfDay time = 3; - * * @return The time. */ @java.lang.Override @@ -830,8 +751,6 @@ public com.google.type.TimeOfDay getTime() { return time_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : time_; } /** - * - * *
    * Time of day
    * 
@@ -846,14 +765,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 @@ -861,25 +777,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
    * 
@@ -892,7 +801,6 @@ public com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -904,7 +812,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -927,16 +836,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; @@ -946,7 +859,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); @@ -955,16 +868,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; @@ -996,103 +912,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.
@@ -1100,23 +1010,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()
@@ -1124,15 +1032,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1160,9 +1069,9 @@ public Builder 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
@@ -1206,39 +1115,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;
@@ -1290,33 +1198,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() { @@ -1327,8 +1228,6 @@ public com.google.type.Date getDate() { } } /** - * - * *
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1350,8 +1249,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.
@@ -1359,7 +1256,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();
@@ -1370,8 +1268,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.
@@ -1382,7 +1278,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;
         }
@@ -1394,8 +1291,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.
@@ -1415,8 +1310,6 @@ public Builder clearDate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1425,13 +1318,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.
@@ -1443,12 +1334,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.
@@ -1457,13 +1347,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_;
@@ -1471,47 +1362,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 @@ -1521,14 +1402,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. */ @@ -1536,24 +1414,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; @@ -1561,33 +1436,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() { @@ -1598,8 +1464,6 @@ public com.google.type.TimeOfDay getTime() { } } /** - * - * *
      * Time of day
      * 
@@ -1620,15 +1484,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(); @@ -1639,8 +1502,6 @@ public Builder setTime(com.google.type.TimeOfDay.Builder builderForValue) { return this; } /** - * - * *
      * Time of day
      * 
@@ -1650,7 +1511,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; } @@ -1662,8 +1524,6 @@ public Builder mergeTime(com.google.type.TimeOfDay value) { return this; } /** - * - * *
      * Time of day
      * 
@@ -1682,8 +1542,6 @@ public Builder clearTime() { return this; } /** - * - * *
      * Time of day
      * 
@@ -1691,13 +1549,11 @@ public Builder clearTime() { * .google.type.TimeOfDay time = 3; */ public com.google.type.TimeOfDay.Builder getTimeBuilder() { - + onChanged(); return getTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time of day
      * 
@@ -1708,12 +1564,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
      * 
@@ -1721,16 +1576,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_; @@ -1738,47 +1591,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
      * 
@@ -1799,8 +1639,6 @@ public Builder setTimeZone(com.google.privacy.dlp.v2.DateTime.TimeZone value) { return this; } /** - * - * *
      * Time zone
      * 
@@ -1819,8 +1657,6 @@ public Builder setTimeZone( return this; } /** - * - * *
      * Time zone
      * 
@@ -1831,9 +1667,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; } @@ -1845,8 +1679,6 @@ public Builder mergeTimeZone(com.google.privacy.dlp.v2.DateTime.TimeZone value) return this; } /** - * - * *
      * Time zone
      * 
@@ -1865,8 +1697,6 @@ public Builder clearTimeZone() { return this; } /** - * - * *
      * Time zone
      * 
@@ -1874,13 +1704,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
      * 
@@ -1891,14 +1719,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
      * 
@@ -1906,24 +1731,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); } @@ -1933,12 +1755,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(); } @@ -1947,16 +1769,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; @@ -1971,4 +1793,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 62% 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 05886c94..1592a12f 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,68 +52,68 @@ 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(); + } + 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(); } - 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; + transformationErrorHandling_ = input.readMessage(com.google.privacy.dlp.v2.TransformationErrorHandling.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transformationErrorHandling_); + transformationErrorHandling_ = 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; + break; + } + case 34: { + com.google.privacy.dlp.v2.ImageTransformations.Builder subBuilder = null; + if (transformationCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.ImageTransformations) transformation_).toBuilder(); + } + transformation_ = + input.readMessage(com.google.privacy.dlp.v2.ImageTransformations.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageTransformations) transformation_); + transformation_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + transformationCase_ = 4; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -137,40 +121,36 @@ private DeidentifyConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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), + IMAGE_TRANSFORMATIONS(4), TRANSFORMATION_NOT_SET(0); private final int value; - private TransformationCase(int value) { this.value = value; } @@ -186,37 +166,32 @@ 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 4: return IMAGE_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 @@ -224,27 +199,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.
@@ -253,18 +223,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
@@ -272,7 +239,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 @@ -280,8 +246,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
@@ -289,19 +253,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
@@ -311,27 +272,65 @@ 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();
   }
 
-  public static final int TRANSFORMATION_ERROR_HANDLING_FIELD_NUMBER = 3;
-  private com.google.privacy.dlp.v2.TransformationErrorHandling transformationErrorHandling_;
+  public static final int IMAGE_TRANSFORMATIONS_FIELD_NUMBER = 4;
   /**
+   * 
+   * Treat the dataset as an image and redact.
+   * 
* + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * @return Whether the imageTransformations field is set. + */ + @java.lang.Override + public boolean hasImageTransformations() { + return transformationCase_ == 4; + } + /** + *
+   * Treat the dataset as an image and redact.
+   * 
* + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * @return The imageTransformations. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations getImageTransformations() { + if (transformationCase_ == 4) { + return (com.google.privacy.dlp.v2.ImageTransformations) transformation_; + } + return com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance(); + } + /** + *
+   * Treat the dataset as an image and redact.
+   * 
+ * + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformationsOrBuilder getImageTransformationsOrBuilder() { + if (transformationCase_ == 4) { + return (com.google.privacy.dlp.v2.ImageTransformations) transformation_; + } + return com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance(); + } + + 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 @@ -339,43 +338,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; @@ -387,7 +375,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -397,6 +386,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (transformationErrorHandling_ != null) { output.writeMessage(3, getTransformationErrorHandling()); } + if (transformationCase_ == 4) { + output.writeMessage(4, (com.google.privacy.dlp.v2.ImageTransformations) transformation_); + } unknownFields.writeTo(output); } @@ -407,19 +399,20 @@ 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()); + } + if (transformationCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.ImageTransformations) transformation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -429,26 +422,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.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 4: + if (!getImageTransformations() + .equals(other.getImageTransformations())) return false; break; case 0: default: @@ -477,6 +475,10 @@ public int hashCode() { hash = (37 * hash) + RECORD_TRANSFORMATIONS_FIELD_NUMBER; hash = (53 * hash) + getRecordTransformations().hashCode(); break; + case 4: + hash = (37 * hash) + IMAGE_TRANSFORMATIONS_FIELD_NUMBER; + hash = (53 * hash) + getImageTransformations().hashCode(); + break; case 0: default: } @@ -485,127 +487,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() @@ -613,15 +606,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); 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 +631,9 @@ public Builder 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 @@ -658,8 +652,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_; @@ -674,6 +667,13 @@ public com.google.privacy.dlp.v2.DeidentifyConfig buildPartial() { result.transformation_ = recordTransformationsBuilder_.build(); } } + if (transformationCase_ == 4) { + if (imageTransformationsBuilder_ == null) { + result.transformation_ = transformation_; + } else { + result.transformation_ = imageTransformationsBuilder_.build(); + } + } if (transformationErrorHandlingBuilder_ == null) { result.transformationErrorHandling_ = transformationErrorHandling_; } else { @@ -688,39 +688,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; @@ -733,20 +732,21 @@ 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 IMAGE_TRANSFORMATIONS: { + mergeImageTransformations(other.getImageTransformations()); + break; + } + case TRANSFORMATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -776,12 +776,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() { @@ -791,21 +791,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 @@ -813,15 +808,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 @@ -839,8 +831,6 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati } } /** - * - * *
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -848,8 +838,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();
@@ -863,8 +852,6 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -884,8 +871,6 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -893,17 +878,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;
         }
@@ -919,8 +899,6 @@ public Builder mergeInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -945,8 +923,6 @@ public Builder clearInfoTypeTransformations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -954,13 +930,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.
@@ -969,8 +942,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 {
@@ -981,8 +953,6 @@ public Builder clearInfoTypeTransformations() {
       }
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -991,38 +961,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
@@ -1030,7 +989,6 @@ public Builder clearInfoTypeTransformations() {
      * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; - * * @return Whether the recordTransformations field is set. */ @java.lang.Override @@ -1038,8 +996,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
@@ -1047,7 +1003,6 @@ public boolean hasRecordTransformations() {
      * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; - * * @return The recordTransformations. */ @java.lang.Override @@ -1065,8 +1020,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
@@ -1089,8 +1042,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
@@ -1111,8 +1062,6 @@ public Builder setRecordTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1121,17 +1070,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;
         }
@@ -1147,8 +1091,6 @@ public Builder mergeRecordTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1174,8 +1116,6 @@ public Builder clearRecordTransformations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1184,13 +1124,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
@@ -1200,8 +1137,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 {
@@ -1212,8 +1148,6 @@ public Builder clearRecordTransformations() {
       }
     }
     /**
-     *
-     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1223,87 +1157,242 @@ 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.ImageTransformations, com.google.privacy.dlp.v2.ImageTransformations.Builder, com.google.privacy.dlp.v2.ImageTransformationsOrBuilder> imageTransformationsBuilder_;
     /**
+     * 
+     * Treat the dataset as an image and redact.
+     * 
* + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * @return Whether the imageTransformations field is set. + */ + @java.lang.Override + public boolean hasImageTransformations() { + return transformationCase_ == 4; + } + /** + *
+     * Treat the dataset as an image and redact.
+     * 
* + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * @return The imageTransformations. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations getImageTransformations() { + if (imageTransformationsBuilder_ == null) { + if (transformationCase_ == 4) { + return (com.google.privacy.dlp.v2.ImageTransformations) transformation_; + } + return com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance(); + } else { + if (transformationCase_ == 4) { + return imageTransformationsBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance(); + } + } + /** + *
+     * Treat the dataset as an image and redact.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + */ + public Builder setImageTransformations(com.google.privacy.dlp.v2.ImageTransformations value) { + if (imageTransformationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformation_ = value; + onChanged(); + } else { + imageTransformationsBuilder_.setMessage(value); + } + transformationCase_ = 4; + return this; + } + /** + *
+     * Treat the dataset as an image and redact.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + */ + public Builder setImageTransformations( + com.google.privacy.dlp.v2.ImageTransformations.Builder builderForValue) { + if (imageTransformationsBuilder_ == null) { + transformation_ = builderForValue.build(); + onChanged(); + } else { + imageTransformationsBuilder_.setMessage(builderForValue.build()); + } + transformationCase_ = 4; + return this; + } + /** + *
+     * Treat the dataset as an image and redact.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + */ + public Builder mergeImageTransformations(com.google.privacy.dlp.v2.ImageTransformations value) { + if (imageTransformationsBuilder_ == null) { + if (transformationCase_ == 4 && + transformation_ != com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance()) { + transformation_ = com.google.privacy.dlp.v2.ImageTransformations.newBuilder((com.google.privacy.dlp.v2.ImageTransformations) transformation_) + .mergeFrom(value).buildPartial(); + } else { + transformation_ = value; + } + onChanged(); + } else { + if (transformationCase_ == 4) { + imageTransformationsBuilder_.mergeFrom(value); + } else { + imageTransformationsBuilder_.setMessage(value); + } + } + transformationCase_ = 4; + return this; + } + /** + *
+     * Treat the dataset as an image and redact.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + */ + public Builder clearImageTransformations() { + if (imageTransformationsBuilder_ == null) { + if (transformationCase_ == 4) { + transformationCase_ = 0; + transformation_ = null; + onChanged(); + } + } else { + if (transformationCase_ == 4) { + transformationCase_ = 0; + transformation_ = null; + } + imageTransformationsBuilder_.clear(); + } + return this; + } + /** + *
+     * Treat the dataset as an image and redact.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + */ + public com.google.privacy.dlp.v2.ImageTransformations.Builder getImageTransformationsBuilder() { + return getImageTransformationsFieldBuilder().getBuilder(); + } + /** + *
+     * Treat the dataset as an image and redact.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformationsOrBuilder getImageTransformationsOrBuilder() { + if ((transformationCase_ == 4) && (imageTransformationsBuilder_ != null)) { + return imageTransformationsBuilder_.getMessageOrBuilder(); + } else { + if (transformationCase_ == 4) { + return (com.google.privacy.dlp.v2.ImageTransformations) transformation_; + } + return com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance(); + } + } + /** + *
+     * Treat the dataset as an image and redact.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations, com.google.privacy.dlp.v2.ImageTransformations.Builder, com.google.privacy.dlp.v2.ImageTransformationsOrBuilder> + getImageTransformationsFieldBuilder() { + if (imageTransformationsBuilder_ == null) { + if (!(transformationCase_ == 4)) { + transformation_ = com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance(); + } + imageTransformationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations, com.google.privacy.dlp.v2.ImageTransformations.Builder, com.google.privacy.dlp.v2.ImageTransformationsOrBuilder>( + (com.google.privacy.dlp.v2.ImageTransformations) transformation_, + getParentForChildren(), + isClean()); + transformation_ = null; + } + transformationCase_ = 4; + onChanged();; + return imageTransformationsBuilder_; + } + + 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_; + /** *
      * 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(); @@ -1317,15 +1406,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) { @@ -1339,25 +1425,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; } @@ -1369,15 +1448,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) { @@ -1391,73 +1467,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); } @@ -1467,12 +1528,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(); } @@ -1481,16 +1542,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; @@ -1505,4 +1566,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 78% 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..fb6b263e 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,61 @@ public interface DeidentifyConfigOrBuilder
   com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransformationsOrBuilder();
 
   /**
+   * 
+   * Treat the dataset as an image and redact.
+   * 
+ * + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * @return Whether the imageTransformations field is set. + */ + boolean hasImageTransformations(); + /** + *
+   * Treat the dataset as an image and redact.
+   * 
* + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * @return The imageTransformations. + */ + com.google.privacy.dlp.v2.ImageTransformations getImageTransformations(); + /** + *
+   * Treat the dataset as an image and redact.
+   * 
* + * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + */ + com.google.privacy.dlp.v2.ImageTransformationsOrBuilder getImageTransformationsOrBuilder(); + + /** *
    * 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 d1a5e84c..6ba689fc 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.
+ * Request to de-identify a ContentItem.
  * 
* * 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,89 +56,76 @@ 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) { @@ -163,33 +133,29 @@ private DeidentifyContentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -206,7 +172,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ @java.lang.Override @@ -215,15 +180,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
@@ -240,15 +204,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 { @@ -259,8 +224,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
@@ -268,7 +231,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 @@ -276,8 +238,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
@@ -285,18 +245,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
@@ -313,8 +268,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
@@ -322,7 +275,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 @@ -330,8 +282,6 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** - * - * *
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -339,18 +289,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
@@ -367,14 +312,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 @@ -382,14 +324,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 @@ -397,8 +336,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.
    * 
@@ -413,8 +350,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
@@ -424,7 +359,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 5; - * * @return The inspectTemplateName. */ @java.lang.Override @@ -433,15 +367,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
@@ -451,15 +384,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 { @@ -470,8 +404,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
@@ -481,7 +413,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
    * 
* * string deidentify_template_name = 6; - * * @return The deidentifyTemplateName. */ @java.lang.Override @@ -490,15 +421,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
@@ -508,15 +438,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 { @@ -527,14 +458,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 @@ -543,29 +471,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 { @@ -574,7 +502,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -586,7 +513,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -621,13 +549,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_); @@ -646,30 +577,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; } @@ -707,126 +644,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.
+   * Request to de-identify a ContentItem.
    * 
* * 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() @@ -834,15 +762,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); 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 +805,9 @@ public Builder 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 @@ -897,8 +826,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_; @@ -926,39 +854,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; @@ -966,8 +893,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(); @@ -1012,8 +938,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) { @@ -1025,8 +950,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
@@ -1043,13 +966,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; @@ -1058,8 +981,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1076,14 +997,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 { @@ -1091,8 +1013,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1109,22 +1029,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
@@ -1141,18 +1059,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
@@ -1169,16 +1084,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; @@ -1186,13 +1101,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
@@ -1200,15 +1110,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
@@ -1216,21 +1123,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
@@ -1253,8 +1155,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
@@ -1275,8 +1175,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
@@ -1289,9 +1187,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;
         }
@@ -1303,8 +1199,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
@@ -1325,8 +1219,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
@@ -1336,13 +1228,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
@@ -1355,14 +1245,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
@@ -1372,17 +1259,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_;
@@ -1390,13 +1274,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
@@ -1404,15 +1283,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
@@ -1420,21 +1296,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
@@ -1457,8 +1328,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
@@ -1479,8 +1348,6 @@ public Builder setInspectConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1493,9 +1360,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;
         }
@@ -1507,8 +1372,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
@@ -1529,8 +1392,6 @@ public Builder clearInspectConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1540,13 +1401,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
@@ -1559,14 +1418,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
@@ -1576,17 +1432,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_;
@@ -1594,33 +1447,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() { @@ -1631,8 +1475,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1653,15 +1495,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(); @@ -1672,8 +1513,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1684,9 +1523,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; } @@ -1698,8 +1535,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1718,8 +1553,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1727,13 +1560,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.
      * 
@@ -1744,12 +1575,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.
      * 
@@ -1757,17 +1587,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_; @@ -1775,8 +1602,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
@@ -1786,13 +1611,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; @@ -1801,8 +1626,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
@@ -1812,14 +1635,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 { @@ -1827,8 +1651,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
@@ -1838,22 +1660,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
@@ -1863,18 +1683,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
@@ -1884,16 +1701,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; @@ -1901,8 +1718,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
@@ -1912,13 +1727,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; @@ -1927,8 +1742,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
@@ -1938,14 +1751,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 { @@ -1953,8 +1767,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
@@ -1964,22 +1776,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
@@ -1989,18 +1799,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
@@ -2010,16 +1817,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; @@ -2027,20 +1834,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; @@ -2049,21 +1854,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 { @@ -2071,68 +1875,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); } @@ -2142,12 +1939,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(); } @@ -2156,16 +1953,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; @@ -2180,4 +1977,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 43de2bb1..b4d2d918 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,45 +52,39 @@ 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) { @@ -114,39 +92,34 @@ private DeidentifyContentResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -154,14 +127,11 @@ public boolean hasItem() { return item_ != null; } /** - * - * *
    * The de-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ @java.lang.Override @@ -169,8 +139,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** - * - * *
    * The de-identified item.
    * 
@@ -185,14 +153,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 @@ -200,25 +165,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`.
    * 
@@ -231,7 +189,6 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -260,10 +218,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; @@ -273,21 +233,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; @@ -314,126 +275,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() @@ -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_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 @@ -490,8 +443,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 { @@ -510,39 +462,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; @@ -550,8 +501,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()); } @@ -577,8 +527,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) { @@ -590,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 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() { @@ -627,8 +567,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The de-identified item.
      * 
@@ -649,15 +587,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(); @@ -668,8 +605,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The de-identified item.
      * 
@@ -680,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; } @@ -694,8 +627,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The de-identified item.
      * 
@@ -714,8 +645,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The de-identified item.
      * 
@@ -723,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 de-identified item.
      * 
@@ -740,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 de-identified item.
      * 
@@ -753,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_; @@ -771,47 +694,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`.
      * 
@@ -832,8 +742,6 @@ public Builder setOverview(com.google.privacy.dlp.v2.TransformationOverview valu return this; } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -852,8 +760,6 @@ public Builder setOverview( return this; } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -864,9 +770,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; } @@ -878,8 +782,6 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va return this; } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -898,8 +800,6 @@ public Builder clearOverview() { return this; } /** - * - * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -907,13 +807,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`.
      * 
@@ -924,14 +822,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`.
      * 
@@ -939,24 +834,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); } @@ -966,12 +858,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(); } @@ -980,16 +872,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; @@ -1004,4 +896,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 c9158db5..5ac874fd 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,80 +56,70 @@ 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) {
@@ -154,33 +127,29 @@ private DeidentifyTemplate(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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:
@@ -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 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 @@ -445,25 +382,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.
    * 
@@ -476,7 +406,6 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr } 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 (deidentifyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeidentifyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDeidentifyConfig()); } 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.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; @@ -599,104 +537,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.
@@ -704,23 +635,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()
@@ -728,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();
@@ -768,9 +698,9 @@ public Builder 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
@@ -789,8 +719,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_;
@@ -817,39 +746,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;
@@ -910,8 +838,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -920,13 +846,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; @@ -935,8 +861,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -945,14 +869,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 { @@ -960,8 +885,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -970,22 +893,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:
@@ -994,18 +915,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:
@@ -1014,16 +932,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; @@ -1031,20 +949,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; @@ -1053,21 +969,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 { @@ -1075,61 +990,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; @@ -1137,20 +1045,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; @@ -1159,21 +1065,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 { @@ -1181,61 +1086,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; @@ -1243,58 +1141,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) { @@ -1310,17 +1189,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(); @@ -1331,21 +1207,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; } @@ -1357,15 +1229,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) { @@ -1379,64 +1247,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_; @@ -1444,58 +1296,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) { @@ -1511,17 +1344,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(); @@ -1532,21 +1362,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; } @@ -1558,15 +1384,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) { @@ -1580,64 +1402,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_; @@ -1645,47 +1451,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.
      * 
@@ -1706,8 +1499,6 @@ public Builder setDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig va return this; } /** - * - * *
      * The core content of the template.
      * 
@@ -1726,8 +1517,6 @@ public Builder setDeidentifyConfig( return this; } /** - * - * *
      * The core content of the template.
      * 
@@ -1738,9 +1527,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; } @@ -1752,8 +1539,6 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig return this; } /** - * - * *
      * The core content of the template.
      * 
@@ -1772,8 +1557,6 @@ public Builder clearDeidentifyConfig() { return this; } /** - * - * *
      * The core content of the template.
      * 
@@ -1781,13 +1564,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.
      * 
@@ -1798,14 +1579,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.
      * 
@@ -1813,24 +1591,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); } @@ -1840,12 +1615,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(); } @@ -1854,16 +1629,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; @@ -1878,4 +1653,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 3117e094..2962a16c 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 222dce21..c9dc1908 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,20 +53,19 @@ 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) { @@ -92,43 +73,36 @@ private DeleteDeidentifyTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -137,33 +111,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 { @@ -172,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -208,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -236,127 +208,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() @@ -364,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -382,9 +345,9 @@ public Builder 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 @@ -403,8 +366,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; @@ -414,39 +376,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; @@ -454,8 +415,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(); @@ -479,8 +439,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) { @@ -492,24 +451,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; @@ -518,25 +473,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 { @@ -544,80 +496,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); } @@ -627,12 +566,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(); } @@ -641,16 +580,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; @@ -665,4 +604,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 d9ea356b..f67d450a 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,20 +53,19 @@ 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) { @@ -91,41 +73,34 @@ private DeleteDlpJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -134,31 +109,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 { @@ -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.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; } @@ -230,127 +203,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() @@ -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_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 @@ -397,8 +362,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; @@ -408,39 +372,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; @@ -484,22 +447,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; @@ -508,23 +467,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 { @@ -532,74 +488,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); } @@ -609,12 +552,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(); } @@ -623,16 +566,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; @@ -647,4 +590,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 a4f3b71c..e6f1fa32 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,20 +53,19 @@ 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) { @@ -91,43 +73,36 @@ private DeleteInspectTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -136,33 +111,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 { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -235,127 +208,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() @@ -363,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +345,9 @@ public Builder 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 @@ -402,8 +366,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; @@ -413,39 +376,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; @@ -453,8 +415,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(); @@ -478,8 +439,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) { @@ -491,24 +451,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; @@ -517,25 +473,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 { @@ -543,80 +496,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); } @@ -626,12 +566,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(); } @@ -640,16 +580,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; @@ -664,4 +604,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 952eb104..a27627d7 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,20 +53,19 @@ 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) { @@ -91,42 +73,35 @@ private DeleteJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -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.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; } @@ -233,126 +206,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() @@ -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_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 @@ -399,8 +364,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; @@ -410,39 +374,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; @@ -450,8 +413,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(); @@ -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.DeleteJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,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; @@ -513,24 +470,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 { @@ -538,77 +492,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); } @@ -618,12 +559,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(); } @@ -632,16 +573,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; @@ -656,4 +597,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 66% 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 5d744e43..1ae63f6f 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,20 +53,19 @@ 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) { @@ -91,43 +73,36 @@ private DeleteStoredInfoTypeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -136,33 +111,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 { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -235,127 +208,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() @@ -363,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +345,9 @@ public Builder 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 @@ -402,8 +366,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; @@ -413,39 +376,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; @@ -453,8 +415,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(); @@ -478,8 +439,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) { @@ -491,24 +451,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; @@ -517,25 +473,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 { @@ -543,80 +496,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); } @@ -626,12 +566,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(); } @@ -640,16 +580,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; @@ -664,4 +604,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 0add1568..06e845e8 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,133 +58,113 @@ 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) { @@ -209,7 +172,8 @@ private DlpJob( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -218,34 +182,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.
      * 
@@ -254,8 +213,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATE_UNSPECIFIED(0), /** - * - * *
      * The job has not yet started.
      * 
@@ -264,8 +221,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.
@@ -275,8 +230,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The job is no longer running.
      * 
@@ -285,18 +238,14 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ DONE(3), /** - * - * *
-     * The job was canceled before it could complete.
+     * The job was canceled before it could be completed.
      * 
* * CANCELED = 4; */ CANCELED(4), /** - * - * *
      * The job had an error and did not complete.
      * 
@@ -305,12 +254,10 @@ 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
-     * through calling of hybridInspect. After the job has finished no more
+     * through the calling of hybridInspect. After the job has finished no more
      * calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
      * 
* @@ -321,8 +268,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unused.
      * 
@@ -331,8 +276,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job has not yet started.
      * 
@@ -341,8 +284,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.
@@ -352,8 +293,6 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The job is no longer running.
      * 
@@ -362,18 +301,14 @@ public enum JobState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DONE_VALUE = 3; /** - * - * *
-     * The job was canceled before it could complete.
+     * The job was canceled before it could be completed.
      * 
* * CANCELED = 4; */ public static final int CANCELED_VALUE = 4; /** - * - * *
      * The job had an error and did not complete.
      * 
@@ -382,12 +317,10 @@ 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
-     * through calling of hybridInspect. After the job has finished no more
+     * through the calling of hybridInspect. After the job has finished no more
      * calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.
      * 
* @@ -395,6 +328,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( @@ -419,57 +353,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; @@ -488,16 +418,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; } @@ -513,37 +440,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 @@ -552,29 +473,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 { @@ -585,85 +506,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 @@ -671,26 +571,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.
    * 
@@ -700,21 +595,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 @@ -722,26 +614,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.
    * 
@@ -751,7 +638,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(); } @@ -759,14 +646,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 @@ -774,14 +658,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 @@ -789,8 +670,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Time when the job was created.
    * 
@@ -805,14 +684,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 @@ -820,14 +696,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time when the job started.
    * 
* * .google.protobuf.Timestamp start_time = 7; - * * @return The startTime. */ @java.lang.Override @@ -835,8 +708,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time when the job started.
    * 
@@ -851,14 +722,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 @@ -866,14 +734,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Time when the job finished.
    * 
* * .google.protobuf.Timestamp end_time = 8; - * * @return The endTime. */ @java.lang.Override @@ -881,8 +746,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Time when the job finished.
    * 
@@ -897,15 +760,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 @@ -914,30 +774,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 { @@ -948,8 +808,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.
    * 
@@ -961,8 +819,6 @@ public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * A stream of errors encountered running the job.
    * 
@@ -970,13 +826,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.
    * 
@@ -988,8 +842,6 @@ public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * A stream of errors encountered running the job.
    * 
@@ -1001,8 +853,6 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { return errors_.get(index); } /** - * - * *
    * A stream of errors encountered running the job.
    * 
@@ -1010,12 +860,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; @@ -1027,7 +877,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1071,35 +922,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; @@ -1109,37 +964,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: @@ -1196,126 +1059,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() @@ -1323,17 +1178,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(); @@ -1375,9 +1230,9 @@ public Builder 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 @@ -1449,39 +1304,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; @@ -1531,30 +1385,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(); @@ -1584,12 +1434,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() { @@ -1603,20 +1453,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; @@ -1625,21 +1473,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 { @@ -1647,61 +1494,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; @@ -1709,65 +1549,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. */ @@ -1775,24 +1601,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; @@ -1800,65 +1623,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. */ @@ -1866,43 +1675,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 @@ -1910,14 +1710,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 @@ -1935,8 +1732,6 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() { } } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -1957,8 +1752,6 @@ public Builder setRiskDetails(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDet return this; } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -1977,8 +1770,6 @@ public Builder setRiskDetails( return this; } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -1987,14 +1778,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; } @@ -2010,8 +1797,6 @@ public Builder mergeRiskDetails(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskD return this; } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -2035,8 +1820,6 @@ public Builder clearRiskDetails() { return this; } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -2047,8 +1830,6 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet return getRiskDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -2056,8 +1837,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 { @@ -2068,8 +1848,6 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet } } /** - * - * *
      * Results from analyzing risk of a data source.
      * 
@@ -2077,44 +1855,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 @@ -2122,14 +1888,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 @@ -2147,8 +1910,6 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() { } } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2169,8 +1930,6 @@ public Builder setInspectDetails(com.google.privacy.dlp.v2.InspectDataSourceDeta return this; } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2189,8 +1948,6 @@ public Builder setInspectDetails( return this; } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2199,14 +1956,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; } @@ -2222,8 +1975,6 @@ public Builder mergeInspectDetails(com.google.privacy.dlp.v2.InspectDataSourceDe return this; } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2247,8 +1998,6 @@ public Builder clearInspectDetails() { return this; } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2259,8 +2008,6 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta return getInspectDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2268,8 +2015,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 { @@ -2280,8 +2026,6 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta } } /** - * - * *
      * Results from inspecting a data source.
      * 
@@ -2289,73 +2033,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.
      * 
@@ -2376,15 +2101,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(); @@ -2395,8 +2119,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time when the job was created.
      * 
@@ -2407,7 +2129,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; } @@ -2419,8 +2141,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the job was created.
      * 
@@ -2439,8 +2159,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Time when the job was created.
      * 
@@ -2448,13 +2166,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.
      * 
@@ -2465,14 +2181,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.
      * 
@@ -2480,17 +2193,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_; @@ -2498,33 +2208,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() { @@ -2535,8 +2236,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time when the job started.
      * 
@@ -2557,15 +2256,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(); @@ -2576,8 +2274,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time when the job started.
      * 
@@ -2588,7 +2284,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; } @@ -2600,8 +2296,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the job started.
      * 
@@ -2620,8 +2314,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time when the job started.
      * 
@@ -2629,13 +2321,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.
      * 
@@ -2646,12 +2336,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.
      * 
@@ -2659,17 +2348,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_; @@ -2677,33 +2363,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() { @@ -2714,8 +2391,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Time when the job finished.
      * 
@@ -2736,15 +2411,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(); @@ -2755,8 +2429,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Time when the job finished.
      * 
@@ -2767,7 +2439,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; } @@ -2779,8 +2451,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the job finished.
      * 
@@ -2799,8 +2469,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Time when the job finished.
      * 
@@ -2808,13 +2476,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.
      * 
@@ -2825,12 +2491,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.
      * 
@@ -2838,17 +2503,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_; @@ -2856,21 +2518,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; @@ -2879,22 +2539,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 { @@ -2902,88 +2561,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.
      * 
@@ -2998,8 +2644,6 @@ public java.util.List getErrorsList() { } } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3014,8 +2658,6 @@ public int getErrorsCount() { } } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3030,15 +2672,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(); @@ -3052,15 +2693,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()); @@ -3071,8 +2711,6 @@ public Builder setErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3093,15 +2731,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(); @@ -3115,15 +2752,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()); @@ -3134,15 +2770,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()); @@ -3153,8 +2788,6 @@ public Builder addErrors(int index, com.google.privacy.dlp.v2.Error.Builder buil return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3165,7 +2798,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); @@ -3173,8 +2807,6 @@ public Builder addAllErrors( return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3192,8 +2824,6 @@ public Builder clearErrors() { return this; } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3211,44 +2841,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 { @@ -3256,8 +2881,6 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index) { } } /** - * - * *
      * A stream of errors encountered running the job.
      * 
@@ -3265,54 +2888,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); } @@ -3322,12 +2940,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(); } @@ -3336,16 +2954,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; @@ -3360,4 +2978,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 66% 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..6c012a85 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() { - return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(5); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(8); } 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..9b76576e --- /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,3641 @@ +// 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_InfoTypeCategory_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_VersionDescription_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_VersionDescription_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_ImageTransformations_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_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_TransformationDescription_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_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_Deidentify_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_Deidentify_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_TransformationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationConfig_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_DataProfileAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileLocation_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; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_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\"\212\002\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\022;\n\010versions\030\t \003(\0132).google.privacy.d" + + "lp.v2.VersionDescription\022;\n\ncategories\030\n" + + " \003(\0132\'.google.privacy.dlp.v2.InfoTypeCat" + + "egory\"\330\010\n\020InfoTypeCategory\022U\n\021location_c" + + "ategory\030\001 \001(\01628.google.privacy.dlp.v2.In" + + "foTypeCategory.LocationCategoryH\000\022U\n\021ind" + + "ustry_category\030\002 \001(\01628.google.privacy.dl" + + "p.v2.InfoTypeCategory.IndustryCategoryH\000" + + "\022M\n\rtype_category\030\003 \001(\01624.google.privacy" + + ".dlp.v2.InfoTypeCategory.TypeCategoryH\000\"" + + "\303\004\n\020LocationCategory\022\030\n\024LOCATION_UNSPECI" + + "FIED\020\000\022\n\n\006GLOBAL\020\001\022\r\n\tARGENTINA\020\002\022\r\n\tAUS" + + "TRALIA\020\003\022\013\n\007BELGIUM\020\004\022\n\n\006BRAZIL\020\005\022\n\n\006CAN" + + "ADA\020\006\022\t\n\005CHILE\020\007\022\t\n\005CHINA\020\010\022\014\n\010COLOMBIA\020" + + "\t\022\013\n\007DENMARK\020\n\022\n\n\006FRANCE\020\013\022\013\n\007FINLAND\020\014\022" + + "\013\n\007GERMANY\020\r\022\r\n\tHONG_KONG\020\016\022\t\n\005INDIA\020\017\022\r" + + "\n\tINDONESIA\020\020\022\013\n\007IRELAND\020\021\022\n\n\006ISRAEL\020\022\022\t" + + "\n\005ITALY\020\023\022\t\n\005JAPAN\020\024\022\t\n\005KOREA\020\025\022\n\n\006MEXIC" + + "O\020\026\022\023\n\017THE_NETHERLANDS\020\027\022\n\n\006NORWAY\020\030\022\014\n\010" + + "PARAGUAY\020\031\022\010\n\004PERU\020\032\022\n\n\006POLAND\020\033\022\014\n\010PORT" + + "UGAL\020\034\022\r\n\tSINGAPORE\020\035\022\020\n\014SOUTH_AFRICA\020\036\022" + + "\t\n\005SPAIN\020\037\022\n\n\006SWEDEN\020 \022\n\n\006TAIWAN\020!\022\014\n\010TH" + + "AILAND\020\"\022\n\n\006TURKEY\020#\022\022\n\016UNITED_KINGDOM\020$" + + "\022\021\n\rUNITED_STATES\020%\022\013\n\007URUGUAY\020&\022\r\n\tVENE" + + "ZUELA\020\'\022\014\n\010INTERNAL\020(\"]\n\020IndustryCategor" + + "y\022\030\n\024INDUSTRY_UNSPECIFIED\020\000\022\013\n\007FINANCE\020\001" + + "\022\n\n\006HEALTH\020\002\022\026\n\022TELECOMMUNICATIONS\020\003\"\225\001\n" + + "\014TypeCategory\022\024\n\020TYPE_UNSPECIFIED\020\000\022\007\n\003P" + + "II\020\001\022\010\n\004SPII\020\002\022\017\n\013DEMOGRAPHIC\020\003\022\016\n\nCREDE" + + "NTIAL\020\004\022\021\n\rGOVERNMENT_ID\020\005\022\014\n\010DOCUMENT\020\006" + + "\022\032\n\026CONTEXTUAL_INFORMATION\020\007B\n\n\010category" + + "\":\n\022VersionDescription\022\017\n\007version\030\001 \001(\t\022" + + "\023\n\013description\030\002 \001(\t\"b\n\024ListInfoTypesReq" + + "uest\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\025ListInfoTypesResponse\022>\n\ninfo_types\030" + + "\001 \003(\0132*.google.privacy.dlp.v2.InfoTypeDe" + + "scription\"\301\001\n\025RiskAnalysisJobConfig\022<\n\016p" + + "rivacy_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.A" + + "ction\"\274\001\n\007QuasiId\0222\n\005field\030\001 \001(\0132\036.googl" + + "e.privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinfo_ty" + + "pe\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoTyp" + + "eH\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\005table\030\003 \001(\0132$.googl" + + "e.privacy.dlp.v2.BigQueryTableB\003\340A\002\022T\n\tq" + + "uasi_ids\030\001 \003(\0132<.google.privacy.dlp.v2.S" + + "tatisticalTable.QuasiIdentifierFieldB\003\340A" + + "\002\022?\n\022relative_frequency\030\002 \001(\0132\036.google.p" + + "rivacy.dlp.v2.FieldIdB\003\340A\002\032Y\n\024QuasiIdent" + + "ifierField\022-\n\005field\030\001 \001(\0132\036.google.priva" + + "cy.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\"\223\017" + + "\n\rPrivacyMetric\022[\n\026numerical_stats_confi" + + "g\030\001 \001(\01329.google.privacy.dlp.v2.PrivacyM" + + "etric.NumericalStatsConfigH\000\022_\n\030categori" + + "cal_stats_config\030\002 \001(\0132;.google.privacy." + + "dlp.v2.PrivacyMetric.CategoricalStatsCon" + + "figH\000\022S\n\022k_anonymity_config\030\003 \001(\01325.goog" + + "le.privacy.dlp.v2.PrivacyMetric.KAnonymi" + + "tyConfigH\000\022S\n\022l_diversity_config\030\004 \001(\01325" + + ".google.privacy.dlp.v2.PrivacyMetric.LDi" + + "versityConfigH\000\022\\\n\027k_map_estimation_conf" + + "ig\030\005 \001(\01329.google.privacy.dlp.v2.Privacy" + + "Metric.KMapEstimationConfigH\000\022n\n delta_p" + + "resence_estimation_config\030\006 \001(\0132B.google" + + ".privacy.dlp.v2.PrivacyMetric.DeltaPrese" + + "nceEstimationConfigH\000\032E\n\024NumericalStatsC" + + "onfig\022-\n\005field\030\001 \001(\0132\036.google.privacy.dl" + + "p.v2.FieldId\032G\n\026CategoricalStatsConfig\022-" + + "\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fi" + + "eldId\032y\n\020KAnonymityConfig\0221\n\tquasi_ids\030\001" + + " \003(\0132\036.google.privacy.dlp.v2.FieldId\0222\n\t" + + "entity_id\030\002 \001(\0132\037.google.privacy.dlp.v2." + + "EntityId\032\202\001\n\020LDiversityConfig\0221\n\tquasi_i" + + "ds\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId" + + "\022;\n\023sensitive_attribute\030\002 \001(\0132\036.google.p" + + "rivacy.dlp.v2.FieldId\032\201\006\n\024KMapEstimation" + + "Config\022]\n\tquasi_ids\030\001 \003(\0132E.google.priva" + + "cy.dlp.v2.PrivacyMetric.KMapEstimationCo" + + "nfig.TaggedFieldB\003\340A\002\022\023\n\013region_code\030\002 \001" + + "(\t\022b\n\020auxiliary_tables\030\003 \003(\0132H.google.pr" + + "ivacy.dlp.v2.PrivacyMetric.KMapEstimatio" + + "nConfig.AuxiliaryTable\032\300\001\n\013TaggedField\0222" + + "\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fi" + + "eldIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google.p" + + "rivacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003" + + " \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protob" + + "uf.EmptyH\000B\005\n\003tag\032\315\002\n\016AuxiliaryTable\0228\n\005" + + "table\030\003 \001(\0132$.google.privacy.dlp.v2.BigQ" + + "ueryTableB\003\340A\002\022m\n\tquasi_ids\030\001 \003(\0132U.goog" + + "le.privacy.dlp.v2.PrivacyMetric.KMapEsti" + + "mationConfig.AuxiliaryTable.QuasiIdField" + + "B\003\340A\002\022?\n\022relative_frequency\030\002 \001(\0132\036.goog" + + "le.privacy.dlp.v2.FieldIdB\003\340A\002\032Q\n\014QuasiI" + + "dField\022-\n\005field\030\001 \001(\0132\036.google.privacy.d" + + "lp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\257\001\n\035De" + + "ltaPresenceEstimationConfig\0226\n\tquasi_ids" + + "\030\001 \003(\0132\036.google.privacy.dlp.v2.QuasiIdB\003" + + "\340A\002\022\023\n\013region_code\030\002 \001(\t\022A\n\020auxiliary_ta" + + "bles\030\003 \003(\0132\'.google.privacy.dlp.v2.Stati" + + "sticalTableB\006\n\004type\"\301\037\n\034AnalyzeDataSourc" + + "eRiskDetails\022F\n\030requested_privacy_metric" + + "\030\001 \001(\0132$.google.privacy.dlp.v2.PrivacyMe" + + "tric\022D\n\026requested_source_table\030\002 \001(\0132$.g" + + "oogle.privacy.dlp.v2.BigQueryTable\022j\n\026nu" + + "merical_stats_result\030\003 \001(\0132H.google.priv" + + "acy.dlp.v2.AnalyzeDataSourceRiskDetails." + + "NumericalStatsResultH\000\022n\n\030categorical_st" + + "ats_result\030\004 \001(\0132J.google.privacy.dlp.v2" + + ".AnalyzeDataSourceRiskDetails.Categorica" + + "lStatsResultH\000\022b\n\022k_anonymity_result\030\005 \001" + + "(\0132D.google.privacy.dlp.v2.AnalyzeDataSo" + + "urceRiskDetails.KAnonymityResultH\000\022b\n\022l_" + + "diversity_result\030\006 \001(\0132D.google.privacy." + + "dlp.v2.AnalyzeDataSourceRiskDetails.LDiv" + + "ersityResultH\000\022k\n\027k_map_estimation_resul" + + "t\030\007 \001(\0132H.google.privacy.dlp.v2.AnalyzeD" + + "ataSourceRiskDetails.KMapEstimationResul" + + "tH\000\022}\n delta_presence_estimation_result\030" + + "\t \001(\0132Q.google.privacy.dlp.v2.AnalyzeDat" + + "aSourceRiskDetails.DeltaPresenceEstimati" + + "onResultH\000\022k\n\021requested_options\030\n \001(\0132P." + + "google.privacy.dlp.v2.AnalyzeDataSourceR" + + "iskDetails.RequestedRiskAnalysisOptions\032" + + "\257\001\n\024NumericalStatsResult\022/\n\tmin_value\030\001 " + + "\001(\0132\034.google.privacy.dlp.v2.Value\022/\n\tmax" + + "_value\030\002 \001(\0132\034.google.privacy.dlp.v2.Val" + + "ue\0225\n\017quantile_values\030\004 \003(\0132\034.google.pri" + + "vacy.dlp.v2.Value\032\215\003\n\026CategoricalStatsRe" + + "sult\022\225\001\n!value_frequency_histogram_bucke" + + "ts\030\005 \003(\0132j.google.privacy.dlp.v2.Analyze" + + "DataSourceRiskDetails.CategoricalStatsRe" + + "sult.CategoricalStatsHistogramBucket\032\332\001\n" + + "\037CategoricalStatsHistogramBucket\022#\n\033valu" + + "e_frequency_lower_bound\030\001 \001(\003\022#\n\033value_f" + + "requency_upper_bound\030\002 \001(\003\022\023\n\013bucket_siz" + + "e\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.google." + + "privacy.dlp.v2.ValueFrequency\022\032\n\022bucket_" + + "value_count\030\005 \001(\003\032\265\004\n\020KAnonymityResult\022\213" + + "\001\n#equivalence_class_histogram_buckets\030\005" + + " \003(\0132^.google.privacy.dlp.v2.AnalyzeData" + + "SourceRiskDetails.KAnonymityResult.KAnon" + + "ymityHistogramBucket\032t\n\032KAnonymityEquiva" + + "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\032\234\002\n\031KAnonymityHistogr" + + "amBucket\022*\n\"equivalence_class_size_lower" + + "_bound\030\001 \001(\003\022*\n\"equivalence_class_size_u" + + "pper_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n" + + "\rbucket_values\030\004 \003(\0132_.google.privacy.dl" + + "p.v2.AnalyzeDataSourceRiskDetails.KAnony" + + "mityResult.KAnonymityEquivalenceClass\022\032\n" + + "\022bucket_value_count\030\005 \001(\003\032\260\005\n\020LDiversity" + + "Result\022\223\001\n+sensitive_value_frequency_his" + + "togram_buckets\030\005 \003(\0132^.google.privacy.dl" + + "p.v2.AnalyzeDataSourceRiskDetails.LDiver" + + "sityResult.LDiversityHistogramBucket\032\340\001\n" + + "\032LDiversityEquivalenceClass\0226\n\020quasi_ids" + + "_values\030\001 \003(\0132\034.google.privacy.dlp.v2.Va" + + "lue\022\036\n\026equivalence_class_size\030\002 \001(\003\022%\n\035n" + + "um_distinct_sensitive_values\030\003 \001(\003\022C\n\024to" + + "p_sensitive_values\030\004 \003(\0132%.google.privac" + + "y.dlp.v2.ValueFrequency\032\242\002\n\031LDiversityHi" + + "stogramBucket\022-\n%sensitive_value_frequen" + + "cy_lower_bound\030\001 \001(\003\022-\n%sensitive_value_" + + "frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket_si" + + "ze\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.google" + + ".privacy.dlp.v2.AnalyzeDataSourceRiskDet" + + "ails.LDiversityResult.LDiversityEquivale" + + "nceClass\022\032\n\022bucket_value_count\030\005 \001(\003\032\225\004\n" + + "\024KMapEstimationResult\022\212\001\n\032k_map_estimati" + + "on_histogram\030\001 \003(\0132f.google.privacy.dlp." + + "v2.AnalyzeDataSourceRiskDetails.KMapEsti" + + "mationResult.KMapEstimationHistogramBuck" + + "et\032r\n\033KMapEstimationQuasiIdValues\0226\n\020qua" + + "si_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\035KMapEstimationHistogramBucket\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.dlp.v2.AnalyzeDataSo" + + "urceRiskDetails.KMapEstimationResult.KMa" + + "pEstimationQuasiIdValues\022\032\n\022bucket_value" + + "_count\030\007 \001(\003\032\344\004\n\035DeltaPresenceEstimation" + + "Result\022\245\001\n#delta_presence_estimation_his" + + "togram\030\001 \003(\0132x.google.privacy.dlp.v2.Ana" + + "lyzeDataSourceRiskDetails.DeltaPresenceE" + + "stimationResult.DeltaPresenceEstimationH" + + "istogramBucket\032}\n$DeltaPresenceEstimatio" + + "nQuasiIdValues\0226\n\020quasi_ids_values\030\001 \003(\013" + + "2\034.google.privacy.dlp.v2.Value\022\035\n\025estima" + + "ted_probability\030\002 \001(\001\032\233\002\n&DeltaPresenceE" + + "stimationHistogramBucket\022\027\n\017min_probabil" + + "ity\030\001 \001(\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n\013bu" + + "cket_size\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003(\0132" + + "v.google.privacy.dlp.v2.AnalyzeDataSourc" + + "eRiskDetails.DeltaPresenceEstimationResu" + + "lt.DeltaPresenceEstimationQuasiIdValues\022", + "\032\n\022bucket_value_count\030\007 \001(\003\032`\n\034Requested" + + "RiskAnalysisOptions\022@\n\njob_config\030\001 \001(\0132" + + ",.google.privacy.dlp.v2.RiskAnalysisJobC" + + "onfigB\010\n\006result\"L\n\016ValueFrequency\022+\n\005val" + + "ue\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\014strin" + + "g_value\030\003 \001(\tH\000\022\027\n\rboolean_value\030\004 \001(\010H\000" + + "\0225\n\017timestamp_value\030\005 \001(\0132\032.google.proto" + + "buf.TimestampH\000\022,\n\ntime_value\030\006 \001(\0132\026.go" + + "ogle.type.TimeOfDayH\000\022\'\n\ndate_value\030\007 \001(" + + "\0132\021.google.type.DateH\000\0223\n\021day_of_week_va" + + "lue\030\010 \001(\0162\026.google.type.DayOfWeekH\000B\006\n\004t" + + "ype\"Q\n\tQuoteInfo\0224\n\tdate_time\030\002 \001(\0132\037.go" + + "ogle.privacy.dlp.v2.DateTimeH\000B\016\n\014parsed" + + "_quote\"\337\001\n\010DateTime\022\037\n\004date\030\001 \001(\0132\021.goog" + + "le.type.Date\022+\n\013day_of_week\030\002 \001(\0162\026.goog" + + "le.type.DayOfWeek\022$\n\004time\030\003 \001(\0132\026.google" + + ".type.TimeOfDay\022;\n\ttime_zone\030\004 \001(\0132(.goo" + + "gle.privacy.dlp.v2.DateTime.TimeZone\032\"\n\010" + + "TimeZone\022\026\n\016offset_minutes\030\001 \001(\005\"\362\002\n\020Dei" + + "dentifyConfig\022S\n\031info_type_transformatio" + + "ns\030\001 \001(\0132..google.privacy.dlp.v2.InfoTyp" + + "eTransformationsH\000\022N\n\026record_transformat" + + "ions\030\002 \001(\0132,.google.privacy.dlp.v2.Recor" + + "dTransformationsH\000\022L\n\025image_transformati" + + "ons\030\004 \001(\0132+.google.privacy.dlp.v2.ImageT" + + "ransformationsH\000\022Y\n\035transformation_error" + + "_handling\030\003 \001(\01322.google.privacy.dlp.v2." + + "TransformationErrorHandlingB\020\n\016transform" + + "ation\"\345\004\n\024ImageTransformations\022S\n\ntransf" + + "orms\030\002 \003(\0132?.google.privacy.dlp.v2.Image" + + "Transformations.ImageTransformation\032\367\003\n\023" + + "ImageTransformation\022p\n\023selected_info_typ" + + "es\030\004 \001(\0132Q.google.privacy.dlp.v2.ImageTr" + + "ansformations.ImageTransformation.Select" + + "edInfoTypesH\000\022f\n\016all_info_types\030\005 \001(\0132L." + + "google.privacy.dlp.v2.ImageTransformatio" + + "ns.ImageTransformation.AllInfoTypesH\000\022[\n" + + "\010all_text\030\006 \001(\0132G.google.privacy.dlp.v2." + + "ImageTransformations.ImageTransformation" + + ".AllTextH\000\0225\n\017redaction_color\030\003 \001(\0132\034.go" + + "ogle.privacy.dlp.v2.Color\032M\n\021SelectedInf" + + "oTypes\0228\n\ninfo_types\030\005 \003(\0132\037.google.priv" + + "acy.dlp.v2.InfoTypeB\003\340A\002\032\016\n\014AllInfoTypes" + + "\032\t\n\007AllTextB\010\n\006target\"\205\002\n\033Transformation" + + "ErrorHandling\022T\n\013throw_error\030\001 \001(\0132=.goo" + + "gle.privacy.dlp.v2.TransformationErrorHa" + + "ndling.ThrowErrorH\000\022d\n\023leave_untransform" + + "ed\030\002 \001(\0132E.google.privacy.dlp.v2.Transfo" + + "rmationErrorHandling.LeaveUntransformedH" + + "\000\032\014\n\nThrowError\032\024\n\022LeaveUntransformedB\006\n" + + "\004mode\"\312\007\n\027PrimitiveTransformation\022C\n\016rep" + + "lace_config\030\001 \001(\0132).google.privacy.dlp.v" + + "2.ReplaceValueConfigH\000\022<\n\rredact_config\030" + + "\002 \001(\0132#.google.privacy.dlp.v2.RedactConf" + + "igH\000\022K\n\025character_mask_config\030\003 \001(\0132*.go" + + "ogle.privacy.dlp.v2.CharacterMaskConfigH" + + "\000\022Y\n\035crypto_replace_ffx_fpe_config\030\004 \001(\013" + + "20.google.privacy.dlp.v2.CryptoReplaceFf" + + "xFpeConfigH\000\022V\n\033fixed_size_bucketing_con" + + "fig\030\005 \001(\0132/.google.privacy.dlp.v2.FixedS" + + "izeBucketingConfigH\000\022B\n\020bucketing_config" + + "\030\006 \001(\0132&.google.privacy.dlp.v2.Bucketing" + + "ConfigH\000\022Y\n\035replace_with_info_type_confi" + + "g\030\007 \001(\01320.google.privacy.dlp.v2.ReplaceW" + + "ithInfoTypeConfigH\000\022A\n\020time_part_config\030" + + "\010 \001(\0132%.google.privacy.dlp.v2.TimePartCo" + + "nfigH\000\022E\n\022crypto_hash_config\030\t \001(\0132\'.goo" + + "gle.privacy.dlp.v2.CryptoHashConfigH\000\022C\n" + + "\021date_shift_config\030\013 \001(\0132&.google.privac" + + "y.dlp.v2.DateShiftConfigH\000\022W\n\033crypto_det" + + "erministic_config\030\014 \001(\01320.google.privacy" + + ".dlp.v2.CryptoDeterministicConfigH\000\022S\n\031r" + + "eplace_dictionary_config\030\r \001(\0132..google." + + "privacy.dlp.v2.ReplaceDictionaryConfigH\000" + + "B\020\n\016transformation\"\334\001\n\016TimePartConfig\022G\n" + + "\017part_to_extract\030\001 \001(\0162..google.privacy." + + "dlp.v2.TimePartConfig.TimePart\"\200\001\n\010TimeP" + + "art\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\013HOUR_OF_DAY\020" + + "\006\"H\n\020CryptoHashConfig\0224\n\ncrypto_key\030\001 \001(" + + "\0132 .google.privacy.dlp.v2.CryptoKey\"\300\001\n\031" + + "CryptoDeterministicConfig\0224\n\ncrypto_key\030" + + "\001 \001(\0132 .google.privacy.dlp.v2.CryptoKey\022" + + "<\n\023surrogate_info_type\030\002 \001(\0132\037.google.pr" + + "ivacy.dlp.v2.InfoType\022/\n\007context\030\003 \001(\0132\036" + + ".google.privacy.dlp.v2.FieldId\"E\n\022Replac" + + "eValueConfig\022/\n\tnew_value\030\001 \001(\0132\034.google" + + ".privacy.dlp.v2.Value\"q\n\027ReplaceDictiona" + + "ryConfig\022N\n\tword_list\030\001 \001(\01329.google.pri" + + "vacy.dlp.v2.CustomInfoType.Dictionary.Wo" + + "rdListH\000B\006\n\004type\"\033\n\031ReplaceWithInfoTypeC" + + "onfig\"\016\n\014RedactConfig\"\266\002\n\rCharsToIgnore\022" + + "\034\n\022characters_to_skip\030\001 \001(\tH\000\022_\n\033common_" + + "characters_to_ignore\030\002 \001(\01628.google.priv" + + "acy.dlp.v2.CharsToIgnore.CommonCharsToIg" + + "noreH\000\"\227\001\n\023CommonCharsToIgnore\022&\n\"COMMON" + + "_CHARS_TO_IGNORE_UNSPECIFIED\020\000\022\013\n\007NUMERI" + + "C\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020ALPHA_LOWER" + + "_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHITESPACE\020\005" + + "B\014\n\ncharacters\"\243\001\n\023CharacterMaskConfig\022\031" + + "\n\021masking_character\030\001 \001(\t\022\026\n\016number_to_m" + + "ask\030\002 \001(\005\022\025\n\rreverse_order\030\003 \001(\010\022B\n\024char" + + "acters_to_ignore\030\004 \003(\0132$.google.privacy." + + "dlp.v2.CharsToIgnore\"\244\001\n\030FixedSizeBucket" + + "ingConfig\0226\n\013lower_bound\030\001 \001(\0132\034.google." + + "privacy.dlp.v2.ValueB\003\340A\002\0226\n\013upper_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\017Bucketin" + + "gConfig\022>\n\007buckets\030\001 \003(\0132-.google.privac" + + "y.dlp.v2.BucketingConfig.Bucket\032\234\001\n\006Buck" + + "et\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.go" + + "ogle.privacy.dlp.v2.ValueB\003\340A\002\"\371\003\n\031Crypt" + + "oReplaceFfxFpeConfig\0229\n\ncrypto_key\030\001 \001(\013" + + "2 .google.privacy.dlp.v2.CryptoKeyB\003\340A\002\022" + + "/\n\007context\030\002 \001(\0132\036.google.privacy.dlp.v2" + + ".FieldId\022c\n\017common_alphabet\030\004 \001(\0162H.goog" + + "le.privacy.dlp.v2.CryptoReplaceFfxFpeCon" + + "fig.FfxCommonNativeAlphabetH\000\022\031\n\017custom_" + + "alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023sur" + + "rogate_info_type\030\010 \001(\0132\037.google.privacy." + + "dlp.v2.InfoType\"\224\001\n\027FfxCommonNativeAlpha" + + "bet\022*\n&FFX_COMMON_NATIVE_ALPHABET_UNSPEC" + + "IFIED\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_NUM" + + "ERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKey\022>\n\ttran" + + "sient\030\001 \001(\0132).google.privacy.dlp.v2.Tran" + + "sientCryptoKeyH\000\022>\n\tunwrapped\030\002 \001(\0132).go" + + "ogle.privacy.dlp.v2.UnwrappedCryptoKeyH\000" + + "\022A\n\013kms_wrapped\030\003 \001(\0132*.google.privacy.d" + + "lp.v2.KmsWrappedCryptoKeyH\000B\010\n\006source\"\'\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\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_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.privacy.dlp.v2" + + ".FieldId\0226\n\ncrypto_key\030\004 \001(\0132 .google.pr" + + "ivacy.dlp.v2.CryptoKeyH\000B\010\n\006method\"\245\002\n\027I" + + "nfoTypeTransformations\022c\n\017transformation" + + "s\030\001 \003(\0132E.google.privacy.dlp.v2.InfoType" + + "Transformations.InfoTypeTransformationB\003" + + "\340A\002\032\244\001\n\026InfoTypeTransformation\0223\n\ninfo_t" + + "ypes\030\001 \003(\0132\037.google.privacy.dlp.v2.InfoT" + + "ype\022U\n\030primitive_transformation\030\002 \001(\0132.." + + "google.privacy.dlp.v2.PrimitiveTransform" + + "ationB\003\340A\002\"\300\002\n\023FieldTransformation\0223\n\006fi" + + "elds\030\001 \003(\0132\036.google.privacy.dlp.v2.Field" + + "IdB\003\340A\002\0229\n\tcondition\030\003 \001(\0132&.google.priv" + + "acy.dlp.v2.RecordCondition\022R\n\030primitive_" + + "transformation\030\004 \001(\0132..google.privacy.dl" + + "p.v2.PrimitiveTransformationH\000\022S\n\031info_t" + + "ype_transformations\030\005 \001(\0132..google.priva" + + "cy.dlp.v2.InfoTypeTransformationsH\000B\020\n\016t" + + "ransformation\"\251\001\n\025RecordTransformations\022" + + "I\n\025field_transformations\030\001 \003(\0132*.google." + + "privacy.dlp.v2.FieldTransformation\022E\n\023re" + + "cord_suppressions\030\002 \003(\0132(.google.privacy" + + ".dlp.v2.RecordSuppression\"N\n\021RecordSuppr" + + "ession\0229\n\tcondition\030\001 \001(\0132&.google.priva" + + "cy.dlp.v2.RecordCondition\"\334\004\n\017RecordCond" + + "ition\022G\n\013expressions\030\003 \001(\01322.google.priv" + + "acy.dlp.v2.RecordCondition.Expressions\032\256" + + "\001\n\tCondition\0222\n\005field\030\001 \001(\0132\036.google.pri" + + "vacy.dlp.v2.FieldIdB\003\340A\002\022@\n\010operator\030\003 \001" + + "(\0162).google.privacy.dlp.v2.RelationalOpe" + + "ratorB\003\340A\002\022+\n\005value\030\004 \001(\0132\034.google.priva" + + "cy.dlp.v2.Value\032R\n\nConditions\022D\n\nconditi" + + "ons\030\001 \003(\01320.google.privacy.dlp.v2.Record" + + "Condition.Condition\032\372\001\n\013Expressions\022\\\n\020l" + + "ogical_operator\030\001 \001(\0162B.google.privacy.d" + + "lp.v2.RecordCondition.Expressions.Logica" + + "lOperator\022G\n\nconditions\030\003 \001(\01321.google.p" + + "rivacy.dlp.v2.RecordCondition.Conditions" + + "H\000\"<\n\017LogicalOperator\022 \n\034LOGICAL_OPERATO" + + "R_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026Tra" + + "nsformationOverview\022\031\n\021transformed_bytes" + + "\030\002 \001(\003\022N\n\030transformation_summaries\030\003 \003(\013" + + "2,.google.privacy.dlp.v2.TransformationS" + + "ummary\"\237\005\n\025TransformationSummary\0222\n\tinfo" + + "_type\030\001 \001(\0132\037.google.privacy.dlp.v2.Info" + + "Type\022-\n\005field\030\002 \001(\0132\036.google.privacy.dlp" + + ".v2.FieldId\022F\n\016transformation\030\003 \001(\0132..go" + + "ogle.privacy.dlp.v2.PrimitiveTransformat" + + "ion\022I\n\025field_transformations\030\005 \003(\0132*.goo" + + "gle.privacy.dlp.v2.FieldTransformation\022A" + + "\n\017record_suppress\030\006 \001(\0132(.google.privacy" + + ".dlp.v2.RecordSuppression\022K\n\007results\030\004 \003" + + "(\0132:.google.privacy.dlp.v2.Transformatio" + + "nSummary.SummaryResult\022\031\n\021transformed_by" + + "tes\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.dlp.v2" + + ".TransformationSummary.TransformationRes" + + "ultCode\022\017\n\007details\030\003 \001(\t\"^\n\030Transformati" + + "onResultCode\022*\n&TRANSFORMATION_RESULT_CO" + + "DE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002" + + "\"\260\001\n\031TransformationDescription\0227\n\004type\030\001" + + " \001(\0162).google.privacy.dlp.v2.Transformat" + + "ionType\022\023\n\013description\030\002 \001(\t\022\021\n\tconditio" + + "n\030\003 \001(\t\0222\n\tinfo_type\030\004 \001(\0132\037.google.priv" + + "acy.dlp.v2.InfoType\"\306\002\n\025TransformationDe" + + "tails\022\025\n\rresource_name\030\001 \001(\t\022\026\n\016containe" + + "r_name\030\002 \001(\t\022H\n\016transformation\030\003 \003(\01320.g" + + "oogle.privacy.dlp.v2.TransformationDescr" + + "iption\022I\n\016status_details\030\004 \001(\01321.google." + + "privacy.dlp.v2.TransformationResultStatu" + + "s\022\031\n\021transformed_bytes\030\005 \001(\003\022N\n\027transfor" + + "mation_location\030\006 \001(\0132-.google.privacy.d" + + "lp.v2.TransformationLocation\"\331\001\n\026Transfo" + + "rmationLocation\022\024\n\nfinding_id\030\001 \001(\tH\000\022L\n" + + "\025record_transformation\030\002 \001(\0132+.google.pr" + + "ivacy.dlp.v2.RecordTransformationH\000\022J\n\016c" + + "ontainer_type\030\003 \001(\01622.google.privacy.dlp" + + ".v2.TransformationContainerTypeB\017\n\rlocat" + + "ion_type\"\234\001\n\024RecordTransformation\0220\n\010fie" + + "ld_id\030\001 \001(\0132\036.google.privacy.dlp.v2.Fiel" + + "dId\0227\n\023container_timestamp\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022\031\n\021container_versio" + + "n\030\003 \001(\t\"\224\001\n\032TransformationResultStatus\022Q" + + "\n\022result_status_type\030\001 \001(\01625.google.priv" + + "acy.dlp.v2.TransformationResultStatusTyp" + + "e\022#\n\007details\030\002 \001(\0132\022.google.rpc.Status\"c" + + "\n\"TransformationDetailsStorageConfig\0225\n\005" + + "table\030\001 \001(\0132$.google.privacy.dlp.v2.BigQ" + + "ueryTableH\000B\006\n\004type\"U\n\010Schedule\022?\n\032recur" + + "rence_period_duration\030\001 \001(\0132\031.google.pro" + + "tobuf.DurationH\000B\010\n\006option\"\010\n\006Manual\"\302\004\n" + + "\017InspectTemplate\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014d" + + "isplay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224" + + "\n\013create_time\030\004 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022<\n\016inspect_co" + + "nfig\030\006 \001(\0132$.google.privacy.dlp.v2.Inspe" + + "ctConfig:\306\002\352A\302\002\n\"dlp.googleapis.com/Insp" + + "ectTemplate\022@organizations/{organization" + + "}/inspectTemplates/{inspect_template}\0226p" + + "rojects/{project}/inspectTemplates/{insp" + + "ect_template}\022Uorganizations/{organizati" + + "on}/locations/{location}/inspectTemplate" + + "s/{inspect_template}\022Kprojects/{project}" + + "/locations/{location}/inspectTemplates/{" + + "inspect_template}\"\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\013description\030\003 \001(\t\0224\n\013create_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" + + "update_time\030\005 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022B\n\021deidentify_config\030\006 \001(\0132\'." + + "google.privacy.dlp.v2.DeidentifyConfig:\341" + + "\002\352A\335\002\n%dlp.googleapis.com/DeidentifyTemp" + + "late\022Forganizations/{organization}/deide" + + "ntifyTemplates/{deidentify_template}\022\n\013inspect_job\030\004 \001(\0132\'.google.privacy.d" + + "lp.v2.InspectJobConfigH\000\022;\n\010triggers\030\005 \003" + + "(\0132).google.privacy.dlp.v2.JobTrigger.Tr" + + "igger\0221\n\006errors\030\006 \003(\0132\034.google.privacy.d" + + "lp.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.google.protobuf.TimestampB" + + "\003\340A\003\0226\n\rlast_run_time\030\t \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\022=\n\006status\030\n \001(\0162(.g" + + "oogle.privacy.dlp.v2.JobTrigger.StatusB\003" + + "\340A\002\032z\n\007Trigger\0223\n\010schedule\030\001 \001(\0132\037.googl" + + "e.privacy.dlp.v2.ScheduleH\000\022/\n\006manual\030\002 " + + "\001(\0132\035.google.privacy.dlp.v2.ManualH\000B\t\n\007" + + "trigger\"H\n\006Status\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.googleapis.com/JobTrigger\022" + + ",projects/{project}/jobTriggers/{job_tri" + + "gger}\022Aprojects/{project}/locations/{loc" + + "ation}/jobTriggers/{job_trigger}B\005\n\003job\"" + + "\352\010\n\006Action\022C\n\rsave_findings\030\001 \001(\0132*.goog" + + "le.privacy.dlp.v2.Action.SaveFindingsH\000\022" + + "@\n\007pub_sub\030\002 \001(\0132-.google.privacy.dlp.v2" + + ".Action.PublishToPubSubH\000\022U\n\027publish_sum" + + "mary_to_cscc\030\003 \001(\01322.google.privacy.dlp." + + "v2.Action.PublishSummaryToCsccH\000\022q\n&publ" + + "ish_findings_to_cloud_data_catalog\030\005 \001(\013" + + "2?.google.privacy.dlp.v2.Action.PublishF" + + "indingsToCloudDataCatalogH\000\022>\n\ndeidentif" + + "y\030\007 \001(\0132(.google.privacy.dlp.v2.Action.D" + + "eidentifyH\000\022V\n\027job_notification_emails\030\010" + + " \001(\01323.google.privacy.dlp.v2.Action.JobN" + + "otificationEmailsH\000\022T\n\026publish_to_stackd" + + "river\030\t \001(\01322.google.privacy.dlp.v2.Acti" + + "on.PublishToStackdriverH\000\032Q\n\014SaveFinding" + + "s\022A\n\routput_config\030\001 \001(\0132*.google.privac" + + "y.dlp.v2.OutputStorageConfig\032 \n\017PublishT" + + "oPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishSummary" + + "ToCscc\032#\n!PublishFindingsToCloudDataCata" + + "log\032\263\002\n\nDeidentify\022J\n\025transformation_con" + + "fig\030\007 \001(\0132+.google.privacy.dlp.v2.Transf" + + "ormationConfig\022h\n%transformation_details" + + "_storage_config\030\003 \001(\01329.google.privacy.d" + + "lp.v2.TransformationDetailsStorageConfig" + + "\022#\n\024cloud_storage_output\030\t \001(\tB\003\340A\002H\000\022@\n" + + "\027file_types_to_transform\030\010 \003(\0162\037.google." + + "privacy.dlp.v2.FileTypeB\010\n\006output\032\027\n\025Job" + + "NotificationEmails\032\026\n\024PublishToStackdriv" + + "erB\010\n\006action\"z\n\024TransformationConfig\022\033\n\023" + + "deidentify_template\030\001 \001(\t\022&\n\036structured_" + + "deidentify_template\030\002 \001(\t\022\035\n\025image_redac" + + "t_template\030\004 \001(\t\"\313\001\n\034CreateInspectTempla" + + "teRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.g" + + "oogleapis.com/InspectTemplate\022E\n\020inspect" + + "_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\034UpdateInspect" + + "TemplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"d" + + "lp.googleapis.com/InspectTemplate\022@\n\020ins" + + "pect_template\030\002 \001(\0132&.google.privacy.dlp" + + ".v2.InspectTemplate\022/\n\013update_mask\030\003 \001(\013" + + "2\032.google.protobuf.FieldMask\"U\n\031GetInspe" + + "ctTemplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n" + + "\"dlp.googleapis.com/InspectTemplate\"\247\001\n\033" + + "ListInspectTemplatesRequest\022:\n\006parent\030\001 " + + "\001(\tB*\340A\002\372A$\022\"dlp.googleapis.com/InspectT" + + "emplate\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\"z\n\034ListInspectTemplatesResponse\022A\n" + + "\021inspect_templates\030\001 \003(\0132&.google.privac" + + "y.dlp.v2.InspectTemplate\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"X\n\034DeleteInspectTemplateReques" + + "t\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googleapis." + + "com/InspectTemplate\"\266\001\n\027CreateJobTrigger" + + "Request\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.goo" + + "gleapis.com/JobTrigger\022;\n\013job_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\013location_id\030\004" + + " \001(\t\"P\n\031ActivateJobTriggerRequest\0223\n\004nam" + + "e\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobT" + + "rigger\"\267\001\n\027UpdateJobTriggerRequest\0223\n\004na" + + "me\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/Job" + + "Trigger\0226\n\013job_trigger\030\002 \001(\0132!.google.pr" + + "ivacy.dlp.v2.JobTrigger\022/\n\013update_mask\030\003" + + " \001(\0132\032.google.protobuf.FieldMask\"K\n\024GetJ" + + "obTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035" + + "dlp.googleapis.com/JobTrigger\"\366\001\n\023Create" + + "DlpJobRequest\0221\n\006parent\030\001 \001(\tB!\340A\002\372A\033\022\031d" + + "lp.googleapis.com/DlpJob\022>\n\013inspect_job\030" + + "\002 \001(\0132\'.google.privacy.dlp.v2.InspectJob" + + "ConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.google.priv" + + "acy.dlp.v2.RiskAnalysisJobConfigH\000\022\016\n\006jo" + + "b_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.com/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\004typ" + + "e\030\006 \001(\0162!.google.privacy.dlp.v2.DlpJobTy" + + "pe\022\023\n\013location_id\030\007 \001(\t\"k\n\027ListJobTrigge" + + "rsResponse\0227\n\014job_triggers\030\001 \003(\0132!.googl" + + "e.privacy.dlp.v2.JobTrigger\022\027\n\017next_page" + + "_token\030\002 \001(\t\"N\n\027DeleteJobTriggerRequest\022" + + "3\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.co" + + "m/JobTrigger\"\335\001\n\020InspectJobConfig\022<\n\016sto" + + "rage_config\030\001 \001(\0132$.google.privacy.dlp.v" + + "2.StorageConfig\022<\n\016inspect_config\030\002 \001(\0132" + + "$.google.privacy.dlp.v2.InspectConfig\022\035\n" + + "\025inspect_template_name\030\003 \001(\t\022.\n\007actions\030" + + "\004 \003(\0132\035.google.privacy.dlp.v2.Action\"\355\005\n" + + "\021DataProfileAction\022F\n\013export_data\030\001 \001(\0132" + + "/.google.privacy.dlp.v2.DataProfileActio" + + "n.ExportH\000\022[\n\024pub_sub_notification\030\002 \001(\013" + + "2;.google.privacy.dlp.v2.DataProfileActi" + + "on.PubSubNotificationH\000\032E\n\006Export\022;\n\rpro" + + "file_table\030\001 \001(\0132$.google.privacy.dlp.v2" + + ".BigQueryTable\032\352\002\n\022PubSubNotification\022\r\n" + + "\005topic\030\001 \001(\t\022A\n\005event\030\002 \001(\01622.google.pri" + + "vacy.dlp.v2.DataProfileAction.EventType\022" + + "K\n\020pubsub_condition\030\003 \001(\01321.google.priva" + + "cy.dlp.v2.DataProfilePubSubCondition\022b\n\021" + + "detail_of_message\030\004 \001(\0162G.google.privacy" + + ".dlp.v2.DataProfileAction.PubSubNotifica" + + "tion.DetailLevel\"Q\n\013DetailLevel\022\034\n\030DETAI" + + "L_LEVEL_UNSPECIFIED\020\000\022\021\n\rTABLE_PROFILE\020\001" + + "\022\021\n\rRESOURCE_NAME\020\002\"u\n\tEventType\022\032\n\026EVEN" + + "T_TYPE_UNSPECIFIED\020\000\022\017\n\013NEW_PROFILE\020\001\022\023\n" + + "\017CHANGED_PROFILE\020\002\022\023\n\017SCORE_INCREASED\020\003\022" + + "\021\n\rERROR_CHANGED\020\004B\010\n\006action\"\313\001\n\024DataPro" + + "fileJobConfig\022<\n\010location\030\001 \001(\0132*.google" + + ".privacy.dlp.v2.DataProfileLocation\022\022\n\np" + + "roject_id\030\005 \001(\t\022\031\n\021inspect_templates\030\007 \003" + + "(\t\022F\n\024data_profile_actions\030\006 \003(\0132(.googl" + + "e.privacy.dlp.v2.DataProfileAction\"Q\n\023Da" + + "taProfileLocation\022\031\n\017organization_id\030\001 \001" + + "(\003H\000\022\023\n\tfolder_id\030\002 \001(\003H\000B\n\n\010location\"\353\005", + "\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 \001(\0162!.g" + + "oogle.privacy.dlp.v2.DlpJobType\0225\n\005state" + + "\030\003 \001(\0162&.google.privacy.dlp.v2.DlpJob.Jo" + + "bState\022K\n\014risk_details\030\004 \001(\01323.google.pr" + + "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail" + + "sH\000\022J\n\017inspect_details\030\005 \001(\0132/.google.pr" + + "ivacy.dlp.v2.InspectDataSourceDetailsH\000\022" + + "/\n\013create_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestamp\022.\n\nstart_time\030\007 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022,\n\010end_time\030\010 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022\030\n\020job_trigger_na" + + "me\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.google.privac" + + "y.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\006FAILED\020\005\022\n\n\006A" + + "CTIVE\020\006:\177\352A|\n\031dlp.googleapis.com/DlpJob\022" + + "$projects/{project}/dlpJobs/{dlp_job}\0229p" + + "rojects/{project}/locations/{location}/d" + + "lpJobs/{dlp_job}B\t\n\007details\"C\n\020GetDlpJob" + + "Request\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googl" + + "eapis.com/DlpJob\"\326\001\n\022ListDlpJobsRequest\022" + + "1\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\004type\030\005 \001(\0162" + + "!.google.privacy.dlp.v2.DlpJobType\022\020\n\010or" + + "der_by\030\006 \001(\t\022\023\n\013location_id\030\007 \001(\t\"[\n\023Lis" + + "tDlpJobsResponse\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.com/DlpJob\"F" + + "\n\023FinishDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002" + + "\372A\033\n\031dlp.googleapis.com/DlpJob\"F\n\023Delete" + + "DlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp" + + ".googleapis.com/DlpJob\"\327\001\n\037CreateDeident" + + "ifyTemplateRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372" + + "A\'\022%dlp.googleapis.com/DeidentifyTemplat" + + "e\022K\n\023deidentify_template\030\002 \001(\0132).google." + + "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\037UpdateDeidentifyTemplateRequest\022;\n\004" + + "name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis.com/D" + + "eidentifyTemplate\022F\n\023deidentify_template" + + "\030\002 \001(\0132).google.privacy.dlp.v2.Deidentif" + + "yTemplate\022/\n\013update_mask\030\003 \001(\0132\032.google." + + "protobuf.FieldMask\"[\n\034GetDeidentifyTempl" + + "ateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.go" + + "ogleapis.com/DeidentifyTemplate\"\255\001\n\036List" + + "DeidentifyTemplatesRequest\022=\n\006parent\030\001 \001" + + "(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Deidentif" + + "yTemplate\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_si" + + "ze\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013location_i" + + "d\030\005 \001(\t\"\203\001\n\037ListDeidentifyTemplatesRespo" + + "nse\022G\n\024deidentify_templates\030\001 \003(\0132).goog" + + "le.privacy.dlp.v2.DeidentifyTemplate\022\027\n\017" + + "next_page_token\030\002 \001(\t\"^\n\037DeleteDeidentif" + + "yTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" + + "dlp.googleapis.com/DeidentifyTemplate\"\364\001" + + "\n\033LargeCustomDictionaryConfig\022<\n\013output_" + + "path\030\001 \001(\0132\'.google.privacy.dlp.v2.Cloud" + + "StoragePath\022L\n\026cloud_storage_file_set\030\002 " + + "\001(\0132*.google.privacy.dlp.v2.CloudStorage" + + "FileSetH\000\022?\n\017big_query_field\030\003 \001(\0132$.goo" + + "gle.privacy.dlp.v2.BigQueryFieldH\000B\010\n\006so" + + "urce\"8\n\032LargeCustomDictionaryStats\022\032\n\022ap" + + "prox_num_phrases\030\001 \001(\003\"\246\002\n\024StoredInfoTyp" + + "eConfig\022\024\n\014display_name\030\001 \001(\t\022\023\n\013descrip" + + "tion\030\002 \001(\t\022U\n\027large_custom_dictionary\030\003 " + + "\001(\01322.google.privacy.dlp.v2.LargeCustomD" + + "ictionaryConfigH\000\022F\n\ndictionary\030\004 \001(\01320." + + "google.privacy.dlp.v2.CustomInfoType.Dic" + + "tionaryH\000\022<\n\005regex\030\005 \001(\0132+.google.privac" + + "y.dlp.v2.CustomInfoType.RegexH\000B\006\n\004type\"" + + "s\n\023StoredInfoTypeStats\022T\n\027large_custom_d" + + "ictionary\030\001 \001(\01321.google.privacy.dlp.v2." + + "LargeCustomDictionaryStatsH\000B\006\n\004type\"\251\002\n" + + "\025StoredInfoTypeVersion\022;\n\006config\030\001 \001(\0132+" + + ".google.privacy.dlp.v2.StoredInfoTypeCon" + + "fig\022/\n\013create_time\030\002 \001(\0132\032.google.protob" + + "uf.Timestamp\0229\n\005state\030\003 \001(\0162*.google.pri" + + "vacy.dlp.v2.StoredInfoTypeState\022,\n\006error" + + "s\030\004 \003(\0132\034.google.privacy.dlp.v2.Error\0229\n" + + "\005stats\030\005 \001(\0132*.google.privacy.dlp.v2.Sto" + + "redInfoTypeStats\"\361\003\n\016StoredInfoType\022\014\n\004n" + + "ame\030\001 \001(\t\022E\n\017current_version\030\002 \001(\0132,.goo" + + "gle.privacy.dlp.v2.StoredInfoTypeVersion" + + "\022F\n\020pending_versions\030\003 \003(\0132,.google.priv" + + "acy.dlp.v2.StoredInfoTypeVersion:\301\002\352A\275\002\n" + + "!dlp.googleapis.com/StoredInfoType\022?orga" + + "nizations/{organization}/storedInfoTypes" + + "/{stored_info_type}\0225projects/{project}/" + + "storedInfoTypes/{stored_info_type}\022Torga" + + "nizations/{organization}/locations/{loca" + + "tion}/storedInfoTypes/{stored_info_type}" + + "\022Jprojects/{project}/locations/{location" + + "}/storedInfoTypes/{stored_info_type}\"\314\001\n" + + "\033CreateStoredInfoTypeRequest\0229\n\006parent\030\001" + + " \001(\tB)\340A\002\372A#\022!dlp.googleapis.com/StoredI" + + "nfoType\022@\n\006config\030\002 \001(\0132+.google.privacy" + + ".dlp.v2.StoredInfoTypeConfigB\003\340A\002\022\033\n\023sto" + + "red_info_type_id\030\003 \001(\t\022\023\n\013location_id\030\004 " + + "\001(\t\"\304\001\n\033UpdateStoredInfoTypeRequest\0227\n\004n" + + "ame\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis.com/St" + + "oredInfoType\022;\n\006config\030\002 \001(\0132+.google.pr" + + "ivacy.dlp.v2.StoredInfoTypeConfig\022/\n\013upd" + + "ate_mask\030\003 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"S\n\030GetStoredInfoTypeRequest\0227\n\004name\030\001" + + " \001(\tB)\340A\002\372A#\n!dlp.googleapis.com/StoredI" + + "nfoType\"\245\001\n\032ListStoredInfoTypesRequest\0229" + + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis.c" + + "om/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\013lo" + + "cation_id\030\005 \001(\t\"x\n\033ListStoredInfoTypesRe" + + "sponse\022@\n\021stored_info_types\030\001 \003(\0132%.goog" + + "le.privacy.dlp.v2.StoredInfoType\022\027\n\017next" + + "_page_token\030\002 \001(\t\"V\n\033DeleteStoredInfoTyp" + + "eRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.goog" + + "leapis.com/StoredInfoType\"\224\001\n\036HybridInsp" + + "ectJobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372" + + "A\037\n\035dlp.googleapis.com/JobTrigger\022=\n\013hyb" + + "rid_item\030\003 \001(\0132(.google.privacy.dlp.v2.H" + + "ybridContentItem\"\214\001\n\032HybridInspectDlpJob" + + "Request\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googl" + + "eapis.com/DlpJob\022=\n\013hybrid_item\030\003 \001(\0132(." + + "google.privacy.dlp.v2.HybridContentItem\"" + + "\213\001\n\021HybridContentItem\0220\n\004item\030\001 \001(\0132\".go" + + "ogle.privacy.dlp.v2.ContentItem\022D\n\017findi" + + "ng_details\030\002 \001(\0132+.google.privacy.dlp.v2" + + ".HybridFindingDetails\"\260\002\n\024HybridFindingD" + + "etails\022;\n\021container_details\030\001 \001(\0132 .goog" + + "le.privacy.dlp.v2.Container\022\023\n\013file_offs" + + "et\030\002 \001(\003\022\022\n\nrow_offset\030\003 \001(\003\022:\n\rtable_op" + + "tions\030\004 \001(\0132#.google.privacy.dlp.v2.Tabl" + + "eOptions\022G\n\006labels\030\005 \003(\01327.google.privac" + + "y.dlp.v2.HybridFindingDetails.LabelsEntr" + + "y\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\"\027\n\025HybridInspectResponse\"\271\001\n\rDa" + + "taRiskLevel\022F\n\005score\030\001 \001(\01627.google.priv" + + "acy.dlp.v2.DataRiskLevel.DataRiskLevelSc" + + "ore\"`\n\022DataRiskLevelScore\022\032\n\026RISK_SCORE_" + + "UNSPECIFIED\020\000\022\014\n\010RISK_LOW\020\n\022\021\n\rRISK_MODE" + + "RATE\020\024\022\r\n\tRISK_HIGH\020\036\"\240\001\n\031DataProfileCon" + + "figSnapshot\022<\n\016inspect_config\030\002 \001(\0132$.go" + + "ogle.privacy.dlp.v2.InspectConfig\022E\n\020dat" + + "a_profile_job\030\003 \001(\0132+.google.privacy.dlp" + + ".v2.DataProfileJobConfig\"\232\n\n\020TableDataPr" + + "ofile\022\014\n\004name\030\001 \001(\t\022\034\n\024project_data_prof" + + "ile\030\002 \001(\t\022\032\n\022dataset_project_id\030\030 \001(\t\022\030\n" + + "\020dataset_location\030\035 \001(\t\022\022\n\ndataset_id\030\031 " + + "\001(\t\022\020\n\010table_id\030\032 \001(\t\022\025\n\rfull_resource\030\003" + + " \001(\t\022<\n\016profile_status\030\025 \001(\0132$.google.pr" + + "ivacy.dlp.v2.ProfileStatus\022<\n\005state\030\026 \001(" + + "\0162-.google.privacy.dlp.v2.TableDataProfi" + + "le.State\022B\n\021sensitivity_score\030\005 \001(\0132\'.go" + + "ogle.privacy.dlp.v2.SensitivityScore\022=\n\017" + + "data_risk_level\030\006 \001(\0132$.google.privacy.d" + + "lp.v2.DataRiskLevel\022D\n\024predicted_info_ty" + + "pes\030\033 \003(\0132&.google.privacy.dlp.v2.InfoTy" + + "peSummary\022E\n\020other_info_types\030\034 \003(\0132+.go" + + "ogle.privacy.dlp.v2.OtherInfoTypeSummary" + + "\022I\n\017config_snapshot\030\007 \001(\01320.google.priva" + + "cy.dlp.v2.DataProfileConfigSnapshot\0226\n\022l" + + "ast_modified_time\030\010 \001(\0132\032.google.protobu" + + "f.Timestamp\0223\n\017expiration_time\030\t \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022\034\n\024scanned_colu" + + "mn_count\030\n \001(\003\022\033\n\023failed_column_count\030\013 " + + "\001(\003\022\030\n\020table_size_bytes\030\014 \001(\003\022\021\n\trow_cou" + + "nt\030\r \001(\003\022B\n\021encryption_status\030\016 \001(\0162\'.go" + + "ogle.privacy.dlp.v2.EncryptionStatus\022F\n\023" + + "resource_visibility\030\017 \001(\0162).google.priva" + + "cy.dlp.v2.ResourceVisibility\022:\n\026profile_" + + "last_generated\030\020 \001(\0132\032.google.protobuf.T" + + "imestamp\022T\n\017resource_labels\030\021 \003(\0132;.goog" + + "le.privacy.dlp.v2.TableDataProfile.Resou" + + "rceLabelsEntry\022/\n\013create_time\030\027 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0325\n\023ResourceLabel" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"5" + + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNIN" + + "G\020\001\022\010\n\004DONE\020\002\"b\n\rProfileStatus\022\"\n\006status" + + "\030\001 \001(\0132\022.google.rpc.Status\022-\n\ttimestamp\030" + + "\003 \001(\0132\032.google.protobuf.Timestamp\"c\n\017Inf" + + "oTypeSummary\0222\n\tinfo_type\030\001 \001(\0132\037.google" + + ".privacy.dlp.v2.InfoType\022\034\n\024estimated_pr" + + "evalence\030\002 \001(\005\"h\n\024OtherInfoTypeSummary\0222" + + "\n\tinfo_type\030\001 \001(\0132\037.google.privacy.dlp.v" + + "2.InfoType\022\034\n\024estimated_prevalence\030\002 \001(\005" + + "\"\352\005\n\032DataProfilePubSubCondition\022X\n\013expre" + + "ssions\030\001 \001(\0132C.google.privacy.dlp.v2.Dat" + + "aProfilePubSubCondition.PubSubExpression" + + "s\032\351\001\n\017PubSubCondition\022b\n\022minimum_risk_sc" + + "ore\030\001 \001(\0162D.google.privacy.dlp.v2.DataPr" + + "ofilePubSubCondition.ProfileScoreBucketH" + + "\000\022i\n\031minimum_sensitivity_score\030\002 \001(\0162D.g" + + "oogle.privacy.dlp.v2.DataProfilePubSubCo" + + "ndition.ProfileScoreBucketH\000B\007\n\005value\032\253\002" + + "\n\021PubSubExpressions\022s\n\020logical_operator\030" + + "\001 \001(\0162Y.google.privacy.dlp.v2.DataProfil" + + "ePubSubCondition.PubSubExpressions.PubSu" + + "bLogicalOperator\022U\n\nconditions\030\002 \003(\0132A.g" + + "oogle.privacy.dlp.v2.DataProfilePubSubCo" + + "ndition.PubSubCondition\"J\n\025PubSubLogical" + + "Operator\022 \n\034LOGICAL_OPERATOR_UNSPECIFIED" + + "\020\000\022\006\n\002OR\020\001\022\007\n\003AND\020\002\"X\n\022ProfileScoreBucke" + + "t\022$\n PROFILE_SCORE_BUCKET_UNSPECIFIED\020\000\022" + + "\010\n\004HIGH\020\001\022\022\n\016MEDIUM_OR_HIGH\020\002\"\227\001\n\030DataPr" + + "ofilePubSubMessage\0228\n\007profile\030\001 \001(\0132\'.go" + + "ogle.privacy.dlp.v2.TableDataProfile\022A\n\005" + + "event\030\002 \001(\01622.google.privacy.dlp.v2.Data" + + "ProfileAction.EventType*\240\001\n\036Transformati" + + "onResultStatusType\022\032\n\026STATE_TYPE_UNSPECI" + + "FIED\020\000\022\025\n\021INVALID_TRANSFORM\020\001\022\"\n\036BIGQUER" + + "Y_MAX_ROW_SIZE_EXCEEDED\020\002\022\032\n\026METADATA_UN" + + "RETRIEVABLE\020\003\022\013\n\007SUCCESS\020\004*\177\n\033Transforma" + + "tionContainerType\022\037\n\033TRANSFORM_UNKNOWN_C" + + "ONTAINER\020\000\022\022\n\016TRANSFORM_BODY\020\001\022\026\n\022TRANSF" + + "ORM_METADATA\020\002\022\023\n\017TRANSFORM_TABLE\020\003*\340\002\n\022" + + "TransformationType\022#\n\037TRANSFORMATION_TYP" + + "E_UNSPECIFIED\020\000\022\026\n\022RECORD_SUPPRESSION\020\001\022" + + "\021\n\rREPLACE_VALUE\020\002\022\026\n\022REPLACE_DICTIONARY" + + "\020\017\022\n\n\006REDACT\020\003\022\022\n\016CHARACTER_MASK\020\004\022\032\n\026CR" + + "YPTO_REPLACE_FFX_FPE\020\005\022\030\n\024FIXED_SIZE_BUC" + + "KETING\020\006\022\r\n\tBUCKETING\020\007\022\032\n\026REPLACE_WITH_" + + "INFO_TYPE\020\010\022\r\n\tTIME_PART\020\t\022\017\n\013CRYPTO_HAS" + + "H\020\n\022\016\n\nDATE_SHIFT\020\014\022\037\n\033CRYPTO_DETERMINIS" + + "TIC_CONFIG\020\r\022\020\n\014REDACT_IMAGE\020\016*\273\001\n\022Relat" + + "ionalOperator\022#\n\037RELATIONAL_OPERATOR_UNS" + + "PECIFIED\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_THAN\020\004\022\032\n\026G" + + "REATER_THAN_OR_EQUALS\020\005\022\027\n\023LESS_THAN_OR_" + + "EQUALS\020\006\022\n\n\006EXISTS\020\007*\215\001\n\014MatchingType\022\035\n" + + "\031MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n\030MATCHING" + + "_TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_TYPE_PART" + + "IAL_MATCH\020\002\022\037\n\033MATCHING_TYPE_INVERSE_MAT" + + "CH\020\003*M\n\rContentOption\022\027\n\023CONTENT_UNSPECI" + + "FIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021\n\rCONTENT_IMAG" + + "E\020\002*B\n\014MetadataType\022\034\n\030METADATATYPE_UNSP" + + "ECIFIED\020\000\022\024\n\020STORAGE_METADATA\020\002*P\n\023InfoT" + + "ypeSupportedBy\022\031\n\025ENUM_TYPE_UNSPECIFIED\020" + + "\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANALYSIS\020\002*R\n\nDlp" + + "JobType\022\034\n\030DLP_JOB_TYPE_UNSPECIFIED\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\005REA" + + "DY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALID\020\004*}\n\022Resourc" + + "eVisibility\022#\n\037RESOURCE_VISIBILITY_UNSPE" + + "CIFIED\020\000\022\036\n\032RESOURCE_VISIBILITY_PUBLIC\020\n" + + "\022\"\n\036RESOURCE_VISIBILITY_RESTRICTED\020\024*u\n\020" + + "EncryptionStatus\022!\n\035ENCRYPTION_STATUS_UN" + + "SPECIFIED\020\000\022\035\n\031ENCRYPTION_GOOGLE_MANAGED" + + "\020\001\022\037\n\033ENCRYPTION_CUSTOMER_MANAGED\020\0022\240L\n\n" + + "DlpService\022\333\001\n\016InspectContent\022,.google.p" + + "rivacy.dlp.v2.InspectContentRequest\032-.go" + + "ogle.privacy.dlp.v2.InspectContentRespon" + + "se\"l\202\323\344\223\002f\"\'/v2/{parent=projects/*}/cont" + + "ent:inspect:\001*Z8\"3/v2/{parent=projects/*" + + "/locations/*}/content:inspect:\001*\022\314\001\n\013Red" + + "actImage\022).google.privacy.dlp.v2.RedactI" + + "mageRequest\032*.google.privacy.dlp.v2.Reda" + + "ctImageResponse\"f\202\323\344\223\002`\"$/v2/{parent=pro" + + "jects/*}/image:redact:\001*Z5\"0/v2/{parent=" + + "projects/*/locations/*}/image:redact:\001*\022" + + "\352\001\n\021DeidentifyContent\022/.google.privacy.d" + + "lp.v2.DeidentifyContentRequest\0320.google." + + "privacy.dlp.v2.DeidentifyContentResponse" + + "\"r\202\323\344\223\002l\"*/v2/{parent=projects/*}/conten" + + "t:deidentify:\001*Z;\"6/v2/{parent=projects/" + + "*/locations/*}/content:deidentify:\001*\022\352\001\n" + + "\021ReidentifyContent\022/.google.privacy.dlp." + + "v2.ReidentifyContentRequest\0320.google.pri" + + "vacy.dlp.v2.ReidentifyContentResponse\"r\202" + + "\323\344\223\002l\"*/v2/{parent=projects/*}/content:r" + + "eidentify:\001*Z;\"6/v2/{parent=projects/*/l" + + "ocations/*}/content:reidentify:\001*\022\260\001\n\rLi" + + "stInfoTypes\022+.google.privacy.dlp.v2.List" + + "InfoTypesRequest\032,.google.privacy.dlp.v2" + + ".ListInfoTypesResponse\"D\202\323\344\223\0025\022\r/v2/info" + + "TypesZ$\022\"/v2/{parent=locations/*}/infoTy" + + "pes\332A\006parent\022\364\002\n\025CreateInspectTemplate\0223" + + ".google.privacy.dlp.v2.CreateInspectTemp" + + "lateRequest\032&.google.privacy.dlp.v2.Insp" + + "ectTemplate\"\375\001\202\323\344\223\002\334\001\"-/v2/{parent=organ" + + "izations/*}/inspectTemplates:\001*Z>\"9/v2/{" + + "parent=organizations/*/locations/*}/insp" + + "ectTemplates:\001*Z-\"(/v2/{parent=projects/" + + "*}/inspectTemplates:\001*Z9\"4/v2/{parent=pr" + + "ojects/*/locations/*}/inspectTemplates:\001" + + "*\332A\027parent,inspect_template\022\376\002\n\025UpdateIn" + + "spectTemplate\0223.google.privacy.dlp.v2.Up" + + "dateInspectTemplateRequest\032&.google.priv" + + "acy.dlp.v2.InspectTemplate\"\207\002\202\323\344\223\002\334\0012-/v" + + "2/{name=organizations/*/inspectTemplates" + + "/*}:\001*Z>29/v2/{name=organizations/*/loca" + + "tions/*/inspectTemplates/*}:\001*Z-2(/v2/{n" + + "ame=projects/*/inspectTemplates/*}:\001*Z92" + + "4/v2/{name=projects/*/locations/*/inspec" + + "tTemplates/*}:\001*\332A!name,inspect_template" + + ",update_mask\022\317\002\n\022GetInspectTemplate\0220.go" + + "ogle.privacy.dlp.v2.GetInspectTemplateRe" + + "quest\032&.google.privacy.dlp.v2.InspectTem" + + "plate\"\336\001\202\323\344\223\002\320\001\022-/v2/{name=organizations" + + "/*/inspectTemplates/*}Z;\0229/v2/{name=orga" + + "nizations/*/locations/*/inspectTemplates" + + "/*}Z*\022(/v2/{name=projects/*/inspectTempl" + + "ates/*}Z6\0224/v2/{name=projects/*/location" + + "s/*/inspectTemplates/*}\332A\004name\022\342\002\n\024ListI" + + "nspectTemplates\0222.google.privacy.dlp.v2." + + "ListInspectTemplatesRequest\0323.google.pri" + + "vacy.dlp.v2.ListInspectTemplatesResponse" + + "\"\340\001\202\323\344\223\002\320\001\022-/v2/{parent=organizations/*}" + + "/inspectTemplatesZ;\0229/v2/{parent=organiz" + + "ations/*/locations/*}/inspectTemplatesZ*" + + "\022(/v2/{parent=projects/*}/inspectTemplat" + + "esZ6\0224/v2/{parent=projects/*/locations/*" + + "}/inspectTemplates\332A\006parent\022\305\002\n\025DeleteIn" + + "spectTemplate\0223.google.privacy.dlp.v2.De" + + "leteInspectTemplateRequest\032\026.google.prot" + + "obuf.Empty\"\336\001\202\323\344\223\002\320\001*-/v2/{name=organiza" + + "tions/*/inspectTemplates/*}Z;*9/v2/{name" + + "=organizations/*/locations/*/inspectTemp" + + "lates/*}Z**(/v2/{name=projects/*/inspect" + + "Templates/*}Z6*4/v2/{name=projects/*/loc" + + "ations/*/inspectTemplates/*}\332A\004name\022\214\003\n\030" + + "CreateDeidentifyTemplate\0226.google.privac" + + "y.dlp.v2.CreateDeidentifyTemplateRequest" + + "\032).google.privacy.dlp.v2.DeidentifyTempl" + + "ate\"\214\002\202\323\344\223\002\350\001\"0/v2/{parent=organizations" + + "/*}/deidentifyTemplates:\001*ZA\"\022\022*\"9/v2/{name" + + "=projects/*/locations/*/dlpJobs/*}:hybri" + + "dInspect:\001*\332A\004name\022\221\001\n\014FinishDlpJob\022*.go" + + "ogle.privacy.dlp.v2.FinishDlpJobRequest\032" + + "\026.google.protobuf.Empty\"=\202\323\344\223\0027\"2/v2/{na" + + "me=projects/*/locations/*/dlpJobs/*}:fin" + + "ish:\001*\032F\312A\022dlp.googleapis.com\322A.https://" + + "www.googleapis.com/auth/cloud-platformB\372" + + "\002\n\031com.google.privacy.dlp.v2B\010DlpProtoP\001" + + "Z8google.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::V2\352Ar\n\035dlp.googleapis.com/DlpConten" + + "t\022\035projects/{project}/dlpContent\0222projec" + + "ts/{project}/locations/{location}/dlpCon" + + "tent\352A\\\n\'dlp.googleapis.com/Organization" + + "Location\0221organizations/{organization}/l" + + "ocations/{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", "Versions", "Categories", }); + internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor, + new java.lang.String[] { "LocationCategory", "IndustryCategory", "TypeCategory", "Category", }); + internal_static_google_privacy_dlp_v2_VersionDescription_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_privacy_dlp_v2_VersionDescription_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_VersionDescription_descriptor, + new java.lang.String[] { "Version", "Description", }); + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + 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(38); + 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(39); + 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(40); + 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(41); + 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(42); + 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(43); + 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(44); + 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(45); + 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(46); + 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(47); + 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(48); + 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", "ImageTransformations", "TransformationErrorHandling", "Transformation", }); + internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor, + new java.lang.String[] { "Transforms", }); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor = + internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor, + new java.lang.String[] { "SelectedInfoTypes", "AllInfoTypes", "AllText", "RedactionColor", "Target", }); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor = + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor, + new java.lang.String[] { "InfoTypes", }); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor = + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor = + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor.getNestedTypes().get(2); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor, + new java.lang.String[] { }); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor = + getDescriptor().getMessageTypes().get(50); + 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(51); + 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(52); + 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(53); + 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(54); + 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(55); + 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(56); + 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(57); + 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(58); + 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(59); + 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(60); + 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(61); + 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(62); + 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(63); + 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(64); + 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(65); + 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(66); + 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(67); + 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(68); + 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(69); + 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(70); + 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(71); + 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(72); + 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(73); + 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(74); + 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(75); + 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_TransformationDescription_descriptor = + getDescriptor().getMessageTypes().get(76); + internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationDescription_descriptor, + new java.lang.String[] { "Type", "Description", "Condition", "InfoType", }); + internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor = + getDescriptor().getMessageTypes().get(77); + internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor, + new java.lang.String[] { "ResourceName", "ContainerName", "Transformation", "StatusDetails", "TransformedBytes", "TransformationLocation", }); + internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor = + getDescriptor().getMessageTypes().get(78); + internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor, + new java.lang.String[] { "FindingId", "RecordTransformation", "ContainerType", "LocationType", }); + internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor = + getDescriptor().getMessageTypes().get(79); + internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor, + new java.lang.String[] { "FieldId", "ContainerTimestamp", "ContainerVersion", }); + internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor = + getDescriptor().getMessageTypes().get(80); + internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor, + new java.lang.String[] { "ResultStatusType", "Details", }); + internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor = + getDescriptor().getMessageTypes().get(81); + internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor, + new java.lang.String[] { "Table", "Type", }); + internal_static_google_privacy_dlp_v2_Schedule_descriptor = + getDescriptor().getMessageTypes().get(82); + 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(83); + 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(84); + 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(85); + 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(86); + 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(87); + 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(88); + 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", "Deidentify", "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_Deidentify_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(4); + internal_static_google_privacy_dlp_v2_Action_Deidentify_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_Deidentify_descriptor, + new java.lang.String[] { "TransformationConfig", "TransformationDetailsStorageConfig", "CloudStorageOutput", "FileTypesToTransform", "Output", }); + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(5); + 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(6); + 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_TransformationConfig_descriptor = + getDescriptor().getMessageTypes().get(89); + internal_static_google_privacy_dlp_v2_TransformationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationConfig_descriptor, + new java.lang.String[] { "DeidentifyTemplate", "StructuredDeidentifyTemplate", "ImageRedactTemplate", }); + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(90); + 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(91); + 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(92); + 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(93); + 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(94); + 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(95); + 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(96); + 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(97); + 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(98); + 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(99); + 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(100); + 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(101); + 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(102); + 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(103); + 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(104); + 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_DataProfileAction_descriptor = + getDescriptor().getMessageTypes().get(105); + internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor, + new java.lang.String[] { "ExportData", "PubSubNotification", "Action", }); + internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor = + internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor, + new java.lang.String[] { "ProfileTable", }); + internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor = + internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor, + new java.lang.String[] { "Topic", "Event", "PubsubCondition", "DetailOfMessage", }); + internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor = + getDescriptor().getMessageTypes().get(106); + internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor, + new java.lang.String[] { "Location", "ProjectId", "InspectTemplates", "DataProfileActions", }); + internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor = + getDescriptor().getMessageTypes().get(107); + internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor, + new java.lang.String[] { "OrganizationId", "FolderId", "Location", }); + internal_static_google_privacy_dlp_v2_DlpJob_descriptor = + getDescriptor().getMessageTypes().get(108); + 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(109); + 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(110); + 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(111); + 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(112); + 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(113); + 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(114); + 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(115); + 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(116); + 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(117); + 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(118); + 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(119); + 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(120); + 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(121); + 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(122); + 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(123); + 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(124); + 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(125); + 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(126); + 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(127); + 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(128); + 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(129); + 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(130); + 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(131); + 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(132); + 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(133); + 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(134); + 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(135); + 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(136); + 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(137); + 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[] { }); + internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor = + getDescriptor().getMessageTypes().get(138); + internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor, + new java.lang.String[] { "Score", }); + internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor = + getDescriptor().getMessageTypes().get(139); + internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor, + new java.lang.String[] { "InspectConfig", "DataProfileJob", }); + internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor = + getDescriptor().getMessageTypes().get(140); + internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor, + new java.lang.String[] { "Name", "ProjectDataProfile", "DatasetProjectId", "DatasetLocation", "DatasetId", "TableId", "FullResource", "ProfileStatus", "State", "SensitivityScore", "DataRiskLevel", "PredictedInfoTypes", "OtherInfoTypes", "ConfigSnapshot", "LastModifiedTime", "ExpirationTime", "ScannedColumnCount", "FailedColumnCount", "TableSizeBytes", "RowCount", "EncryptionStatus", "ResourceVisibility", "ProfileLastGenerated", "ResourceLabels", "CreateTime", }); + internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor = + internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor = + getDescriptor().getMessageTypes().get(141); + internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor, + new java.lang.String[] { "Status", "Timestamp", }); + internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor = + getDescriptor().getMessageTypes().get(142); + internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor, + new java.lang.String[] { "InfoType", "EstimatedPrevalence", }); + internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor = + getDescriptor().getMessageTypes().get(143); + internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor, + new java.lang.String[] { "InfoType", "EstimatedPrevalence", }); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor = + getDescriptor().getMessageTypes().get(144); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor, + new java.lang.String[] { "Expressions", }); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor = + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor, + new java.lang.String[] { "MinimumRiskScore", "MinimumSensitivityScore", "Value", }); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor = + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor, + new java.lang.String[] { "LogicalOperator", "Conditions", }); + internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor = + getDescriptor().getMessageTypes().get(145); + internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor, + new java.lang.String[] { "Profile", "Event", }); + 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..618d008b --- /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,560 @@ +// 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_SensitivityScore_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_SensitivityScore_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\"\341\001\n\020SensitivityScore\022L\n\005score\030\001 \001(\0162" + + "=.google.privacy.dlp.v2.SensitivityScore" + + ".SensitivityScoreLevel\"\177\n\025SensitivitySco" + + "reLevel\022!\n\035SENSITIVITY_SCORE_UNSPECIFIED" + + "\020\000\022\023\n\017SENSITIVITY_LOW\020\n\022\030\n\024SENSITIVITY_M" + + "ODERATE\020\024\022\024\n\020SENSITIVITY_HIGH\020\036\"K\n\nStore" + + "dType\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030\002 \001(\013" + + "2\032.google.protobuf.Timestamp\"\310\013\n\016CustomI" + + "nfoType\0222\n\tinfo_type\030\001 \001(\0132\037.google.priv" + + "acy.dlp.v2.InfoType\0225\n\nlikelihood\030\006 \001(\0162" + + "!.google.privacy.dlp.v2.Likelihood\022F\n\ndi" + + "ctionary\030\002 \001(\01320.google.privacy.dlp.v2.C" + + "ustomInfoType.DictionaryH\000\022<\n\005regex\030\003 \001(" + + "\0132+.google.privacy.dlp.v2.CustomInfoType" + + ".RegexH\000\022M\n\016surrogate_type\030\004 \001(\01323.googl" + + "e.privacy.dlp.v2.CustomInfoType.Surrogat" + + "eTypeH\000\0228\n\013stored_type\030\005 \001(\0132!.google.pr" + + "ivacy.dlp.v2.StoredTypeH\000\022L\n\017detection_r" + + "ules\030\007 \003(\01323.google.privacy.dlp.v2.Custo" + + "mInfoType.DetectionRule\022K\n\016exclusion_typ" + + "e\030\010 \001(\01623.google.privacy.dlp.v2.CustomIn" + + "foType.ExclusionType\032\310\001\n\nDictionary\022N\n\tw" + + "ord_list\030\001 \001(\01329.google.privacy.dlp.v2.C" + + "ustomInfoType.Dictionary.WordListH\000\022E\n\022c" + + "loud_storage_path\030\003 \001(\0132\'.google.privacy" + + ".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\007patt" + + "ern\030\001 \001(\t\022\025\n\rgroup_indexes\030\002 \003(\005\032\017\n\rSurr" + + "ogateType\032\276\004\n\rDetectionRule\022W\n\014hotword_r" + + "ule\030\001 \001(\0132?.google.privacy.dlp.v2.Custom" + + "InfoType.DetectionRule.HotwordRuleH\000\0328\n\t" + + "Proximity\022\025\n\rwindow_before\030\001 \001(\005\022\024\n\014wind" + + "ow_after\030\002 \001(\005\032\202\001\n\024LikelihoodAdjustment\022" + + "=\n\020fixed_likelihood\030\001 \001(\0162!.google.priva" + + "cy.dlp.v2.LikelihoodH\000\022\035\n\023relative_likel" + + "ihood\030\002 \001(\005H\000B\014\n\nadjustment\032\214\002\n\013HotwordR" + + "ule\022B\n\rhotword_regex\030\001 \001(\0132+.google.priv" + + "acy.dlp.v2.CustomInfoType.Regex\022P\n\tproxi" + + "mity\030\002 \001(\0132=.google.privacy.dlp.v2.Custo" + + "mInfoType.DetectionRule.Proximity\022g\n\025lik" + + "elihood_adjustment\030\003 \001(\0132H.google.privac" + + "y.dlp.v2.CustomInfoType.DetectionRule.Li" + + "kelihoodAdjustmentB\006\n\004type\"K\n\rExclusionT" + + "ype\022\036\n\032EXCLUSION_TYPE_UNSPECIFIED\020\000\022\032\n\026E" + + "XCLUSION_TYPE_EXCLUDE\020\001B\006\n\004type\"\027\n\007Field" + + "Id\022\014\n\004name\030\001 \001(\t\"7\n\013PartitionId\022\022\n\nproje" + + "ct_id\030\002 \001(\t\022\024\n\014namespace_id\030\004 \001(\t\"\036\n\016Kin" + + "dExpression\022\014\n\004name\030\001 \001(\t\"\201\001\n\020DatastoreO" + + "ptions\0228\n\014partition_id\030\001 \001(\0132\".google.pr" + + "ivacy.dlp.v2.PartitionId\0223\n\004kind\030\002 \001(\0132%" + + ".google.privacy.dlp.v2.KindExpression\"]\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\023CloudStorageOptions\022D\n\010" + + "file_set\030\001 \001(\01322.google.privacy.dlp.v2.C" + + "loudStorageOptions.FileSet\022\034\n\024bytes_limi" + + "t_per_file\030\004 \001(\003\022$\n\034bytes_limit_per_file" + + "_percent\030\010 \001(\005\0223\n\nfile_types\030\005 \003(\0162\037.goo" + + "gle.privacy.dlp.v2.FileType\022N\n\rsample_me" + + "thod\030\006 \001(\01627.google.privacy.dlp.v2.Cloud" + + "StorageOptions.SampleMethod\022\033\n\023files_lim" + + "it_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.privac" + + "y.dlp.v2.CloudStorageRegexFileSet\"H\n\014Sam" + + "pleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED\020\000" + + "\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\"\n\023CloudStor" + + "ageFileSet\022\013\n\003url\030\001 \001(\t\" \n\020CloudStorageP" + + "ath\022\014\n\004path\030\001 \001(\t\"\304\003\n\017BigQueryOptions\022=\n" + + "\017table_reference\030\001 \001(\0132$.google.privacy." + + "dlp.v2.BigQueryTable\022:\n\022identifying_fiel" + + "ds\030\002 \003(\0132\036.google.privacy.dlp.v2.FieldId" + + "\022\022\n\nrows_limit\030\003 \001(\003\022\032\n\022rows_limit_perce" + + "nt\030\006 \001(\005\022J\n\rsample_method\030\004 \001(\01623.google" + + ".privacy.dlp.v2.BigQueryOptions.SampleMe" + + "thod\0227\n\017excluded_fields\030\005 \003(\0132\036.google.p" + + "rivacy.dlp.v2.FieldId\0227\n\017included_fields" + + "\030\007 \003(\0132\036.google.privacy.dlp.v2.FieldId\"H" + + "\n\014SampleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIF" + + "IED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\332\004\n\rSto" + + "rageConfig\022D\n\021datastore_options\030\002 \001(\0132\'." + + "google.privacy.dlp.v2.DatastoreOptionsH\000" + + "\022K\n\025cloud_storage_options\030\003 \001(\0132*.google" + + ".privacy.dlp.v2.CloudStorageOptionsH\000\022C\n" + + "\021big_query_options\030\004 \001(\0132&.google.privac" + + "y.dlp.v2.BigQueryOptionsH\000\022>\n\016hybrid_opt" + + "ions\030\t \001(\0132$.google.privacy.dlp.v2.Hybri" + + "dOptionsH\000\022L\n\017timespan_config\030\006 \001(\01323.go" + + "ogle.privacy.dlp.v2.StorageConfig.Timesp" + + "anConfig\032\332\001\n\016TimespanConfig\022.\n\nstart_tim" + + "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + + "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam" + + "p\0227\n\017timestamp_field\030\003 \001(\0132\036.google.priv" + + "acy.dlp.v2.FieldId\0221\n)enable_auto_popula" + + "tion_of_timespan_config\030\004 \001(\010B\006\n\004type\"\366\001" + + "\n\rHybridOptions\022\023\n\013description\030\001 \001(\t\022#\n\033" + + "required_finding_label_keys\030\002 \003(\t\022@\n\006lab" + + "els\030\003 \003(\01320.google.privacy.dlp.v2.Hybrid" + + "Options.LabelsEntry\022:\n\rtable_options\030\004 \001" + + "(\0132#.google.privacy.dlp.v2.TableOptions\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_reference" + + "\030\001 \001(\0132$.google.privacy.dlp.v2.BigQueryT" + + "able\022\022\n\nrow_number\030\002 \001(\003\">\n\014DatastoreKey" + + "\022.\n\nentity_key\030\001 \001(\0132\032.google.privacy.dl" + + "p.v2.Key\"\273\001\n\003Key\0228\n\014partition_id\030\001 \001(\0132\"" + + ".google.privacy.dlp.v2.PartitionId\0224\n\004pa" + + "th\030\002 \003(\0132&.google.privacy.dlp.v2.Key.Pat" + + "hElement\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#.go" + + "ogle.privacy.dlp.v2.DatastoreKeyH\000\022;\n\rbi" + + "g_query_key\030\003 \001(\0132\".google.privacy.dlp.v" + + "2.BigQueryKeyH\000\022\021\n\tid_values\030\005 \003(\tB\006\n\004ty" + + "pe\"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.p" + + "rivacy.dlp.v2.BigQueryTable\022-\n\005field\030\002 \001" + + "(\0132\036.google.privacy.dlp.v2.FieldId\"9\n\010En" + + "tityId\022-\n\005field\030\001 \001(\0132\036.google.privacy.d" + + "lp.v2.FieldId\"J\n\014TableOptions\022:\n\022identif" + + "ying_fields\030\001 \003(\0132\036.google.privacy.dlp.v" + + "2.FieldId*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UN" + + "SPECIFIED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKE" + + "LY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_L" + + "IKELY\020\005*\232\001\n\010FileType\022\031\n\025FILE_TYPE_UNSPEC" + + "IFIED\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\t\022\016\n\nPOWERPOINT\020\013\022\t\n\005EXC" + + "EL\020\014B\250\001\n\031com.google.privacy.dlp.v2B\nDlpS" + + "torageP\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::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_SensitivityScore_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor, + new java.lang.String[] { "Score", }); + internal_static_google_privacy_dlp_v2_StoredType_descriptor = + getDescriptor().getMessageTypes().get(2); + 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(3); + 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(4); + 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(5); + 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(6); + 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(7); + 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(8); + 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(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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(14); + 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(15); + 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(16); + 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(17); + 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(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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 fd0b53df..e1a55799 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,18 +52,18 @@ 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) { @@ -87,40 +71,35 @@ private DocumentLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -129,7 +108,6 @@ public long getFileOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,7 +119,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -155,7 +134,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; @@ -165,15 +145,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; } @@ -186,133 +166,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() @@ -320,15 +292,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -338,9 +311,9 @@ public Builder 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 @@ -359,8 +332,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; @@ -370,39 +342,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; @@ -443,17 +414,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 @@ -461,45 +429,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); } @@ -509,12 +471,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(); } @@ -523,16 +485,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; @@ -547,4 +509,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/EncryptionStatus.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EncryptionStatus.java similarity index 66% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EncryptionStatus.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EncryptionStatus.java index afc71279..e7c5f2c0 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EncryptionStatus.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EncryptionStatus.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; /** - * - * *
  * How a resource is encrypted.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.EncryptionStatus} */ -public enum EncryptionStatus implements com.google.protobuf.ProtocolMessageEnum { +public enum EncryptionStatus + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unused.
    * 
@@ -39,8 +21,6 @@ public enum EncryptionStatus implements com.google.protobuf.ProtocolMessageEnum */ ENCRYPTION_STATUS_UNSPECIFIED(0), /** - * - * *
    * Google manages server-side encryption keys on your behalf.
    * 
@@ -49,8 +29,6 @@ public enum EncryptionStatus implements com.google.protobuf.ProtocolMessageEnum */ ENCRYPTION_GOOGLE_MANAGED(1), /** - * - * *
    * Customer provides the key.
    * 
@@ -62,8 +40,6 @@ public enum EncryptionStatus implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * Unused.
    * 
@@ -72,8 +48,6 @@ public enum EncryptionStatus implements com.google.protobuf.ProtocolMessageEnum */ public static final int ENCRYPTION_STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Google manages server-side encryption keys on your behalf.
    * 
@@ -82,8 +56,6 @@ public enum EncryptionStatus implements com.google.protobuf.ProtocolMessageEnum */ public static final int ENCRYPTION_GOOGLE_MANAGED_VALUE = 1; /** - * - * *
    * Customer provides the key.
    * 
@@ -92,6 +64,7 @@ public enum EncryptionStatus implements com.google.protobuf.ProtocolMessageEnum */ public static final int ENCRYPTION_CUSTOMER_MANAGED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static EncryptionStatus valueOf(int value) { */ public static EncryptionStatus forNumber(int value) { switch (value) { - case 0: - return ENCRYPTION_STATUS_UNSPECIFIED; - case 1: - return ENCRYPTION_GOOGLE_MANAGED; - case 2: - return ENCRYPTION_CUSTOMER_MANAGED; - default: - return null; + case 0: return ENCRYPTION_STATUS_UNSPECIFIED; + case 1: return ENCRYPTION_GOOGLE_MANAGED; + case 2: return ENCRYPTION_CUSTOMER_MANAGED; + 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 EncryptionStatus findValueByNumber(int number) { - return EncryptionStatus.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + EncryptionStatus> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EncryptionStatus findValueByNumber(int number) { + return EncryptionStatus.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.DlpProto.getDescriptor().getEnumTypes().get(8); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(11); } private static final EncryptionStatus[] VALUES = values(); - public static EncryptionStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EncryptionStatus 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 EncryptionStatus(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.EncryptionStatus) } + 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 9752349a..e2533207 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,28 +56,26 @@ 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) {
@@ -101,39 +83,34 @@ private EntityId(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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 @@ -141,14 +118,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 @@ -156,8 +130,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.
    * 
@@ -170,7 +142,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { } 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 (field_ != null) { output.writeMessage(1, getField()); } @@ -196,7 +168,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; @@ -206,7 +179,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); @@ -215,7 +188,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; @@ -237,103 +211,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
@@ -344,23 +312,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()
@@ -368,15 +334,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       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 +357,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
@@ -425,39 +392,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;
@@ -500,33 +466,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() { @@ -537,8 +494,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -559,15 +514,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(); @@ -578,8 +532,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -590,7 +542,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; } @@ -602,8 +554,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -622,8 +572,6 @@ public Builder clearField() { return this; } /** - * - * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -631,13 +579,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.
      * 
@@ -648,12 +594,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.
      * 
@@ -661,24 +606,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); } @@ -688,12 +630,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(); } @@ -702,16 +644,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; @@ -726,4 +668,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 c7ec75d5..03df97e0 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,37 +55,35 @@ 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) {
@@ -110,7 +91,8 @@ private Error(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -119,17 +101,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);
   }
@@ -137,14 +117,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 @@ -152,14 +129,11 @@ public boolean hasDetails() { return details_ != null; } /** - * - * *
    * Detailed error codes and messages.
    * 
* * .google.rpc.Status details = 1; - * * @return The details. */ @java.lang.Override @@ -167,8 +141,6 @@ public com.google.rpc.Status getDetails() { return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_; } /** - * - * *
    * Detailed error codes and messages.
    * 
@@ -183,8 +155,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.
    * 
@@ -196,8 +166,6 @@ public java.util.List getTimestampsList() { return timestamps_; } /** - * - * *
    * The times the error occurred.
    * 
@@ -205,13 +173,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.
    * 
@@ -223,8 +189,6 @@ public int getTimestampsCount() { return timestamps_.size(); } /** - * - * *
    * The times the error occurred.
    * 
@@ -236,8 +200,6 @@ public com.google.protobuf.Timestamp getTimestamps(int index) { return timestamps_.get(index); } /** - * - * *
    * The times the error occurred.
    * 
@@ -245,12 +207,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; @@ -262,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -279,10 +242,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; @@ -292,7 +257,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); @@ -301,9 +266,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; } @@ -328,103 +295,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.
@@ -432,20 +393,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);
     }
@@ -455,17 +415,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();
@@ -485,9 +445,9 @@ public Builder 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
@@ -530,39 +490,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;
@@ -592,10 +551,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_);
           }
@@ -629,36 +587,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() { @@ -669,8 +619,6 @@ public com.google.rpc.Status getDetails() { } } /** - * - * *
      * Detailed error codes and messages.
      * 
@@ -691,15 +639,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(); @@ -710,8 +657,6 @@ public Builder setDetails(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Detailed error codes and messages.
      * 
@@ -721,7 +666,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; } @@ -733,8 +679,6 @@ public Builder mergeDetails(com.google.rpc.Status value) { return this; } /** - * - * *
      * Detailed error codes and messages.
      * 
@@ -753,8 +697,6 @@ public Builder clearDetails() { return this; } /** - * - * *
      * Detailed error codes and messages.
      * 
@@ -762,13 +704,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.
      * 
@@ -779,12 +719,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.
      * 
@@ -792,38 +731,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.
      * 
@@ -838,8 +771,6 @@ public java.util.List getTimestampsList() { } } /** - * - * *
      * The times the error occurred.
      * 
@@ -854,8 +785,6 @@ public int getTimestampsCount() { } } /** - * - * *
      * The times the error occurred.
      * 
@@ -870,15 +799,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(); @@ -892,15 +820,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()); @@ -911,8 +838,6 @@ public Builder setTimestamps(int index, com.google.protobuf.Timestamp.Builder bu return this; } /** - * - * *
      * The times the error occurred.
      * 
@@ -933,15 +858,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(); @@ -955,15 +879,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()); @@ -974,15 +897,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()); @@ -993,8 +915,6 @@ public Builder addTimestamps(int index, com.google.protobuf.Timestamp.Builder bu return this; } /** - * - * *
      * The times the error occurred.
      * 
@@ -1005,7 +925,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); @@ -1013,8 +934,6 @@ public Builder addAllTimestamps( return this; } /** - * - * *
      * The times the error occurred.
      * 
@@ -1032,8 +951,6 @@ public Builder clearTimestamps() { return this; } /** - * - * *
      * The times the error occurred.
      * 
@@ -1051,44 +968,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 { @@ -1096,8 +1008,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder(int index) } } /** - * - * *
      * The times the error occurred.
      * 
@@ -1105,54 +1015,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); } @@ -1162,12 +1067,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(); } @@ -1176,16 +1081,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; @@ -1200,4 +1105,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 b71101c0..d8a47b8b 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.
+ * List of excluded 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,24 +54,22 @@ 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) { @@ -96,7 +77,8 @@ private ExcludeInfoTypes( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -105,27 +87,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
@@ -144,8 +121,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
@@ -160,13 +135,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
@@ -185,8 +158,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
@@ -205,8 +176,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
@@ -221,12 +190,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;
@@ -238,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 {
     for (int i = 0; i < infoTypes_.size(); i++) {
       output.writeMessage(1, infoTypes_.get(i));
     }
@@ -252,7 +222,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;
@@ -262,15 +233,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;
   }
@@ -291,127 +262,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.
+   * List of excluded 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() @@ -419,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) { getInfoTypesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -443,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_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 @@ -464,8 +426,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)) { @@ -484,39 +445,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; @@ -543,10 +503,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_); } @@ -580,28 +539,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
@@ -623,8 +575,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
@@ -646,8 +596,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
@@ -669,8 +617,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
@@ -684,7 +630,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();
@@ -698,8 +645,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
@@ -725,8 +670,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
@@ -754,8 +697,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
@@ -769,7 +710,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();
@@ -783,8 +725,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
@@ -798,7 +738,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());
@@ -809,8 +750,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
@@ -836,8 +775,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
@@ -855,7 +792,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);
@@ -863,8 +801,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
@@ -889,8 +825,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
@@ -915,8 +849,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
@@ -930,12 +862,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
@@ -949,16 +880,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
@@ -972,8 +901,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 {
@@ -981,8 +910,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
@@ -997,12 +924,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
@@ -1016,13 +941,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
@@ -1036,29 +960,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);
     }
 
@@ -1068,12 +990,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();
   }
@@ -1082,16 +1004,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;
@@ -1106,4 +1028,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 45f27ea0..f6106c7c 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,70 +54,61 @@ 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) {
@@ -142,41 +116,36 @@ private ExclusionRule(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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;
     }
@@ -192,38 +161,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 @@ -231,26 +193,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.
    * 
@@ -260,21 +217,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 @@ -282,26 +236,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.
    * 
@@ -311,21 +260,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 @@ -333,26 +279,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.
    * 
@@ -362,7 +303,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(); } @@ -370,41 +311,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; @@ -416,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 (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary) type_); } @@ -426,8 +358,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); @@ -440,23 +371,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; @@ -466,7 +394,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); @@ -477,13 +405,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: @@ -522,104 +453,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.
@@ -627,23 +551,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()
@@ -651,15 +573,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -671,9 +594,9 @@ public Builder 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
@@ -692,8 +615,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_;
@@ -725,39 +647,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;
@@ -770,25 +691,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();
@@ -818,12 +735,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() {
@@ -833,20 +750,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 @@ -854,14 +766,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 @@ -879,8 +788,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -901,8 +808,6 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -921,8 +826,6 @@ public Builder setDictionary( return this; } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -931,13 +834,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; } @@ -953,8 +853,6 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -978,8 +876,6 @@ public Builder clearDictionary() { return this; } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -990,8 +886,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -1010,8 +904,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** - * - * *
      * Dictionary which defines the rule.
      * 
@@ -1019,44 +911,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 @@ -1064,14 +944,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 @@ -1089,8 +966,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1111,8 +986,6 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1131,8 +1004,6 @@ public Builder setRegex( return this; } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1141,13 +1012,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; } @@ -1163,8 +1031,6 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1188,8 +1054,6 @@ public Builder clearRegex() { return this; } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1200,8 +1064,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1220,8 +1082,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** - * - * *
      * Regular expression which defines the rule.
      * 
@@ -1229,44 +1089,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 @@ -1274,14 +1122,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 @@ -1299,8 +1144,6 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() { } } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1321,8 +1164,6 @@ public Builder setExcludeInfoTypes(com.google.privacy.dlp.v2.ExcludeInfoTypes va return this; } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1341,8 +1182,6 @@ public Builder setExcludeInfoTypes( return this; } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1351,13 +1190,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; } @@ -1373,8 +1209,6 @@ public Builder mergeExcludeInfoTypes(com.google.privacy.dlp.v2.ExcludeInfoTypes return this; } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1398,8 +1232,6 @@ public Builder clearExcludeInfoTypes() { return this; } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1410,8 +1242,6 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder getExcludeInfoTypesBui return getExcludeInfoTypesFieldBuilder().getBuilder(); } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1430,8 +1260,6 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr } } /** - * - * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1439,91 +1267,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. */ @@ -1531,31 +1339,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); } @@ -1565,12 +1370,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(); } @@ -1579,16 +1384,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; @@ -1603,4 +1408,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 30c50ec3..cc95f676 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,20 +53,19 @@ 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) { @@ -91,39 +73,34 @@ private FieldId( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,14 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -225,126 +203,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() @@ -352,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.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 @@ -401,39 +372,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; @@ -477,20 +447,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; @@ -499,21 +467,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 { @@ -521,68 +488,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); } @@ -592,12 +552,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(); } @@ -606,16 +566,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; @@ -630,4 +590,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 c4991d34..5e42d622 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,79 +54,63 @@ 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) { @@ -151,7 +118,8 @@ private FieldTransformation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -160,34 +128,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; } @@ -203,31 +165,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,
@@ -235,17 +192,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,
@@ -253,18 +206,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,
@@ -272,17 +221,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,
@@ -290,17 +235,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,
@@ -308,20 +249,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
@@ -333,7 +271,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 @@ -341,8 +278,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
@@ -354,18 +289,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
@@ -385,14 +315,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 @@ -400,26 +327,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.
    * 
@@ -427,25 +349,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 @@ -453,27 +371,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`.
@@ -482,16 +395,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;
@@ -503,7 +414,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -526,20 +438,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;
@@ -549,26 +461,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:
@@ -609,127 +524,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() @@ -737,17 +643,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(); @@ -769,9 +675,9 @@ public Builder 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 @@ -790,8 +696,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)) { @@ -830,39 +735,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; @@ -889,10 +793,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_); } @@ -902,20 +805,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(); @@ -945,12 +845,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() { @@ -963,24 +863,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,
@@ -988,9 +882,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) { @@ -1000,8 +892,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,
@@ -1009,9 +899,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) { @@ -1021,8 +909,6 @@ public int getFieldsCount() { } } /** - * - * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -1030,9 +916,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) { @@ -1042,8 +926,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,
@@ -1051,11 +933,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(); @@ -1069,8 +950,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,
@@ -1078,11 +957,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()); @@ -1093,8 +971,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,
@@ -1102,9 +978,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) { @@ -1120,8 +994,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,
@@ -1129,11 +1001,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(); @@ -1147,8 +1018,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,
@@ -1156,11 +1025,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()); @@ -1171,8 +1039,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,
@@ -1180,11 +1046,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()); @@ -1195,8 +1060,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,
@@ -1204,15 +1067,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); @@ -1220,8 +1082,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,
@@ -1229,9 +1089,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) { @@ -1244,8 +1102,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,
@@ -1253,9 +1109,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) { @@ -1268,8 +1122,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,
@@ -1277,16 +1129,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,
@@ -1294,20 +1143,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,
@@ -1315,12 +1160,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 { @@ -1328,8 +1171,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,
@@ -1337,17 +1178,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,
@@ -1355,17 +1192,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,
@@ -1373,26 +1207,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_; @@ -1400,13 +1230,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
@@ -1418,15 +1243,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
@@ -1438,21 +1260,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
@@ -1479,8 +1296,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
@@ -1493,7 +1308,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();
@@ -1504,8 +1320,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
@@ -1522,9 +1336,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;
         }
@@ -1536,8 +1348,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
@@ -1562,8 +1372,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
@@ -1577,13 +1385,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
@@ -1600,14 +1406,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
@@ -1621,36 +1424,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 @@ -1658,14 +1452,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 @@ -1683,16 +1474,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(); @@ -1706,8 +1494,6 @@ public Builder setPrimitiveTransformation( return this; } /** - * - * *
      * Apply the transformation to the entire field.
      * 
@@ -1726,25 +1512,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; } @@ -1760,8 +1539,6 @@ public Builder mergePrimitiveTransformation( return this; } /** - * - * *
      * Apply the transformation to the entire field.
      * 
@@ -1785,21 +1562,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.
      * 
@@ -1807,8 +1579,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 { @@ -1819,8 +1590,6 @@ public Builder clearPrimitiveTransformation() { } } /** - * - * *
      * Apply the transformation to the entire field.
      * 
@@ -1828,45 +1597,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 @@ -1874,15 +1631,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 @@ -1900,8 +1654,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`.
@@ -1909,8 +1661,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();
@@ -1924,8 +1675,6 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1945,8 +1694,6 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1954,17 +1701,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;
         }
@@ -1980,8 +1722,6 @@ public Builder mergeInfoTypeTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -2006,8 +1746,6 @@ public Builder clearInfoTypeTransformations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -2015,13 +1753,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`.
@@ -2030,8 +1765,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 {
@@ -2042,8 +1776,6 @@ public Builder clearInfoTypeTransformations() {
       }
     }
     /**
-     *
-     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -2052,32 +1784,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);
     }
 
@@ -2087,12 +1813,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();
   }
@@ -2101,16 +1827,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;
@@ -2125,4 +1851,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 79%
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 fe484ce6..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
@@ -140,8 +106,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   TSV(9),
   /**
-   *
-   *
    * 
    * Powerpoint files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -152,8 +116,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   POWERPOINT(11),
   /**
-   *
-   *
    * 
    * Excel files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -167,8 +129,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Includes all files.
    * 
@@ -177,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
@@ -191,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,
@@ -207,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.
@@ -220,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:
@@ -232,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:
@@ -244,8 +194,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int PDF_VALUE = 6;
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   avro
@@ -255,8 +203,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int AVRO_VALUE = 7;
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   csv
@@ -266,8 +212,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CSV_VALUE = 8;
   /**
-   *
-   *
    * 
    * Included file extensions:
    *   tsv
@@ -277,8 +221,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int TSV_VALUE = 9;
   /**
-   *
-   *
    * 
    * Powerpoint files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -289,8 +231,6 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int POWERPOINT_VALUE = 11;
   /**
-   *
-   *
    * 
    * Excel files >30 MB will be scanned as binary files.
    * Included file extensions:
@@ -301,6 +241,7 @@ public enum FileType implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int EXCEL_VALUE = 12;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -325,65 +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;
-      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);
+          }
+        };
 
-  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;
@@ -399,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 84263637..88fa787e 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,151 +60,133 @@ 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) { @@ -229,44 +194,41 @@ private Finding( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { 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
@@ -274,7 +236,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 14; - * * @return The name. */ @java.lang.Override @@ -283,15 +244,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
@@ -299,15 +259,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 { @@ -318,8 +279,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.
@@ -329,7 +288,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string quote = 1; - * * @return The quote. */ @java.lang.Override @@ -338,15 +296,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.
@@ -356,15 +313,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 { @@ -375,15 +333,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 @@ -391,15 +346,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 @@ -407,8 +359,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.
@@ -424,50 +374,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 @@ -475,14 +413,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 @@ -490,8 +425,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.
    * 
@@ -506,14 +439,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 @@ -521,14 +451,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Timestamp when finding was detected.
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -536,8 +463,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Timestamp when finding was detected.
    * 
@@ -552,8 +477,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
@@ -561,7 +484,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 @@ -569,8 +491,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
@@ -578,18 +498,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
@@ -606,14 +521,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 @@ -622,29 +534,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 { @@ -655,14 +567,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 @@ -671,29 +580,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 { @@ -702,23 +611,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_; } @@ -727,8 +637,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
@@ -743,22 +651,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 10;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -774,12 +682,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
@@ -795,16 +702,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 NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -820,11 +727,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 NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -834,14 +742,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 @@ -849,25 +754,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.
    * 
@@ -882,14 +780,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 @@ -898,29 +793,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 { @@ -931,14 +826,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 @@ -947,29 +839,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 { @@ -978,7 +870,6 @@ public com.google.protobuf.ByteString getFindingIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -990,7 +881,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1015,8 +907,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()); } @@ -1042,19 +938,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_); @@ -1062,18 +963,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_); @@ -1092,41 +994,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; } @@ -1181,146 +1095,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() @@ -1328,15 +1236,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1389,9 +1298,9 @@ public Builder 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 @@ -1454,39 +1363,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; @@ -1526,7 +1434,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()); } @@ -1566,13 +1475,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
@@ -1580,13 +1486,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; @@ -1595,8 +1501,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1604,14 +1508,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 { @@ -1619,8 +1524,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1628,22 +1531,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
@@ -1651,18 +1552,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
@@ -1670,16 +1568,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; @@ -1687,8 +1585,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.
@@ -1698,13 +1594,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; @@ -1713,8 +1609,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.
@@ -1724,14 +1618,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 { @@ -1739,8 +1634,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.
@@ -1750,22 +1643,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.
@@ -1775,18 +1666,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.
@@ -1796,16 +1684,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; @@ -1813,49 +1701,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.
@@ -1877,8 +1752,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.
@@ -1886,7 +1759,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();
@@ -1897,8 +1771,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.
@@ -1910,9 +1782,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;
         }
@@ -1924,8 +1794,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.
@@ -1945,8 +1813,6 @@ public Builder clearInfoType() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1955,13 +1821,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.
@@ -1973,14 +1837,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.
@@ -1989,17 +1850,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_;
@@ -2007,65 +1865,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. */ @@ -2073,24 +1917,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; @@ -2098,47 +1939,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.
      * 
@@ -2159,15 +1987,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(); @@ -2178,8 +2005,6 @@ public Builder setLocation(com.google.privacy.dlp.v2.Location.Builder builderFor return this; } /** - * - * *
      * Where the content was found.
      * 
@@ -2190,9 +2015,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; } @@ -2204,8 +2027,6 @@ public Builder mergeLocation(com.google.privacy.dlp.v2.Location value) { return this; } /** - * - * *
      * Where the content was found.
      * 
@@ -2224,8 +2045,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Where the content was found.
      * 
@@ -2233,13 +2052,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.
      * 
@@ -2250,14 +2067,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.
      * 
@@ -2265,17 +2079,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_; @@ -2283,47 +2094,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.
      * 
@@ -2344,15 +2142,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(); @@ -2363,8 +2160,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Timestamp when finding was detected.
      * 
@@ -2375,7 +2170,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; } @@ -2387,8 +2182,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Timestamp when finding was detected.
      * 
@@ -2407,8 +2200,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Timestamp when finding was detected.
      * 
@@ -2416,13 +2207,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.
      * 
@@ -2433,14 +2222,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.
      * 
@@ -2448,17 +2234,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_; @@ -2466,13 +2249,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
@@ -2480,15 +2258,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
@@ -2496,21 +2271,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
@@ -2533,8 +2303,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
@@ -2543,7 +2311,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();
@@ -2554,8 +2323,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
@@ -2568,9 +2335,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;
         }
@@ -2582,8 +2347,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
@@ -2604,8 +2367,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
@@ -2615,13 +2376,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
@@ -2634,14 +2393,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
@@ -2651,17 +2407,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_;
@@ -2669,20 +2422,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; @@ -2691,21 +2442,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 { @@ -2713,61 +2463,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; @@ -2775,20 +2518,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; @@ -2797,21 +2538,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 { @@ -2819,81 +2559,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(); @@ -2905,8 +2639,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
@@ -2921,22 +2653,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 10;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2952,12 +2684,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
@@ -2973,17 +2704,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 NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2999,11 +2729,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 NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3011,12 +2742,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
@@ -3031,21 +2761,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 10;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -3060,20 +2792,19 @@ 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 NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -3088,54 +2819,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.
      * 
@@ -3156,15 +2877,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(); @@ -3175,8 +2895,6 @@ public Builder setJobCreateTime(com.google.protobuf.Timestamp.Builder builderFor return this; } /** - * - * *
      * Time the job started that produced this finding.
      * 
@@ -3187,9 +2905,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; } @@ -3201,8 +2917,6 @@ public Builder mergeJobCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the job started that produced this finding.
      * 
@@ -3221,8 +2935,6 @@ public Builder clearJobCreateTime() { return this; } /** - * - * *
      * Time the job started that produced this finding.
      * 
@@ -3230,13 +2942,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.
      * 
@@ -3247,14 +2957,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.
      * 
@@ -3262,17 +2969,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_; @@ -3280,20 +2984,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; @@ -3302,21 +3004,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 { @@ -3324,61 +3025,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; @@ -3386,20 +3080,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; @@ -3408,21 +3100,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 { @@ -3430,68 +3121,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); } @@ -3501,12 +3185,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(); } @@ -3515,16 +3199,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; @@ -3539,4 +3223,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 43ca2207..2785b260 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
@@ -385,13 +308,11 @@ public interface FindingOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -406,35 +327,29 @@ 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.
    * 
@@ -444,52 +359,42 @@ java.lang.String getLabelsOrDefault( 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 96f0f803..d788c5fd 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,20 +53,19 @@ 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) { @@ -91,41 +73,34 @@ private FinishDlpJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -134,31 +109,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 { @@ -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.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; } @@ -230,127 +203,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() @@ -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_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 @@ -397,8 +362,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; @@ -408,39 +372,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; @@ -484,22 +447,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; @@ -508,23 +467,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 { @@ -532,74 +488,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); } @@ -609,12 +552,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(); } @@ -623,16 +566,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; @@ -647,4 +590,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 1ef23ab7..53c5efc1 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,48 +63,44 @@ 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) {
@@ -128,42 +108,36 @@ private FixedSizeBucketingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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 @@ -171,17 +145,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 @@ -189,16 +159,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() { @@ -208,17 +175,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 @@ -226,17 +189,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 @@ -244,16 +203,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() { @@ -263,8 +219,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
@@ -273,7 +227,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
    * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketSize. */ @java.lang.Override @@ -282,7 +235,6 @@ public double getBucketSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -314,13 +267,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 (java.lang.Double.doubleToRawLongBits(bucketSize_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, bucketSize_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(3, bucketSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -330,24 +286,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; } @@ -368,113 +326,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,
@@ -492,23 +441,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()
@@ -516,15 +463,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -546,9 +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_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
@@ -567,8 +515,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 {
@@ -588,39 +535,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;
@@ -628,8 +574,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());
       }
@@ -658,8 +603,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) {
@@ -671,61 +615,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) { @@ -741,18 +669,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(); @@ -763,24 +689,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; } @@ -792,16 +713,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) { @@ -815,67 +733,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_; @@ -883,61 +788,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) { @@ -953,18 +842,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(); @@ -975,24 +862,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; } @@ -1004,16 +886,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) { @@ -1027,76 +906,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
@@ -1105,7 +969,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
      * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bucketSize. */ @java.lang.Override @@ -1113,8 +976,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
@@ -1123,19 +984,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
@@ -1144,18 +1002,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); } @@ -1165,12 +1022,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(); } @@ -1179,16 +1036,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; @@ -1203,4 +1060,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 8723c898..cddb3333 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,20 +53,19 @@ 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) { @@ -91,43 +73,36 @@ private GetDeidentifyTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -136,33 +111,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 { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -235,127 +208,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() @@ -363,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +345,9 @@ public Builder 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 @@ -402,8 +366,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; @@ -413,39 +376,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; @@ -453,8 +415,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(); @@ -478,8 +439,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) { @@ -491,24 +451,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; @@ -517,25 +473,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 { @@ -543,80 +496,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); } @@ -626,12 +566,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(); } @@ -640,16 +580,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; @@ -664,4 +604,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 65% 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 452390b8..66ba9520 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,20 +53,19 @@ 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) { @@ -91,41 +73,34 @@ private GetDlpJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -134,31 +109,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 { @@ -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.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; } @@ -230,127 +203,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() @@ -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_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 @@ -397,8 +362,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; @@ -408,39 +372,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; @@ -484,22 +447,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; @@ -508,23 +467,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 { @@ -532,74 +488,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); } @@ -609,12 +552,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(); } @@ -623,16 +566,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; @@ -647,4 +590,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 668c2c32..ea5c8393 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,20 +53,19 @@ 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) { @@ -91,43 +73,36 @@ private GetInspectTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -136,33 +111,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 { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -235,126 +208,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() @@ -362,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +345,9 @@ public Builder 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 @@ -401,8 +366,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; @@ -412,39 +376,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; @@ -452,8 +415,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(); @@ -477,8 +439,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) { @@ -490,24 +451,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; @@ -516,25 +473,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 { @@ -542,80 +496,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); } @@ -625,12 +566,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(); } @@ -639,16 +580,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; @@ -663,4 +604,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 2ff2fdee..86cf3020 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,20 +53,19 @@ 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) { @@ -91,42 +73,35 @@ private GetJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -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.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; } @@ -232,127 +205,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() @@ -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_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 @@ -399,8 +364,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; @@ -410,39 +374,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; @@ -486,23 +449,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 +470,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 +492,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 +559,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(); } @@ -630,16 +573,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; @@ -654,4 +597,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 9d9d301a..5390be39 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,20 +53,19 @@ 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) { @@ -91,43 +73,36 @@ private GetStoredInfoTypeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -136,33 +111,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 { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -235,126 +208,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() @@ -362,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +345,9 @@ public Builder 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 @@ -401,8 +366,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; @@ -412,39 +376,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; @@ -452,8 +415,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(); @@ -477,8 +439,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) { @@ -490,24 +451,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; @@ -516,25 +473,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 { @@ -542,80 +496,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); } @@ -625,12 +566,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(); } @@ -639,16 +580,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; @@ -663,4 +604,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 d89ef45c..6d20e31c 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,45 +53,39 @@ 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) {
@@ -115,39 +93,34 @@ private HybridContentItem(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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 @@ -155,14 +128,11 @@ public boolean hasItem() { return item_ != null; } /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ @java.lang.Override @@ -170,8 +140,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** - * - * *
    * The item to inspect.
    * 
@@ -186,14 +154,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 @@ -201,25 +166,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.
    * 
@@ -232,7 +190,6 @@ public com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder getFindingDetails } 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 (item_ != null) { output.writeMessage(1, getItem()); } @@ -261,10 +219,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; @@ -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.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; @@ -314,104 +275,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.
@@ -419,23 +373,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()
@@ -443,15 +395,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -471,9 +424,9 @@ public Builder 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
@@ -492,8 +445,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 {
@@ -512,39 +464,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;
@@ -590,33 +541,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() { @@ -627,8 +569,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The item to inspect.
      * 
@@ -649,15 +589,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(); @@ -668,8 +607,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -680,9 +617,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; } @@ -694,8 +629,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -714,8 +647,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -723,13 +654,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.
      * 
@@ -740,12 +669,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.
      * 
@@ -753,17 +681,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_; @@ -771,47 +696,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.
      * 
@@ -832,8 +744,6 @@ public Builder setFindingDetails(com.google.privacy.dlp.v2.HybridFindingDetails return this; } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -852,8 +762,6 @@ public Builder setFindingDetails( return this; } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -864,9 +772,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; } @@ -878,8 +784,6 @@ public Builder mergeFindingDetails(com.google.privacy.dlp.v2.HybridFindingDetail return this; } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -898,8 +802,6 @@ public Builder clearFindingDetails() { return this; } /** - * - * *
      * Supplementary information that will be added to each finding.
      * 
@@ -907,13 +809,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.
      * 
@@ -924,14 +824,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.
      * 
@@ -939,24 +836,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); } @@ -966,12 +860,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(); } @@ -980,16 +874,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; @@ -1004,4 +898,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 8bb2205b..9e665c47 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,68 +53,62 @@ 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) { @@ -138,50 +116,46 @@ private HybridFindingDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -189,25 +163,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.
    * 
@@ -222,8 +189,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
@@ -232,7 +197,6 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder
    * 
* * int64 file_offset = 2; - * * @return The fileOffset. */ @java.lang.Override @@ -243,8 +207,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
@@ -252,7 +214,6 @@ public long getFileOffset() {
    * 
* * int64 row_offset = 3; - * * @return The rowOffset. */ @java.lang.Override @@ -263,8 +224,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
@@ -274,7 +233,6 @@ public long getRowOffset() {
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; - * * @return Whether the tableOptions field is set. */ @java.lang.Override @@ -282,8 +240,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
@@ -293,18 +249,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
@@ -321,23 +272,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_;
   }
@@ -346,8 +298,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.
@@ -365,22 +315,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 5;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -399,12 +349,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.
@@ -423,16 +372,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 NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -451,11 +400,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 NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -463,7 +413,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -475,7 +424,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (containerDetails_ != null) {
       output.writeMessage(1, getContainerDetails());
     }
@@ -488,8 +438,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);
   }
 
@@ -500,26 +454,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;
@@ -529,25 +487,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;
   }
@@ -564,9 +526,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();
@@ -580,147 +544,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() @@ -728,15 +685,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -761,9 +719,9 @@ public Builder 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 @@ -782,8 +740,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_; @@ -807,39 +764,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; @@ -860,7 +816,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; @@ -889,52 +846,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.
      * 
@@ -955,8 +898,6 @@ public Builder setContainerDetails(com.google.privacy.dlp.v2.Container value) { return this; } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -975,8 +916,6 @@ public Builder setContainerDetails( return this; } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -987,9 +926,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; } @@ -1001,8 +938,6 @@ public Builder mergeContainerDetails(com.google.privacy.dlp.v2.Container value) return this; } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -1021,8 +956,6 @@ public Builder clearContainerDetails() { return this; } /** - * - * *
      * Details about the container where the content being inspected is from.
      * 
@@ -1030,13 +963,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.
      * 
@@ -1047,14 +978,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.
      * 
@@ -1062,26 +990,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
@@ -1090,7 +1013,6 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder
      * 
* * int64 file_offset = 2; - * * @return The fileOffset. */ @java.lang.Override @@ -1098,8 +1020,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
@@ -1108,19 +1028,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
@@ -1129,20 +1046,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
@@ -1150,7 +1064,6 @@ public Builder clearFileOffset() {
      * 
* * int64 row_offset = 3; - * * @return The rowOffset. */ @java.lang.Override @@ -1158,8 +1071,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
@@ -1167,19 +1078,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
@@ -1187,11 +1095,10 @@ public Builder setRowOffset(long value) {
      * 
* * int64 row_offset = 3; - * * @return This builder for chaining. */ public Builder clearRowOffset() { - + rowOffset_ = 0L; onChanged(); return this; @@ -1199,13 +1106,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
@@ -1215,15 +1117,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
@@ -1233,21 +1132,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
@@ -1272,8 +1166,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
@@ -1284,7 +1176,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();
@@ -1295,8 +1188,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
@@ -1311,9 +1202,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;
         }
@@ -1325,8 +1214,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
@@ -1349,8 +1236,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
@@ -1362,13 +1247,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
@@ -1383,14 +1266,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
@@ -1402,37 +1282,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();
@@ -1444,8 +1322,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.
@@ -1463,22 +1339,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 5;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1497,12 +1373,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.
@@ -1521,17 +1396,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 NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1550,11 +1424,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 NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1562,12 +1437,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.
@@ -1585,21 +1459,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1617,20 +1493,19 @@ 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 NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1648,13 +1523,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);
     }
 
@@ -1664,12 +1542,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();
   }
@@ -1678,16 +1556,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;
@@ -1702,4 +1580,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 5ec287eb..9bd710ab 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.
@@ -224,13 +183,11 @@ public interface HybridFindingDetailsOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+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.
@@ -248,5 +205,7 @@ 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/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 ff1cf2f2..06c3862f 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,36 +53,32 @@ 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) { @@ -107,42 +86,35 @@ private HybridInspectDlpJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -151,32 +123,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 { @@ -187,14 +157,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 @@ -202,25 +169,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.
    * 
@@ -233,7 +193,6 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -265,7 +225,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; @@ -275,18 +236,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; @@ -311,126 +273,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() @@ -438,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(); @@ -462,9 +416,9 @@ public Builder 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 @@ -483,8 +437,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_; @@ -499,39 +452,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; @@ -539,8 +491,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(); @@ -567,8 +518,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) { @@ -580,23 +530,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; @@ -605,24 +551,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 { @@ -630,70 +573,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; @@ -701,47 +631,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 +679,6 @@ public Builder setHybridItem(com.google.privacy.dlp.v2.HybridContentItem value) return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -782,8 +697,6 @@ public Builder setHybridItem( return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -794,9 +707,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 +719,6 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -828,8 +737,6 @@ public Builder clearHybridItem() { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -837,13 +744,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 +759,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 +771,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 +795,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(); } @@ -910,16 +809,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; @@ -934,4 +833,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 e2d830a6..213baaed 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,36 +53,32 @@ 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) { @@ -108,42 +86,35 @@ private HybridInspectJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -152,32 +123,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 { @@ -188,14 +157,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 @@ -203,25 +169,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.
    * 
@@ -234,7 +193,6 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -266,7 +225,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; @@ -276,18 +236,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; @@ -312,127 +273,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() @@ -440,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(); @@ -464,9 +416,9 @@ public Builder 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 @@ -485,8 +437,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_; @@ -501,39 +452,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; @@ -541,8 +491,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(); @@ -569,8 +518,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) { @@ -582,23 +530,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; @@ -607,24 +551,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 { @@ -632,70 +573,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; @@ -703,47 +631,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.
      * 
@@ -764,8 +679,6 @@ public Builder setHybridItem(com.google.privacy.dlp.v2.HybridContentItem value) return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -784,8 +697,6 @@ public Builder setHybridItem( return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -796,9 +707,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; } @@ -810,8 +719,6 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -830,8 +737,6 @@ public Builder clearHybridItem() { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -839,13 +744,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.
      * 
@@ -856,14 +759,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.
      * 
@@ -871,24 +771,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); } @@ -898,12 +795,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(); } @@ -912,16 +809,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; @@ -936,4 +833,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 3e232eec..3f470a7b 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,13 +52,13 @@ 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) { @@ -82,30 +66,27 @@ private HybridInspectResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -159,127 +140,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() @@ -287,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(); @@ -303,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_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 @@ -324,8 +297,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; } @@ -334,39 +306,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; @@ -374,8 +345,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; @@ -404,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); } @@ -416,12 +386,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(); } @@ -430,16 +400,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; @@ -454,4 +424,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 884f8751..5fa5a605 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,28 +52,28 @@ 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) { @@ -97,39 +81,34 @@ private HybridInspectStatistics( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -140,15 +119,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 @@ -159,8 +135,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`.
@@ -170,7 +144,6 @@ public long getAbortedCount() {
    * 
* * int64 pending_count = 3; - * * @return The pendingCount. */ @java.lang.Override @@ -179,7 +152,6 @@ public long getPendingCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (processedCount_ != 0L) { output.writeInt64(1, processedCount_); } @@ -211,13 +184,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; @@ -227,17 +203,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; } @@ -250,137 +228,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() @@ -388,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(); @@ -410,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_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 @@ -431,8 +404,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_; @@ -444,39 +416,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; @@ -484,8 +455,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()); } @@ -514,8 +484,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) { @@ -525,16 +494,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 @@ -542,52 +508,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 @@ -595,47 +552,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`.
@@ -645,7 +594,6 @@ public Builder clearAbortedCount() {
      * 
* * int64 pending_count = 3; - * * @return The pendingCount. */ @java.lang.Override @@ -653,8 +601,6 @@ public long getPendingCount() { return pendingCount_; } /** - * - * *
      * The number of hybrid requests currently being processed. Only populated
      * when called via method `getDlpJob`.
@@ -664,19 +610,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`.
@@ -686,18 +629,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); } @@ -707,12 +649,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(); } @@ -721,16 +663,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; @@ -745,4 +687,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 787e2251..b2e4a66d 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,59 +56,54 @@ 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) {
@@ -133,7 +111,8 @@ private HybridOptions(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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();
@@ -142,45 +121,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 @@ -189,30 +163,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 { @@ -223,8 +197,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
@@ -235,15 +207,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
@@ -254,15 +224,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
@@ -273,7 +240,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. */ @@ -281,8 +247,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
@@ -293,32 +257,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_; } @@ -327,8 +292,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
@@ -343,22 +306,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 3;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -374,12 +337,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
@@ -395,16 +357,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 NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -420,11 +382,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 NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -434,15 +397,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 @@ -450,26 +410,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.
@@ -483,7 +436,6 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -495,16 +447,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());
     }
@@ -528,18 +484,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;
@@ -549,20 +506,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;
@@ -594,104 +554,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.
@@ -699,43 +652,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()
@@ -743,15 +696,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       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 +724,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
@@ -791,8 +745,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)) {
@@ -815,39 +768,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;
@@ -870,7 +822,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());
       }
@@ -902,26 +855,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; @@ -930,22 +880,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 { @@ -953,82 +902,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
@@ -1039,15 +976,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
@@ -1058,15 +993,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
@@ -1077,7 +1009,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. */ @@ -1085,8 +1016,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
@@ -1097,16 +1026,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
@@ -1117,23 +1044,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
@@ -1144,22 +1069,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
@@ -1170,19 +1093,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
@@ -1193,7 +1115,6 @@ public Builder addAllRequiredFindingLabelKeys(java.lang.Iterable
      *
      * repeated string required_finding_label_keys = 2;
-     *
      * @return This builder for chaining.
      */
     public Builder clearRequiredFindingLabelKeys() {
@@ -1203,8 +1124,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
@@ -1215,36 +1134,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(); @@ -1256,8 +1176,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
@@ -1272,22 +1190,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 3;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1303,12 +1221,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
@@ -1324,17 +1241,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 NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1350,11 +1266,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 NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1362,12 +1279,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
@@ -1382,21 +1298,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 3;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1411,20 +1329,19 @@ 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 NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1439,56 +1356,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.
@@ -1510,8 +1417,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.
@@ -1519,7 +1424,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();
@@ -1530,8 +1436,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.
@@ -1543,9 +1447,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;
         }
@@ -1557,8 +1459,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.
@@ -1578,8 +1478,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.
@@ -1588,13 +1486,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.
@@ -1606,14 +1502,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.
@@ -1622,24 +1515,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);
     }
 
@@ -1649,12 +1539,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();
   }
@@ -1663,16 +1553,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;
@@ -1687,4 +1577,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 c8235ff3..bb6e8730 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
@@ -197,13 +163,11 @@ public interface HybridOptionsOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+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
@@ -218,37 +182,31 @@ 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/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 75%
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 44be34a4..9feba61d 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,24 +54,22 @@ 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) { @@ -96,7 +77,8 @@ private ImageLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -105,27 +87,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.
    * 
@@ -137,8 +114,6 @@ public java.util.List getBoundingBoxesLis return boundingBoxes_; } /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -146,13 +121,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.
    * 
@@ -164,8 +137,6 @@ public int getBoundingBoxesCount() { return boundingBoxes_.size(); } /** - * - * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -177,8 +148,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.
    * 
@@ -186,12 +155,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; @@ -203,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < boundingBoxes_.size(); i++) { output.writeMessage(1, boundingBoxes_.get(i)); } @@ -217,7 +187,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; @@ -227,14 +198,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -255,127 +227,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() @@ -383,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBoundingBoxesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +370,9 @@ public Builder 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 @@ -428,8 +391,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)) { @@ -448,39 +410,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; @@ -507,10 +468,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_); } @@ -544,29 +504,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.
      * 
@@ -581,8 +533,6 @@ public java.util.List getBoundingBoxesLis } } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -597,8 +547,6 @@ public int getBoundingBoxesCount() { } } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -613,15 +561,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(); @@ -635,8 +582,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.
      * 
@@ -655,8 +600,6 @@ public Builder setBoundingBoxes( return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -677,15 +620,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(); @@ -699,15 +641,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()); @@ -718,8 +659,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.
      * 
@@ -738,8 +677,6 @@ public Builder addBoundingBoxes( return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -750,7 +687,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); @@ -758,8 +696,6 @@ public Builder addAllBoundingBoxes( return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -777,8 +713,6 @@ public Builder clearBoundingBoxes() { return this; } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -796,44 +730,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 { @@ -841,8 +770,6 @@ public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( } } /** - * - * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -850,47 +777,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(), @@ -899,9 +817,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); } @@ -911,12 +829,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(); } @@ -925,16 +843,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; @@ -949,4 +867,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/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformations.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformations.java new file mode 100644 index 00000000..7843de56 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformations.java @@ -0,0 +1,4271 @@ +// 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 images.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations} + */ +public final class ImageTransformations extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageTransformations) + ImageTransformationsOrBuilder { +private static final long serialVersionUID = 0L; + // Use ImageTransformations.newBuilder() to construct. + private ImageTransformations(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ImageTransformations() { + transforms_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ImageTransformations(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ImageTransformations( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transforms_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + transforms_.add( + input.readMessage(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + transforms_ = java.util.Collections.unmodifiableList(transforms_); + } + 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_ImageTransformations_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ImageTransformations.class, com.google.privacy.dlp.v2.ImageTransformations.Builder.class); + } + + public interface ImageTransformationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations.ImageTransformation) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Apply transformation to the selected info_types.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * @return Whether the selectedInfoTypes field is set. + */ + boolean hasSelectedInfoTypes(); + /** + *
+     * Apply transformation to the selected info_types.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * @return The selectedInfoTypes. + */ + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getSelectedInfoTypes(); + /** + *
+     * Apply transformation to the selected info_types.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + */ + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder getSelectedInfoTypesOrBuilder(); + + /** + *
+     * Apply transformation to all findings not specified in other
+     * ImageTransformation's selected_info_types. Only one instance is allowed
+     * within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * @return Whether the allInfoTypes field is set. + */ + boolean hasAllInfoTypes(); + /** + *
+     * Apply transformation to all findings not specified in other
+     * ImageTransformation's selected_info_types. Only one instance is allowed
+     * within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * @return The allInfoTypes. + */ + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getAllInfoTypes(); + /** + *
+     * Apply transformation to all findings not specified in other
+     * ImageTransformation's selected_info_types. Only one instance is allowed
+     * within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + */ + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder getAllInfoTypesOrBuilder(); + + /** + *
+     * Apply transformation to all text that doesn't match an infoType. Only
+     * one instance is allowed within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * @return Whether the allText field is set. + */ + boolean hasAllText(); + /** + *
+     * Apply transformation to all text that doesn't match an infoType. Only
+     * one instance is allowed within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * @return The allText. + */ + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getAllText(); + /** + *
+     * Apply transformation to all text that doesn't match an infoType. Only
+     * one instance is allowed within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + */ + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder getAllTextOrBuilder(); + + /** + *
+     * 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.
+     * 
+ * + * .google.privacy.dlp.v2.Color redaction_color = 3; + */ + com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder(); + + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.TargetCase getTargetCase(); + } + /** + *
+   * Configuration for determining how redaction of images should occur.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation} + */ + public static final class ImageTransformation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation) + ImageTransformationOrBuilder { + private static final long serialVersionUID = 0L; + // Use ImageTransformation.newBuilder() to construct. + private ImageTransformation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ImageTransformation() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ImageTransformation(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ImageTransformation( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 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; + } + case 34: { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder subBuilder = null; + if (targetCase_ == 4) { + subBuilder = ((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_).toBuilder(); + } + target_ = + input.readMessage(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 4; + break; + } + case 42: { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder subBuilder = null; + if (targetCase_ == 5) { + subBuilder = ((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_).toBuilder(); + } + target_ = + input.readMessage(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 5; + break; + } + case 50: { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder subBuilder = null; + if (targetCase_ == 6) { + subBuilder = ((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_).toBuilder(); + } + target_ = + input.readMessage(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 6; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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_ImageTransformations_ImageTransformation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder.class); + } + + public interface SelectedInfoTypesOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+       * must be unique within the ImageTransformations message.
+       * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getInfoTypesList(); + /** + *
+       * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+       * must be unique within the ImageTransformations message.
+       * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.privacy.dlp.v2.InfoType getInfoTypes(int index); + /** + *
+       * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+       * must be unique within the ImageTransformations message.
+       * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + int getInfoTypesCount(); + /** + *
+       * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+       * must be unique within the ImageTransformations message.
+       * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getInfoTypesOrBuilderList(); + /** + *
+       * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+       * must be unique within the ImageTransformations message.
+       * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( + int index); + } + /** + *
+     * Apply transformation to the selected info_types.
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes} + */ + public static final class SelectedInfoTypes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) + SelectedInfoTypesOrBuilder { + private static final long serialVersionUID = 0L; + // Use SelectedInfoTypes.newBuilder() to construct. + private SelectedInfoTypes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SelectedInfoTypes() { + infoTypes_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SelectedInfoTypes(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SelectedInfoTypes( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 42: { + 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; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_); + } + 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_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder.class); + } + + public static final int INFO_TYPES_FIELD_NUMBER = 5; + private java.util.List infoTypes_; + /** + *
+       * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+       * must be unique within the ImageTransformations message.
+       * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public java.util.List getInfoTypesList() { + return infoTypes_; + } + /** + *
+       * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+       * must be unique within the ImageTransformations message.
+       * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public java.util.List + getInfoTypesOrBuilderList() { + return infoTypes_; + } + /** + *
+       * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+       * must be unique within the ImageTransformations message.
+       * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public int getInfoTypesCount() { + return infoTypes_.size(); + } + /** + *
+       * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+       * must be unique within the ImageTransformations message.
+       * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { + return infoTypes_.get(index); + } + /** + *
+       * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+       * must be unique within the ImageTransformations message.
+       * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + 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; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < infoTypes_.size(); i++) { + output.writeMessage(5, infoTypes_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < infoTypes_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, infoTypes_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes other = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) obj; + + if (!getInfoTypesList() + .equals(other.getInfoTypesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getInfoTypesCount() > 0) { + hash = (37 * hash) + INFO_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getInfoTypesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes 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.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes 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.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes 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.ImageTransformations.ImageTransformation.SelectedInfoTypes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parseDelimitedFrom( + java.io.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.ImageTransformations.ImageTransformation.SelectedInfoTypes 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.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+       * Apply transformation to the selected info_types.
+       * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getInfoTypesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (infoTypesBuilder_ == null) { + infoTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + infoTypesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes build() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes buildPartial() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes result = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes(this); + int from_bitField0_ = bitField0_; + if (infoTypesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + infoTypes_ = java.util.Collections.unmodifiableList(infoTypes_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.infoTypes_ = infoTypes_; + } else { + result.infoTypes_ = infoTypesBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) { + return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes other) { + if (other == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance()) return this; + if (infoTypesBuilder_ == null) { + if (!other.infoTypes_.isEmpty()) { + if (infoTypes_.isEmpty()) { + infoTypes_ = other.infoTypes_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureInfoTypesIsMutable(); + infoTypes_.addAll(other.infoTypes_); + } + onChanged(); + } + } else { + if (!other.infoTypes_.isEmpty()) { + if (infoTypesBuilder_.isEmpty()) { + infoTypesBuilder_.dispose(); + infoTypesBuilder_ = null; + infoTypes_ = other.infoTypes_; + bitField0_ = (bitField0_ & ~0x00000001); + infoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInfoTypesFieldBuilder() : null; + } else { + infoTypesBuilder_.addAllMessages(other.infoTypes_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List infoTypes_ = + 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_; + + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public java.util.List getInfoTypesList() { + if (infoTypesBuilder_ == null) { + return java.util.Collections.unmodifiableList(infoTypes_); + } else { + return infoTypesBuilder_.getMessageList(); + } + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public int getInfoTypesCount() { + if (infoTypesBuilder_ == null) { + return infoTypes_.size(); + } else { + return infoTypesBuilder_.getCount(); + } + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { + if (infoTypesBuilder_ == null) { + return infoTypes_.get(index); + } else { + return infoTypesBuilder_.getMessage(index); + } + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setInfoTypes( + int index, com.google.privacy.dlp.v2.InfoType value) { + if (infoTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInfoTypesIsMutable(); + infoTypes_.set(index, value); + onChanged(); + } else { + infoTypesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setInfoTypes( + int index, com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { + if (infoTypesBuilder_ == null) { + ensureInfoTypesIsMutable(); + infoTypes_.set(index, builderForValue.build()); + onChanged(); + } else { + infoTypesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) { + if (infoTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInfoTypesIsMutable(); + infoTypes_.add(value); + onChanged(); + } else { + infoTypesBuilder_.addMessage(value); + } + return this; + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder addInfoTypes( + int index, com.google.privacy.dlp.v2.InfoType value) { + if (infoTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInfoTypesIsMutable(); + infoTypes_.add(index, value); + onChanged(); + } else { + infoTypesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder addInfoTypes( + com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { + if (infoTypesBuilder_ == null) { + ensureInfoTypesIsMutable(); + infoTypes_.add(builderForValue.build()); + onChanged(); + } else { + infoTypesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder addInfoTypes( + int index, com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { + if (infoTypesBuilder_ == null) { + ensureInfoTypesIsMutable(); + infoTypes_.add(index, builderForValue.build()); + onChanged(); + } else { + infoTypesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder addAllInfoTypes( + java.lang.Iterable values) { + if (infoTypesBuilder_ == null) { + ensureInfoTypesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, infoTypes_); + onChanged(); + } else { + infoTypesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearInfoTypes() { + if (infoTypesBuilder_ == null) { + infoTypes_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + infoTypesBuilder_.clear(); + } + return this; + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder removeInfoTypes(int index) { + if (infoTypesBuilder_ == null) { + ensureInfoTypesIsMutable(); + infoTypes_.remove(index); + onChanged(); + } else { + infoTypesBuilder_.remove(index); + } + return this; + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypesBuilder( + int index) { + return getInfoTypesFieldBuilder().getBuilder(index); + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( + int index) { + if (infoTypesBuilder_ == null) { + return infoTypes_.get(index); } else { + return infoTypesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public java.util.List + getInfoTypesOrBuilderList() { + if (infoTypesBuilder_ != null) { + return infoTypesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(infoTypes_); + } + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder() { + return getInfoTypesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.InfoType.getDefaultInstance()); + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder( + int index) { + return getInfoTypesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.InfoType.getDefaultInstance()); + } + /** + *
+         * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
+         * must be unique within the ImageTransformations message.
+         * 
+ * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + 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> + 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()); + infoTypes_ = null; + } + return infoTypesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) + private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes(); + } + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SelectedInfoTypes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SelectedInfoTypes(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AllInfoTypesOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+     * Apply transformation to all findings.
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes} + */ + public static final class AllInfoTypes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + AllInfoTypesOrBuilder { + private static final long serialVersionUID = 0L; + // Use AllInfoTypes.newBuilder() to construct. + private AllInfoTypes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AllInfoTypes() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AllInfoTypes(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AllInfoTypes( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes other = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes 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.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes 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.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes 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.ImageTransformations.ImageTransformation.AllInfoTypes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parseDelimitedFrom( + java.io.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.ImageTransformations.ImageTransformation.AllInfoTypes 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.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+       * Apply transformation to all findings.
+       * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes build() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes buildPartial() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes result = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) { + return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes other) { + if (other == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes(); + } + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllInfoTypes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AllInfoTypes(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AllTextOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+     * Apply to all text.
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText} + */ + public static final class AllText extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + AllTextOrBuilder { + private static final long serialVersionUID = 0L; + // Use AllText.newBuilder() to construct. + private AllText(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AllText() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AllText(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AllText( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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_ImageTransformations_ImageTransformation_AllText_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText other = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText 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.ImageTransformations.ImageTransformation.AllText parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText 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.ImageTransformations.ImageTransformation.AllText parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText 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.ImageTransformations.ImageTransformation.AllText parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parseDelimitedFrom( + java.io.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.ImageTransformations.ImageTransformation.AllText 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.ImageTransformations.ImageTransformation.AllText parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+       * Apply to all text.
+       * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText build() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText buildPartial() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText result = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) { + return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText other) { + if (other == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText(); + } + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllText parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AllText(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int targetCase_ = 0; + private java.lang.Object target_; + public enum TargetCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + SELECTED_INFO_TYPES(4), + ALL_INFO_TYPES(5), + ALL_TEXT(6), + TARGET_NOT_SET(0); + private final int value; + private TargetCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TargetCase valueOf(int value) { + return forNumber(value); + } + + public static TargetCase forNumber(int value) { + switch (value) { + case 4: return SELECTED_INFO_TYPES; + case 5: return ALL_INFO_TYPES; + case 6: return 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 static final int SELECTED_INFO_TYPES_FIELD_NUMBER = 4; + /** + *
+     * Apply transformation to the selected info_types.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * @return Whether the selectedInfoTypes field is set. + */ + @java.lang.Override + public boolean hasSelectedInfoTypes() { + return targetCase_ == 4; + } + /** + *
+     * Apply transformation to the selected info_types.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * @return The selectedInfoTypes. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getSelectedInfoTypes() { + if (targetCase_ == 4) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + } + /** + *
+     * Apply transformation to the selected info_types.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder getSelectedInfoTypesOrBuilder() { + if (targetCase_ == 4) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + } + + public static final int ALL_INFO_TYPES_FIELD_NUMBER = 5; + /** + *
+     * Apply transformation to all findings not specified in other
+     * ImageTransformation's selected_info_types. Only one instance is allowed
+     * within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * @return Whether the allInfoTypes field is set. + */ + @java.lang.Override + public boolean hasAllInfoTypes() { + return targetCase_ == 5; + } + /** + *
+     * Apply transformation to all findings not specified in other
+     * ImageTransformation's selected_info_types. Only one instance is allowed
+     * within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * @return The allInfoTypes. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getAllInfoTypes() { + if (targetCase_ == 5) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + } + /** + *
+     * Apply transformation to all findings not specified in other
+     * ImageTransformation's selected_info_types. Only one instance is allowed
+     * within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder getAllInfoTypesOrBuilder() { + if (targetCase_ == 5) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + } + + public static final int ALL_TEXT_FIELD_NUMBER = 6; + /** + *
+     * Apply transformation to all text that doesn't match an infoType. Only
+     * one instance is allowed within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * @return Whether the allText field is set. + */ + @java.lang.Override + public boolean hasAllText() { + return targetCase_ == 6; + } + /** + *
+     * Apply transformation to all text that doesn't match an infoType. Only
+     * one instance is allowed within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * @return The allText. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getAllText() { + if (targetCase_ == 6) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + } + /** + *
+     * Apply transformation to all text that doesn't match an infoType. Only
+     * one instance is allowed within the ImageTransformations message.
+     * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder getAllTextOrBuilder() { + if (targetCase_ == 6) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + } + + 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 + 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_; + } + /** + *
+     * 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; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() { + return getRedactionColor(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (redactionColor_ != null) { + output.writeMessage(3, getRedactionColor()); + } + if (targetCase_ == 4) { + output.writeMessage(4, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_); + } + if (targetCase_ == 5) { + output.writeMessage(5, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_); + } + if (targetCase_ == 6) { + output.writeMessage(6, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (redactionColor_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRedactionColor()); + } + if (targetCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_); + } + if (targetCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_); + } + if (targetCase_ == 6) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation other = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation) obj; + + if (hasRedactionColor() != other.hasRedactionColor()) return false; + if (hasRedactionColor()) { + if (!getRedactionColor() + .equals(other.getRedactionColor())) return false; + } + if (!getTargetCase().equals(other.getTargetCase())) return false; + switch (targetCase_) { + case 4: + if (!getSelectedInfoTypes() + .equals(other.getSelectedInfoTypes())) return false; + break; + case 5: + if (!getAllInfoTypes() + .equals(other.getAllInfoTypes())) return false; + break; + case 6: + if (!getAllText() + .equals(other.getAllText())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRedactionColor()) { + hash = (37 * hash) + REDACTION_COLOR_FIELD_NUMBER; + hash = (53 * hash) + getRedactionColor().hashCode(); + } + switch (targetCase_) { + case 4: + hash = (37 * hash) + SELECTED_INFO_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getSelectedInfoTypes().hashCode(); + break; + case 5: + hash = (37 * hash) + ALL_INFO_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getAllInfoTypes().hashCode(); + break; + case 6: + hash = (37 * hash) + ALL_TEXT_FIELD_NUMBER; + hash = (53 * hash) + getAllText().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation 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.ImageTransformations.ImageTransformation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation 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.ImageTransformations.ImageTransformation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation 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.ImageTransformations.ImageTransformation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseDelimitedFrom( + java.io.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.ImageTransformations.ImageTransformation 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.ImageTransformations.ImageTransformation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Configuration for determining how redaction of images should occur.
+     * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation) + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (redactionColorBuilder_ == null) { + redactionColor_ = null; + } else { + redactionColor_ = null; + redactionColorBuilder_ = null; + } + targetCase_ = 0; + target_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation build() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation buildPartial() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation result = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation(this); + if (targetCase_ == 4) { + if (selectedInfoTypesBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = selectedInfoTypesBuilder_.build(); + } + } + if (targetCase_ == 5) { + if (allInfoTypesBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = allInfoTypesBuilder_.build(); + } + } + if (targetCase_ == 6) { + if (allTextBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = allTextBuilder_.build(); + } + } + if (redactionColorBuilder_ == null) { + result.redactionColor_ = redactionColor_; + } else { + result.redactionColor_ = redactionColorBuilder_.build(); + } + result.targetCase_ = targetCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation) { + return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation other) { + if (other == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.getDefaultInstance()) return this; + if (other.hasRedactionColor()) { + mergeRedactionColor(other.getRedactionColor()); + } + switch (other.getTargetCase()) { + case SELECTED_INFO_TYPES: { + mergeSelectedInfoTypes(other.getSelectedInfoTypes()); + break; + } + case ALL_INFO_TYPES: { + mergeAllInfoTypes(other.getAllInfoTypes()); + break; + } + case ALL_TEXT: { + mergeAllText(other.getAllText()); + break; + } + case TARGET_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int targetCase_ = 0; + private java.lang.Object target_; + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); + } + + public Builder clearTarget() { + targetCase_ = 0; + target_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder> selectedInfoTypesBuilder_; + /** + *
+       * Apply transformation to the selected info_types.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * @return Whether the selectedInfoTypes field is set. + */ + @java.lang.Override + public boolean hasSelectedInfoTypes() { + return targetCase_ == 4; + } + /** + *
+       * Apply transformation to the selected info_types.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * @return The selectedInfoTypes. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getSelectedInfoTypes() { + if (selectedInfoTypesBuilder_ == null) { + if (targetCase_ == 4) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + } else { + if (targetCase_ == 4) { + return selectedInfoTypesBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + } + } + /** + *
+       * Apply transformation to the selected info_types.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + */ + public Builder setSelectedInfoTypes(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes value) { + if (selectedInfoTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + selectedInfoTypesBuilder_.setMessage(value); + } + targetCase_ = 4; + return this; + } + /** + *
+       * Apply transformation to the selected info_types.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + */ + public Builder setSelectedInfoTypes( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder builderForValue) { + if (selectedInfoTypesBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + selectedInfoTypesBuilder_.setMessage(builderForValue.build()); + } + targetCase_ = 4; + return this; + } + /** + *
+       * Apply transformation to the selected info_types.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + */ + public Builder mergeSelectedInfoTypes(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes value) { + if (selectedInfoTypesBuilder_ == null) { + if (targetCase_ == 4 && + target_ != com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance()) { + target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.newBuilder((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_) + .mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + if (targetCase_ == 4) { + selectedInfoTypesBuilder_.mergeFrom(value); + } else { + selectedInfoTypesBuilder_.setMessage(value); + } + } + targetCase_ = 4; + return this; + } + /** + *
+       * Apply transformation to the selected info_types.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + */ + public Builder clearSelectedInfoTypes() { + if (selectedInfoTypesBuilder_ == null) { + if (targetCase_ == 4) { + targetCase_ = 0; + target_ = null; + onChanged(); + } + } else { + if (targetCase_ == 4) { + targetCase_ = 0; + target_ = null; + } + selectedInfoTypesBuilder_.clear(); + } + return this; + } + /** + *
+       * Apply transformation to the selected info_types.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + */ + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder getSelectedInfoTypesBuilder() { + return getSelectedInfoTypesFieldBuilder().getBuilder(); + } + /** + *
+       * Apply transformation to the selected info_types.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder getSelectedInfoTypesOrBuilder() { + if ((targetCase_ == 4) && (selectedInfoTypesBuilder_ != null)) { + return selectedInfoTypesBuilder_.getMessageOrBuilder(); + } else { + if (targetCase_ == 4) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + } + } + /** + *
+       * Apply transformation to the selected info_types.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder> + getSelectedInfoTypesFieldBuilder() { + if (selectedInfoTypesBuilder_ == null) { + if (!(targetCase_ == 4)) { + target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + } + selectedInfoTypesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder>( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_, + getParentForChildren(), + isClean()); + target_ = null; + } + targetCase_ = 4; + onChanged();; + return selectedInfoTypesBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder> allInfoTypesBuilder_; + /** + *
+       * Apply transformation to all findings not specified in other
+       * ImageTransformation's selected_info_types. Only one instance is allowed
+       * within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * @return Whether the allInfoTypes field is set. + */ + @java.lang.Override + public boolean hasAllInfoTypes() { + return targetCase_ == 5; + } + /** + *
+       * Apply transformation to all findings not specified in other
+       * ImageTransformation's selected_info_types. Only one instance is allowed
+       * within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * @return The allInfoTypes. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getAllInfoTypes() { + if (allInfoTypesBuilder_ == null) { + if (targetCase_ == 5) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + } else { + if (targetCase_ == 5) { + return allInfoTypesBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + } + } + /** + *
+       * Apply transformation to all findings not specified in other
+       * ImageTransformation's selected_info_types. Only one instance is allowed
+       * within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + */ + public Builder setAllInfoTypes(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes value) { + if (allInfoTypesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + allInfoTypesBuilder_.setMessage(value); + } + targetCase_ = 5; + return this; + } + /** + *
+       * Apply transformation to all findings not specified in other
+       * ImageTransformation's selected_info_types. Only one instance is allowed
+       * within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + */ + public Builder setAllInfoTypes( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder builderForValue) { + if (allInfoTypesBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + allInfoTypesBuilder_.setMessage(builderForValue.build()); + } + targetCase_ = 5; + return this; + } + /** + *
+       * Apply transformation to all findings not specified in other
+       * ImageTransformation's selected_info_types. Only one instance is allowed
+       * within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + */ + public Builder mergeAllInfoTypes(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes value) { + if (allInfoTypesBuilder_ == null) { + if (targetCase_ == 5 && + target_ != com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance()) { + target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.newBuilder((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_) + .mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + if (targetCase_ == 5) { + allInfoTypesBuilder_.mergeFrom(value); + } else { + allInfoTypesBuilder_.setMessage(value); + } + } + targetCase_ = 5; + return this; + } + /** + *
+       * Apply transformation to all findings not specified in other
+       * ImageTransformation's selected_info_types. Only one instance is allowed
+       * within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + */ + public Builder clearAllInfoTypes() { + if (allInfoTypesBuilder_ == null) { + if (targetCase_ == 5) { + targetCase_ = 0; + target_ = null; + onChanged(); + } + } else { + if (targetCase_ == 5) { + targetCase_ = 0; + target_ = null; + } + allInfoTypesBuilder_.clear(); + } + return this; + } + /** + *
+       * Apply transformation to all findings not specified in other
+       * ImageTransformation's selected_info_types. Only one instance is allowed
+       * within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + */ + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder getAllInfoTypesBuilder() { + return getAllInfoTypesFieldBuilder().getBuilder(); + } + /** + *
+       * Apply transformation to all findings not specified in other
+       * ImageTransformation's selected_info_types. Only one instance is allowed
+       * within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder getAllInfoTypesOrBuilder() { + if ((targetCase_ == 5) && (allInfoTypesBuilder_ != null)) { + return allInfoTypesBuilder_.getMessageOrBuilder(); + } else { + if (targetCase_ == 5) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + } + } + /** + *
+       * Apply transformation to all findings not specified in other
+       * ImageTransformation's selected_info_types. Only one instance is allowed
+       * within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder> + getAllInfoTypesFieldBuilder() { + if (allInfoTypesBuilder_ == null) { + if (!(targetCase_ == 5)) { + target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + } + allInfoTypesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder>( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_, + getParentForChildren(), + isClean()); + target_ = null; + } + targetCase_ = 5; + onChanged();; + return allInfoTypesBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder> allTextBuilder_; + /** + *
+       * Apply transformation to all text that doesn't match an infoType. Only
+       * one instance is allowed within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * @return Whether the allText field is set. + */ + @java.lang.Override + public boolean hasAllText() { + return targetCase_ == 6; + } + /** + *
+       * Apply transformation to all text that doesn't match an infoType. Only
+       * one instance is allowed within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * @return The allText. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getAllText() { + if (allTextBuilder_ == null) { + if (targetCase_ == 6) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + } else { + if (targetCase_ == 6) { + return allTextBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + } + } + /** + *
+       * Apply transformation to all text that doesn't match an infoType. Only
+       * one instance is allowed within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + */ + public Builder setAllText(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText value) { + if (allTextBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + allTextBuilder_.setMessage(value); + } + targetCase_ = 6; + return this; + } + /** + *
+       * Apply transformation to all text that doesn't match an infoType. Only
+       * one instance is allowed within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + */ + public Builder setAllText( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder builderForValue) { + if (allTextBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + allTextBuilder_.setMessage(builderForValue.build()); + } + targetCase_ = 6; + return this; + } + /** + *
+       * Apply transformation to all text that doesn't match an infoType. Only
+       * one instance is allowed within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + */ + public Builder mergeAllText(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText value) { + if (allTextBuilder_ == null) { + if (targetCase_ == 6 && + target_ != com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance()) { + target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.newBuilder((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_) + .mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + if (targetCase_ == 6) { + allTextBuilder_.mergeFrom(value); + } else { + allTextBuilder_.setMessage(value); + } + } + targetCase_ = 6; + return this; + } + /** + *
+       * Apply transformation to all text that doesn't match an infoType. Only
+       * one instance is allowed within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + */ + public Builder clearAllText() { + if (allTextBuilder_ == null) { + if (targetCase_ == 6) { + targetCase_ = 0; + target_ = null; + onChanged(); + } + } else { + if (targetCase_ == 6) { + targetCase_ = 0; + target_ = null; + } + allTextBuilder_.clear(); + } + return this; + } + /** + *
+       * Apply transformation to all text that doesn't match an infoType. Only
+       * one instance is allowed within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + */ + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder getAllTextBuilder() { + return getAllTextFieldBuilder().getBuilder(); + } + /** + *
+       * Apply transformation to all text that doesn't match an infoType. Only
+       * one instance is allowed within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder getAllTextOrBuilder() { + if ((targetCase_ == 6) && (allTextBuilder_ != null)) { + return allTextBuilder_.getMessageOrBuilder(); + } else { + if (targetCase_ == 6) { + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_; + } + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + } + } + /** + *
+       * Apply transformation to all text that doesn't match an infoType. Only
+       * one instance is allowed within the ImageTransformations message.
+       * 
+ * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder> + getAllTextFieldBuilder() { + if (allTextBuilder_ == null) { + if (!(targetCase_ == 6)) { + target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + } + allTextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder>( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_, + getParentForChildren(), + isClean()); + target_ = null; + } + targetCase_ = 6; + onChanged();; + return allTextBuilder_; + } + + 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_; + /** + *
+       * 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_; + } else { + return redactionColorBuilder_.getMessage(); + } + } + /** + *
+       * 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; + */ + public Builder setRedactionColor(com.google.privacy.dlp.v2.Color value) { + if (redactionColorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + redactionColor_ = value; + onChanged(); + } else { + redactionColorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * 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; + */ + public Builder setRedactionColor( + com.google.privacy.dlp.v2.Color.Builder builderForValue) { + if (redactionColorBuilder_ == null) { + redactionColor_ = builderForValue.build(); + onChanged(); + } else { + redactionColorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * 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; + */ + 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(); + } else { + redactionColor_ = value; + } + onChanged(); + } else { + redactionColorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * 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; + */ + public Builder clearRedactionColor() { + if (redactionColorBuilder_ == null) { + redactionColor_ = null; + onChanged(); + } else { + redactionColor_ = null; + redactionColorBuilder_ = null; + } + + return this; + } + /** + *
+       * 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; + */ + 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.
+       * 
+ * + * .google.privacy.dlp.v2.Color redaction_color = 3; + */ + 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_; + } + } + /** + *
+       * 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; + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + redactionColor_ = null; + } + return redactionColorBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation) + private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation(); + } + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageTransformation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImageTransformation(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int TRANSFORMS_FIELD_NUMBER = 2; + private java.util.List transforms_; + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + @java.lang.Override + public java.util.List getTransformsList() { + return transforms_; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + @java.lang.Override + public java.util.List + getTransformsOrBuilderList() { + return transforms_; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + @java.lang.Override + public int getTransformsCount() { + return transforms_.size(); + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getTransforms(int index) { + return transforms_.get(index); + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder getTransformsOrBuilder( + int index) { + return transforms_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < transforms_.size(); i++) { + output.writeMessage(2, transforms_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < transforms_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, transforms_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.ImageTransformations)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.ImageTransformations other = (com.google.privacy.dlp.v2.ImageTransformations) obj; + + if (!getTransformsList() + .equals(other.getTransformsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getTransformsCount() > 0) { + hash = (37 * hash) + TRANSFORMS_FIELD_NUMBER; + hash = (53 * hash) + getTransformsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.ImageTransformations parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations 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.ImageTransformations parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.ImageTransformations 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.ImageTransformations parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.ImageTransformations 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.ImageTransformations parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.ImageTransformations parseDelimitedFrom( + java.io.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.ImageTransformations 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.ImageTransformations parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.ImageTransformations prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * A type of transformation that is applied over images.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageTransformations) + com.google.privacy.dlp.v2.ImageTransformationsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.ImageTransformations.class, com.google.privacy.dlp.v2.ImageTransformations.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.ImageTransformations.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getTransformsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (transformsBuilder_ == null) { + transforms_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + transformsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations build() { + com.google.privacy.dlp.v2.ImageTransformations result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations buildPartial() { + com.google.privacy.dlp.v2.ImageTransformations result = new com.google.privacy.dlp.v2.ImageTransformations(this); + int from_bitField0_ = bitField0_; + if (transformsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + transforms_ = java.util.Collections.unmodifiableList(transforms_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.transforms_ = transforms_; + } else { + result.transforms_ = transformsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.ImageTransformations) { + return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations other) { + if (other == com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance()) return this; + if (transformsBuilder_ == null) { + if (!other.transforms_.isEmpty()) { + if (transforms_.isEmpty()) { + transforms_ = other.transforms_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTransformsIsMutable(); + transforms_.addAll(other.transforms_); + } + onChanged(); + } + } else { + if (!other.transforms_.isEmpty()) { + if (transformsBuilder_.isEmpty()) { + transformsBuilder_.dispose(); + transformsBuilder_ = null; + transforms_ = other.transforms_; + bitField0_ = (bitField0_ & ~0x00000001); + transformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransformsFieldBuilder() : null; + } else { + transformsBuilder_.addAllMessages(other.transforms_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.ImageTransformations parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.ImageTransformations) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List transforms_ = + java.util.Collections.emptyList(); + private void ensureTransformsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + transforms_ = new java.util.ArrayList(transforms_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder> transformsBuilder_; + + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public java.util.List getTransformsList() { + if (transformsBuilder_ == null) { + return java.util.Collections.unmodifiableList(transforms_); + } else { + return transformsBuilder_.getMessageList(); + } + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public int getTransformsCount() { + if (transformsBuilder_ == null) { + return transforms_.size(); + } else { + return transformsBuilder_.getCount(); + } + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getTransforms(int index) { + if (transformsBuilder_ == null) { + return transforms_.get(index); + } else { + return transformsBuilder_.getMessage(index); + } + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public Builder setTransforms( + int index, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation value) { + if (transformsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransformsIsMutable(); + transforms_.set(index, value); + onChanged(); + } else { + transformsBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public Builder setTransforms( + int index, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder builderForValue) { + if (transformsBuilder_ == null) { + ensureTransformsIsMutable(); + transforms_.set(index, builderForValue.build()); + onChanged(); + } else { + transformsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public Builder addTransforms(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation value) { + if (transformsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransformsIsMutable(); + transforms_.add(value); + onChanged(); + } else { + transformsBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public Builder addTransforms( + int index, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation value) { + if (transformsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransformsIsMutable(); + transforms_.add(index, value); + onChanged(); + } else { + transformsBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public Builder addTransforms( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder builderForValue) { + if (transformsBuilder_ == null) { + ensureTransformsIsMutable(); + transforms_.add(builderForValue.build()); + onChanged(); + } else { + transformsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public Builder addTransforms( + int index, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder builderForValue) { + if (transformsBuilder_ == null) { + ensureTransformsIsMutable(); + transforms_.add(index, builderForValue.build()); + onChanged(); + } else { + transformsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public Builder addAllTransforms( + java.lang.Iterable values) { + if (transformsBuilder_ == null) { + ensureTransformsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transforms_); + onChanged(); + } else { + transformsBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public Builder clearTransforms() { + if (transformsBuilder_ == null) { + transforms_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + transformsBuilder_.clear(); + } + return this; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public Builder removeTransforms(int index) { + if (transformsBuilder_ == null) { + ensureTransformsIsMutable(); + transforms_.remove(index); + onChanged(); + } else { + transformsBuilder_.remove(index); + } + return this; + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder getTransformsBuilder( + int index) { + return getTransformsFieldBuilder().getBuilder(index); + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder getTransformsOrBuilder( + int index) { + if (transformsBuilder_ == null) { + return transforms_.get(index); } else { + return transformsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public java.util.List + getTransformsOrBuilderList() { + if (transformsBuilder_ != null) { + return transformsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(transforms_); + } + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder addTransformsBuilder() { + return getTransformsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.getDefaultInstance()); + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder addTransformsBuilder( + int index) { + return getTransformsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.getDefaultInstance()); + } + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + public java.util.List + getTransformsBuilderList() { + return getTransformsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder> + getTransformsFieldBuilder() { + if (transformsBuilder_ == null) { + transformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder>( + transforms_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + transforms_ = null; + } + return transformsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageTransformations) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageTransformations) + private static final com.google.privacy.dlp.v2.ImageTransformations DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageTransformations(); + } + + public static com.google.privacy.dlp.v2.ImageTransformations getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageTransformations parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImageTransformations(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.ImageTransformations getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformationsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformationsOrBuilder.java new file mode 100644 index 00000000..c07bc793 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformationsOrBuilder.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 ImageTransformationsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + java.util.List + getTransformsList(); + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getTransforms(int index); + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + int getTransformsCount(); + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + java.util.List + getTransformsOrBuilderList(); + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + */ + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder getTransformsOrBuilder( + 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 72% 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 a72b0454..82bf89b6 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,27 +54,25 @@ 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) { @@ -99,33 +80,29 @@ private InfoType( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -135,7 +112,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -144,15 +120,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
@@ -162,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 { @@ -181,14 +157,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 @@ -197,29 +170,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 { @@ -228,7 +201,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,7 +212,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -270,15 +243,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; } @@ -299,126 +274,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() @@ -426,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(); @@ -446,9 +414,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 @@ -478,39 +446,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; @@ -558,8 +525,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
@@ -569,13 +534,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; @@ -584,8 +549,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
@@ -595,14 +558,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 { @@ -610,8 +574,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
@@ -621,22 +583,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
@@ -646,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; } /** - * - * *
      * Name of the information type. Either a name of your choosing when
      * creating a CustomInfoType, or one of the names listed
@@ -667,16 +624,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; @@ -684,20 +641,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; @@ -706,21 +661,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 { @@ -728,68 +682,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); } @@ -799,12 +746,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(); } @@ -813,16 +760,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; @@ -837,4 +784,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/InfoTypeCategory.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.java similarity index 76% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.java index 50279022..61c4ee29 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.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; /** - * - * *
  * Classification of infoTypes to organize them according to geographic
  * location, industry, and data type.
@@ -28,29 +11,30 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InfoTypeCategory}
  */
-public final class InfoTypeCategory extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class InfoTypeCategory extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeCategory)
     InfoTypeCategoryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use InfoTypeCategory.newBuilder() to construct.
   private InfoTypeCategory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private InfoTypeCategory() {}
+  private InfoTypeCategory() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new InfoTypeCategory();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private InfoTypeCategory(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,34 +53,31 @@ private InfoTypeCategory(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
-              categoryCase_ = 1;
-              category_ = rawValue;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
-              categoryCase_ = 2;
-              category_ = rawValue;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
-              categoryCase_ = 3;
-              category_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 8: {
+            int rawValue = input.readEnum();
+            categoryCase_ = 1;
+            category_ = rawValue;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
+            categoryCase_ = 2;
+            category_ = rawValue;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
+            categoryCase_ = 3;
+            category_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,31 +85,27 @@ private InfoTypeCategory(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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_InfoTypeCategory_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InfoTypeCategory.class,
-            com.google.privacy.dlp.v2.InfoTypeCategory.Builder.class);
+            com.google.privacy.dlp.v2.InfoTypeCategory.class, com.google.privacy.dlp.v2.InfoTypeCategory.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Enum of the current locations.
    * We might add more locations in the future.
@@ -136,10 +113,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeCategory.LocationCategory}
    */
-  public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum {
+  public enum LocationCategory
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unused location
      * 
@@ -148,8 +124,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ LOCATION_UNSPECIFIED(0), /** - * - * *
      * The infoType is not issued by or tied to a specific region, but is used
      * almost everywhere.
@@ -159,8 +133,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum
      */
     GLOBAL(1),
     /**
-     *
-     *
      * 
      * The infoType is typically used in Argentina.
      * 
@@ -169,8 +141,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ ARGENTINA(2), /** - * - * *
      * The infoType is typically used in Australia.
      * 
@@ -179,8 +149,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ AUSTRALIA(3), /** - * - * *
      * The infoType is typically used in Belgium.
      * 
@@ -189,8 +157,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ BELGIUM(4), /** - * - * *
      * The infoType is typically used in Brazil.
      * 
@@ -199,8 +165,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ BRAZIL(5), /** - * - * *
      * The infoType is typically used in Canada.
      * 
@@ -209,8 +173,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ CANADA(6), /** - * - * *
      * The infoType is typically used in Chile.
      * 
@@ -219,8 +181,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ CHILE(7), /** - * - * *
      * The infoType is typically used in China.
      * 
@@ -229,8 +189,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ CHINA(8), /** - * - * *
      * The infoType is typically used in Colombia.
      * 
@@ -239,8 +197,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ COLOMBIA(9), /** - * - * *
      * The infoType is typically used in Denmark.
      * 
@@ -249,8 +205,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ DENMARK(10), /** - * - * *
      * The infoType is typically used in France.
      * 
@@ -259,8 +213,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ FRANCE(11), /** - * - * *
      * The infoType is typically used in Finland.
      * 
@@ -269,8 +221,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ FINLAND(12), /** - * - * *
      * The infoType is typically used in Germany.
      * 
@@ -279,8 +229,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ GERMANY(13), /** - * - * *
      * The infoType is typically used in Hong Kong.
      * 
@@ -289,8 +237,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ HONG_KONG(14), /** - * - * *
      * The infoType is typically used in India.
      * 
@@ -299,8 +245,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ INDIA(15), /** - * - * *
      * The infoType is typically used in Indonesia.
      * 
@@ -309,8 +253,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ INDONESIA(16), /** - * - * *
      * The infoType is typically used in Ireland.
      * 
@@ -319,8 +261,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ IRELAND(17), /** - * - * *
      * The infoType is typically used in Israel.
      * 
@@ -329,8 +269,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ ISRAEL(18), /** - * - * *
      * The infoType is typically used in Italy.
      * 
@@ -339,8 +277,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ ITALY(19), /** - * - * *
      * The infoType is typically used in Japan.
      * 
@@ -349,8 +285,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ JAPAN(20), /** - * - * *
      * The infoType is typically used in Korea.
      * 
@@ -359,8 +293,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ KOREA(21), /** - * - * *
      * The infoType is typically used in Mexico.
      * 
@@ -369,8 +301,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ MEXICO(22), /** - * - * *
      * The infoType is typically used in the Netherlands.
      * 
@@ -379,8 +309,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ THE_NETHERLANDS(23), /** - * - * *
      * The infoType is typically used in Norway.
      * 
@@ -389,8 +317,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ NORWAY(24), /** - * - * *
      * The infoType is typically used in Paraguay.
      * 
@@ -399,8 +325,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ PARAGUAY(25), /** - * - * *
      * The infoType is typically used in Peru.
      * 
@@ -409,8 +333,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ PERU(26), /** - * - * *
      * The infoType is typically used in Poland.
      * 
@@ -419,8 +341,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ POLAND(27), /** - * - * *
      * The infoType is typically used in Portugal.
      * 
@@ -429,8 +349,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ PORTUGAL(28), /** - * - * *
      * The infoType is typically used in Singapore.
      * 
@@ -439,8 +357,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ SINGAPORE(29), /** - * - * *
      * The infoType is typically used in South Africa.
      * 
@@ -449,8 +365,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ SOUTH_AFRICA(30), /** - * - * *
      * The infoType is typically used in Spain.
      * 
@@ -459,8 +373,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ SPAIN(31), /** - * - * *
      * The infoType is typically used in Sweden.
      * 
@@ -469,8 +381,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ SWEDEN(32), /** - * - * *
      * The infoType is typically used in Taiwan.
      * 
@@ -479,8 +389,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ TAIWAN(33), /** - * - * *
      * The infoType is typically used in Thailand.
      * 
@@ -489,8 +397,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ THAILAND(34), /** - * - * *
      * The infoType is typically used in Turkey.
      * 
@@ -499,8 +405,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ TURKEY(35), /** - * - * *
      * The infoType is typically used in the United Kingdom.
      * 
@@ -509,8 +413,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ UNITED_KINGDOM(36), /** - * - * *
      * The infoType is typically used in the United States.
      * 
@@ -519,8 +421,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ UNITED_STATES(37), /** - * - * *
      * The infoType is typically used in Uruguay.
      * 
@@ -529,8 +429,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ URUGUAY(38), /** - * - * *
      * The infoType is typically used in Venezuela.
      * 
@@ -539,8 +437,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ VENEZUELA(39), /** - * - * *
      * The infoType is typically used in Google internally.
      * 
@@ -552,8 +448,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Unused location
      * 
@@ -562,8 +456,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOCATION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The infoType is not issued by or tied to a specific region, but is used
      * almost everywhere.
@@ -573,8 +465,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int GLOBAL_VALUE = 1;
     /**
-     *
-     *
      * 
      * The infoType is typically used in Argentina.
      * 
@@ -583,8 +473,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int ARGENTINA_VALUE = 2; /** - * - * *
      * The infoType is typically used in Australia.
      * 
@@ -593,8 +481,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int AUSTRALIA_VALUE = 3; /** - * - * *
      * The infoType is typically used in Belgium.
      * 
@@ -603,8 +489,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BELGIUM_VALUE = 4; /** - * - * *
      * The infoType is typically used in Brazil.
      * 
@@ -613,8 +497,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int BRAZIL_VALUE = 5; /** - * - * *
      * The infoType is typically used in Canada.
      * 
@@ -623,8 +505,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int CANADA_VALUE = 6; /** - * - * *
      * The infoType is typically used in Chile.
      * 
@@ -633,8 +513,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int CHILE_VALUE = 7; /** - * - * *
      * The infoType is typically used in China.
      * 
@@ -643,8 +521,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int CHINA_VALUE = 8; /** - * - * *
      * The infoType is typically used in Colombia.
      * 
@@ -653,8 +529,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int COLOMBIA_VALUE = 9; /** - * - * *
      * The infoType is typically used in Denmark.
      * 
@@ -663,8 +537,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int DENMARK_VALUE = 10; /** - * - * *
      * The infoType is typically used in France.
      * 
@@ -673,8 +545,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int FRANCE_VALUE = 11; /** - * - * *
      * The infoType is typically used in Finland.
      * 
@@ -683,8 +553,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int FINLAND_VALUE = 12; /** - * - * *
      * The infoType is typically used in Germany.
      * 
@@ -693,8 +561,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int GERMANY_VALUE = 13; /** - * - * *
      * The infoType is typically used in Hong Kong.
      * 
@@ -703,8 +569,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HONG_KONG_VALUE = 14; /** - * - * *
      * The infoType is typically used in India.
      * 
@@ -713,8 +577,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int INDIA_VALUE = 15; /** - * - * *
      * The infoType is typically used in Indonesia.
      * 
@@ -723,8 +585,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int INDONESIA_VALUE = 16; /** - * - * *
      * The infoType is typically used in Ireland.
      * 
@@ -733,8 +593,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int IRELAND_VALUE = 17; /** - * - * *
      * The infoType is typically used in Israel.
      * 
@@ -743,8 +601,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int ISRAEL_VALUE = 18; /** - * - * *
      * The infoType is typically used in Italy.
      * 
@@ -753,8 +609,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int ITALY_VALUE = 19; /** - * - * *
      * The infoType is typically used in Japan.
      * 
@@ -763,8 +617,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int JAPAN_VALUE = 20; /** - * - * *
      * The infoType is typically used in Korea.
      * 
@@ -773,8 +625,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int KOREA_VALUE = 21; /** - * - * *
      * The infoType is typically used in Mexico.
      * 
@@ -783,8 +633,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int MEXICO_VALUE = 22; /** - * - * *
      * The infoType is typically used in the Netherlands.
      * 
@@ -793,8 +641,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int THE_NETHERLANDS_VALUE = 23; /** - * - * *
      * The infoType is typically used in Norway.
      * 
@@ -803,8 +649,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int NORWAY_VALUE = 24; /** - * - * *
      * The infoType is typically used in Paraguay.
      * 
@@ -813,8 +657,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int PARAGUAY_VALUE = 25; /** - * - * *
      * The infoType is typically used in Peru.
      * 
@@ -823,8 +665,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int PERU_VALUE = 26; /** - * - * *
      * The infoType is typically used in Poland.
      * 
@@ -833,8 +673,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int POLAND_VALUE = 27; /** - * - * *
      * The infoType is typically used in Portugal.
      * 
@@ -843,8 +681,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int PORTUGAL_VALUE = 28; /** - * - * *
      * The infoType is typically used in Singapore.
      * 
@@ -853,8 +689,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SINGAPORE_VALUE = 29; /** - * - * *
      * The infoType is typically used in South Africa.
      * 
@@ -863,8 +697,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SOUTH_AFRICA_VALUE = 30; /** - * - * *
      * The infoType is typically used in Spain.
      * 
@@ -873,8 +705,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SPAIN_VALUE = 31; /** - * - * *
      * The infoType is typically used in Sweden.
      * 
@@ -883,8 +713,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int SWEDEN_VALUE = 32; /** - * - * *
      * The infoType is typically used in Taiwan.
      * 
@@ -893,8 +721,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int TAIWAN_VALUE = 33; /** - * - * *
      * The infoType is typically used in Thailand.
      * 
@@ -903,8 +729,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int THAILAND_VALUE = 34; /** - * - * *
      * The infoType is typically used in Turkey.
      * 
@@ -913,8 +737,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int TURKEY_VALUE = 35; /** - * - * *
      * The infoType is typically used in the United Kingdom.
      * 
@@ -923,8 +745,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int UNITED_KINGDOM_VALUE = 36; /** - * - * *
      * The infoType is typically used in the United States.
      * 
@@ -933,8 +753,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int UNITED_STATES_VALUE = 37; /** - * - * *
      * The infoType is typically used in Uruguay.
      * 
@@ -943,8 +761,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int URUGUAY_VALUE = 38; /** - * - * *
      * The infoType is typically used in Venezuela.
      * 
@@ -953,8 +769,6 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int VENEZUELA_VALUE = 39; /** - * - * *
      * The infoType is typically used in Google internally.
      * 
@@ -963,6 +777,7 @@ public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int INTERNAL_VALUE = 40; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -987,118 +802,77 @@ public static LocationCategory valueOf(int value) { */ public static LocationCategory forNumber(int value) { switch (value) { - case 0: - return LOCATION_UNSPECIFIED; - case 1: - return GLOBAL; - case 2: - return ARGENTINA; - case 3: - return AUSTRALIA; - case 4: - return BELGIUM; - case 5: - return BRAZIL; - case 6: - return CANADA; - case 7: - return CHILE; - case 8: - return CHINA; - case 9: - return COLOMBIA; - case 10: - return DENMARK; - case 11: - return FRANCE; - case 12: - return FINLAND; - case 13: - return GERMANY; - case 14: - return HONG_KONG; - case 15: - return INDIA; - case 16: - return INDONESIA; - case 17: - return IRELAND; - case 18: - return ISRAEL; - case 19: - return ITALY; - case 20: - return JAPAN; - case 21: - return KOREA; - case 22: - return MEXICO; - case 23: - return THE_NETHERLANDS; - case 24: - return NORWAY; - case 25: - return PARAGUAY; - case 26: - return PERU; - case 27: - return POLAND; - case 28: - return PORTUGAL; - case 29: - return SINGAPORE; - case 30: - return SOUTH_AFRICA; - case 31: - return SPAIN; - case 32: - return SWEDEN; - case 33: - return TAIWAN; - case 34: - return THAILAND; - case 35: - return TURKEY; - case 36: - return UNITED_KINGDOM; - case 37: - return UNITED_STATES; - case 38: - return URUGUAY; - case 39: - return VENEZUELA; - case 40: - return INTERNAL; - default: - return null; + case 0: return LOCATION_UNSPECIFIED; + case 1: return GLOBAL; + case 2: return ARGENTINA; + case 3: return AUSTRALIA; + case 4: return BELGIUM; + case 5: return BRAZIL; + case 6: return CANADA; + case 7: return CHILE; + case 8: return CHINA; + case 9: return COLOMBIA; + case 10: return DENMARK; + case 11: return FRANCE; + case 12: return FINLAND; + case 13: return GERMANY; + case 14: return HONG_KONG; + case 15: return INDIA; + case 16: return INDONESIA; + case 17: return IRELAND; + case 18: return ISRAEL; + case 19: return ITALY; + case 20: return JAPAN; + case 21: return KOREA; + case 22: return MEXICO; + case 23: return THE_NETHERLANDS; + case 24: return NORWAY; + case 25: return PARAGUAY; + case 26: return PERU; + case 27: return POLAND; + case 28: return PORTUGAL; + case 29: return SINGAPORE; + case 30: return SOUTH_AFRICA; + case 31: return SPAIN; + case 32: return SWEDEN; + case 33: return TAIWAN; + case 34: return THAILAND; + case 35: return TURKEY; + case 36: return UNITED_KINGDOM; + case 37: return UNITED_STATES; + case 38: return URUGUAY; + case 39: return VENEZUELA; + case 40: return INTERNAL; + 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< + LocationCategory> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationCategory findValueByNumber(int number) { + return LocationCategory.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationCategory findValueByNumber(int number) { - return LocationCategory.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.InfoTypeCategory.getDescriptor().getEnumTypes().get(0); } @@ -1107,7 +881,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LocationCategory 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; @@ -1125,8 +900,6 @@ private LocationCategory(int value) { } /** - * - * *
    * Enum of the current industries in the category.
    * We might add more industries in the future.
@@ -1134,10 +907,9 @@ private LocationCategory(int value) {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory}
    */
-  public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum {
+  public enum IndustryCategory
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unused industry
      * 
@@ -1146,8 +918,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ INDUSTRY_UNSPECIFIED(0), /** - * - * *
      * The infoType is typically used in the finance industry.
      * 
@@ -1156,8 +926,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ FINANCE(1), /** - * - * *
      * The infoType is typically used in the health industry.
      * 
@@ -1166,8 +934,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ HEALTH(2), /** - * - * *
      * The infoType is typically used in the telecommunications industry.
      * 
@@ -1179,8 +945,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Unused industry
      * 
@@ -1189,8 +953,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int INDUSTRY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The infoType is typically used in the finance industry.
      * 
@@ -1199,8 +961,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int FINANCE_VALUE = 1; /** - * - * *
      * The infoType is typically used in the health industry.
      * 
@@ -1209,8 +969,6 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int HEALTH_VALUE = 2; /** - * - * *
      * The infoType is typically used in the telecommunications industry.
      * 
@@ -1219,6 +977,7 @@ public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum */ public static final int TELECOMMUNICATIONS_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1243,44 +1002,40 @@ public static IndustryCategory valueOf(int value) { */ public static IndustryCategory forNumber(int value) { switch (value) { - case 0: - return INDUSTRY_UNSPECIFIED; - case 1: - return FINANCE; - case 2: - return HEALTH; - case 3: - return TELECOMMUNICATIONS; - default: - return null; + case 0: return INDUSTRY_UNSPECIFIED; + case 1: return FINANCE; + case 2: return HEALTH; + case 3: return TELECOMMUNICATIONS; + 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< + IndustryCategory> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IndustryCategory findValueByNumber(int number) { + return IndustryCategory.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IndustryCategory findValueByNumber(int number) { - return IndustryCategory.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.InfoTypeCategory.getDescriptor().getEnumTypes().get(1); } @@ -1289,7 +1044,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static IndustryCategory valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1307,8 +1063,6 @@ private IndustryCategory(int value) { } /** - * - * *
    * Enum of the current types in the category.
    * We might add more types in the future.
@@ -1316,10 +1070,9 @@ private IndustryCategory(int value) {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeCategory.TypeCategory}
    */
-  public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum {
+  public enum TypeCategory
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unused type
      * 
@@ -1328,8 +1081,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Personally identifiable information, for example, a
      * name or phone number
@@ -1339,8 +1090,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum {
      */
     PII(1),
     /**
-     *
-     *
      * 
      * Personally identifiable information that is especially sensitive, for
      * example, a passport number.
@@ -1350,8 +1099,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum {
      */
     SPII(2),
     /**
-     *
-     *
      * 
      * Attributes that can partially identify someone, especially in
      * combination with other attributes, like age, height, and gender.
@@ -1361,8 +1108,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum {
      */
     DEMOGRAPHIC(3),
     /**
-     *
-     *
      * 
      * Confidential or secret information, for example, a password.
      * 
@@ -1371,8 +1116,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum { */ CREDENTIAL(4), /** - * - * *
      * An identification document issued by a government.
      * 
@@ -1381,8 +1124,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum { */ GOVERNMENT_ID(5), /** - * - * *
      * A document, for example, a resume or source code.
      * 
@@ -1391,8 +1132,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum { */ DOCUMENT(6), /** - * - * *
      * Information that is not sensitive on its own, but provides details about
      * the circumstances surrounding an entity or an event.
@@ -1405,8 +1144,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unused type
      * 
@@ -1415,8 +1152,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Personally identifiable information, for example, a
      * name or phone number
@@ -1426,8 +1161,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PII_VALUE = 1;
     /**
-     *
-     *
      * 
      * Personally identifiable information that is especially sensitive, for
      * example, a passport number.
@@ -1437,8 +1170,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SPII_VALUE = 2;
     /**
-     *
-     *
      * 
      * Attributes that can partially identify someone, especially in
      * combination with other attributes, like age, height, and gender.
@@ -1448,8 +1179,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEMOGRAPHIC_VALUE = 3;
     /**
-     *
-     *
      * 
      * Confidential or secret information, for example, a password.
      * 
@@ -1458,8 +1187,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREDENTIAL_VALUE = 4; /** - * - * *
      * An identification document issued by a government.
      * 
@@ -1468,8 +1195,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOVERNMENT_ID_VALUE = 5; /** - * - * *
      * A document, for example, a resume or source code.
      * 
@@ -1478,8 +1203,6 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOCUMENT_VALUE = 6; /** - * - * *
      * Information that is not sensitive on its own, but provides details about
      * the circumstances surrounding an entity or an event.
@@ -1489,6 +1212,7 @@ public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CONTEXTUAL_INFORMATION_VALUE = 7;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -1513,59 +1237,54 @@ public static TypeCategory valueOf(int value) {
      */
     public static TypeCategory forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return PII;
-        case 2:
-          return SPII;
-        case 3:
-          return DEMOGRAPHIC;
-        case 4:
-          return CREDENTIAL;
-        case 5:
-          return GOVERNMENT_ID;
-        case 6:
-          return DOCUMENT;
-        case 7:
-          return CONTEXTUAL_INFORMATION;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return PII;
+        case 2: return SPII;
+        case 3: return DEMOGRAPHIC;
+        case 4: return CREDENTIAL;
+        case 5: return GOVERNMENT_ID;
+        case 6: return DOCUMENT;
+        case 7: return CONTEXTUAL_INFORMATION;
+        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<
+        TypeCategory> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public TypeCategory findValueByNumber(int number) {
+              return TypeCategory.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public TypeCategory findValueByNumber(int number) {
-            return TypeCategory.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.InfoTypeCategory.getDescriptor().getEnumTypes().get(2);
     }
 
     private static final TypeCategory[] VALUES = values();
 
-    public static TypeCategory valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static TypeCategory 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;
@@ -1584,17 +1303,14 @@ private TypeCategory(int value) {
 
   private int categoryCase_ = 0;
   private java.lang.Object category_;
-
   public enum CategoryCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LOCATION_CATEGORY(1),
     INDUSTRY_CATEGORY(2),
     TYPE_CATEGORY(3),
     CATEGORY_NOT_SET(0);
     private final int value;
-
     private CategoryCase(int value) {
       this.value = value;
     }
@@ -1610,54 +1326,44 @@ public static CategoryCase valueOf(int value) {
 
     public static CategoryCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return LOCATION_CATEGORY;
-        case 2:
-          return INDUSTRY_CATEGORY;
-        case 3:
-          return TYPE_CATEGORY;
-        case 0:
-          return CATEGORY_NOT_SET;
-        default:
-          return null;
+        case 1: return LOCATION_CATEGORY;
+        case 2: return INDUSTRY_CATEGORY;
+        case 3: return TYPE_CATEGORY;
+        case 0: return CATEGORY_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public CategoryCase getCategoryCase() {
-    return CategoryCase.forNumber(categoryCase_);
+  public CategoryCase
+  getCategoryCase() {
+    return CategoryCase.forNumber(
+        categoryCase_);
   }
 
   public static final int LOCATION_CATEGORY_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @return Whether the locationCategory field is set. */ public boolean hasLocationCategory() { return categoryCase_ == 1; } /** - * - * *
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @return The enum numeric value on the wire for locationCategory. */ public int getLocationCategoryValue() { @@ -1667,54 +1373,42 @@ public int getLocationCategoryValue() { return 0; } /** - * - * *
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @return The locationCategory. */ public com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory getLocationCategory() { if (categoryCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory result = - com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.valueOf( - (java.lang.Integer) category_); - return result == null - ? com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.valueOf( + (java.lang.Integer) category_); + return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.UNRECOGNIZED : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.LOCATION_UNSPECIFIED; } public static final int INDUSTRY_CATEGORY_FIELD_NUMBER = 2; /** - * - * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @return Whether the industryCategory field is set. */ public boolean hasIndustryCategory() { return categoryCase_ == 2; } /** - * - * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @return The enum numeric value on the wire for industryCategory. */ public int getIndustryCategoryValue() { @@ -1724,53 +1418,41 @@ public int getIndustryCategoryValue() { return 0; } /** - * - * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @return The industryCategory. */ public com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory getIndustryCategory() { if (categoryCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory result = - com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.valueOf( - (java.lang.Integer) category_); - return result == null - ? com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.valueOf( + (java.lang.Integer) category_); + return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.UNRECOGNIZED : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.INDUSTRY_UNSPECIFIED; } public static final int TYPE_CATEGORY_FIELD_NUMBER = 3; /** - * - * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @return Whether the typeCategory field is set. */ public boolean hasTypeCategory() { return categoryCase_ == 3; } /** - * - * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @return The enum numeric value on the wire for typeCategory. */ public int getTypeCategoryValue() { @@ -1780,31 +1462,24 @@ public int getTypeCategoryValue() { return 0; } /** - * - * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @return The typeCategory. */ public com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory getTypeCategory() { if (categoryCase_ == 3) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory result = - com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.valueOf( - (java.lang.Integer) category_); - return result == null - ? com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.valueOf( + (java.lang.Integer) category_); + return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.UNRECOGNIZED : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.TYPE_UNSPECIFIED; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1816,7 +1491,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (categoryCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) category_)); } @@ -1836,16 +1512,16 @@ public int getSerializedSize() { size = 0; if (categoryCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(1, ((java.lang.Integer) category_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, ((java.lang.Integer) category_)); } if (categoryCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(2, ((java.lang.Integer) category_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, ((java.lang.Integer) category_)); } if (categoryCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(3, ((java.lang.Integer) category_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, ((java.lang.Integer) category_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1855,24 +1531,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.InfoTypeCategory)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InfoTypeCategory other = - (com.google.privacy.dlp.v2.InfoTypeCategory) obj; + com.google.privacy.dlp.v2.InfoTypeCategory other = (com.google.privacy.dlp.v2.InfoTypeCategory) obj; if (!getCategoryCase().equals(other.getCategoryCase())) return false; switch (categoryCase_) { case 1: - if (getLocationCategoryValue() != other.getLocationCategoryValue()) return false; + if (getLocationCategoryValue() + != other.getLocationCategoryValue()) return false; break; case 2: - if (getIndustryCategoryValue() != other.getIndustryCategoryValue()) return false; + if (getIndustryCategoryValue() + != other.getIndustryCategoryValue()) return false; break; case 3: - if (getTypeCategoryValue() != other.getTypeCategoryValue()) return false; + if (getTypeCategoryValue() + != other.getTypeCategoryValue()) return false; break; case 0: default: @@ -1909,104 +1587,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom(java.io.InputStream input) 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.InfoTypeCategory parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoTypeCategory parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InfoTypeCategory parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeCategory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Classification of infoTypes to organize them according to geographic
    * location, industry, and data type.
@@ -2014,23 +1685,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.InfoTypeCategory}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeCategory)
       com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InfoTypeCategory.class,
-              com.google.privacy.dlp.v2.InfoTypeCategory.Builder.class);
+              com.google.privacy.dlp.v2.InfoTypeCategory.class, com.google.privacy.dlp.v2.InfoTypeCategory.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InfoTypeCategory.newBuilder()
@@ -2038,15 +1707,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2056,9 +1726,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
     }
 
     @java.lang.Override
@@ -2077,8 +1747,7 @@ public com.google.privacy.dlp.v2.InfoTypeCategory build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InfoTypeCategory buildPartial() {
-      com.google.privacy.dlp.v2.InfoTypeCategory result =
-          new com.google.privacy.dlp.v2.InfoTypeCategory(this);
+      com.google.privacy.dlp.v2.InfoTypeCategory result = new com.google.privacy.dlp.v2.InfoTypeCategory(this);
       if (categoryCase_ == 1) {
         result.category_ = category_;
       }
@@ -2097,39 +1766,38 @@ public com.google.privacy.dlp.v2.InfoTypeCategory buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InfoTypeCategory) {
-        return mergeFrom((com.google.privacy.dlp.v2.InfoTypeCategory) other);
+        return mergeFrom((com.google.privacy.dlp.v2.InfoTypeCategory)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2139,25 +1807,21 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeCategory other) {
       if (other == com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance()) return this;
       switch (other.getCategoryCase()) {
-        case LOCATION_CATEGORY:
-          {
-            setLocationCategoryValue(other.getLocationCategoryValue());
-            break;
-          }
-        case INDUSTRY_CATEGORY:
-          {
-            setIndustryCategoryValue(other.getIndustryCategoryValue());
-            break;
-          }
-        case TYPE_CATEGORY:
-          {
-            setTypeCategoryValue(other.getTypeCategoryValue());
-            break;
-          }
-        case CATEGORY_NOT_SET:
-          {
-            break;
-          }
+        case LOCATION_CATEGORY: {
+          setLocationCategoryValue(other.getLocationCategoryValue());
+          break;
+        }
+        case INDUSTRY_CATEGORY: {
+          setIndustryCategoryValue(other.getIndustryCategoryValue());
+          break;
+        }
+        case TYPE_CATEGORY: {
+          setTypeCategoryValue(other.getTypeCategoryValue());
+          break;
+        }
+        case CATEGORY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2187,12 +1851,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int categoryCase_ = 0;
     private java.lang.Object category_;
-
-    public CategoryCase getCategoryCase() {
-      return CategoryCase.forNumber(categoryCase_);
+    public CategoryCase
+        getCategoryCase() {
+      return CategoryCase.forNumber(
+          categoryCase_);
     }
 
     public Builder clearCategory() {
@@ -2202,16 +1866,14 @@ public Builder clearCategory() {
       return this;
     }
 
+
     /**
-     *
-     *
      * 
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @return Whether the locationCategory field is set. */ @java.lang.Override @@ -2219,15 +1881,12 @@ public boolean hasLocationCategory() { return categoryCase_ == 1; } /** - * - * *
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @return The enum numeric value on the wire for locationCategory. */ @java.lang.Override @@ -2238,15 +1897,12 @@ public int getLocationCategoryValue() { return 0; } /** - * - * *
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @param value The enum numeric value on the wire for locationCategory to set. * @return This builder for chaining. */ @@ -2257,45 +1913,35 @@ public Builder setLocationCategoryValue(int value) { return this; } /** - * - * *
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @return The locationCategory. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory getLocationCategory() { if (categoryCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory result = - com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.valueOf( - (java.lang.Integer) category_); - return result == null - ? com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.valueOf( + (java.lang.Integer) category_); + return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.UNRECOGNIZED : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.LOCATION_UNSPECIFIED; } /** - * - * *
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @param value The locationCategory to set. * @return This builder for chaining. */ - public Builder setLocationCategory( - com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory value) { + public Builder setLocationCategory(com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2305,15 +1951,12 @@ public Builder setLocationCategory( return this; } /** - * - * *
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @return This builder for chaining. */ public Builder clearLocationCategory() { @@ -2326,14 +1969,11 @@ public Builder clearLocationCategory() { } /** - * - * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @return Whether the industryCategory field is set. */ @java.lang.Override @@ -2341,14 +1981,11 @@ public boolean hasIndustryCategory() { return categoryCase_ == 2; } /** - * - * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @return The enum numeric value on the wire for industryCategory. */ @java.lang.Override @@ -2359,14 +1996,11 @@ public int getIndustryCategoryValue() { return 0; } /** - * - * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @param value The enum numeric value on the wire for industryCategory to set. * @return This builder for chaining. */ @@ -2377,43 +2011,33 @@ public Builder setIndustryCategoryValue(int value) { return this; } /** - * - * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @return The industryCategory. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory getIndustryCategory() { if (categoryCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory result = - com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.valueOf( - (java.lang.Integer) category_); - return result == null - ? com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.valueOf( + (java.lang.Integer) category_); + return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.UNRECOGNIZED : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.INDUSTRY_UNSPECIFIED; } /** - * - * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @param value The industryCategory to set. * @return This builder for chaining. */ - public Builder setIndustryCategory( - com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory value) { + public Builder setIndustryCategory(com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2423,14 +2047,11 @@ public Builder setIndustryCategory( return this; } /** - * - * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @return This builder for chaining. */ public Builder clearIndustryCategory() { @@ -2443,14 +2064,11 @@ public Builder clearIndustryCategory() { } /** - * - * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @return Whether the typeCategory field is set. */ @java.lang.Override @@ -2458,14 +2076,11 @@ public boolean hasTypeCategory() { return categoryCase_ == 3; } /** - * - * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @return The enum numeric value on the wire for typeCategory. */ @java.lang.Override @@ -2476,14 +2091,11 @@ public int getTypeCategoryValue() { return 0; } /** - * - * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @param value The enum numeric value on the wire for typeCategory to set. * @return This builder for chaining. */ @@ -2494,38 +2106,29 @@ public Builder setTypeCategoryValue(int value) { return this; } /** - * - * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @return The typeCategory. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory getTypeCategory() { if (categoryCase_ == 3) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory result = - com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.valueOf( - (java.lang.Integer) category_); - return result == null - ? com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.valueOf( + (java.lang.Integer) category_); + return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.UNRECOGNIZED : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.TYPE_UNSPECIFIED; } /** - * - * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @param value The typeCategory to set. * @return This builder for chaining. */ @@ -2539,14 +2142,11 @@ public Builder setTypeCategory(com.google.privacy.dlp.v2.InfoTypeCategory.TypeCa return this; } /** - * - * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @return This builder for chaining. */ public Builder clearTypeCategory() { @@ -2557,9 +2157,9 @@ public Builder clearTypeCategory() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2569,12 +2169,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeCategory) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeCategory) private static final com.google.privacy.dlp.v2.InfoTypeCategory DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeCategory(); } @@ -2583,16 +2183,16 @@ public static com.google.privacy.dlp.v2.InfoTypeCategory getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeCategory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeCategory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeCategory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeCategory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2607,4 +2207,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoTypeCategory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java similarity index 80% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java index 455ade9b..c96f41bb 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java @@ -1,138 +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 InfoTypeCategoryOrBuilder - extends +public interface InfoTypeCategoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeCategory) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @return Whether the locationCategory field is set. */ boolean hasLocationCategory(); /** - * - * *
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @return The enum numeric value on the wire for locationCategory. */ int getLocationCategoryValue(); /** - * - * *
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; - * * @return The locationCategory. */ com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory getLocationCategory(); /** - * - * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @return Whether the industryCategory field is set. */ boolean hasIndustryCategory(); /** - * - * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @return The enum numeric value on the wire for industryCategory. */ int getIndustryCategoryValue(); /** - * - * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; - * * @return The industryCategory. */ com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory getIndustryCategory(); /** - * - * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @return Whether the typeCategory field is set. */ boolean hasTypeCategory(); /** - * - * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @return The enum numeric value on the wire for typeCategory. */ int getTypeCategoryValue(); /** - * - * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; - * * @return The typeCategory. */ com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory getTypeCategory(); 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 62% 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 c27ca668..97e00328 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,61 +1,45 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under 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_ = ""; supportedBy_ = java.util.Collections.emptyList(); description_ = ""; + versions_ = java.util.Collections.emptyList(); categories_ = 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 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) @@ -75,70 +59,72 @@ 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; + description_ = s; + break; + } + case 74: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + versions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 82: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - categories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - categories_.add( - input.readMessage( - com.google.privacy.dlp.v2.InfoTypeCategory.parser(), extensionRegistry)); - break; + versions_.add( + input.readMessage(com.google.privacy.dlp.v2.VersionDescription.parser(), extensionRegistry)); + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + categories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + categories_.add( + input.readMessage(com.google.privacy.dlp.v2.InfoTypeCategory.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -146,45 +132,43 @@ private InfoTypeDescription( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { + versions_ = java.util.Collections.unmodifiableList(versions_); + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { categories_ = java.util.Collections.unmodifiableList(categories_); } 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_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 @@ -193,29 +177,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 { @@ -226,14 +210,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 @@ -242,29 +223,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 { @@ -275,45 +256,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 @@ -321,14 +291,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. */ @@ -337,29 +304,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. */ @@ -367,21 +329,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 @@ -390,30 +348,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 { @@ -421,11 +379,69 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } - public static final int CATEGORIES_FIELD_NUMBER = 10; - private java.util.List categories_; + public static final int VERSIONS_FIELD_NUMBER = 9; + private java.util.List versions_; + /** + *
+   * A list of available versions for the infotype.
+   * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + @java.lang.Override + public java.util.List getVersionsList() { + return versions_; + } + /** + *
+   * A list of available versions for the infotype.
+   * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + @java.lang.Override + public java.util.List + getVersionsOrBuilderList() { + return versions_; + } + /** + *
+   * A list of available versions for the infotype.
+   * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + @java.lang.Override + public int getVersionsCount() { + return versions_.size(); + } /** + *
+   * A list of available versions for the infotype.
+   * 
* + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.VersionDescription getVersions(int index) { + return versions_.get(index); + } + /** + *
+   * A list of available versions for the infotype.
+   * 
* + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder( + int index) { + return versions_.get(index); + } + + public static final int CATEGORIES_FIELD_NUMBER = 10; + private java.util.List categories_; + /** *
    * The category of the infoType.
    * 
@@ -437,8 +453,6 @@ public java.util.List getCategoriesL return categories_; } /** - * - * *
    * The category of the infoType.
    * 
@@ -446,13 +460,11 @@ public java.util.List getCategoriesL * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ @java.lang.Override - public java.util.List + public java.util.List getCategoriesOrBuilderList() { return categories_; } /** - * - * *
    * The category of the infoType.
    * 
@@ -464,8 +476,6 @@ public int getCategoriesCount() { return categories_.size(); } /** - * - * *
    * The category of the infoType.
    * 
@@ -477,8 +487,6 @@ public com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index) { return categories_.get(index); } /** - * - * *
    * The category of the infoType.
    * 
@@ -486,12 +494,12 @@ public com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index) { * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder( + int index) { return categories_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -503,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 { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -521,6 +530,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } + for (int i = 0; i < versions_.size(); i++) { + output.writeMessage(9, versions_.get(i)); + } for (int i = 0; i < categories_.size(); i++) { output.writeMessage(10, categories_.get(i)); } @@ -542,20 +554,25 @@ 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_); } + for (int i = 0; i < versions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, versions_.get(i)); + } for (int i = 0; i < categories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, categories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, categories_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -565,19 +582,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.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 (!getCategoriesList().equals(other.getCategoriesList())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getVersionsList() + .equals(other.getVersionsList())) return false; + if (!getCategoriesList() + .equals(other.getCategoriesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -599,6 +621,10 @@ public int hashCode() { } hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); + if (getVersionsCount() > 0) { + hash = (37 * hash) + VERSIONS_FIELD_NUMBER; + hash = (53 * hash) + getVersionsList().hashCode(); + } if (getCategoriesCount() > 0) { hash = (37 * hash) + CATEGORIES_FIELD_NUMBER; hash = (53 * hash) + getCategoriesList().hashCode(); @@ -608,127 +634,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() @@ -736,17 +753,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) { + getVersionsFieldBuilder(); getCategoriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -758,9 +776,15 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000001); description_ = ""; + if (versionsBuilder_ == null) { + versions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + versionsBuilder_.clear(); + } if (categoriesBuilder_ == null) { categories_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); } else { categoriesBuilder_.clear(); } @@ -768,9 +792,9 @@ public Builder 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 @@ -789,8 +813,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_; @@ -800,11 +823,20 @@ public com.google.privacy.dlp.v2.InfoTypeDescription buildPartial() { } result.supportedBy_ = supportedBy_; result.description_ = description_; - if (categoriesBuilder_ == null) { + if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { - categories_ = java.util.Collections.unmodifiableList(categories_); + versions_ = java.util.Collections.unmodifiableList(versions_); bitField0_ = (bitField0_ & ~0x00000002); } + result.versions_ = versions_; + } else { + result.versions_ = versionsBuilder_.build(); + } + if (categoriesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + categories_ = java.util.Collections.unmodifiableList(categories_); + bitField0_ = (bitField0_ & ~0x00000004); + } result.categories_ = categories_; } else { result.categories_ = categoriesBuilder_.build(); @@ -817,39 +849,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; @@ -880,11 +911,37 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeDescription other) { description_ = other.description_; onChanged(); } + if (versionsBuilder_ == null) { + if (!other.versions_.isEmpty()) { + if (versions_.isEmpty()) { + versions_ = other.versions_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureVersionsIsMutable(); + versions_.addAll(other.versions_); + } + onChanged(); + } + } else { + if (!other.versions_.isEmpty()) { + if (versionsBuilder_.isEmpty()) { + versionsBuilder_.dispose(); + versionsBuilder_ = null; + versions_ = other.versions_; + bitField0_ = (bitField0_ & ~0x00000002); + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionsFieldBuilder() : null; + } else { + versionsBuilder_.addAllMessages(other.versions_); + } + } + } if (categoriesBuilder_ == null) { if (!other.categories_.isEmpty()) { if (categories_.isEmpty()) { categories_ = other.categories_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); } else { ensureCategoriesIsMutable(); categories_.addAll(other.categories_); @@ -897,11 +954,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeDescription other) { categoriesBuilder_.dispose(); categoriesBuilder_ = null; categories_ = other.categories_; - bitField0_ = (bitField0_ & ~0x00000002); - categoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCategoriesFieldBuilder() - : null; + bitField0_ = (bitField0_ & ~0x00000004); + categoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCategoriesFieldBuilder() : null; } else { categoriesBuilder_.addAllMessages(other.categories_); } @@ -935,25 +991,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; @@ -962,21 +1015,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 { @@ -984,61 +1036,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; @@ -1046,20 +1091,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; @@ -1068,21 +1111,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 { @@ -1090,68 +1132,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_); @@ -1159,44 +1194,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. */ @@ -1204,19 +1229,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(); } @@ -1226,14 +1249,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. */ @@ -1247,14 +1267,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. */ @@ -1268,14 +1285,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() { @@ -1285,28 +1299,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. */ @@ -1314,33 +1323,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 to set the value at. * @param value The enum numeric value on the wire for supportedBy to set. * @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. */ @@ -1351,18 +1355,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); @@ -1373,21 +1375,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; @@ -1396,22 +1396,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 { @@ -1419,89 +1418,387 @@ 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; } - private java.util.List categories_ = - java.util.Collections.emptyList(); - - private void ensureCategoriesIsMutable() { + private java.util.List versions_ = + java.util.Collections.emptyList(); + private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - categories_ = - new java.util.ArrayList(categories_); + versions_ = new java.util.ArrayList(versions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeCategory, - com.google.privacy.dlp.v2.InfoTypeCategory.Builder, - com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder> - categoriesBuilder_; + com.google.privacy.dlp.v2.VersionDescription, com.google.privacy.dlp.v2.VersionDescription.Builder, com.google.privacy.dlp.v2.VersionDescriptionOrBuilder> versionsBuilder_; /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public java.util.List getVersionsList() { + if (versionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(versions_); + } else { + return versionsBuilder_.getMessageList(); + } + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public int getVersionsCount() { + if (versionsBuilder_ == null) { + return versions_.size(); + } else { + return versionsBuilder_.getCount(); + } + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public com.google.privacy.dlp.v2.VersionDescription getVersions(int index) { + if (versionsBuilder_ == null) { + return versions_.get(index); + } else { + return versionsBuilder_.getMessage(index); + } + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public Builder setVersions( + int index, com.google.privacy.dlp.v2.VersionDescription value) { + if (versionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVersionsIsMutable(); + versions_.set(index, value); + onChanged(); + } else { + versionsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public Builder setVersions( + int index, com.google.privacy.dlp.v2.VersionDescription.Builder builderForValue) { + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + versions_.set(index, builderForValue.build()); + onChanged(); + } else { + versionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public Builder addVersions(com.google.privacy.dlp.v2.VersionDescription value) { + if (versionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVersionsIsMutable(); + versions_.add(value); + onChanged(); + } else { + versionsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public Builder addVersions( + int index, com.google.privacy.dlp.v2.VersionDescription value) { + if (versionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVersionsIsMutable(); + versions_.add(index, value); + onChanged(); + } else { + versionsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * A list of available versions for the infotype.
+     * 
* + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public Builder addVersions( + com.google.privacy.dlp.v2.VersionDescription.Builder builderForValue) { + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + versions_.add(builderForValue.build()); + onChanged(); + } else { + versionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * A list of available versions for the infotype.
+     * 
* + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public Builder addVersions( + int index, com.google.privacy.dlp.v2.VersionDescription.Builder builderForValue) { + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + versions_.add(index, builderForValue.build()); + onChanged(); + } else { + versionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public Builder addAllVersions( + java.lang.Iterable values) { + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, versions_); + onChanged(); + } else { + versionsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public Builder clearVersions() { + if (versionsBuilder_ == null) { + versions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + versionsBuilder_.clear(); + } + return this; + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public Builder removeVersions(int index) { + if (versionsBuilder_ == null) { + ensureVersionsIsMutable(); + versions_.remove(index); + onChanged(); + } else { + versionsBuilder_.remove(index); + } + return this; + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public com.google.privacy.dlp.v2.VersionDescription.Builder getVersionsBuilder( + int index) { + return getVersionsFieldBuilder().getBuilder(index); + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder( + int index) { + if (versionsBuilder_ == null) { + return versions_.get(index); } else { + return versionsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public java.util.List + getVersionsOrBuilderList() { + if (versionsBuilder_ != null) { + return versionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(versions_); + } + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public com.google.privacy.dlp.v2.VersionDescription.Builder addVersionsBuilder() { + return getVersionsFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.VersionDescription.getDefaultInstance()); + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public com.google.privacy.dlp.v2.VersionDescription.Builder addVersionsBuilder( + int index) { + return getVersionsFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.VersionDescription.getDefaultInstance()); + } + /** + *
+     * A list of available versions for the infotype.
+     * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + public java.util.List + getVersionsBuilderList() { + return getVersionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.VersionDescription, com.google.privacy.dlp.v2.VersionDescription.Builder, com.google.privacy.dlp.v2.VersionDescriptionOrBuilder> + getVersionsFieldBuilder() { + if (versionsBuilder_ == null) { + versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.VersionDescription, com.google.privacy.dlp.v2.VersionDescription.Builder, com.google.privacy.dlp.v2.VersionDescriptionOrBuilder>( + versions_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + versions_ = null; + } + return versionsBuilder_; + } + + private java.util.List categories_ = + java.util.Collections.emptyList(); + private void ensureCategoriesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + categories_ = new java.util.ArrayList(categories_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoTypeCategory, com.google.privacy.dlp.v2.InfoTypeCategory.Builder, com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder> categoriesBuilder_; + + /** *
      * The category of the infoType.
      * 
@@ -1516,8 +1813,6 @@ public java.util.List getCategoriesL } } /** - * - * *
      * The category of the infoType.
      * 
@@ -1532,8 +1827,6 @@ public int getCategoriesCount() { } } /** - * - * *
      * The category of the infoType.
      * 
@@ -1548,15 +1841,14 @@ public com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index) { } } /** - * - * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public Builder setCategories(int index, com.google.privacy.dlp.v2.InfoTypeCategory value) { + public Builder setCategories( + int index, com.google.privacy.dlp.v2.InfoTypeCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1570,8 +1862,6 @@ public Builder setCategories(int index, com.google.privacy.dlp.v2.InfoTypeCatego return this; } /** - * - * *
      * The category of the infoType.
      * 
@@ -1590,8 +1880,6 @@ public Builder setCategories( return this; } /** - * - * *
      * The category of the infoType.
      * 
@@ -1612,15 +1900,14 @@ public Builder addCategories(com.google.privacy.dlp.v2.InfoTypeCategory value) { return this; } /** - * - * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public Builder addCategories(int index, com.google.privacy.dlp.v2.InfoTypeCategory value) { + public Builder addCategories( + int index, com.google.privacy.dlp.v2.InfoTypeCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1634,8 +1921,6 @@ public Builder addCategories(int index, com.google.privacy.dlp.v2.InfoTypeCatego return this; } /** - * - * *
      * The category of the infoType.
      * 
@@ -1654,8 +1939,6 @@ public Builder addCategories( return this; } /** - * - * *
      * The category of the infoType.
      * 
@@ -1674,8 +1957,6 @@ public Builder addCategories( return this; } /** - * - * *
      * The category of the infoType.
      * 
@@ -1686,7 +1967,8 @@ public Builder addAllCategories( java.lang.Iterable values) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, categories_); onChanged(); } else { categoriesBuilder_.addAllMessages(values); @@ -1694,8 +1976,6 @@ public Builder addAllCategories( return this; } /** - * - * *
      * The category of the infoType.
      * 
@@ -1705,7 +1985,7 @@ public Builder addAllCategories( public Builder clearCategories() { if (categoriesBuilder_ == null) { categories_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { categoriesBuilder_.clear(); @@ -1713,8 +1993,6 @@ public Builder clearCategories() { return this; } /** - * - * *
      * The category of the infoType.
      * 
@@ -1732,44 +2010,39 @@ public Builder removeCategories(int index) { return this; } /** - * - * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public com.google.privacy.dlp.v2.InfoTypeCategory.Builder getCategoriesBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeCategory.Builder getCategoriesBuilder( + int index) { return getCategoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index) { + public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder( + int index) { if (categoriesBuilder_ == null) { - return categories_.get(index); - } else { + return categories_.get(index); } else { return categoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public java.util.List - getCategoriesOrBuilderList() { + public java.util.List + getCategoriesOrBuilderList() { if (categoriesBuilder_ != null) { return categoriesBuilder_.getMessageOrBuilderList(); } else { @@ -1777,8 +2050,6 @@ public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilde } } /** - * - * *
      * The category of the infoType.
      * 
@@ -1786,55 +2057,49 @@ public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilde * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ public com.google.privacy.dlp.v2.InfoTypeCategory.Builder addCategoriesBuilder() { - return getCategoriesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance()); + return getCategoriesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance()); } /** - * - * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public com.google.privacy.dlp.v2.InfoTypeCategory.Builder addCategoriesBuilder(int index) { - return getCategoriesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance()); + public com.google.privacy.dlp.v2.InfoTypeCategory.Builder addCategoriesBuilder( + int index) { + return getCategoriesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance()); } /** - * - * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public java.util.List - getCategoriesBuilderList() { + public java.util.List + getCategoriesBuilderList() { return getCategoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeCategory, - com.google.privacy.dlp.v2.InfoTypeCategory.Builder, - com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder> + com.google.privacy.dlp.v2.InfoTypeCategory, com.google.privacy.dlp.v2.InfoTypeCategory.Builder, com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder> getCategoriesFieldBuilder() { if (categoriesBuilder_ == null) { - categoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeCategory, - com.google.privacy.dlp.v2.InfoTypeCategory.Builder, - com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder>( - categories_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + categoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoTypeCategory, com.google.privacy.dlp.v2.InfoTypeCategory.Builder, com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder>( + categories_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); categories_ = null; } return categoriesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1844,12 +2109,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(); } @@ -1858,16 +2123,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; @@ -1882,4 +2147,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 70% 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 8344ac23..4cff91fb 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,181 +1,177 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under 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(); /** + *
+   * A list of available versions for the infotype.
+   * 
+ * + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + java.util.List + getVersionsList(); + /** + *
+   * A list of available versions for the infotype.
+   * 
* + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + com.google.privacy.dlp.v2.VersionDescription getVersions(int index); + /** + *
+   * A list of available versions for the infotype.
+   * 
* + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + int getVersionsCount(); + /** *
-   * The category of the infoType.
+   * A list of available versions for the infotype.
    * 
* - * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - java.util.List getCategoriesList(); + java.util.List + getVersionsOrBuilderList(); /** + *
+   * A list of available versions for the infotype.
+   * 
* + * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; + */ + com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder( + int index); + + /** + *
+   * The category of the infoType.
+   * 
* + * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; + */ + java.util.List + getCategoriesList(); + /** *
    * The category of the infoType.
    * 
@@ -184,8 +180,6 @@ public interface InfoTypeDescriptionOrBuilder */ com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index); /** - * - * *
    * The category of the infoType.
    * 
@@ -194,24 +188,21 @@ public interface InfoTypeDescriptionOrBuilder */ int getCategoriesCount(); /** - * - * *
    * The category of the infoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - java.util.List + java.util.List getCategoriesOrBuilderList(); /** - * - * *
    * The category of the infoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index); + com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder( + int index); } 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 c945199f..888d991e 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,33 +52,31 @@ 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) { @@ -102,39 +84,34 @@ private InfoTypeStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -142,14 +119,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 @@ -157,8 +131,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.
    * 
@@ -173,14 +145,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 @@ -189,7 +158,6 @@ public long getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -218,10 +187,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; @@ -231,7 +202,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); @@ -240,9 +211,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; } @@ -259,133 +232,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() @@ -393,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(); @@ -417,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_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 @@ -438,8 +404,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 { @@ -454,39 +419,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; @@ -532,47 +496,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.
      * 
@@ -593,15 +544,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(); @@ -612,8 +562,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor return this; } /** - * - * *
      * The type of finding this stat is for.
      * 
@@ -624,9 +572,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; } @@ -638,8 +584,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * The type of finding this stat is for.
      * 
@@ -658,8 +602,6 @@ public Builder clearInfoType() { return this; } /** - * - * *
      * The type of finding this stat is for.
      * 
@@ -667,13 +609,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.
      * 
@@ -684,14 +624,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.
      * 
@@ -699,32 +636,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 @@ -732,43 +663,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); } @@ -778,12 +703,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(); } @@ -792,16 +717,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; @@ -816,4 +741,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/InfoTypeSummary.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummary.java similarity index 64% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummary.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummary.java index 1b050df7..e626f5c9 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummary.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummary.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 infoType details for this column.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeSummary} */ -public final class InfoTypeSummary extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InfoTypeSummary extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeSummary) InfoTypeSummaryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InfoTypeSummary.newBuilder() to construct. private InfoTypeSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private InfoTypeSummary() {} + private InfoTypeSummary() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InfoTypeSummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InfoTypeSummary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,28 +52,31 @@ private InfoTypeSummary( 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(); + } + 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: { + + estimatedPrevalence_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,39 +84,34 @@ private InfoTypeSummary( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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_InfoTypeSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeSummary.class, - com.google.privacy.dlp.v2.InfoTypeSummary.Builder.class); + com.google.privacy.dlp.v2.InfoTypeSummary.class, com.google.privacy.dlp.v2.InfoTypeSummary.Builder.class); } public static final int INFO_TYPE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InfoType infoType_; /** - * - * *
    * The infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -137,14 +119,11 @@ public boolean hasInfoType() { return infoType_ != null; } /** - * - * *
    * The infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ @java.lang.Override @@ -152,8 +131,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** - * - * *
    * The infoType.
    * 
@@ -165,8 +142,23 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { return getInfoType(); } - private byte memoizedIsInitialized = -1; + public static final int ESTIMATED_PREVALENCE_FIELD_NUMBER = 2; + private int estimatedPrevalence_; + /** + *
+   * Approximate percentage of non-null rows that contained data detected by
+   * this infotype.
+   * 
+ * + * int32 estimated_prevalence = 2; + * @return The estimatedPrevalence. + */ + @java.lang.Override + public int getEstimatedPrevalence() { + return estimatedPrevalence_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,10 +170,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 (infoType_ != null) { output.writeMessage(1, getInfoType()); } + if (estimatedPrevalence_ != 0) { + output.writeInt32(2, estimatedPrevalence_); + } unknownFields.writeTo(output); } @@ -192,7 +188,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 (estimatedPrevalence_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, estimatedPrevalence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,18 +203,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.InfoTypeSummary)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InfoTypeSummary other = - (com.google.privacy.dlp.v2.InfoTypeSummary) obj; + com.google.privacy.dlp.v2.InfoTypeSummary other = (com.google.privacy.dlp.v2.InfoTypeSummary) obj; if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType().equals(other.getInfoType())) return false; + if (!getInfoType() + .equals(other.getInfoType())) return false; } + if (getEstimatedPrevalence() + != other.getEstimatedPrevalence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,132 +232,125 @@ public int hashCode() { hash = (37 * hash) + INFO_TYPE_FIELD_NUMBER; hash = (53 * hash) + getInfoType().hashCode(); } + hash = (37 * hash) + ESTIMATED_PREVALENCE_FIELD_NUMBER; + hash = (53 * hash) + getEstimatedPrevalence(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom(java.io.InputStream input) 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.InfoTypeSummary parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.InfoTypeSummary parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.InfoTypeSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 infoType details for this column.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeSummary} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeSummary) com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeSummary.class, - com.google.privacy.dlp.v2.InfoTypeSummary.Builder.class); + com.google.privacy.dlp.v2.InfoTypeSummary.class, com.google.privacy.dlp.v2.InfoTypeSummary.Builder.class); } // Construct using com.google.privacy.dlp.v2.InfoTypeSummary.newBuilder() @@ -362,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(); @@ -380,13 +377,15 @@ public Builder clear() { infoType_ = null; infoTypeBuilder_ = null; } + estimatedPrevalence_ = 0; + return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; } @java.lang.Override @@ -405,13 +404,13 @@ public com.google.privacy.dlp.v2.InfoTypeSummary build() { @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeSummary buildPartial() { - com.google.privacy.dlp.v2.InfoTypeSummary result = - new com.google.privacy.dlp.v2.InfoTypeSummary(this); + com.google.privacy.dlp.v2.InfoTypeSummary result = new com.google.privacy.dlp.v2.InfoTypeSummary(this); if (infoTypeBuilder_ == null) { result.infoType_ = infoType_; } else { result.infoType_ = infoTypeBuilder_.build(); } + result.estimatedPrevalence_ = estimatedPrevalence_; onBuilt(); return result; } @@ -420,39 +419,38 @@ public com.google.privacy.dlp.v2.InfoTypeSummary buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InfoTypeSummary) { - return mergeFrom((com.google.privacy.dlp.v2.InfoTypeSummary) other); + return mergeFrom((com.google.privacy.dlp.v2.InfoTypeSummary)other); } else { super.mergeFrom(other); return this; @@ -464,6 +462,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeSummary other) { if (other.hasInfoType()) { mergeInfoType(other.getInfoType()); } + if (other.getEstimatedPrevalence() != 0) { + setEstimatedPrevalence(other.getEstimatedPrevalence()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -495,47 +496,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 infoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** - * - * *
      * The 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(); } } /** - * - * *
      * The infoType.
      * 
@@ -556,15 +544,14 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * The 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(); @@ -575,8 +562,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor return this; } /** - * - * *
      * The infoType.
      * 
@@ -587,9 +572,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; } @@ -601,8 +584,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * The infoType.
      * 
@@ -621,8 +602,6 @@ public Builder clearInfoType() { return this; } /** - * - * *
      * The infoType.
      * 
@@ -630,13 +609,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 infoType.
      * 
@@ -647,14 +624,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 infoType.
      * 
@@ -662,24 +636,67 @@ 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 estimatedPrevalence_ ; + /** + *
+     * Approximate percentage of non-null rows that contained data detected by
+     * this infotype.
+     * 
+ * + * int32 estimated_prevalence = 2; + * @return The estimatedPrevalence. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public int getEstimatedPrevalence() { + return estimatedPrevalence_; + } + /** + *
+     * Approximate percentage of non-null rows that contained data detected by
+     * this infotype.
+     * 
+ * + * int32 estimated_prevalence = 2; + * @param value The estimatedPrevalence to set. + * @return This builder for chaining. + */ + public Builder setEstimatedPrevalence(int value) { + + estimatedPrevalence_ = value; + onChanged(); + return this; + } + /** + *
+     * Approximate percentage of non-null rows that contained data detected by
+     * this infotype.
+     * 
+ * + * int32 estimated_prevalence = 2; + * @return This builder for chaining. + */ + public Builder clearEstimatedPrevalence() { + + estimatedPrevalence_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,12 +706,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeSummary) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeSummary) private static final com.google.privacy.dlp.v2.InfoTypeSummary DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeSummary(); } @@ -703,16 +720,16 @@ public static com.google.privacy.dlp.v2.InfoTypeSummary getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -727,4 +744,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoTypeSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.java similarity index 56% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.java index 59cc8e50..cd8629d7 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.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 InfoTypeSummaryOrBuilder - extends +public interface InfoTypeSummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeSummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** - * - * *
    * The infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** - * - * *
    * The infoType.
    * 
@@ -57,4 +33,15 @@ public interface InfoTypeSummaryOrBuilder * .google.privacy.dlp.v2.InfoType info_type = 1; */ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); + + /** + *
+   * Approximate percentage of non-null rows that contained data detected by
+   * this infotype.
+   * 
+ * + * int32 estimated_prevalence = 2; + * @return The estimatedPrevalence. + */ + int getEstimatedPrevalence(); } 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..71eedcbc 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,29 +100,29 @@ 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() { - return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(4); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(7); } private static final InfoTypeSupportedBy[] VALUES = values(); @@ -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 4d06eb7d..4b759eb0 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,28 +57,22 @@ 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) {
@@ -103,7 +80,8 @@ private InfoTypeTransformations(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -112,30 +90,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
@@ -144,10 +116,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
@@ -158,8 +129,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
@@ -170,8 +139,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
@@ -180,11 +147,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
@@ -193,53 +158,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.
@@ -247,31 +196,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)
@@ -291,41 +240,35 @@ 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) {
@@ -333,7 +276,8 @@ private InfoTypeTransformation(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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_);
@@ -342,28 +286,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
@@ -377,8 +315,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
@@ -388,13 +324,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
@@ -408,8 +342,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
@@ -423,8 +355,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
@@ -434,23 +364,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 @@ -458,43 +384,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; @@ -506,7 +419,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -523,12 +437,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; @@ -538,19 +452,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; @@ -576,101 +490,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 @@ -680,8 +581,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A transformation to apply to text that is identified as a specific
      * info_type.
@@ -689,44 +588,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();
@@ -746,22 +640,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);
         }
@@ -769,10 +660,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)) {
@@ -796,54 +685,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()) {
@@ -862,10 +743,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_);
             }
@@ -889,14 +769,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) {
@@ -905,28 +782,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
@@ -943,8 +813,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
@@ -961,8 +829,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
@@ -979,8 +845,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
@@ -989,7 +853,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();
@@ -1003,8 +868,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
@@ -1025,8 +888,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
@@ -1049,8 +910,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
@@ -1059,7 +918,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();
@@ -1073,8 +933,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
@@ -1083,7 +941,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());
@@ -1094,8 +953,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
@@ -1116,8 +973,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
@@ -1130,7 +985,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);
@@ -1138,8 +994,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
@@ -1159,8 +1013,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
@@ -1180,8 +1032,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
@@ -1190,12 +1040,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
@@ -1204,16 +1053,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
@@ -1222,8 +1069,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 {
@@ -1231,8 +1078,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
@@ -1242,12 +1087,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
@@ -1256,13 +1099,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
@@ -1271,22 +1113,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_;
@@ -1294,61 +1134,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(); @@ -1362,15 +1182,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) { @@ -1384,25 +1200,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; } @@ -1414,15 +1222,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) { @@ -1436,71 +1240,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) { @@ -1513,33 +1298,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; @@ -1551,104 +1333,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; @@ -1660,7 +1416,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1674,7 +1431,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; @@ -1684,15 +1442,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; } @@ -1714,103 +1472,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
@@ -1820,23 +1571,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()
@@ -1844,17 +1593,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();
@@ -1868,9 +1617,9 @@ public Builder 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
@@ -1889,8 +1638,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)) {
@@ -1909,39 +1657,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;
@@ -1949,8 +1696,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()) {
@@ -1969,10 +1715,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_);
           }
@@ -1997,8 +1742,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) {
@@ -2007,42 +1751,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 { @@ -2050,16 +1781,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) { @@ -2069,19 +1796,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 { @@ -2089,16 +1811,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) { @@ -2115,21 +1833,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()); @@ -2140,19 +1852,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(); @@ -2166,16 +1873,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) { @@ -2192,20 +1895,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()); @@ -2216,21 +1914,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()); @@ -2241,24 +1933,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); @@ -2266,16 +1953,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) { @@ -2288,16 +1971,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) { @@ -2310,57 +1989,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 { @@ -2368,73 +2032,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(), @@ -2443,9 +2082,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); } @@ -2455,12 +2094,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(); } @@ -2469,16 +2108,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; @@ -2493,4 +2132,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 77% 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 3d7a375e..3896eabf 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,106 +60,92 @@ 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) {
@@ -184,7 +153,8 @@ private InspectConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -202,30 +172,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`,
@@ -234,14 +198,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
@@ -249,112 +210,92 @@ 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 for inspection.
    * This is not used for de-identification or data profiling.
+   * When redacting sensitive data from images, finding limits don't apply. They
+   * can cause unexpected or inconsistent results, where only some data is
+   * redacted. Don't include finding limits in
+   * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+   * requests. Otherwise, Cloud DLP returns an error.
    * 
* * 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) @@ -374,38 +315,32 @@ 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) { @@ -413,7 +348,8 @@ private FindingLimits( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -422,30 +358,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
@@ -454,13 +384,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
@@ -469,13 +396,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
@@ -488,21 +412,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.
@@ -510,29 +429,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)
@@ -551,34 +471,31 @@ 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) {
@@ -586,34 +503,29 @@ private InfoTypeLimit(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(
+              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
@@ -622,7 +534,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 @@ -630,8 +541,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
@@ -640,18 +549,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
@@ -669,14 +573,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 @@ -685,7 +586,6 @@ public int getMaxFindings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -697,7 +597,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -714,10 +615,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; @@ -727,19 +630,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; } @@ -763,96 +667,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 @@ -862,8 +757,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Max findings configuration per infoType, per content item or long
        * running DlpJob.
@@ -871,42 +764,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();
@@ -922,22 +811,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);
           }
@@ -946,8 +832,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 {
@@ -962,54 +847,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());
           }
@@ -1035,9 +912,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) {
@@ -1049,13 +924,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
@@ -1064,15 +934,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
@@ -1081,21 +948,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
@@ -1119,8 +981,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
@@ -1130,7 +990,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();
@@ -1141,8 +1002,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
@@ -1156,9 +1015,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;
             }
@@ -1170,8 +1027,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
@@ -1193,8 +1048,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
@@ -1205,13 +1058,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
@@ -1225,14 +1076,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
@@ -1243,32 +1091,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 @@ -1276,41 +1118,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) { @@ -1323,33 +1158,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; @@ -1361,17 +1193,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`,
@@ -1380,7 +1210,6 @@ public com.google.protobuf.Parser getParserForType() {
      * 
* * int32 max_findings_per_item = 1; - * * @return The maxFindingsPerItem. */ @java.lang.Override @@ -1391,8 +1220,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
@@ -1400,7 +1227,6 @@ public int getMaxFindingsPerItem() {
      * 
* * int32 max_findings_per_request = 2; - * * @return The maxFindingsPerRequest. */ @java.lang.Override @@ -1409,91 +1235,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; @@ -1505,7 +1306,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1525,15 +1327,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; @@ -1543,18 +1346,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; } @@ -1580,94 +1384,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 @@ -1677,33 +1474,33 @@ 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.
+     * When redacting sensitive data from images, finding limits don't apply. They
+     * can cause unexpected or inconsistent results, where only some data is
+     * redacted. Don't include finding limits in
+     * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+     * requests. Otherwise, Cloud DLP returns an error.
      * 
* * 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() @@ -1711,17 +1508,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(); @@ -1739,9 +1536,9 @@ public Builder 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 @@ -1760,15 +1557,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_; @@ -1783,41 +1578,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; @@ -1825,8 +1617,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()); } @@ -1851,10 +1642,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_); } @@ -1879,8 +1669,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) { @@ -1889,13 +1678,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`,
@@ -1904,7 +1690,6 @@ public Builder mergeFrom(
        * 
* * int32 max_findings_per_item = 1; - * * @return The maxFindingsPerItem. */ @java.lang.Override @@ -1912,8 +1697,6 @@ public int getMaxFindingsPerItem() { return maxFindingsPerItem_; } /** - * - * *
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectJobConfig`,
@@ -1922,19 +1705,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`,
@@ -1943,20 +1723,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
@@ -1964,7 +1741,6 @@ public Builder clearMaxFindingsPerItem() {
        * 
* * int32 max_findings_per_request = 2; - * * @return The maxFindingsPerRequest. */ @java.lang.Override @@ -1972,8 +1748,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
@@ -1981,19 +1755,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
@@ -2001,48 +1772,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 { @@ -2050,15 +1808,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) { @@ -2068,18 +1822,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 { @@ -2087,15 +1836,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) { @@ -2112,20 +1857,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()); @@ -2136,18 +1875,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(); @@ -2161,15 +1895,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) { @@ -2186,19 +1916,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()); @@ -2209,20 +1934,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()); @@ -2233,23 +1952,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); @@ -2257,15 +1971,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) { @@ -2278,15 +1988,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) { @@ -2299,54 +2005,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 { @@ -2354,70 +2045,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(), @@ -2426,7 +2092,6 @@ public Builder removeMaxFindingsPerInfoType(int index) { } return maxFindingsPerInfoTypeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2439,12 +2104,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(); } @@ -2453,16 +2118,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; @@ -2477,13 +2142,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
@@ -2503,8 +2167,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
@@ -2520,13 +2182,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
@@ -2546,8 +2206,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
@@ -2567,8 +2225,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
@@ -2584,15 +2240,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.
@@ -2600,16 +2255,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.
@@ -2617,29 +2268,28 @@ 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.
+   * When redacting sensitive data from images, finding limits don't apply. They
+   * can cause unexpected or inconsistent results, where only some data is
+   * redacted. Don't include finding limits in
+   * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+   * requests. Otherwise, Cloud DLP returns an error.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; - * * @return Whether the limits field is set. */ @java.lang.Override @@ -2647,29 +2297,32 @@ public boolean hasLimits() { return limits_ != null; } /** - * - * *
    * Configuration to control the number of findings returned.
    * This is not used for data profiling.
+   * When redacting sensitive data from images, finding limits don't apply. They
+   * can cause unexpected or inconsistent results, where only some data is
+   * redacted. Don't include finding limits in
+   * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+   * requests. Otherwise, Cloud DLP returns an error.
    * 
* * .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.
+   * When redacting sensitive data from images, finding limits don't apply. They
+   * can cause unexpected or inconsistent results, where only some data is
+   * redacted. Don't include finding limits in
+   * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+   * requests. Otherwise, Cloud DLP returns an error.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -2682,8 +2335,6 @@ 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][google.privacy.dlp.v2.Finding.quote].
@@ -2691,7 +2342,6 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
    * 
* * bool include_quote = 4; - * * @return The includeQuote. */ @java.lang.Override @@ -2702,15 +2352,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 @@ -2721,8 +2368,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.
@@ -2735,8 +2380,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.
@@ -2745,13 +2388,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.
@@ -2764,8 +2405,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.
@@ -2778,8 +2417,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.
@@ -2788,50 +2425,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;
             }
           };
   /**
-   *
-   *
    * 
    * 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 @@ -2839,14 +2468,11 @@ 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. */ @@ -2855,29 +2481,24 @@ 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. */ @@ -2885,14 +2506,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
@@ -2906,8 +2524,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
@@ -2917,13 +2533,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
@@ -2937,8 +2551,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
@@ -2952,8 +2564,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
@@ -2963,12 +2573,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;
@@ -2980,7 +2590,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
@@ -3020,38 +2631,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;
@@ -3061,24 +2678,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;
   }
@@ -3101,9 +2724,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();
@@ -3121,104 +2746,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
@@ -3227,23 +2845,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()
@@ -3251,19 +2867,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();
@@ -3303,9 +2919,9 @@ public Builder 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
@@ -3324,8 +2940,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)) {
@@ -3375,39 +2990,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;
@@ -3434,10 +3048,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_);
           }
@@ -3473,10 +3086,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_);
           }
@@ -3510,10 +3122,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_);
           }
@@ -3547,28 +3158,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
@@ -3591,8 +3195,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
@@ -3614,9 +3216,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
@@ -3639,8 +3239,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
@@ -3655,7 +3253,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();
@@ -3669,8 +3268,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
@@ -3697,8 +3294,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
@@ -3727,8 +3322,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
@@ -3743,7 +3336,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();
@@ -3757,8 +3351,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
@@ -3773,7 +3365,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());
@@ -3784,8 +3377,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
@@ -3812,8 +3403,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
@@ -3832,7 +3421,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);
@@ -3840,8 +3430,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
@@ -3867,8 +3455,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
@@ -3894,8 +3480,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
@@ -3910,12 +3494,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
@@ -3930,16 +3513,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
@@ -3954,8 +3535,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 {
@@ -3963,8 +3544,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
@@ -3980,12 +3559,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
@@ -4000,13 +3577,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
@@ -4021,22 +3597,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_;
@@ -4044,8 +3618,6 @@ public java.util.List getInfoTypesBu
 
     private int minLikelihood_ = 0;
     /**
-     *
-     *
      * 
      * Only returns findings equal or above this threshold. The default is
      * POSSIBLE.
@@ -4053,16 +3625,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.
@@ -4070,19 +3638,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.
@@ -4090,19 +3655,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.
@@ -4110,7 +3671,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. */ @@ -4118,14 +3678,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.
@@ -4133,11 +3691,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; @@ -4145,52 +3702,54 @@ 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.
+     * When redacting sensitive data from images, finding limits don't apply. They
+     * can cause unexpected or inconsistent results, where only some data is
+     * redacted. Don't include finding limits in
+     * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+     * requests. Otherwise, Cloud DLP returns an error.
      * 
* * .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.
+     * When redacting sensitive data from images, finding limits don't apply. They
+     * can cause unexpected or inconsistent results, where only some data is
+     * redacted. Don't include finding limits in
+     * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+     * requests. Otherwise, Cloud DLP returns an error.
      * 
* * .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.
+     * When redacting sensitive data from images, finding limits don't apply. They
+     * can cause unexpected or inconsistent results, where only some data is
+     * redacted. Don't include finding limits in
+     * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+     * requests. Otherwise, Cloud DLP returns an error.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -4209,11 +3768,14 @@ 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.
+     * When redacting sensitive data from images, finding limits don't apply. They
+     * can cause unexpected or inconsistent results, where only some data is
+     * redacted. Don't include finding limits in
+     * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+     * requests. Otherwise, Cloud DLP returns an error.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -4230,11 +3792,14 @@ public Builder setLimits( return this; } /** - * - * *
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
+     * When redacting sensitive data from images, finding limits don't apply. They
+     * can cause unexpected or inconsistent results, where only some data is
+     * redacted. Don't include finding limits in
+     * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+     * requests. Otherwise, Cloud DLP returns an error.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -4243,9 +3808,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; } @@ -4257,11 +3820,14 @@ 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.
+     * When redacting sensitive data from images, finding limits don't apply. They
+     * can cause unexpected or inconsistent results, where only some data is
+     * redacted. Don't include finding limits in
+     * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+     * requests. Otherwise, Cloud DLP returns an error.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -4278,26 +3844,32 @@ public Builder clearLimits() { return this; } /** - * - * *
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
+     * When redacting sensitive data from images, finding limits don't apply. They
+     * can cause unexpected or inconsistent results, where only some data is
+     * redacted. Don't include finding limits in
+     * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+     * requests. Otherwise, Cloud DLP returns an error.
      * 
* * .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.
+     * When redacting sensitive data from images, finding limits don't apply. They
+     * can cause unexpected or inconsistent results, where only some data is
+     * redacted. Don't include finding limits in
+     * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+     * requests. Otherwise, Cloud DLP returns an error.
      * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -4306,42 +3878,39 @@ 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.
+     * When redacting sensitive data from images, finding limits don't apply. They
+     * can cause unexpected or inconsistent results, where only some data is
+     * redacted. Don't include finding limits in
+     * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+     * requests. Otherwise, Cloud DLP returns an error.
      * 
* * .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][google.privacy.dlp.v2.Finding.quote].
@@ -4349,7 +3918,6 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
      * 
* * bool include_quote = 4; - * * @return The includeQuote. */ @java.lang.Override @@ -4357,8 +3925,6 @@ 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][google.privacy.dlp.v2.Finding.quote].
@@ -4366,19 +3932,16 @@ 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][google.privacy.dlp.v2.Finding.quote].
@@ -4386,27 +3949,23 @@ 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 @@ -4414,63 +3973,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.
@@ -4486,8 +4032,6 @@ public java.util.List getCustomInfoTyp
       }
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4503,8 +4047,6 @@ public int getCustomInfoTypesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4520,8 +4062,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.
@@ -4529,7 +4069,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();
@@ -4543,8 +4084,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.
@@ -4564,8 +4103,6 @@ public Builder setCustomInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4587,8 +4124,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.
@@ -4596,7 +4131,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();
@@ -4610,8 +4146,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.
@@ -4631,8 +4165,6 @@ public Builder addCustomInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4652,8 +4184,6 @@ public Builder addCustomInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4665,7 +4195,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);
@@ -4673,8 +4204,6 @@ public Builder addAllCustomInfoTypes(
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4693,8 +4222,6 @@ public Builder clearCustomInfoTypes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4713,8 +4240,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.
@@ -4722,12 +4247,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.
@@ -4738,14 +4262,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.
@@ -4753,8 +4274,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 {
@@ -4762,8 +4283,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.
@@ -4772,12 +4291,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.
@@ -4785,13 +4302,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.
@@ -4799,22 +4315,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(),
@@ -4824,8 +4334,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_);
@@ -4833,44 +4343,34 @@ 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. */ @@ -4878,19 +4378,17 @@ 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(); } @@ -4900,14 +4398,11 @@ public Builder setContentOptions(int index, com.google.privacy.dlp.v2.ContentOpt 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. */ @@ -4921,14 +4416,11 @@ 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. */ @@ -4942,14 +4434,11 @@ 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() { @@ -4959,28 +4448,23 @@ 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. */ @@ -4988,33 +4472,28 @@ 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 to set the value at. * @param value The enum numeric value on the wire for contentOptions to set. * @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. */ @@ -5025,18 +4504,16 @@ 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); @@ -5046,24 +4523,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
@@ -5080,8 +4551,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
@@ -5098,8 +4567,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
@@ -5116,8 +4583,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
@@ -5126,7 +4591,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();
@@ -5140,8 +4606,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
@@ -5162,8 +4626,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
@@ -5186,8 +4648,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
@@ -5196,7 +4656,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();
@@ -5210,8 +4671,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
@@ -5220,7 +4679,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());
@@ -5231,8 +4691,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
@@ -5253,8 +4711,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
@@ -5267,7 +4723,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);
@@ -5275,8 +4732,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
@@ -5296,8 +4751,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
@@ -5317,8 +4770,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
@@ -5327,12 +4778,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
@@ -5341,16 +4791,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
@@ -5359,8 +4807,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 {
@@ -5368,8 +4816,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
@@ -5379,12 +4825,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
@@ -5393,13 +4837,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
@@ -5408,30 +4851,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);
     }
 
@@ -5441,12 +4881,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();
   }
@@ -5455,16 +4895,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;
@@ -5479,4 +4919,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 88%
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 a90b9563..13f7f9cd 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,43 +110,49 @@ 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.
+   * When redacting sensitive data from images, finding limits don't apply. They
+   * can cause unexpected or inconsistent results, where only some data is
+   * redacted. Don't include finding limits in
+   * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+   * requests. Otherwise, Cloud DLP returns an error.
    * 
* * .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.
+   * When redacting sensitive data from images, finding limits don't apply. They
+   * can cause unexpected or inconsistent results, where only some data is
+   * redacted. Don't include finding limits in
+   * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+   * requests. Otherwise, Cloud DLP returns an error.
    * 
* * .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.
+   * When redacting sensitive data from images, finding limits don't apply. They
+   * can cause unexpected or inconsistent results, where only some data is
+   * redacted. Don't include finding limits in
+   * [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage]
+   * requests. Otherwise, Cloud DLP returns an error.
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; @@ -182,8 +160,6 @@ 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][google.privacy.dlp.v2.Finding.quote].
@@ -191,28 +167,22 @@ public interface InspectConfigOrBuilder
    * 
* * 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.
@@ -220,10 +190,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.
@@ -233,8 +202,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.
@@ -244,8 +211,6 @@ public interface InspectConfigOrBuilder
    */
   int getCustomInfoTypesCount();
   /**
-   *
-   *
    * 
    * CustomInfoTypes provided by the user. See
    * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -253,11 +218,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.
@@ -265,74 +228,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);
 
   /**
-   *
-   *
    * 
    * 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
@@ -341,10 +289,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 +302,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 +312,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 +320,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 +331,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 76%
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 1d6efa59..5f376ac9 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,66 +55,57 @@ 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) { @@ -139,33 +113,29 @@ private InspectContentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -182,7 +152,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ @java.lang.Override @@ -191,15 +160,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
@@ -216,15 +184,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 { @@ -235,15 +204,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 @@ -251,26 +217,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.
@@ -286,14 +245,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 @@ -301,14 +257,11 @@ public boolean hasItem() { return item_ != null; } /** - * - * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 3; - * * @return The item. */ @java.lang.Override @@ -316,8 +269,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** - * - * *
    * The item to inspect.
    * 
@@ -332,8 +283,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
@@ -343,7 +292,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 4; - * * @return The inspectTemplateName. */ @java.lang.Override @@ -352,15 +300,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
@@ -370,15 +317,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 { @@ -389,14 +337,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 @@ -405,29 +350,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 { @@ -436,7 +381,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -448,7 +392,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -477,10 +422,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_); @@ -496,25 +443,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; } @@ -545,127 +496,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() @@ -673,15 +615,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -707,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_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 @@ -728,8 +671,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_; @@ -751,39 +693,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; @@ -791,8 +732,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(); @@ -842,8 +782,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
@@ -860,13 +798,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; @@ -875,8 +813,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -893,14 +829,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 { @@ -908,8 +845,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -926,22 +861,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
@@ -958,18 +891,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
@@ -986,16 +916,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; @@ -1003,49 +933,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.
@@ -1067,8 +984,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.
@@ -1088,8 +1003,6 @@ public Builder setInspectConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1101,9 +1014,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;
         }
@@ -1115,8 +1026,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.
@@ -1136,8 +1045,6 @@ public Builder clearInspectConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1146,13 +1053,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.
@@ -1164,14 +1069,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.
@@ -1180,17 +1082,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_;
@@ -1198,33 +1097,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() { @@ -1235,8 +1125,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The item to inspect.
      * 
@@ -1257,15 +1145,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(); @@ -1276,8 +1163,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -1288,9 +1173,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; } @@ -1302,8 +1185,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -1322,8 +1203,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The item to inspect.
      * 
@@ -1331,13 +1210,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.
      * 
@@ -1348,12 +1225,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.
      * 
@@ -1361,17 +1237,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_; @@ -1379,8 +1252,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
@@ -1390,13 +1261,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; @@ -1405,8 +1276,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
@@ -1416,14 +1285,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 { @@ -1431,8 +1301,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
@@ -1442,22 +1310,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
@@ -1467,18 +1333,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
@@ -1488,16 +1351,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; @@ -1505,20 +1368,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; @@ -1527,21 +1388,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 { @@ -1549,68 +1409,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); } @@ -1620,12 +1473,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(); } @@ -1634,16 +1487,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; @@ -1658,4 +1511,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 68% 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 f8fe804f..5e4eb7d8 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,29 +52,26 @@ 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) { @@ -98,39 +79,34 @@ private InspectContentResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -138,14 +114,11 @@ public boolean hasResult() { return result_ != null; } /** - * - * *
    * The findings.
    * 
* * .google.privacy.dlp.v2.InspectResult result = 1; - * * @return The result. */ @java.lang.Override @@ -153,8 +126,6 @@ public com.google.privacy.dlp.v2.InspectResult getResult() { return result_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : result_; } /** - * - * *
    * The findings.
    * 
@@ -167,7 +138,6 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getResultOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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 (result_ != null) { output.writeMessage(1, getResult()); } @@ -193,7 +164,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; @@ -203,17 +175,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; @@ -235,127 +207,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() @@ -363,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -385,9 +349,9 @@ public Builder 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 @@ -406,8 +370,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 { @@ -421,39 +384,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; @@ -461,8 +423,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()); } @@ -497,47 +458,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.
      * 
@@ -558,15 +506,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(); @@ -577,8 +524,6 @@ public Builder setResult(com.google.privacy.dlp.v2.InspectResult.Builder builder return this; } /** - * - * *
      * The findings.
      * 
@@ -589,9 +534,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; } @@ -603,8 +546,6 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectResult value) { return this; } /** - * - * *
      * The findings.
      * 
@@ -623,8 +564,6 @@ public Builder clearResult() { return this; } /** - * - * *
      * The findings.
      * 
@@ -632,13 +571,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.
      * 
@@ -649,14 +586,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.
      * 
@@ -664,24 +598,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); } @@ -691,12 +622,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(); } @@ -705,16 +636,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; @@ -729,4 +660,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 586a8a9d..63d91f13 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,48 +52,39 @@ 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) { @@ -117,62 +92,51 @@ private InspectDataSourceDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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.
@@ -183,32 +147,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.
      * 
@@ -218,37 +174,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) @@ -267,45 +222,39 @@ 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) { @@ -313,40 +262,35 @@ private RequestedOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -354,26 +298,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.
@@ -382,22 +319,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 @@ -405,25 +338,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.
      * 
@@ -436,7 +362,6 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -448,7 +373,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (snapshotInspectTemplate_ != null) { output.writeMessage(1, getSnapshotInspectTemplate()); } @@ -465,12 +391,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; @@ -480,21 +406,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -521,95 +448,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 @@ -619,49 +538,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(); @@ -681,16 +595,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 @@ -704,8 +616,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 { @@ -724,53 +635,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()); } @@ -796,9 +700,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) { @@ -810,49 +712,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.
@@ -874,8 +763,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.
@@ -895,8 +782,6 @@ public Builder setSnapshotInspectTemplate(
         return this;
       }
       /**
-       *
-       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -908,9 +793,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;
           }
@@ -922,8 +805,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.
@@ -943,8 +824,6 @@ public Builder clearSnapshotInspectTemplate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -953,13 +832,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.
@@ -967,19 +844,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.
@@ -988,17 +861,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_;
@@ -1006,47 +876,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.
        * 
@@ -1067,8 +924,6 @@ public Builder setJobConfig(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** - * - * *
        * Inspect config.
        * 
@@ -1087,8 +942,6 @@ public Builder setJobConfig( return this; } /** - * - * *
        * Inspect config.
        * 
@@ -1099,9 +952,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; } @@ -1113,8 +964,6 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** - * - * *
        * Inspect config.
        * 
@@ -1133,8 +982,6 @@ public Builder clearJobConfig() { return this; } /** - * - * *
        * Inspect config.
        * 
@@ -1142,13 +989,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.
        * 
@@ -1159,14 +1004,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.
        * 
@@ -1174,22 +1016,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) { @@ -1202,32 +1040,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; @@ -1239,46 +1075,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.
@@ -1286,10 +1113,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.
@@ -1299,8 +1125,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.
@@ -1310,8 +1134,6 @@ public interface ResultOrBuilder
      */
     int getInfoTypeStatsCount();
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1319,11 +1141,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.
@@ -1331,35 +1151,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.
      * 
@@ -1369,39 +1182,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) @@ -1421,52 +1232,45 @@ 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) { @@ -1474,7 +1278,8 @@ private Result( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -1483,33 +1288,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 @@ -1520,14 +1319,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 @@ -1538,8 +1334,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.
@@ -1552,8 +1346,6 @@ public java.util.List getInfoTypeStatsL
       return infoTypeStats_;
     }
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1562,13 +1354,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.
@@ -1581,8 +1371,6 @@ public int getInfoTypeStatsCount() {
       return infoTypeStats_.size();
     }
     /**
-     *
-     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1595,8 +1383,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.
@@ -1605,21 +1391,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 @@ -1627,25 +1411,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.
      * 
@@ -1658,7 +1435,6 @@ public com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStats } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1670,7 +1446,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1693,16 +1470,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; @@ -1712,20 +1493,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; @@ -1739,9 +1523,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(); @@ -1756,94 +1542,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 @@ -1853,32 +1632,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() @@ -1886,17 +1660,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(); @@ -1920,9 +1694,9 @@ public Builder 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 @@ -1941,8 +1715,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_; @@ -1968,41 +1741,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; @@ -2010,8 +1780,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()); } @@ -2036,10 +1805,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_); } @@ -2067,8 +1835,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) { @@ -2077,19 +1844,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 @@ -2097,51 +1860,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 @@ -2149,61 +1903,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.
@@ -2219,8 +1960,6 @@ public java.util.List getInfoTypeStatsL
         }
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2236,8 +1975,6 @@ public int getInfoTypeStatsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2253,8 +1990,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.
@@ -2262,7 +1997,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();
@@ -2276,8 +2012,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.
@@ -2297,8 +2031,6 @@ public Builder setInfoTypeStats(
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2320,8 +2052,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.
@@ -2329,7 +2059,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();
@@ -2343,8 +2074,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.
@@ -2364,8 +2093,6 @@ public Builder addInfoTypeStats(
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2385,8 +2112,6 @@ public Builder addInfoTypeStats(
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2398,7 +2123,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);
@@ -2406,8 +2132,6 @@ public Builder addAllInfoTypeStats(
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2426,8 +2150,6 @@ public Builder clearInfoTypeStats() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2446,8 +2168,6 @@ public Builder removeInfoTypeStats(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2455,12 +2175,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.
@@ -2468,16 +2187,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.
@@ -2485,8 +2202,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 {
@@ -2494,8 +2211,6 @@ public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilde
         }
       }
       /**
-       *
-       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2504,12 +2219,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.
@@ -2517,13 +2230,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.
@@ -2531,22 +2243,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(),
@@ -2558,47 +2264,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.
        * 
@@ -2619,8 +2312,6 @@ public Builder setHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistics return this; } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2639,8 +2330,6 @@ public Builder setHybridStats( return this; } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2651,9 +2340,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; } @@ -2665,8 +2352,6 @@ public Builder mergeHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistic return this; } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2685,8 +2370,6 @@ public Builder clearHybridStats() { return this; } /** - * - * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2694,13 +2377,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.
        * 
@@ -2711,14 +2392,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.
        * 
@@ -2726,22 +2404,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) { @@ -2754,12 +2428,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(); } @@ -2768,16 +2442,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; @@ -2792,20 +2466,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 @@ -2813,50 +2484,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 @@ -2864,25 +2522,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.
    * 
@@ -2895,7 +2546,6 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder getRes } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2907,7 +2557,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -2924,10 +2575,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; @@ -2937,21 +2590,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; @@ -2978,126 +2632,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() @@ -3105,15 +2750,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3133,9 +2779,9 @@ public Builder 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 @@ -3154,8 +2800,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 { @@ -3174,39 +2819,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; @@ -3214,8 +2858,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()); } @@ -3241,8 +2884,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) { @@ -3254,60 +2896,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(); @@ -3321,18 +2944,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(); @@ -3343,24 +2962,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; } @@ -3372,14 +2984,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) { @@ -3393,64 +3002,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_; @@ -3458,47 +3051,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.
      * 
@@ -3519,8 +3099,6 @@ public Builder setResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Resu return this; } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3539,8 +3117,6 @@ public Builder setResult( return this; } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3551,9 +3127,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; } @@ -3565,8 +3139,6 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Re return this; } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3585,8 +3157,6 @@ public Builder clearResult() { return this; } /** - * - * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3594,13 +3164,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.
      * 
@@ -3611,14 +3179,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.
      * 
@@ -3626,24 +3191,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); } @@ -3653,12 +3215,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(); } @@ -3667,16 +3229,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; @@ -3691,4 +3253,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 6acb9148..c20c2080 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,62 +55,54 @@ 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) { @@ -135,7 +110,8 @@ private InspectJobConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -144,33 +120,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 @@ -178,25 +148,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.
    * 
@@ -211,14 +174,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 @@ -226,25 +186,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.
    * 
@@ -259,8 +212,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
@@ -268,7 +219,6 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
    * 
* * string inspect_template_name = 3; - * * @return The inspectTemplateName. */ @java.lang.Override @@ -277,15 +227,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
@@ -293,15 +242,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 { @@ -312,8 +262,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.
    * 
@@ -325,8 +273,6 @@ public java.util.List getActionsList() { return actions_; } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -334,13 +280,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.
    * 
@@ -352,8 +296,6 @@ public int getActionsCount() { return actions_.size(); } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -365,8 +307,6 @@ public com.google.privacy.dlp.v2.Action getActions(int index) { return actions_.get(index); } /** - * - * *
    * Actions to execute at the completion of the job.
    * 
@@ -374,12 +314,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; @@ -391,7 +331,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -414,16 +355,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; @@ -433,24 +377,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; } @@ -481,127 +428,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() @@ -609,17 +547,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(); @@ -647,9 +585,9 @@ public Builder 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 @@ -668,8 +606,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_; @@ -699,39 +636,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; @@ -768,10 +704,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_); } @@ -805,52 +740,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.
      * 
@@ -871,8 +792,6 @@ public Builder setStorageConfig(com.google.privacy.dlp.v2.StorageConfig value) { return this; } /** - * - * *
      * The data to scan.
      * 
@@ -891,8 +810,6 @@ public Builder setStorageConfig( return this; } /** - * - * *
      * The data to scan.
      * 
@@ -903,9 +820,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; } @@ -917,8 +832,6 @@ public Builder mergeStorageConfig(com.google.privacy.dlp.v2.StorageConfig value) return this; } /** - * - * *
      * The data to scan.
      * 
@@ -937,8 +850,6 @@ public Builder clearStorageConfig() { return this; } /** - * - * *
      * The data to scan.
      * 
@@ -946,13 +857,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.
      * 
@@ -963,14 +872,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.
      * 
@@ -978,17 +884,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_; @@ -996,47 +899,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.
      * 
@@ -1057,8 +947,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** - * - * *
      * How and what to scan for.
      * 
@@ -1077,8 +965,6 @@ public Builder setInspectConfig( return this; } /** - * - * *
      * How and what to scan for.
      * 
@@ -1089,9 +975,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; } @@ -1103,8 +987,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** - * - * *
      * How and what to scan for.
      * 
@@ -1123,8 +1005,6 @@ public Builder clearInspectConfig() { return this; } /** - * - * *
      * How and what to scan for.
      * 
@@ -1132,13 +1012,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.
      * 
@@ -1149,14 +1027,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.
      * 
@@ -1164,17 +1039,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_; @@ -1182,8 +1054,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
@@ -1191,13 +1061,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; @@ -1206,8 +1076,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
@@ -1215,14 +1083,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 { @@ -1230,8 +1099,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
@@ -1239,22 +1106,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
@@ -1262,18 +1127,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
@@ -1281,40 +1143,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.
      * 
@@ -1329,8 +1185,6 @@ public java.util.List getActionsList() { } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1345,8 +1199,6 @@ public int getActionsCount() { } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1361,15 +1213,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(); @@ -1383,15 +1234,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()); @@ -1402,8 +1252,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.
      * 
@@ -1424,15 +1272,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(); @@ -1446,15 +1293,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()); @@ -1465,15 +1311,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()); @@ -1484,8 +1329,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.
      * 
@@ -1496,7 +1339,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); @@ -1504,8 +1348,6 @@ public Builder addAllActions( return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1523,8 +1365,6 @@ public Builder clearActions() { return this; } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1542,44 +1382,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 { @@ -1587,8 +1422,6 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index) } } /** - * - * *
      * Actions to execute at the completion of the job.
      * 
@@ -1596,54 +1429,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); } @@ -1653,12 +1481,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(); } @@ -1667,16 +1495,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; @@ -1691,4 +1519,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 321a30a9..14f25ff5 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,28 +54,27 @@ 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) { @@ -100,7 +82,8 @@ private InspectResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -109,27 +92,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.
    * 
@@ -141,8 +119,6 @@ public java.util.List getFindingsList() { return findings_; } /** - * - * *
    * List of findings for an item.
    * 
@@ -150,13 +126,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.
    * 
@@ -168,8 +142,6 @@ public int getFindingsCount() { return findings_.size(); } /** - * - * *
    * List of findings for an item.
    * 
@@ -181,8 +153,6 @@ public com.google.privacy.dlp.v2.Finding getFindings(int index) { return findings_.get(index); } /** - * - * *
    * List of findings for an item.
    * 
@@ -190,15 +160,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.
@@ -209,7 +178,6 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index
    * 
* * bool findings_truncated = 2; - * * @return The findingsTruncated. */ @java.lang.Override @@ -218,7 +186,6 @@ public boolean getFindingsTruncated() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +197,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -247,10 +215,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; @@ -260,15 +230,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; } @@ -285,133 +257,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() @@ -419,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) { getFindingsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +409,9 @@ public Builder 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 @@ -466,8 +430,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)) { @@ -487,39 +450,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; @@ -546,10 +508,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_); } @@ -586,28 +547,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.
      * 
@@ -622,8 +576,6 @@ public java.util.List getFindingsList() { } } /** - * - * *
      * List of findings for an item.
      * 
@@ -638,8 +590,6 @@ public int getFindingsCount() { } } /** - * - * *
      * List of findings for an item.
      * 
@@ -654,15 +604,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(); @@ -676,8 +625,6 @@ public Builder setFindings(int index, com.google.privacy.dlp.v2.Finding value) { return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -696,8 +643,6 @@ public Builder setFindings( return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -718,15 +663,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(); @@ -740,15 +684,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()); @@ -759,8 +702,6 @@ public Builder addFindings(com.google.privacy.dlp.v2.Finding.Builder builderForV return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -779,8 +720,6 @@ public Builder addFindings( return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -791,7 +730,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); @@ -799,8 +739,6 @@ public Builder addAllFindings( return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -818,8 +756,6 @@ public Builder clearFindings() { return this; } /** - * - * *
      * List of findings for an item.
      * 
@@ -837,44 +773,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 { @@ -882,8 +813,6 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index } } /** - * - * *
      * List of findings for an item.
      * 
@@ -891,56 +820,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.
@@ -951,7 +873,6 @@ public java.util.List getFindingsBuil
      * 
* * bool findings_truncated = 2; - * * @return The findingsTruncated. */ @java.lang.Override @@ -959,8 +880,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.
@@ -971,19 +890,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.
@@ -994,18 +910,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); } @@ -1015,12 +930,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(); } @@ -1029,16 +944,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; @@ -1053,4 +968,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 beda0191..d4d91041 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,80 +58,70 @@ 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) {
@@ -156,33 +129,29 @@ private InspectTemplate(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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:
@@ -191,7 +160,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 @@ -200,15 +168,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:
@@ -217,15 +184,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 { @@ -236,14 +204,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 @@ -252,29 +217,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 { @@ -285,14 +250,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 @@ -301,29 +263,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 { @@ -334,15 +296,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 @@ -350,15 +308,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 @@ -366,14 +320,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() { @@ -383,15 +334,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 @@ -399,15 +346,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 @@ -415,14 +358,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() { @@ -432,14 +372,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 @@ -447,25 +384,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.
    * 
@@ -478,7 +408,6 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -490,7 +419,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -528,13 +458,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; @@ -544,28 +477,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; @@ -601,104 +539,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
@@ -708,23 +639,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()
@@ -732,15 +661,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -772,9 +702,9 @@ public Builder 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
@@ -793,8 +723,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_;
@@ -821,39 +750,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;
@@ -914,8 +842,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -924,13 +850,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; @@ -939,8 +865,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -949,14 +873,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 { @@ -964,8 +889,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -974,22 +897,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:
@@ -998,18 +919,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:
@@ -1018,16 +936,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; @@ -1035,20 +953,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; @@ -1057,21 +973,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 { @@ -1079,61 +994,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; @@ -1141,20 +1049,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; @@ -1163,21 +1069,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 { @@ -1185,61 +1090,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; @@ -1247,58 +1145,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) { @@ -1314,17 +1193,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(); @@ -1335,21 +1211,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; } @@ -1361,15 +1233,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) { @@ -1383,64 +1251,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_; @@ -1448,58 +1300,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) { @@ -1515,17 +1348,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(); @@ -1536,21 +1366,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; } @@ -1562,15 +1388,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) { @@ -1584,64 +1406,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_; @@ -1649,47 +1455,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.
      * 
@@ -1710,8 +1503,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1730,8 +1521,6 @@ public Builder setInspectConfig( return this; } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1742,9 +1531,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; } @@ -1756,8 +1543,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1776,8 +1561,6 @@ public Builder clearInspectConfig() { return this; } /** - * - * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1785,13 +1568,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.
      * 
@@ -1802,14 +1583,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.
      * 
@@ -1817,24 +1595,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); } @@ -1844,12 +1619,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(); } @@ -1858,16 +1633,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; @@ -1882,4 +1657,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 fbcb6702..0a062e2b 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 6bc309bf..add9b787 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,50 +53,41 @@ 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) {
@@ -120,40 +95,35 @@ private InspectionRule(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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;
     }
@@ -169,36 +139,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 @@ -206,26 +170,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.
    * 
@@ -233,24 +192,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 @@ -258,26 +213,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.
    * 
@@ -287,13 +237,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; @@ -305,10 +254,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_); @@ -323,14 +272,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; @@ -340,7 +287,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); @@ -350,10 +297,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: @@ -386,104 +335,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`.
@@ -491,23 +433,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()
@@ -515,15 +455,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -533,9 +474,9 @@ public Builder 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
@@ -554,8 +495,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_;
@@ -579,39 +519,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;
@@ -621,20 +560,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();
@@ -664,12 +600,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() {
@@ -679,21 +615,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 @@ -701,15 +631,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 @@ -718,28 +644,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(); @@ -753,18 +673,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(); @@ -775,27 +691,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; } @@ -811,14 +718,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) { @@ -837,93 +741,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 @@ -931,14 +809,11 @@ public boolean hasExclusionRule() { return typeCase_ == 2; } /** - * - * *
      * Exclusion rule.
      * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; - * * @return The exclusionRule. */ @java.lang.Override @@ -956,8 +831,6 @@ public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() { } } /** - * - * *
      * Exclusion rule.
      * 
@@ -978,8 +851,6 @@ public Builder setExclusionRule(com.google.privacy.dlp.v2.ExclusionRule value) { return this; } /** - * - * *
      * Exclusion rule.
      * 
@@ -998,8 +869,6 @@ public Builder setExclusionRule( return this; } /** - * - * *
      * Exclusion rule.
      * 
@@ -1008,13 +877,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; } @@ -1030,8 +896,6 @@ public Builder mergeExclusionRule(com.google.privacy.dlp.v2.ExclusionRule value) return this; } /** - * - * *
      * Exclusion rule.
      * 
@@ -1055,8 +919,6 @@ public Builder clearExclusionRule() { return this; } /** - * - * *
      * Exclusion rule.
      * 
@@ -1067,8 +929,6 @@ public com.google.privacy.dlp.v2.ExclusionRule.Builder getExclusionRuleBuilder() return getExclusionRuleFieldBuilder().getBuilder(); } /** - * - * *
      * Exclusion rule.
      * 
@@ -1087,8 +947,6 @@ public com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilde } } /** - * - * *
      * Exclusion rule.
      * 
@@ -1096,30 +954,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); } @@ -1129,12 +983,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(); } @@ -1143,16 +997,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; @@ -1167,4 +1021,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 64d6a90a..950f00c6 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,35 +56,31 @@ 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) {
@@ -109,7 +88,8 @@ private InspectionRuleSet(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -121,27 +101,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.
    * 
@@ -153,8 +128,6 @@ public java.util.List getInfoTypesList() { return infoTypes_; } /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -162,13 +135,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.
    * 
@@ -180,8 +151,6 @@ public int getInfoTypesCount() { return infoTypes_.size(); } /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -193,8 +162,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { return infoTypes_.get(index); } /** - * - * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -202,15 +169,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.
    * 
@@ -222,8 +188,6 @@ public java.util.List getRulesList() { return rules_; } /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -231,13 +195,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.
    * 
@@ -249,8 +211,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -262,8 +222,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.
    * 
@@ -271,12 +229,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; @@ -288,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -305,10 +264,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; @@ -318,16 +279,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; } @@ -352,104 +314,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.
@@ -457,23 +412,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()
@@ -481,18 +434,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();
@@ -512,9 +465,9 @@ public Builder 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
@@ -533,8 +486,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)) {
@@ -562,39 +514,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;
@@ -621,10 +572,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_);
           }
@@ -648,10 +598,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_);
           }
@@ -685,28 +634,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.
      * 
@@ -721,8 +663,6 @@ public java.util.List getInfoTypesList() { } } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -737,8 +677,6 @@ public int getInfoTypesCount() { } } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -753,15 +691,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(); @@ -775,8 +712,6 @@ public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoType value) return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -795,8 +730,6 @@ public Builder setInfoTypes( return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -817,15 +750,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(); @@ -839,15 +771,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()); @@ -858,8 +789,6 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType.Builder builderFo return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -878,8 +807,6 @@ public Builder addInfoTypes( return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -890,7 +817,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); @@ -898,8 +826,6 @@ public Builder addAllInfoTypes( return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -917,8 +843,6 @@ public Builder clearInfoTypes() { return this; } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -936,44 +860,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 { @@ -981,8 +900,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int ind } } /** - * - * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -990,71 +907,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.
      * 
@@ -1069,8 +975,6 @@ public java.util.List getRulesList() { } } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1085,8 +989,6 @@ public int getRulesCount() { } } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1101,15 +1003,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(); @@ -1123,8 +1024,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.
      * 
@@ -1143,8 +1042,6 @@ public Builder setRules( return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1165,15 +1062,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(); @@ -1187,15 +1083,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()); @@ -1206,8 +1101,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.
      * 
@@ -1226,8 +1119,6 @@ public Builder addRules( return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1238,7 +1129,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); @@ -1246,8 +1138,6 @@ public Builder addAllRules( return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1265,8 +1155,6 @@ public Builder clearRules() { return this; } /** - * - * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1284,44 +1172,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 { @@ -1329,8 +1212,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.
      * 
@@ -1338,54 +1219,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); } @@ -1395,12 +1271,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(); } @@ -1409,16 +1285,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; @@ -1433,4 +1309,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 a0a79b9a..5f84912e 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,123 +60,108 @@ 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) {
@@ -201,7 +169,8 @@ private JobTrigger(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -213,25 +182,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
@@ -241,10 +205,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.
      * 
@@ -253,8 +216,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
      * Trigger is healthy.
      * 
@@ -263,8 +224,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ HEALTHY(1), /** - * - * *
      * Trigger is temporarily paused.
      * 
@@ -273,8 +232,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ PAUSED(2), /** - * - * *
      * Trigger is cancelled and can not be resumed.
      * 
@@ -286,8 +243,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unused.
      * 
@@ -296,8 +251,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Trigger is healthy.
      * 
@@ -306,8 +259,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEALTHY_VALUE = 1; /** - * - * *
      * Trigger is temporarily paused.
      * 
@@ -316,8 +267,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAUSED_VALUE = 2; /** - * - * *
      * Trigger is cancelled and can not be resumed.
      * 
@@ -326,6 +275,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( @@ -350,51 +300,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; @@ -411,38 +360,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.
      * 
@@ -452,32 +392,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.
      * 
@@ -489,37 +421,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) @@ -538,44 +469,41 @@ 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) { @@ -583,40 +511,35 @@ private Trigger( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -632,36 +555,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 @@ -669,26 +586,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.
      * 
@@ -698,21 +610,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 @@ -720,26 +629,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.
      * 
@@ -749,13 +653,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; @@ -767,7 +670,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -784,14 +688,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; @@ -801,21 +703,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: @@ -848,94 +751,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 @@ -945,32 +842,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() @@ -978,15 +870,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -996,9 +889,9 @@ public Builder 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 @@ -1017,8 +910,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_; @@ -1042,41 +934,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; @@ -1086,20 +975,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(); @@ -1129,12 +1015,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() { @@ -1144,20 +1030,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 @@ -1165,14 +1046,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 @@ -1190,8 +1068,6 @@ public com.google.privacy.dlp.v2.Schedule getSchedule() { } } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1212,15 +1088,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(); @@ -1231,8 +1106,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.
        * 
@@ -1241,13 +1114,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; } @@ -1263,8 +1133,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.
        * 
@@ -1288,8 +1156,6 @@ public Builder clearSchedule() { return this; } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1300,8 +1166,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.
        * 
@@ -1320,8 +1184,6 @@ public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() { } } /** - * - * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1329,42 +1191,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 @@ -1372,14 +1224,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 @@ -1397,8 +1246,6 @@ public com.google.privacy.dlp.v2.Manual getManual() { } } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1419,15 +1266,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(); @@ -1438,8 +1284,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.
        * 
@@ -1448,13 +1292,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; } @@ -1470,8 +1311,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.
        * 
@@ -1495,8 +1334,6 @@ public Builder clearManual() { return this; } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1507,8 +1344,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.
        * 
@@ -1527,8 +1362,6 @@ public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() { } } /** - * - * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1536,28 +1369,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) { @@ -1570,12 +1398,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(); } @@ -1584,16 +1412,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; @@ -1608,19 +1436,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; } @@ -1636,29 +1462,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
@@ -1666,7 +1488,6 @@ public JobCase getJobCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1675,15 +1496,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
@@ -1691,15 +1511,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 { @@ -1710,14 +1531,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 @@ -1726,29 +1544,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 { @@ -1759,14 +1577,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 @@ -1775,29 +1590,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 { @@ -1807,14 +1622,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 @@ -1822,26 +1634,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.
    * 
@@ -1851,7 +1658,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(); } @@ -1859,8 +1666,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
@@ -1874,8 +1679,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
@@ -1885,13 +1688,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
@@ -1905,8 +1706,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
@@ -1920,8 +1719,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
@@ -1931,15 +1728,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.
@@ -1947,17 +1743,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.
@@ -1965,18 +1757,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.
@@ -1984,17 +1772,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.
@@ -2002,17 +1786,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.
@@ -2020,27 +1800,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 @@ -2048,15 +1823,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 @@ -2064,14 +1835,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() { @@ -2081,15 +1849,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 @@ -2097,15 +1861,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 @@ -2113,14 +1873,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() { @@ -2130,16 +1887,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 @@ -2147,16 +1899,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 @@ -2164,15 +1911,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() { @@ -2182,45 +1925,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; @@ -2232,7 +1961,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2282,27 +2012,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; @@ -2312,35 +2047,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: @@ -2397,103 +2141,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.
@@ -2501,23 +2239,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()
@@ -2525,18 +2261,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();
@@ -2584,9 +2320,9 @@ public Builder 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
@@ -2660,39 +2396,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;
@@ -2731,10 +2466,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_);
           }
@@ -2758,10 +2492,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_);
           }
@@ -2780,15 +2513,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();
@@ -2818,12 +2549,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() {
@@ -2837,8 +2568,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
@@ -2846,13 +2575,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; @@ -2861,8 +2590,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2870,14 +2597,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 { @@ -2885,8 +2613,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2894,22 +2620,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
@@ -2917,18 +2641,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
@@ -2936,16 +2657,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; @@ -2953,20 +2674,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; @@ -2975,21 +2694,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 { @@ -2997,61 +2715,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; @@ -3059,20 +2770,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; @@ -3081,21 +2790,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 { @@ -3103,80 +2811,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 @@ -3184,14 +2879,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 @@ -3209,8 +2901,6 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { } } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3231,8 +2921,6 @@ public Builder setInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3251,8 +2939,6 @@ public Builder setInspectJob( return this; } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3261,13 +2947,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; } @@ -3283,8 +2966,6 @@ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3308,8 +2989,6 @@ public Builder clearInspectJob() { return this; } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3320,8 +2999,6 @@ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getInspectJobBuilder() return getInspectJobFieldBuilder().getBuilder(); } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3340,8 +3017,6 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde } } /** - * - * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3349,50 +3024,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
@@ -3409,8 +3071,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
@@ -3427,8 +3087,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
@@ -3445,8 +3103,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
@@ -3455,7 +3111,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();
@@ -3469,8 +3126,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
@@ -3491,8 +3146,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
@@ -3515,8 +3168,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
@@ -3525,7 +3176,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();
@@ -3539,8 +3191,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
@@ -3561,8 +3211,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
@@ -3583,8 +3231,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
@@ -3597,7 +3243,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);
@@ -3605,8 +3252,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
@@ -3626,8 +3271,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
@@ -3647,8 +3290,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
@@ -3657,12 +3298,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
@@ -3671,16 +3311,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
@@ -3689,8 +3327,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 {
@@ -3698,8 +3336,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
@@ -3709,12 +3345,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
@@ -3723,13 +3357,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
@@ -3738,47 +3371,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.
@@ -3786,9 +3410,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) { @@ -3798,8 +3420,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.
@@ -3807,9 +3427,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) { @@ -3819,8 +3437,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.
@@ -3828,9 +3444,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) { @@ -3840,8 +3454,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.
@@ -3849,11 +3461,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(); @@ -3867,8 +3478,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.
@@ -3876,11 +3485,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()); @@ -3891,8 +3499,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.
@@ -3900,9 +3506,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) { @@ -3918,8 +3522,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.
@@ -3927,11 +3529,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(); @@ -3945,8 +3546,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.
@@ -3954,11 +3553,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()); @@ -3969,8 +3567,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.
@@ -3978,11 +3574,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()); @@ -3993,8 +3588,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.
@@ -4002,15 +3595,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); @@ -4018,8 +3610,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.
@@ -4027,9 +3617,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) { @@ -4042,8 +3630,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.
@@ -4051,9 +3637,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) { @@ -4066,8 +3650,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.
@@ -4075,16 +3657,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.
@@ -4092,20 +3671,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.
@@ -4113,12 +3688,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 { @@ -4126,8 +3699,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.
@@ -4135,17 +3706,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.
@@ -4153,17 +3720,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.
@@ -4171,26 +3735,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_; @@ -4198,58 +3758,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) { @@ -4265,17 +3806,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(); @@ -4286,21 +3824,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; } @@ -4312,15 +3846,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) { @@ -4334,64 +3864,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_; @@ -4399,58 +3913,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) { @@ -4466,17 +3961,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(); @@ -4487,21 +3979,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; } @@ -4513,15 +4001,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) { @@ -4535,64 +4019,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_; @@ -4600,58 +4068,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) { @@ -4667,17 +4116,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(); @@ -4688,23 +4134,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; } @@ -4716,15 +4156,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) { @@ -4738,64 +4174,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_; @@ -4803,73 +4223,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. */ @@ -4877,33 +4275,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); } @@ -4913,12 +4306,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(); } @@ -4927,16 +4320,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; @@ -4951,4 +4344,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 74bddfff..4772756c 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,40 +57,35 @@ 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) {
@@ -115,7 +93,8 @@ private Key(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -124,29 +103,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.
@@ -155,13 +129,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.
@@ -170,14 +141,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
@@ -185,13 +154,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
@@ -199,14 +165,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.
@@ -215,13 +178,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.
@@ -230,13 +190,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.
@@ -245,16 +202,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.
@@ -263,31 +218,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)
@@ -306,33 +261,30 @@ 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:
-              {
-                idType_ = input.readInt64();
-                idTypeCase_ = 2;
-                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: {
+              idType_ = input.readInt64();
+              idTypeCase_ = 2;
+              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) {
@@ -340,40 +292,35 @@ private PathElement(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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;
       }
@@ -389,31 +336,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.
@@ -422,7 +364,6 @@ public IdTypeCase getIdTypeCase() {
      * 
* * string kind = 1; - * * @return The kind. */ @java.lang.Override @@ -431,15 +372,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.
@@ -448,15 +388,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 { @@ -466,8 +407,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
@@ -475,7 +414,6 @@ public com.google.protobuf.ByteString getKindBytes() {
      * 
* * int64 id = 2; - * * @return Whether the id field is set. */ @java.lang.Override @@ -483,8 +421,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
@@ -492,7 +428,6 @@ public boolean hasId() {
      * 
* * int64 id = 2; - * * @return The id. */ @java.lang.Override @@ -505,8 +440,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.
@@ -515,15 +448,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.
@@ -532,7 +462,6 @@ public boolean hasName() {
      * 
* * string name = 3; - * * @return The name. */ public java.lang.String getName() { @@ -543,7 +472,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; @@ -552,8 +482,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -562,17 +490,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; } @@ -583,7 +512,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -595,12 +523,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_); @@ -618,9 +548,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_); @@ -633,22 +563,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: @@ -669,7 +601,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; @@ -683,94 +616,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 @@ -780,8 +707,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.
@@ -790,24 +715,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()
@@ -815,15 +737,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -835,9 +758,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
@@ -856,8 +779,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_;
@@ -874,41 +796,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;
@@ -922,22 +841,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();
@@ -967,12 +883,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() {
@@ -982,10 +898,9 @@ public Builder clearIdType() {
         return this;
       }
 
+
       private java.lang.Object kind_ = "";
       /**
-       *
-       *
        * 
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -994,13 +909,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; @@ -1009,8 +924,6 @@ public java.lang.String getKind() { } } /** - * - * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -1019,14 +932,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 { @@ -1034,8 +948,6 @@ public com.google.protobuf.ByteString getKindBytes() { } } /** - * - * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -1044,22 +956,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.
@@ -1068,18 +978,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.
@@ -1088,24 +995,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
@@ -1113,15 +1018,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
@@ -1129,7 +1031,6 @@ public boolean hasId() {
        * 
* * int64 id = 2; - * * @return The id. */ public long getId() { @@ -1139,8 +1040,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
@@ -1148,7 +1047,6 @@ public long getId() {
        * 
* * int64 id = 2; - * * @param value The id to set. * @return This builder for chaining. */ @@ -1159,8 +1057,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
@@ -1168,7 +1064,6 @@ public Builder setId(long value) {
        * 
* * int64 id = 2; - * * @return This builder for chaining. */ public Builder clearId() { @@ -1181,8 +1076,6 @@ public Builder clearId() { } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1191,7 +1084,6 @@ public Builder clearId() {
        * 
* * string name = 3; - * * @return Whether the name field is set. */ @java.lang.Override @@ -1199,8 +1091,6 @@ public boolean hasName() { return idTypeCase_ == 3; } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1209,7 +1099,6 @@ public boolean hasName() {
        * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -1219,7 +1108,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; @@ -1230,8 +1120,6 @@ public java.lang.String getName() { } } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1240,18 +1128,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; } @@ -1261,8 +1150,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1271,22 +1158,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.
@@ -1295,7 +1180,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1307,8 +1191,6 @@ public Builder clearName() { return this; } /** - * - * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1317,21 +1199,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) { @@ -1344,12 +1225,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(); } @@ -1358,16 +1239,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; @@ -1382,13 +1263,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.
@@ -1396,7 +1276,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 @@ -1404,8 +1283,6 @@ public boolean hasPartitionId() { return partitionId_ != null; } /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1413,18 +1290,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.
@@ -1441,8 +1313,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
@@ -1461,8 +1331,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
@@ -1477,13 +1345,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
@@ -1502,8 +1368,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
@@ -1522,8 +1386,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
@@ -1538,12 +1400,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;
@@ -1555,7 +1417,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -1572,10 +1435,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;
@@ -1585,7 +1450,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);
@@ -1594,9 +1459,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;
   }
@@ -1621,103 +1488,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
@@ -1727,20 +1588,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);
     }
@@ -1750,17 +1610,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();
@@ -1780,9 +1640,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
@@ -1825,39 +1685,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;
@@ -1887,10 +1746,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_);
           }
@@ -1924,18 +1782,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.
@@ -1943,15 +1795,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.
@@ -1959,21 +1808,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.
@@ -1996,8 +1840,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.
@@ -2006,7 +1848,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();
@@ -2017,8 +1860,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.
@@ -2031,9 +1872,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;
         }
@@ -2045,8 +1884,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.
@@ -2067,8 +1904,6 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2078,13 +1913,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.
@@ -2097,14 +1930,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.
@@ -2114,41 +1944,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
@@ -2170,8 +1991,6 @@ public java.util.List getPathList() {
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2193,8 +2012,6 @@ public int getPathCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2216,8 +2033,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
@@ -2231,7 +2046,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();
@@ -2245,8 +2061,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
@@ -2272,8 +2086,6 @@ public Builder setPath(
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2301,8 +2113,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
@@ -2316,7 +2126,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();
@@ -2330,8 +2141,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
@@ -2345,7 +2154,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());
@@ -2356,8 +2166,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
@@ -2383,8 +2191,6 @@ public Builder addPath(
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2402,7 +2208,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);
@@ -2410,8 +2217,6 @@ public Builder addAllPath(
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2436,8 +2241,6 @@ public Builder clearPath() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2462,8 +2265,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
@@ -2477,12 +2278,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
@@ -2496,16 +2296,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
@@ -2519,8 +2317,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 {
@@ -2528,8 +2326,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
@@ -2544,12 +2340,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
@@ -2563,13 +2357,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
@@ -2583,29 +2376,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);
     }
 
@@ -2615,12 +2406,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();
   }
@@ -2629,16 +2420,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;
@@ -2653,4 +2444,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 abb80c1a..67f3b4c7 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,20 +53,19 @@ 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) { @@ -91,39 +73,34 @@ private KindExpression( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -132,29 +109,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,14 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -225,127 +203,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() @@ -353,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(); @@ -371,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_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 @@ -392,8 +362,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; @@ -403,39 +372,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; @@ -479,20 +447,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; @@ -501,21 +467,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 { @@ -523,68 +488,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); } @@ -594,12 +552,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(); } @@ -608,16 +566,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; @@ -632,4 +590,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 d01ed916..691e82ed 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,25 +62,24 @@ 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) {
@@ -105,39 +87,34 @@ private KmsWrappedCryptoKey(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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 @@ -148,14 +125,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 @@ -164,29 +138,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 { @@ -195,7 +169,6 @@ public com.google.protobuf.ByteString getCryptoKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -224,7 +198,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_); @@ -237,16 +212,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; } @@ -267,104 +243,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.
@@ -379,23 +348,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()
@@ -403,15 +370,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       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 +391,9 @@ public Builder 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
@@ -444,8 +412,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();
@@ -456,39 +423,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;
@@ -535,14 +501,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 @@ -550,39 +513,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; @@ -590,20 +547,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; @@ -612,21 +567,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 { @@ -634,68 +588,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); } @@ -705,12 +652,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(); } @@ -719,16 +666,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; @@ -743,4 +690,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 71% 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 1d97aa32..b0a4fe4c 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,60 +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; /** - * - * *
  * Configuration for a custom dictionary created from a data source of any size
  * up to the maximum size defined in the
  * [limits](https://cloud.google.com/dlp/limits) page. The artifacts of
- * dictionary creation are stored in the specified Google Cloud Storage
+ * dictionary creation are stored in the specified Cloud Storage
  * location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries
  * that satisfy the size requirements.
  * 
* * 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,61 +57,54 @@ 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) { @@ -135,40 +112,35 @@ private LargeCustomDictionaryConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -184,40 +156,34 @@ 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
+   * Location to store dictionary artifacts in Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
    * artifacts are modified, the dictionary is considered invalid and can no
    * longer be used.
    * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; - * * @return Whether the outputPath field is set. */ @java.lang.Override @@ -225,30 +191,23 @@ public boolean hasOutputPath() { return outputPath_ != null; } /** - * - * *
-   * Location to store dictionary artifacts in Google Cloud Storage. These files
+   * Location to store dictionary artifacts in Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
    * artifacts are modified, the dictionary is considered invalid and can no
    * longer be used.
    * 
* * .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
+   * Location to store dictionary artifacts in Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
    * artifacts are modified, the dictionary is considered invalid and can no
    * longer be used.
@@ -263,14 +222,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 @@ -278,26 +234,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.
    * 
@@ -307,21 +258,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 @@ -329,26 +277,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.
    * 
@@ -358,13 +301,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; @@ -376,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 (outputPath_ != null) { output.writeMessage(1, getOutputPath()); } @@ -396,17 +339,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; @@ -416,25 +358,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: @@ -472,132 +416,122 @@ 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
    * [limits](https://cloud.google.com/dlp/limits) page. The artifacts of
-   * dictionary creation are stored in the specified Google Cloud Storage
+   * dictionary creation are stored in the specified Cloud Storage
    * location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries
    * that satisfy the size requirements.
    * 
* * 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() @@ -605,15 +539,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +564,9 @@ public Builder 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 @@ -650,8 +585,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 { @@ -680,39 +614,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; @@ -720,26 +653,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(); @@ -760,8 +689,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) { @@ -770,12 +698,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() { @@ -785,57 +713,45 @@ 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
+     * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
      * artifacts are modified, the dictionary is considered invalid and can no
      * longer be used.
      * 
* * .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
+     * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
      * artifacts are modified, the dictionary is considered invalid and can no
      * longer be used.
      * 
* * .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
+     * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
      * artifacts are modified, the dictionary is considered invalid and can no
      * longer be used.
@@ -857,10 +773,8 @@ public Builder setOutputPath(com.google.privacy.dlp.v2.CloudStoragePath value) {
       return this;
     }
     /**
-     *
-     *
      * 
-     * Location to store dictionary artifacts in Google Cloud Storage. These files
+     * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
      * artifacts are modified, the dictionary is considered invalid and can no
      * longer be used.
@@ -880,10 +794,8 @@ public Builder setOutputPath(
       return this;
     }
     /**
-     *
-     *
      * 
-     * Location to store dictionary artifacts in Google Cloud Storage. These files
+     * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
      * artifacts are modified, the dictionary is considered invalid and can no
      * longer be used.
@@ -895,9 +807,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;
         }
@@ -909,10 +819,8 @@ public Builder mergeOutputPath(com.google.privacy.dlp.v2.CloudStoragePath value)
       return this;
     }
     /**
-     *
-     *
      * 
-     * Location to store dictionary artifacts in Google Cloud Storage. These files
+     * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
      * artifacts are modified, the dictionary is considered invalid and can no
      * longer be used.
@@ -932,10 +840,8 @@ public Builder clearOutputPath() {
       return this;
     }
     /**
-     *
-     *
      * 
-     * Location to store dictionary artifacts in Google Cloud Storage. These files
+     * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
      * artifacts are modified, the dictionary is considered invalid and can no
      * longer be used.
@@ -944,15 +850,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
+     * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
      * artifacts are modified, the dictionary is considered invalid and can no
      * longer be used.
@@ -964,16 +868,13 @@ 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
+     * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
      * artifacts are modified, the dictionary is considered invalid and can no
      * longer be used.
@@ -982,36 +883,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 @@ -1019,14 +911,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 @@ -1044,8 +933,6 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() { } } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1066,8 +953,6 @@ public Builder setCloudStorageFileSet(com.google.privacy.dlp.v2.CloudStorageFile return this; } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1086,8 +971,6 @@ public Builder setCloudStorageFileSet( return this; } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1096,13 +979,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; } @@ -1118,8 +998,6 @@ public Builder mergeCloudStorageFileSet(com.google.privacy.dlp.v2.CloudStorageFi return this; } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1143,8 +1021,6 @@ public Builder clearCloudStorageFileSet() { return this; } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1155,8 +1031,6 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile return getCloudStorageFileSetFieldBuilder().getBuilder(); } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1164,8 +1038,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 { @@ -1176,8 +1049,6 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile } } /** - * - * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1185,44 +1056,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 @@ -1230,14 +1089,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 @@ -1255,8 +1111,6 @@ public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() { } } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1277,8 +1131,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.
      * 
@@ -1297,8 +1149,6 @@ public Builder setBigQueryField( return this; } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1307,13 +1157,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; } @@ -1329,8 +1176,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.
      * 
@@ -1354,8 +1199,6 @@ public Builder clearBigQueryField() { return this; } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1366,8 +1209,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.
      * 
@@ -1386,8 +1227,6 @@ public com.google.privacy.dlp.v2.BigQueryFieldOrBuilder getBigQueryFieldOrBuilde } } /** - * - * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1395,32 +1234,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); } @@ -1430,12 +1263,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(); } @@ -1444,16 +1277,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; @@ -1468,4 +1301,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 76% 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..3a7a606f 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,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 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
+   * Location to store dictionary artifacts in Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
    * artifacts are modified, the dictionary is considered invalid and can no
    * longer be used.
    * 
* * .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
+   * Location to store dictionary artifacts in Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
    * artifacts are modified, the dictionary is considered invalid and can no
    * longer be used.
    * 
* * .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
+   * Location to store dictionary artifacts in Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
    * artifacts are modified, the dictionary is considered invalid and can no
    * longer be used.
@@ -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 bb38684c..78632a2c 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,18 +52,18 @@ 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) { @@ -87,39 +71,34 @@ private LargeCustomDictionaryStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -128,7 +107,6 @@ public long getApproxNumPhrases() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,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 (approxNumPhrases_ != 0L) { output.writeInt64(1, approxNumPhrases_); } @@ -154,7 +133,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; @@ -164,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.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; } @@ -185,133 +165,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() @@ -319,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(); @@ -337,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_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 @@ -358,8 +331,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; @@ -369,39 +341,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; @@ -409,8 +380,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()); } @@ -433,8 +403,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) { @@ -444,16 +413,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 @@ -461,43 +427,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); } @@ -507,12 +467,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(); } @@ -521,16 +481,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; @@ -545,4 +505,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 71% 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 2babac62..08a8f5fd 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,46 +56,42 @@ 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) { @@ -121,33 +99,29 @@ private ListDeidentifyTemplatesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -167,10 +141,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 +150,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 +177,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,15 +198,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 @@ -246,30 +212,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 { @@ -280,15 +246,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
+   * Size of the page, can be limited by the server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -299,8 +262,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,
@@ -308,14 +269,13 @@ public int getPageSize() {
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the template was created.
-   * - `update_time`: corresponds to time the template was last updated.
-   * - `name`: corresponds to template's name.
-   * - `display_name`: corresponds to template's display name.
+   * - `create_time`: corresponds to the time the template was created.
+   * - `update_time`: corresponds to the time the template was last updated.
+   * - `name`: corresponds to the template's name.
+   * - `display_name`: corresponds to the template's display name.
    * 
* * string order_by = 4; - * * @return The orderBy. */ @java.lang.Override @@ -324,15 +284,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,
@@ -340,22 +299,23 @@ public java.lang.String getOrderBy() {
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the template was created.
-   * - `update_time`: corresponds to time the template was last updated.
-   * - `name`: corresponds to template's name.
-   * - `display_name`: corresponds to template's display name.
+   * - `create_time`: corresponds to the time the template was created.
+   * - `update_time`: corresponds to the time the template was last updated.
+   * - `name`: corresponds to the template's name.
+   * - `display_name`: corresponds to the template's display name.
    * 
* * 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 { @@ -366,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 @@ -382,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 { @@ -413,7 +370,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -425,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_); } @@ -457,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_); @@ -473,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.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; } @@ -513,127 +475,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() @@ -641,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(); @@ -667,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_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 @@ -688,8 +641,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_; @@ -703,39 +655,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; @@ -743,8 +694,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(); @@ -783,8 +733,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) { @@ -796,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
@@ -817,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; @@ -835,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
@@ -856,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 { @@ -874,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
@@ -895,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
@@ -933,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
@@ -967,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; @@ -987,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 `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; @@ -1010,22 +937,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 { @@ -1033,80 +959,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
+     * Size of the page, can be limited by the server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1114,38 +1030,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Size of the page, can be limited by server. If zero server returns
+     * Size of the page, can be limited by the 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
+     * Size of the page, can be limited by the 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; @@ -1153,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,
@@ -1162,20 +1070,20 @@ public Builder clearPageSize() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the template was created.
-     * - `update_time`: corresponds to time the template was last updated.
-     * - `name`: corresponds to template's name.
-     * - `display_name`: corresponds to template's display name.
+     * - `create_time`: corresponds to the time the template was created.
+     * - `update_time`: corresponds to the time the template was last updated.
+     * - `name`: corresponds to the template's name.
+     * - `display_name`: corresponds to the template's display name.
      * 
* * 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; @@ -1184,8 +1092,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,
@@ -1193,21 +1099,22 @@ public java.lang.String getOrderBy() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the template was created.
-     * - `update_time`: corresponds to time the template was last updated.
-     * - `name`: corresponds to template's name.
-     * - `display_name`: corresponds to template's display name.
+     * - `create_time`: corresponds to the time the template was created.
+     * - `update_time`: corresponds to the time the template was last updated.
+     * - `name`: corresponds to the template's name.
+     * - `display_name`: corresponds to the template's display name.
      * 
* * 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 +1122,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,
@@ -1224,29 +1129,27 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the template was created.
-     * - `update_time`: corresponds to time the template was last updated.
-     * - `name`: corresponds to template's name.
-     * - `display_name`: corresponds to template's display name.
+     * - `create_time`: corresponds to the time the template was created.
+     * - `update_time`: corresponds to the time the template was last updated.
+     * - `name`: corresponds to the template's name.
+     * - `display_name`: corresponds to the template's display name.
      * 
* * 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,
@@ -1254,25 +1157,22 @@ public Builder setOrderBy(java.lang.String value) {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the template was created.
-     * - `update_time`: corresponds to time the template was last updated.
-     * - `name`: corresponds to template's name.
-     * - `display_name`: corresponds to template's display name.
+     * - `create_time`: corresponds to the time the template was created.
+     * - `update_time`: corresponds to the time the template was last updated.
+     * - `name`: corresponds to the template's name.
+     * - `display_name`: corresponds to the template's display name.
      * 
* * 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,
@@ -1280,23 +1180,23 @@ public Builder clearOrderBy() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the template was created.
-     * - `update_time`: corresponds to time the template was last updated.
-     * - `name`: corresponds to template's name.
-     * - `display_name`: corresponds to template's display name.
+     * - `create_time`: corresponds to the time the template was created.
+     * - `update_time`: corresponds to the time the template was last updated.
+     * - `name`: corresponds to the template's name.
+     * - `display_name`: corresponds to the template's display name.
      * 
* * 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; @@ -1304,20 +1204,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; @@ -1326,21 +1224,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 { @@ -1348,68 +1245,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); } @@ -1419,12 +1309,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(); } @@ -1433,16 +1323,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; @@ -1457,4 +1347,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 70% 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..90eccd27 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
+   * Size of the page, can be limited by the 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,
@@ -133,20 +98,17 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the template was created.
-   * - `update_time`: corresponds to time the template was last updated.
-   * - `name`: corresponds to template's name.
-   * - `display_name`: corresponds to template's display name.
+   * - `create_time`: corresponds to the time the template was created.
+   * - `update_time`: corresponds to the time the template was last updated.
+   * - `name`: corresponds to the template's name.
+   * - `display_name`: corresponds to the template's display name.
    * 
* * 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,
@@ -154,40 +116,35 @@ public interface ListDeidentifyTemplatesRequestOrBuilder
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the template was created.
-   * - `update_time`: corresponds to time the template was last updated.
-   * - `name`: corresponds to template's name.
-   * - `display_name`: corresponds to template's display name.
+   * - `create_time`: corresponds to the time the template was created.
+   * - `update_time`: corresponds to the time the template was last updated.
+   * - `name`: corresponds to the template's name.
+   * - `display_name`: corresponds to the template's display name.
    * 
* * 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 803e0126..196f26c1 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,32 +55,28 @@ 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) { @@ -106,7 +84,8 @@ private ListDeidentifyTemplatesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -115,27 +94,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.
@@ -148,8 +122,6 @@ public java.util.List getDeidentif
     return deidentifyTemplates_;
   }
   /**
-   *
-   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -158,13 +130,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.
@@ -177,8 +147,6 @@ public int getDeidentifyTemplatesCount() {
     return deidentifyTemplates_.size();
   }
   /**
-   *
-   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -191,8 +159,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.
@@ -209,15 +175,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 @@ -226,30 +189,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 { @@ -258,7 +221,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < deidentifyTemplates_.size(); i++) { output.writeMessage(1, deidentifyTemplates_.get(i)); } @@ -287,8 +250,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_); @@ -301,16 +264,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -334,127 +298,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() @@ -462,17 +416,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(); @@ -488,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_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 @@ -509,8 +463,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)) { @@ -530,39 +483,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; @@ -570,8 +522,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()) { @@ -590,10 +541,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_); } @@ -622,8 +572,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) { @@ -632,30 +581,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.
@@ -663,8 +603,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 {
@@ -672,8 +611,6 @@ private void ensureDeidentifyTemplatesIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -689,8 +626,6 @@ public int getDeidentifyTemplatesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -706,8 +641,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplates(int i
       }
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -730,8 +663,6 @@ public Builder setDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -751,8 +682,6 @@ public Builder setDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -774,8 +703,6 @@ public Builder addDeidentifyTemplates(com.google.privacy.dlp.v2.DeidentifyTempla
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -798,8 +725,6 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -819,8 +744,6 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -840,8 +763,6 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -853,7 +774,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);
@@ -861,8 +783,6 @@ public Builder addAllDeidentifyTemplates(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -881,8 +801,6 @@ public Builder clearDeidentifyTemplates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -901,8 +819,6 @@ public Builder removeDeidentifyTemplates(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -915,8 +831,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder getDeidentifyTemplat
       return getDeidentifyTemplatesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -927,14 +841,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.
@@ -942,8 +853,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 {
@@ -951,8 +862,6 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
       }
     }
     /**
-     *
-     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -961,12 +870,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.
@@ -976,12 +883,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.
@@ -989,22 +894,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(),
@@ -1016,21 +915,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; @@ -1039,22 +936,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 { @@ -1062,71 +958,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); } @@ -1136,12 +1025,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(); } @@ -1150,16 +1039,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; @@ -1174,4 +1063,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 73% 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 c600b42a..0ecbdd17 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,60 +58,54 @@ 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) { @@ -136,33 +113,29 @@ private ListDlpJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -178,10 +151,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 @@ -190,15 +160,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
@@ -214,18 +183,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 { @@ -236,8 +204,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:
@@ -248,13 +214,13 @@ public com.google.protobuf.ByteString getParentBytes() {
    * * Supported fields/values for inspect jobs:
    *     - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
    *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
-   *     - `trigger_name` - The resource name of the trigger that created job.
-   *     - 'end_time` - Corresponds to time the job finished.
-   *     - 'start_time` - Corresponds to time the job finished.
+   *     - `trigger_name` - The name of the trigger that created the job.
+   *     - 'end_time` - Corresponds to the time the job finished.
+   *     - 'start_time` - Corresponds to the time the job finished.
    * * Supported fields for risk analysis jobs:
    *     - `state` - RUNNING|CANCELED|FINISHED|FAILED
-   *     - 'end_time` - Corresponds to time the job finished.
-   *     - 'start_time` - Corresponds to time the job finished.
+   *     - 'end_time` - Corresponds to the time the job finished.
+   *     - 'start_time` - Corresponds to the time the job finished.
    * * The operator must be `=` or `!=`.
    * Examples:
    * * inspected_storage = cloud_storage AND state = done
@@ -265,7 +231,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 1; - * * @return The filter. */ @java.lang.Override @@ -274,15 +239,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:
@@ -293,13 +257,13 @@ public java.lang.String getFilter() {
    * * Supported fields/values for inspect jobs:
    *     - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
    *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
-   *     - `trigger_name` - The resource name of the trigger that created job.
-   *     - 'end_time` - Corresponds to time the job finished.
-   *     - 'start_time` - Corresponds to time the job finished.
+   *     - `trigger_name` - The name of the trigger that created the job.
+   *     - 'end_time` - Corresponds to the time the job finished.
+   *     - 'start_time` - Corresponds to the time the job finished.
    * * Supported fields for risk analysis jobs:
    *     - `state` - RUNNING|CANCELED|FINISHED|FAILED
-   *     - 'end_time` - Corresponds to time the job finished.
-   *     - 'start_time` - Corresponds to time the job finished.
+   *     - 'end_time` - Corresponds to the time the job finished.
+   *     - 'start_time` - Corresponds to the time the job finished.
    * * The operator must be `=` or `!=`.
    * Examples:
    * * inspected_storage = cloud_storage AND state = done
@@ -310,15 +274,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 { @@ -329,14 +294,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 @@ -347,14 +309,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 @@ -363,29 +322,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 { @@ -396,44 +355,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,
@@ -441,14 +389,13 @@ public com.google.privacy.dlp.v2.DlpJobType getType() {
    * insignificant.
    * Example: `name asc, end_time asc, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the job was created.
-   * - `end_time`: corresponds to time the job ended.
-   * - `name`: corresponds to job's name.
+   * - `create_time`: corresponds to the time the job was created.
+   * - `end_time`: corresponds to the time the job ended.
+   * - `name`: corresponds to the job's name.
    * - `state`: corresponds to `state`
    * 
* * string order_by = 6; - * * @return The orderBy. */ @java.lang.Override @@ -457,15 +404,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,
@@ -473,22 +419,23 @@ public java.lang.String getOrderBy() {
    * insignificant.
    * Example: `name asc, end_time asc, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the job was created.
-   * - `end_time`: corresponds to time the job ended.
-   * - `name`: corresponds to job's name.
+   * - `create_time`: corresponds to the time the job was created.
+   * - `end_time`: corresponds to the time the job ended.
+   * - `name`: corresponds to the job's name.
    * - `state`: corresponds to `state`
    * 
* * 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 { @@ -499,14 +446,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 @@ -515,29 +459,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 { @@ -546,7 +490,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -558,7 +501,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -593,7 +537,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_); @@ -602,7 +547,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_); @@ -618,21 +564,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; } @@ -663,127 +614,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() @@ -791,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(); @@ -821,9 +764,9 @@ public Builder 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 @@ -842,8 +785,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_; @@ -859,39 +801,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; @@ -957,8 +898,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
@@ -974,16 +913,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; @@ -992,8 +929,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1009,17 +944,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 { @@ -1027,8 +961,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1044,25 +976,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
@@ -1078,21 +1006,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
@@ -1108,19 +1031,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; @@ -1128,8 +1049,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1140,13 +1059,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * * Supported fields/values for inspect jobs:
      *     - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
      *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
-     *     - `trigger_name` - The resource name of the trigger that created job.
-     *     - 'end_time` - Corresponds to time the job finished.
-     *     - 'start_time` - Corresponds to time the job finished.
+     *     - `trigger_name` - The name of the trigger that created the job.
+     *     - 'end_time` - Corresponds to the time the job finished.
+     *     - 'start_time` - Corresponds to the time the job finished.
      * * Supported fields for risk analysis jobs:
      *     - `state` - RUNNING|CANCELED|FINISHED|FAILED
-     *     - 'end_time` - Corresponds to time the job finished.
-     *     - 'start_time` - Corresponds to time the job finished.
+     *     - 'end_time` - Corresponds to the time the job finished.
+     *     - 'start_time` - Corresponds to the time the job finished.
      * * The operator must be `=` or `!=`.
      * Examples:
      * * inspected_storage = cloud_storage AND state = done
@@ -1157,13 +1076,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; @@ -1172,8 +1091,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1184,13 +1101,13 @@ public java.lang.String getFilter() {
      * * Supported fields/values for inspect jobs:
      *     - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
      *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
-     *     - `trigger_name` - The resource name of the trigger that created job.
-     *     - 'end_time` - Corresponds to time the job finished.
-     *     - 'start_time` - Corresponds to time the job finished.
+     *     - `trigger_name` - The name of the trigger that created the job.
+     *     - 'end_time` - Corresponds to the time the job finished.
+     *     - 'start_time` - Corresponds to the time the job finished.
      * * Supported fields for risk analysis jobs:
      *     - `state` - RUNNING|CANCELED|FINISHED|FAILED
-     *     - 'end_time` - Corresponds to time the job finished.
-     *     - 'start_time` - Corresponds to time the job finished.
+     *     - 'end_time` - Corresponds to the time the job finished.
+     *     - 'start_time` - Corresponds to the time the job finished.
      * * The operator must be `=` or `!=`.
      * Examples:
      * * inspected_storage = cloud_storage AND state = done
@@ -1201,14 +1118,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 { @@ -1216,8 +1134,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1228,13 +1144,13 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * * Supported fields/values for inspect jobs:
      *     - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
      *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
-     *     - `trigger_name` - The resource name of the trigger that created job.
-     *     - 'end_time` - Corresponds to time the job finished.
-     *     - 'start_time` - Corresponds to time the job finished.
+     *     - `trigger_name` - The name of the trigger that created the job.
+     *     - 'end_time` - Corresponds to the time the job finished.
+     *     - 'start_time` - Corresponds to the time the job finished.
      * * Supported fields for risk analysis jobs:
      *     - `state` - RUNNING|CANCELED|FINISHED|FAILED
-     *     - 'end_time` - Corresponds to time the job finished.
-     *     - 'start_time` - Corresponds to time the job finished.
+     *     - 'end_time` - Corresponds to the time the job finished.
+     *     - 'start_time` - Corresponds to the time the job finished.
      * * The operator must be `=` or `!=`.
      * Examples:
      * * inspected_storage = cloud_storage AND state = done
@@ -1245,22 +1161,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:
@@ -1271,13 +1185,13 @@ public Builder setFilter(java.lang.String value) {
      * * Supported fields/values for inspect jobs:
      *     - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
      *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
-     *     - `trigger_name` - The resource name of the trigger that created job.
-     *     - 'end_time` - Corresponds to time the job finished.
-     *     - 'start_time` - Corresponds to time the job finished.
+     *     - `trigger_name` - The name of the trigger that created the job.
+     *     - 'end_time` - Corresponds to the time the job finished.
+     *     - 'start_time` - Corresponds to the time the job finished.
      * * Supported fields for risk analysis jobs:
      *     - `state` - RUNNING|CANCELED|FINISHED|FAILED
-     *     - 'end_time` - Corresponds to time the job finished.
-     *     - 'start_time` - Corresponds to time the job finished.
+     *     - 'end_time` - Corresponds to the time the job finished.
+     *     - 'start_time` - Corresponds to the time the job finished.
      * * The operator must be `=` or `!=`.
      * Examples:
      * * inspected_storage = cloud_storage AND state = done
@@ -1288,18 +1202,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:
@@ -1310,13 +1221,13 @@ public Builder clearFilter() {
      * * Supported fields/values for inspect jobs:
      *     - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
      *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
-     *     - `trigger_name` - The resource name of the trigger that created job.
-     *     - 'end_time` - Corresponds to time the job finished.
-     *     - 'start_time` - Corresponds to time the job finished.
+     *     - `trigger_name` - The name of the trigger that created the job.
+     *     - 'end_time` - Corresponds to the time the job finished.
+     *     - 'start_time` - Corresponds to the time the job finished.
      * * Supported fields for risk analysis jobs:
      *     - `state` - RUNNING|CANCELED|FINISHED|FAILED
-     *     - 'end_time` - Corresponds to time the job finished.
-     *     - 'start_time` - Corresponds to time the job finished.
+     *     - 'end_time` - Corresponds to the time the job finished.
+     *     - 'start_time` - Corresponds to the time the job finished.
      * * The operator must be `=` or `!=`.
      * Examples:
      * * inspected_storage = cloud_storage AND state = done
@@ -1327,31 +1238,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 @@ -1359,36 +1267,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; @@ -1396,20 +1298,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; @@ -1418,21 +1318,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 { @@ -1440,61 +1339,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; @@ -1502,65 +1394,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. */ @@ -1568,24 +1446,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; @@ -1593,8 +1468,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,
@@ -1602,20 +1475,20 @@ public Builder clearType() {
      * insignificant.
      * Example: `name asc, end_time asc, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the job was created.
-     * - `end_time`: corresponds to time the job ended.
-     * - `name`: corresponds to job's name.
+     * - `create_time`: corresponds to the time the job was created.
+     * - `end_time`: corresponds to the time the job ended.
+     * - `name`: corresponds to the job's name.
      * - `state`: corresponds to `state`
      * 
* * 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; @@ -1624,8 +1497,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,
@@ -1633,21 +1504,22 @@ public java.lang.String getOrderBy() {
      * insignificant.
      * Example: `name asc, end_time asc, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the job was created.
-     * - `end_time`: corresponds to time the job ended.
-     * - `name`: corresponds to job's name.
+     * - `create_time`: corresponds to the time the job was created.
+     * - `end_time`: corresponds to the time the job ended.
+     * - `name`: corresponds to the job's name.
      * - `state`: corresponds to `state`
      * 
* * 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 { @@ -1655,8 +1527,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,
@@ -1664,29 +1534,27 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * insignificant.
      * Example: `name asc, end_time asc, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the job was created.
-     * - `end_time`: corresponds to time the job ended.
-     * - `name`: corresponds to job's name.
+     * - `create_time`: corresponds to the time the job was created.
+     * - `end_time`: corresponds to the time the job ended.
+     * - `name`: corresponds to the job's name.
      * - `state`: corresponds to `state`
      * 
* * 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,
@@ -1694,25 +1562,22 @@ public Builder setOrderBy(java.lang.String value) {
      * insignificant.
      * Example: `name asc, end_time asc, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the job was created.
-     * - `end_time`: corresponds to time the job ended.
-     * - `name`: corresponds to job's name.
+     * - `create_time`: corresponds to the time the job was created.
+     * - `end_time`: corresponds to the time the job ended.
+     * - `name`: corresponds to the job's name.
      * - `state`: corresponds to `state`
      * 
* * 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,
@@ -1720,23 +1585,23 @@ public Builder clearOrderBy() {
      * insignificant.
      * Example: `name asc, end_time asc, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the job was created.
-     * - `end_time`: corresponds to time the job ended.
-     * - `name`: corresponds to job's name.
+     * - `create_time`: corresponds to the time the job was created.
+     * - `end_time`: corresponds to the time the job ended.
+     * - `name`: corresponds to the job's name.
      * - `state`: corresponds to `state`
      * 
* * 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; @@ -1744,20 +1609,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; @@ -1766,21 +1629,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 { @@ -1788,68 +1650,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); } @@ -1859,12 +1714,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(); } @@ -1873,16 +1728,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; @@ -1897,4 +1752,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 73% 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..186ddb37 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:
@@ -87,13 +60,13 @@ public interface ListDlpJobsRequestOrBuilder
    * * Supported fields/values for inspect jobs:
    *     - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
    *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
-   *     - `trigger_name` - The resource name of the trigger that created job.
-   *     - 'end_time` - Corresponds to time the job finished.
-   *     - 'start_time` - Corresponds to time the job finished.
+   *     - `trigger_name` - The name of the trigger that created the job.
+   *     - 'end_time` - Corresponds to the time the job finished.
+   *     - 'start_time` - Corresponds to the time the job finished.
    * * Supported fields for risk analysis jobs:
    *     - `state` - RUNNING|CANCELED|FINISHED|FAILED
-   *     - 'end_time` - Corresponds to time the job finished.
-   *     - 'start_time` - Corresponds to time the job finished.
+   *     - 'end_time` - Corresponds to the time the job finished.
+   *     - 'start_time` - Corresponds to the time the job finished.
    * * The operator must be `=` or `!=`.
    * Examples:
    * * inspected_storage = cloud_storage AND state = done
@@ -104,13 +77,10 @@ public interface ListDlpJobsRequestOrBuilder
    * 
* * string filter = 1; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Allows filtering.
    * Supported syntax:
@@ -121,13 +91,13 @@ public interface ListDlpJobsRequestOrBuilder
    * * Supported fields/values for inspect jobs:
    *     - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
    *     - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
-   *     - `trigger_name` - The resource name of the trigger that created job.
-   *     - 'end_time` - Corresponds to time the job finished.
-   *     - 'start_time` - Corresponds to time the job finished.
+   *     - `trigger_name` - The name of the trigger that created the job.
+   *     - 'end_time` - Corresponds to the time the job finished.
+   *     - 'start_time` - Corresponds to the time the job finished.
    * * Supported fields for risk analysis jobs:
    *     - `state` - RUNNING|CANCELED|FINISHED|FAILED
-   *     - 'end_time` - Corresponds to time the job finished.
-   *     - 'start_time` - Corresponds to time the job finished.
+   *     - 'end_time` - Corresponds to the time the job finished.
+   *     - 'start_time` - Corresponds to the time the job finished.
    * * The operator must be `=` or `!=`.
    * Examples:
    * * inspected_storage = cloud_storage AND state = done
@@ -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,
@@ -216,20 +170,17 @@ public interface ListDlpJobsRequestOrBuilder
    * insignificant.
    * Example: `name asc, end_time asc, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the job was created.
-   * - `end_time`: corresponds to time the job ended.
-   * - `name`: corresponds to job's name.
+   * - `create_time`: corresponds to the time the job was created.
+   * - `end_time`: corresponds to the time the job ended.
+   * - `name`: corresponds to the job's name.
    * - `state`: corresponds to `state`
    * 
* * 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,
@@ -237,40 +188,35 @@ public interface ListDlpJobsRequestOrBuilder
    * insignificant.
    * Example: `name asc, end_time asc, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the job was created.
-   * - `end_time`: corresponds to time the job ended.
-   * - `name`: corresponds to job's name.
+   * - `create_time`: corresponds to the time the job was created.
+   * - `end_time`: corresponds to the time the job ended.
+   * - `name`: corresponds to the job's name.
    * - `state`: corresponds to `state`
    * 
* * 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 cacf7747..17051660 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,30 +55,28 @@ 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) { @@ -103,7 +84,8 @@ private ListDlpJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -112,27 +94,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.
    * 
@@ -144,8 +121,6 @@ public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -153,13 +128,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.
    * 
@@ -171,8 +144,6 @@ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -184,8 +155,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.
    * 
@@ -193,21 +162,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 @@ -216,29 +183,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 { @@ -247,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,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 < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } @@ -276,7 +243,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_); @@ -289,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.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; } @@ -321,127 +290,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() @@ -449,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) { getJobsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,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_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 @@ -496,8 +456,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)) { @@ -517,39 +476,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; @@ -576,10 +534,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_); } @@ -617,28 +574,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.
      * 
@@ -653,8 +603,6 @@ public java.util.List getJobsList() { } } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -669,8 +617,6 @@ public int getJobsCount() { } } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -685,15 +631,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(); @@ -707,15 +652,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()); @@ -726,8 +670,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.
      * 
@@ -748,15 +690,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(); @@ -770,15 +711,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()); @@ -789,15 +729,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()); @@ -808,8 +747,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.
      * 
@@ -820,7 +757,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); @@ -828,8 +766,6 @@ public Builder addAllJobs( return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -847,8 +783,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -866,44 +800,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 { @@ -911,8 +840,6 @@ public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder(int index) { } } /** - * - * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -920,47 +847,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_; @@ -968,20 +890,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; @@ -990,21 +910,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 { @@ -1012,68 +931,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); } @@ -1083,12 +995,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(); } @@ -1097,16 +1009,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; @@ -1121,4 +1033,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 0631f3b1..07eb287c 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,41 +56,37 @@ 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) { @@ -115,33 +94,29 @@ private ListInfoTypesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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:
@@ -149,7 +124,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string parent = 4; - * * @return The parent. */ @java.lang.Override @@ -158,15 +132,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:
@@ -174,15 +147,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 { @@ -193,8 +167,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,
@@ -202,7 +174,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string language_code = 1; - * * @return The languageCode. */ @java.lang.Override @@ -211,15 +182,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,
@@ -227,15 +197,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 { @@ -246,15 +217,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 @@ -263,30 +231,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 { @@ -297,14 +265,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 @@ -313,29 +278,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 { @@ -344,7 +309,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -356,7 +320,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -398,18 +363,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; } @@ -434,127 +402,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() @@ -562,15 +521,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -586,9 +546,9 @@ public Builder 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 @@ -607,8 +567,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_; @@ -621,39 +580,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; @@ -709,8 +667,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -718,13 +674,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; @@ -733,8 +689,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -742,14 +696,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 { @@ -757,8 +712,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -766,22 +719,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:
@@ -789,18 +740,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:
@@ -808,16 +756,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; @@ -825,8 +773,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,
@@ -834,13 +780,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; @@ -849,8 +795,6 @@ public java.lang.String getLanguageCode() { } } /** - * - * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -858,14 +802,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 { @@ -873,8 +818,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,
@@ -882,22 +825,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,
@@ -905,18 +846,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,
@@ -924,16 +862,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; @@ -941,21 +879,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; @@ -964,22 +900,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 { @@ -987,64 +922,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; @@ -1052,20 +980,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; @@ -1074,21 +1000,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 { @@ -1096,68 +1021,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); } @@ -1167,12 +1085,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(); } @@ -1181,16 +1099,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; @@ -1205,4 +1123,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 ac5c81a7..5bcc92b0 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,25 +54,22 @@ 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) { @@ -97,7 +77,8 @@ private ListInfoTypesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -106,27 +87,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.
    * 
@@ -138,8 +114,6 @@ public java.util.List getInfoType return infoTypes_; } /** - * - * *
    * Set of sensitive infoTypes.
    * 
@@ -147,13 +121,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.
    * 
@@ -165,8 +137,6 @@ public int getInfoTypesCount() { return infoTypes_.size(); } /** - * - * *
    * Set of sensitive infoTypes.
    * 
@@ -178,8 +148,6 @@ public com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index) { return infoTypes_.get(index); } /** - * - * *
    * Set of sensitive infoTypes.
    * 
@@ -187,12 +155,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; @@ -204,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < infoTypes_.size(); i++) { output.writeMessage(1, infoTypes_.get(i)); } @@ -218,7 +187,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; @@ -228,15 +198,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -257,127 +227,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() @@ -385,17 +346,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getInfoTypesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.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 @@ -430,8 +391,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)) { @@ -450,39 +410,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; @@ -490,8 +449,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()) { @@ -510,10 +468,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_); } @@ -547,29 +504,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.
      * 
@@ -584,8 +533,6 @@ public java.util.List getInfoType } } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -600,8 +547,6 @@ public int getInfoTypesCount() { } } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -616,15 +561,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(); @@ -638,8 +582,6 @@ public Builder setInfoTypes(int index, com.google.privacy.dlp.v2.InfoTypeDescrip return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -658,8 +600,6 @@ public Builder setInfoTypes( return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -680,15 +620,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(); @@ -702,8 +641,6 @@ public Builder addInfoTypes(int index, com.google.privacy.dlp.v2.InfoTypeDescrip return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -722,8 +659,6 @@ public Builder addInfoTypes( return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -742,8 +677,6 @@ public Builder addInfoTypes( return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -754,7 +687,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); @@ -762,8 +696,6 @@ public Builder addAllInfoTypes( return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -781,8 +713,6 @@ public Builder clearInfoTypes() { return this; } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -800,44 +730,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 { @@ -845,8 +770,6 @@ public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuil } } /** - * - * *
      * Set of sensitive infoTypes.
      * 
@@ -854,55 +777,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); } @@ -912,12 +829,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(); } @@ -926,16 +843,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; @@ -950,4 +867,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 72% 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 f1b640d3..121bf522 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,46 +56,42 @@ 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) { @@ -120,33 +99,29 @@ private ListInspectTemplatesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -166,10 +141,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 @@ -178,15 +150,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
@@ -206,18 +177,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 { @@ -228,15 +198,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 @@ -245,30 +212,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 { @@ -279,15 +246,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
+   * Size of the page, can be limited by the server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -298,8 +262,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,
@@ -307,14 +269,13 @@ public int getPageSize() {
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the template was created.
-   * - `update_time`: corresponds to time the template was last updated.
-   * - `name`: corresponds to template's name.
-   * - `display_name`: corresponds to template's display name.
+   * - `create_time`: corresponds to the time the template was created.
+   * - `update_time`: corresponds to the time the template was last updated.
+   * - `name`: corresponds to the template's name.
+   * - `display_name`: corresponds to the template's display name.
    * 
* * string order_by = 4; - * * @return The orderBy. */ @java.lang.Override @@ -323,15 +284,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,
@@ -339,22 +299,23 @@ public java.lang.String getOrderBy() {
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the template was created.
-   * - `update_time`: corresponds to time the template was last updated.
-   * - `name`: corresponds to template's name.
-   * - `display_name`: corresponds to template's display name.
+   * - `create_time`: corresponds to the time the template was created.
+   * - `update_time`: corresponds to the time the template was last updated.
+   * - `name`: corresponds to the template's name.
+   * - `display_name`: corresponds to the template's display name.
    * 
* * 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.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; } @@ -512,127 +475,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() @@ -640,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(); @@ -666,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_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 @@ -687,8 +641,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_; @@ -702,39 +655,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; @@ -742,8 +694,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(); @@ -782,8 +733,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) { @@ -795,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
@@ -816,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; @@ -834,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
@@ -855,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 { @@ -873,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
@@ -894,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
@@ -932,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
@@ -966,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; @@ -986,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 `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; @@ -1009,22 +937,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 { @@ -1032,80 +959,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
+     * Size of the page, can be limited by the server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1113,38 +1030,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Size of the page, can be limited by server. If zero server returns
+     * Size of the page, can be limited by the 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
+     * Size of the page, can be limited by the 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; @@ -1152,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,
@@ -1161,20 +1070,20 @@ public Builder clearPageSize() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the template was created.
-     * - `update_time`: corresponds to time the template was last updated.
-     * - `name`: corresponds to template's name.
-     * - `display_name`: corresponds to template's display name.
+     * - `create_time`: corresponds to the time the template was created.
+     * - `update_time`: corresponds to the time the template was last updated.
+     * - `name`: corresponds to the template's name.
+     * - `display_name`: corresponds to the template's display name.
      * 
* * 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 +1092,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,
@@ -1192,21 +1099,22 @@ public java.lang.String getOrderBy() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the template was created.
-     * - `update_time`: corresponds to time the template was last updated.
-     * - `name`: corresponds to template's name.
-     * - `display_name`: corresponds to template's display name.
+     * - `create_time`: corresponds to the time the template was created.
+     * - `update_time`: corresponds to the time the template was last updated.
+     * - `name`: corresponds to the template's name.
+     * - `display_name`: corresponds to the template's display name.
      * 
* * 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 { @@ -1214,8 +1122,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,
@@ -1223,29 +1129,27 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the template was created.
-     * - `update_time`: corresponds to time the template was last updated.
-     * - `name`: corresponds to template's name.
-     * - `display_name`: corresponds to template's display name.
+     * - `create_time`: corresponds to the time the template was created.
+     * - `update_time`: corresponds to the time the template was last updated.
+     * - `name`: corresponds to the template's name.
+     * - `display_name`: corresponds to the template's display name.
      * 
* * 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,
@@ -1253,25 +1157,22 @@ public Builder setOrderBy(java.lang.String value) {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the template was created.
-     * - `update_time`: corresponds to time the template was last updated.
-     * - `name`: corresponds to template's name.
-     * - `display_name`: corresponds to template's display name.
+     * - `create_time`: corresponds to the time the template was created.
+     * - `update_time`: corresponds to the time the template was last updated.
+     * - `name`: corresponds to the template's name.
+     * - `display_name`: corresponds to the template's display name.
      * 
* * 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,
@@ -1279,23 +1180,23 @@ public Builder clearOrderBy() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the template was created.
-     * - `update_time`: corresponds to time the template was last updated.
-     * - `name`: corresponds to template's name.
-     * - `display_name`: corresponds to template's display name.
+     * - `create_time`: corresponds to the time the template was created.
+     * - `update_time`: corresponds to the time the template was last updated.
+     * - `name`: corresponds to the template's name.
+     * - `display_name`: corresponds to the template's display name.
      * 
* * 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; @@ -1303,20 +1204,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; @@ -1325,21 +1224,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 { @@ -1347,68 +1245,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); } @@ -1418,12 +1309,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(); } @@ -1432,16 +1323,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; @@ -1456,4 +1347,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 70% 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..b7710cc6 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
+   * Size of the page, can be limited by the 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,
@@ -133,20 +98,17 @@ public interface ListInspectTemplatesRequestOrBuilder
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the template was created.
-   * - `update_time`: corresponds to time the template was last updated.
-   * - `name`: corresponds to template's name.
-   * - `display_name`: corresponds to template's display name.
+   * - `create_time`: corresponds to the time the template was created.
+   * - `update_time`: corresponds to the time the template was last updated.
+   * - `name`: corresponds to the template's name.
+   * - `display_name`: corresponds to the template's display name.
    * 
* * 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,
@@ -154,40 +116,35 @@ public interface ListInspectTemplatesRequestOrBuilder
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the template was created.
-   * - `update_time`: corresponds to time the template was last updated.
-   * - `name`: corresponds to template's name.
-   * - `display_name`: corresponds to template's display name.
+   * - `create_time`: corresponds to the time the template was created.
+   * - `update_time`: corresponds to the time the template was last updated.
+   * - `name`: corresponds to the template's name.
+   * - `display_name`: corresponds to the template's display name.
    * 
* * 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 75% 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 af31681e..28bccc12 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,32 +55,28 @@ 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) { @@ -105,7 +84,8 @@ private ListInspectTemplatesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -114,27 +94,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.
    * 
@@ -146,8 +121,6 @@ public java.util.List getInspectTempl return inspectTemplates_; } /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -155,13 +128,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.
    * 
@@ -173,8 +144,6 @@ public int getInspectTemplatesCount() { return inspectTemplates_.size(); } /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -186,8 +155,6 @@ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplates(int index) return inspectTemplates_.get(index); } /** - * - * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -203,15 +170,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 @@ -220,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < inspectTemplates_.size(); i++) { output.writeMessage(1, inspectTemplates_.get(i)); } @@ -281,7 +245,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_); @@ -294,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -327,127 +293,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() @@ -455,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getInspectTemplatesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +437,9 @@ public Builder 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 @@ -502,8 +458,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)) { @@ -523,39 +478,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; @@ -563,8 +517,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()) { @@ -583,10 +536,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_); } @@ -615,8 +567,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) { @@ -625,29 +576,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.
      * 
@@ -662,8 +605,6 @@ public java.util.List getInspectTempl } } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -678,8 +619,6 @@ public int getInspectTemplatesCount() { } } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -694,15 +633,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(); @@ -716,8 +654,6 @@ public Builder setInspectTemplates(int index, com.google.privacy.dlp.v2.InspectT return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -736,8 +672,6 @@ public Builder setInspectTemplates( return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -758,15 +692,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(); @@ -780,8 +713,6 @@ public Builder addInspectTemplates(int index, com.google.privacy.dlp.v2.InspectT return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -800,8 +731,6 @@ public Builder addInspectTemplates( return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -820,8 +749,6 @@ public Builder addInspectTemplates( return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -832,7 +759,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); @@ -840,8 +768,6 @@ public Builder addAllInspectTemplates( return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -859,8 +785,6 @@ public Builder clearInspectTemplates() { return this; } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -878,20 +802,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.
      * 
@@ -901,22 +822,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 { @@ -924,8 +842,6 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrB } } /** - * - * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -933,47 +849,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(), @@ -985,21 +892,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; @@ -1008,22 +913,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 { @@ -1031,71 +935,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); } @@ -1105,12 +1002,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(); } @@ -1119,16 +1016,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; @@ -1143,4 +1040,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 76% 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 7974d420..7498690b 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,60 +58,54 @@ 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) { @@ -136,33 +113,29 @@ private ListJobTriggersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -178,10 +151,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 @@ -190,15 +160,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
@@ -214,18 +183,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 { @@ -236,8 +204,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
@@ -245,7 +211,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -254,15 +219,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
@@ -270,15 +234,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 { @@ -289,14 +254,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 @@ -307,8 +269,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,
@@ -316,16 +276,15 @@ public int getPageSize() {
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the JobTrigger was created.
-   * - `update_time`: corresponds to time the JobTrigger was last updated.
+   * - `create_time`: corresponds to the time the JobTrigger was created.
+   * - `update_time`: corresponds to the time the JobTrigger was last updated.
    * - `last_run_time`: corresponds to the last time the JobTrigger ran.
-   * - `name`: corresponds to JobTrigger's name.
-   * - `display_name`: corresponds to JobTrigger's display name.
+   * - `name`: corresponds to the JobTrigger's name.
+   * - `display_name`: corresponds to the JobTrigger's display name.
    * - `status`: corresponds to JobTrigger's status.
    * 
* * string order_by = 4; - * * @return The orderBy. */ @java.lang.Override @@ -334,15 +293,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,
@@ -350,24 +308,25 @@ public java.lang.String getOrderBy() {
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the JobTrigger was created.
-   * - `update_time`: corresponds to time the JobTrigger was last updated.
+   * - `create_time`: corresponds to the time the JobTrigger was created.
+   * - `update_time`: corresponds to the time the JobTrigger was last updated.
    * - `last_run_time`: corresponds to the last time the JobTrigger ran.
-   * - `name`: corresponds to JobTrigger's name.
-   * - `display_name`: corresponds to JobTrigger's display name.
+   * - `name`: corresponds to the JobTrigger's name.
+   * - `display_name`: corresponds to the JobTrigger's display name.
    * - `status`: corresponds to JobTrigger's status.
    * 
* * 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 { @@ -378,8 +337,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:
@@ -403,7 +360,6 @@ public com.google.protobuf.ByteString getOrderByBytes() {
    * 
* * string filter = 5; - * * @return The filter. */ @java.lang.Override @@ -412,15 +368,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:
@@ -444,15 +399,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 { @@ -463,50 +419,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 @@ -515,29 +459,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 { @@ -546,7 +490,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -558,7 +501,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -596,7 +540,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_); @@ -605,7 +550,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_); @@ -618,21 +564,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; } @@ -663,127 +614,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() @@ -791,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(); @@ -821,9 +764,9 @@ public Builder 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 @@ -842,8 +785,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_; @@ -859,39 +801,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; @@ -899,8 +840,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(); @@ -958,8 +898,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
@@ -975,16 +913,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; @@ -993,8 +929,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1010,17 +944,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 { @@ -1028,8 +961,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1045,25 +976,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
@@ -1079,21 +1006,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
@@ -1109,19 +1031,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; @@ -1129,8 +1049,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
@@ -1138,13 +1056,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; @@ -1153,8 +1071,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1162,14 +1078,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 { @@ -1177,8 +1094,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1186,22 +1101,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
@@ -1209,18 +1122,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
@@ -1228,31 +1138,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 @@ -1260,36 +1167,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; @@ -1297,8 +1198,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,
@@ -1306,22 +1205,22 @@ public Builder clearPageSize() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the JobTrigger was created.
-     * - `update_time`: corresponds to time the JobTrigger was last updated.
+     * - `create_time`: corresponds to the time the JobTrigger was created.
+     * - `update_time`: corresponds to the time the JobTrigger was last updated.
      * - `last_run_time`: corresponds to the last time the JobTrigger ran.
-     * - `name`: corresponds to JobTrigger's name.
-     * - `display_name`: corresponds to JobTrigger's display name.
+     * - `name`: corresponds to the JobTrigger's name.
+     * - `display_name`: corresponds to the JobTrigger's display name.
      * - `status`: corresponds to JobTrigger's status.
      * 
* * 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; @@ -1330,8 +1229,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,
@@ -1339,23 +1236,24 @@ public java.lang.String getOrderBy() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the JobTrigger was created.
-     * - `update_time`: corresponds to time the JobTrigger was last updated.
+     * - `create_time`: corresponds to the time the JobTrigger was created.
+     * - `update_time`: corresponds to the time the JobTrigger was last updated.
      * - `last_run_time`: corresponds to the last time the JobTrigger ran.
-     * - `name`: corresponds to JobTrigger's name.
-     * - `display_name`: corresponds to JobTrigger's display name.
+     * - `name`: corresponds to the JobTrigger's name.
+     * - `display_name`: corresponds to the JobTrigger's display name.
      * - `status`: corresponds to JobTrigger's status.
      * 
* * 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 { @@ -1363,8 +1261,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,
@@ -1372,31 +1268,29 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the JobTrigger was created.
-     * - `update_time`: corresponds to time the JobTrigger was last updated.
+     * - `create_time`: corresponds to the time the JobTrigger was created.
+     * - `update_time`: corresponds to the time the JobTrigger was last updated.
      * - `last_run_time`: corresponds to the last time the JobTrigger ran.
-     * - `name`: corresponds to JobTrigger's name.
-     * - `display_name`: corresponds to JobTrigger's display name.
+     * - `name`: corresponds to the JobTrigger's name.
+     * - `display_name`: corresponds to the JobTrigger's display name.
      * - `status`: corresponds to JobTrigger's status.
      * 
* * 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,
@@ -1404,27 +1298,24 @@ public Builder setOrderBy(java.lang.String value) {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the JobTrigger was created.
-     * - `update_time`: corresponds to time the JobTrigger was last updated.
+     * - `create_time`: corresponds to the time the JobTrigger was created.
+     * - `update_time`: corresponds to the time the JobTrigger was last updated.
      * - `last_run_time`: corresponds to the last time the JobTrigger ran.
-     * - `name`: corresponds to JobTrigger's name.
-     * - `display_name`: corresponds to JobTrigger's display name.
+     * - `name`: corresponds to the JobTrigger's name.
+     * - `display_name`: corresponds to the JobTrigger's display name.
      * - `status`: corresponds to JobTrigger's status.
      * 
* * 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,
@@ -1432,25 +1323,25 @@ public Builder clearOrderBy() {
      * insignificant.
      * Example: `name asc,update_time, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the JobTrigger was created.
-     * - `update_time`: corresponds to time the JobTrigger was last updated.
+     * - `create_time`: corresponds to the time the JobTrigger was created.
+     * - `update_time`: corresponds to the time the JobTrigger was last updated.
      * - `last_run_time`: corresponds to the last time the JobTrigger ran.
-     * - `name`: corresponds to JobTrigger's name.
-     * - `display_name`: corresponds to JobTrigger's display name.
+     * - `name`: corresponds to the JobTrigger's name.
+     * - `display_name`: corresponds to the JobTrigger's display name.
      * - `status`: corresponds to JobTrigger's status.
      * 
* * 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; @@ -1458,8 +1349,6 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1483,13 +1372,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; @@ -1498,8 +1387,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1523,14 +1410,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 { @@ -1538,8 +1426,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Allows filtering.
      * Supported syntax:
@@ -1563,22 +1449,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:
@@ -1602,18 +1486,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:
@@ -1637,16 +1518,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; @@ -1654,65 +1535,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. */ @@ -1720,24 +1587,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; @@ -1745,20 +1609,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; @@ -1767,21 +1629,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 { @@ -1789,68 +1650,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); } @@ -1860,12 +1714,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(); } @@ -1874,16 +1728,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; @@ -1898,4 +1752,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 78% 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..e0bdcb97 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,
@@ -126,22 +91,19 @@ public interface ListJobTriggersRequestOrBuilder
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the JobTrigger was created.
-   * - `update_time`: corresponds to time the JobTrigger was last updated.
+   * - `create_time`: corresponds to the time the JobTrigger was created.
+   * - `update_time`: corresponds to the time the JobTrigger was last updated.
    * - `last_run_time`: corresponds to the last time the JobTrigger ran.
-   * - `name`: corresponds to JobTrigger's name.
-   * - `display_name`: corresponds to JobTrigger's display name.
+   * - `name`: corresponds to the JobTrigger's name.
+   * - `display_name`: corresponds to the JobTrigger's display name.
    * - `status`: corresponds to JobTrigger's status.
    * 
* * 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,
@@ -149,23 +111,21 @@ public interface ListJobTriggersRequestOrBuilder
    * insignificant.
    * Example: `name asc,update_time, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the JobTrigger was created.
-   * - `update_time`: corresponds to time the JobTrigger was last updated.
+   * - `create_time`: corresponds to the time the JobTrigger was created.
+   * - `update_time`: corresponds to the time the JobTrigger was last updated.
    * - `last_run_time`: corresponds to the last time the JobTrigger ran.
-   * - `name`: corresponds to JobTrigger's name.
-   * - `display_name`: corresponds to JobTrigger's display name.
+   * - `name`: corresponds to the JobTrigger's name.
+   * - `display_name`: corresponds to the JobTrigger's display name.
    * - `status`: corresponds to JobTrigger's status.
    * 
* * 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 1ab38bb7..84ef275a 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,31 +55,28 @@ 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) { @@ -104,7 +84,8 @@ private ListJobTriggersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -113,27 +94,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.
    * 
@@ -145,8 +121,6 @@ public java.util.List getJobTriggersList() return jobTriggers_; } /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -154,13 +128,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.
    * 
@@ -172,8 +144,6 @@ public int getJobTriggersCount() { return jobTriggers_.size(); } /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -185,8 +155,6 @@ public com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index) { return jobTriggers_.get(index); } /** - * - * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -194,22 +162,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 @@ -218,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < jobTriggers_.size(); i++) { output.writeMessage(1, jobTriggers_.get(i)); } @@ -279,7 +245,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_); @@ -292,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -325,126 +293,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() @@ -452,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getJobTriggersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.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 @@ -499,8 +458,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)) { @@ -520,39 +478,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; @@ -560,8 +517,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()) { @@ -580,10 +536,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_); } @@ -612,8 +567,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) { @@ -622,28 +576,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.
      * 
@@ -658,8 +605,6 @@ public java.util.List getJobTriggersList() } } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -674,8 +619,6 @@ public int getJobTriggersCount() { } } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -690,15 +633,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(); @@ -712,8 +654,6 @@ public Builder setJobTriggers(int index, com.google.privacy.dlp.v2.JobTrigger va return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -732,8 +672,6 @@ public Builder setJobTriggers( return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -754,15 +692,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(); @@ -776,15 +713,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()); @@ -795,8 +731,6 @@ public Builder addJobTriggers(com.google.privacy.dlp.v2.JobTrigger.Builder build return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -815,8 +749,6 @@ public Builder addJobTriggers( return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -827,7 +759,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); @@ -835,8 +768,6 @@ public Builder addAllJobTriggers( return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -854,8 +785,6 @@ public Builder clearJobTriggers() { return this; } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -873,44 +802,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 { @@ -918,8 +842,6 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder(int } } /** - * - * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -927,48 +849,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_; @@ -976,21 +892,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; @@ -999,22 +913,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 { @@ -1022,71 +935,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); } @@ -1096,12 +1002,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(); } @@ -1110,16 +1016,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; @@ -1134,4 +1040,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 70% 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 af5eb393..62521e1a 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,46 +56,42 @@ 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) { @@ -120,33 +99,29 @@ private ListStoredInfoTypesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -156,20 +131,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *   `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
    * + Projects scope, no location specified (defaults to global):<br/>
    *   `projects/`<var>PROJECT_ID</var>
-   * + Organizations scope, location specified:<br/>
-   *   `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
-   * + Organizations scope, no location specified (defaults to global):<br/>
-   *   `organizations/`<var>ORG_ID</var>
    * The following example `parent` string specifies a parent project with the
    * identifier `example-project`, and specifies the `europe-west3` location
    * for processing data:
    *     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,15 +146,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
@@ -196,28 +163,23 @@ public java.lang.String getParent() {
    *   `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
    * + Projects scope, no location specified (defaults to global):<br/>
    *   `projects/`<var>PROJECT_ID</var>
-   * + Organizations scope, location specified:<br/>
-   *   `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
-   * + Organizations scope, no location specified (defaults to global):<br/>
-   *   `organizations/`<var>ORG_ID</var>
    * The following example `parent` string specifies a parent project with the
    * identifier `example-project`, and specifies the `europe-west3` location
    * for processing data:
    *     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 { @@ -228,15 +190,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 @@ -245,30 +204,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 { @@ -279,15 +238,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
+   * Size of the page, can be limited by the server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -298,8 +254,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,
@@ -307,7 +261,7 @@ public int getPageSize() {
    * insignificant.
    * Example: `name asc, display_name, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the most recent version of the
+   * - `create_time`: corresponds to the time the most recent version of the
    * resource was created.
    * - `state`: corresponds to the state of the resource.
    * - `name`: corresponds to resource name.
@@ -315,7 +269,6 @@ public int getPageSize() {
    * 
* * string order_by = 4; - * * @return The orderBy. */ @java.lang.Override @@ -324,15 +277,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,
@@ -340,7 +292,7 @@ public java.lang.String getOrderBy() {
    * insignificant.
    * Example: `name asc, display_name, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the most recent version of the
+   * - `create_time`: corresponds to the time the most recent version of the
    * resource was created.
    * - `state`: corresponds to the state of the resource.
    * - `name`: corresponds to resource name.
@@ -348,15 +300,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 { @@ -367,14 +320,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 @@ -383,29 +333,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 { @@ -414,7 +364,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -426,7 +375,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -458,7 +408,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_); @@ -474,19 +425,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; } @@ -514,126 +469,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() @@ -641,15 +587,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -667,9 +614,9 @@ public Builder 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 @@ -688,8 +635,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_; @@ -703,39 +649,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; @@ -743,8 +688,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(); @@ -783,8 +727,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) { @@ -796,8 +739,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
@@ -807,26 +748,20 @@ public Builder mergeFrom(
      *   `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
      * + Projects scope, no location specified (defaults to global):<br/>
      *   `projects/`<var>PROJECT_ID</var>
-     * + Organizations scope, location specified:<br/>
-     *   `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
-     * + Organizations scope, no location specified (defaults to global):<br/>
-     *   `organizations/`<var>ORG_ID</var>
      * The following example `parent` string specifies a parent project with the
      * identifier `example-project`, and specifies the `europe-west3` location
      * for processing data:
      *     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; @@ -835,8 +770,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -846,27 +779,22 @@ public java.lang.String getParent() {
      *   `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
      * + Projects scope, no location specified (defaults to global):<br/>
      *   `projects/`<var>PROJECT_ID</var>
-     * + Organizations scope, location specified:<br/>
-     *   `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
-     * + Organizations scope, no location specified (defaults to global):<br/>
-     *   `organizations/`<var>ORG_ID</var>
      * The following example `parent` string specifies a parent project with the
      * identifier `example-project`, and specifies the `europe-west3` location
      * for processing data:
      *     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 { @@ -874,8 +802,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -885,35 +811,27 @@ public com.google.protobuf.ByteString getParentBytes() {
      *   `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
      * + Projects scope, no location specified (defaults to global):<br/>
      *   `projects/`<var>PROJECT_ID</var>
-     * + Organizations scope, location specified:<br/>
-     *   `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
-     * + Organizations scope, no location specified (defaults to global):<br/>
-     *   `organizations/`<var>ORG_ID</var>
      * The following example `parent` string specifies a parent project with the
      * identifier `example-project`, and specifies the `europe-west3` location
      * for processing data:
      *     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
@@ -923,31 +841,22 @@ public Builder setParent(java.lang.String value) {
      *   `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
      * + Projects scope, no location specified (defaults to global):<br/>
      *   `projects/`<var>PROJECT_ID</var>
-     * + Organizations scope, location specified:<br/>
-     *   `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
-     * + Organizations scope, no location specified (defaults to global):<br/>
-     *   `organizations/`<var>ORG_ID</var>
      * The following example `parent` string specifies a parent project with the
      * identifier `example-project`, and specifies the `europe-west3` location
      * for processing data:
      *     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
@@ -957,29 +866,23 @@ public Builder clearParent() {
      *   `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
      * + Projects scope, no location specified (defaults to global):<br/>
      *   `projects/`<var>PROJECT_ID</var>
-     * + Organizations scope, location specified:<br/>
-     *   `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
-     * + Organizations scope, no location specified (defaults to global):<br/>
-     *   `organizations/`<var>ORG_ID</var>
      * The following example `parent` string specifies a parent project with the
      * identifier `example-project`, and specifies the `europe-west3` location
      * for processing data:
      *     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; @@ -987,21 +890,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; @@ -1010,22 +911,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 { @@ -1033,80 +933,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
+     * Size of the page, can be limited by the server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -1114,38 +1004,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
-     * Size of the page, can be limited by server. If zero server returns
+     * Size of the page, can be limited by the 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
+     * Size of the page, can be limited by the 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; @@ -1153,8 +1037,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,
@@ -1162,7 +1044,7 @@ public Builder clearPageSize() {
      * insignificant.
      * Example: `name asc, display_name, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the most recent version of the
+     * - `create_time`: corresponds to the time the most recent version of the
      * resource was created.
      * - `state`: corresponds to the state of the resource.
      * - `name`: corresponds to resource name.
@@ -1170,13 +1052,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; @@ -1185,8 +1067,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,
@@ -1194,7 +1074,7 @@ public java.lang.String getOrderBy() {
      * insignificant.
      * Example: `name asc, display_name, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the most recent version of the
+     * - `create_time`: corresponds to the time the most recent version of the
      * resource was created.
      * - `state`: corresponds to the state of the resource.
      * - `name`: corresponds to resource name.
@@ -1202,14 +1082,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 { @@ -1217,8 +1098,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,
@@ -1226,7 +1105,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * insignificant.
      * Example: `name asc, display_name, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the most recent version of the
+     * - `create_time`: corresponds to the time the most recent version of the
      * resource was created.
      * - `state`: corresponds to the state of the resource.
      * - `name`: corresponds to resource name.
@@ -1234,22 +1113,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,
@@ -1257,7 +1134,7 @@ public Builder setOrderBy(java.lang.String value) {
      * insignificant.
      * Example: `name asc, display_name, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the most recent version of the
+     * - `create_time`: corresponds to the time the most recent version of the
      * resource was created.
      * - `state`: corresponds to the state of the resource.
      * - `name`: corresponds to resource name.
@@ -1265,18 +1142,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,7 +1158,7 @@ public Builder clearOrderBy() {
      * insignificant.
      * Example: `name asc, display_name, create_time desc`
      * Supported fields are:
-     * - `create_time`: corresponds to time the most recent version of the
+     * - `create_time`: corresponds to the time the most recent version of the
      * resource was created.
      * - `state`: corresponds to the state of the resource.
      * - `name`: corresponds to resource name.
@@ -1292,16 +1166,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; @@ -1309,20 +1183,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; @@ -1331,21 +1203,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 { @@ -1353,68 +1224,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); } @@ -1424,12 +1288,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(); } @@ -1438,16 +1302,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; @@ -1462,4 +1326,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 67% 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..ea880644 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
@@ -35,26 +17,17 @@ public interface ListStoredInfoTypesRequestOrBuilder
    *   `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
    * + Projects scope, no location specified (defaults to global):<br/>
    *   `projects/`<var>PROJECT_ID</var>
-   * + Organizations scope, location specified:<br/>
-   *   `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
-   * + Organizations scope, no location specified (defaults to global):<br/>
-   *   `organizations/`<var>ORG_ID</var>
    * The following example `parent` string specifies a parent project with the
    * identifier `example-project`, and specifies the `europe-west3` location
    * for processing data:
    *     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
@@ -64,68 +37,52 @@ public interface ListStoredInfoTypesRequestOrBuilder
    *   `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
    * + Projects scope, no location specified (defaults to global):<br/>
    *   `projects/`<var>PROJECT_ID</var>
-   * + Organizations scope, location specified:<br/>
-   *   `organizations/`<var>ORG_ID</var>`/locations/`<var>LOCATION_ID</var>
-   * + Organizations scope, no location specified (defaults to global):<br/>
-   *   `organizations/`<var>ORG_ID</var>
    * The following example `parent` string specifies a parent project with the
    * identifier `example-project`, and specifies the `europe-west3` location
    * for processing data:
    *     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
+   * Size of the page, can be limited by the 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,
@@ -133,7 +90,7 @@ public interface ListStoredInfoTypesRequestOrBuilder
    * insignificant.
    * Example: `name asc, display_name, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the most recent version of the
+   * - `create_time`: corresponds to the time the most recent version of the
    * resource was created.
    * - `state`: corresponds to the state of the resource.
    * - `name`: corresponds to resource name.
@@ -141,13 +98,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,
@@ -155,7 +109,7 @@ public interface ListStoredInfoTypesRequestOrBuilder
    * insignificant.
    * Example: `name asc, display_name, create_time desc`
    * Supported fields are:
-   * - `create_time`: corresponds to time the most recent version of the
+   * - `create_time`: corresponds to the time the most recent version of the
    * resource was created.
    * - `state`: corresponds to the state of the resource.
    * - `name`: corresponds to resource name.
@@ -163,33 +117,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 65a7ea3d..3bf268a1 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,32 +55,28 @@ 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) { @@ -105,7 +84,8 @@ private ListStoredInfoTypesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -114,27 +94,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.
    * 
@@ -146,8 +121,6 @@ public java.util.List getStoredInfoTyp return storedInfoTypes_; } /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -155,13 +128,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.
    * 
@@ -173,8 +144,6 @@ public int getStoredInfoTypesCount() { return storedInfoTypes_.size(); } /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -186,8 +155,6 @@ public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index) { return storedInfoTypes_.get(index); } /** - * - * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -195,22 +162,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 @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < storedInfoTypes_.size(); i++) { output.writeMessage(1, storedInfoTypes_.get(i)); } @@ -280,7 +245,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_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -326,127 +293,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() @@ -454,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStoredInfoTypesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.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 @@ -501,8 +458,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)) { @@ -522,39 +478,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; @@ -562,8 +517,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()) { @@ -582,10 +536,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_); } @@ -614,8 +567,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) { @@ -624,29 +576,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.
      * 
@@ -661,8 +605,6 @@ public java.util.List getStoredInfoTyp } } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -677,8 +619,6 @@ public int getStoredInfoTypesCount() { } } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -693,15 +633,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(); @@ -715,8 +654,6 @@ public Builder setStoredInfoTypes(int index, com.google.privacy.dlp.v2.StoredInf return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -735,8 +672,6 @@ public Builder setStoredInfoTypes( return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -757,15 +692,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(); @@ -779,8 +713,6 @@ public Builder addStoredInfoTypes(int index, com.google.privacy.dlp.v2.StoredInf return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -799,8 +731,6 @@ public Builder addStoredInfoTypes( return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -819,8 +749,6 @@ public Builder addStoredInfoTypes( return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -831,7 +759,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); @@ -839,8 +768,6 @@ public Builder addAllStoredInfoTypes( return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -858,8 +785,6 @@ public Builder clearStoredInfoTypes() { return this; } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -877,20 +802,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.
      * 
@@ -900,22 +822,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 { @@ -923,8 +842,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBui } } /** - * - * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -932,47 +849,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(), @@ -984,21 +892,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; @@ -1007,22 +913,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 { @@ -1030,71 +935,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); } @@ -1104,12 +1002,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(); } @@ -1118,16 +1016,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; @@ -1142,4 +1040,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 7eda4935..7cdf077b 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,71 +54,61 @@ 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) { @@ -143,7 +116,8 @@ private Location( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -152,27 +126,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.
@@ -182,7 +151,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 @@ -190,8 +158,6 @@ public boolean hasByteRange() { return byteRange_ != null; } /** - * - * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -201,7 +167,6 @@ public boolean hasByteRange() {
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; - * * @return The byteRange. */ @java.lang.Override @@ -209,8 +174,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.
@@ -229,8 +192,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.
@@ -238,7 +199,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 @@ -246,8 +206,6 @@ public boolean hasCodepointRange() { return codepointRange_ != null; } /** - * - * *
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -255,18 +213,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.
@@ -283,8 +236,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.
@@ -297,8 +248,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.
@@ -307,13 +256,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.
@@ -326,8 +273,6 @@ public int getContentLocationsCount() {
     return contentLocations_.size();
   }
   /**
-   *
-   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -340,8 +285,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.
@@ -358,14 +301,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 @@ -373,25 +313,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.
    * 
@@ -404,7 +337,6 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -416,7 +348,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -439,16 +372,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; @@ -458,7 +395,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); @@ -467,16 +404,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; @@ -510,126 +451,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() @@ -637,17 +570,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(); @@ -679,9 +612,9 @@ public Builder 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 @@ -734,39 +667,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; @@ -799,10 +731,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_); } @@ -839,18 +770,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.
@@ -860,15 +785,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.
@@ -878,21 +800,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.
@@ -917,8 +834,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.
@@ -929,7 +844,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();
@@ -940,8 +856,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.
@@ -956,9 +870,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;
         }
@@ -970,8 +882,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.
@@ -994,8 +904,6 @@ public Builder clearByteRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1007,13 +915,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.
@@ -1028,14 +934,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.
@@ -1047,17 +950,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_;
@@ -1065,13 +965,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.
@@ -1079,15 +974,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.
@@ -1095,21 +987,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.
@@ -1132,8 +1019,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.
@@ -1142,7 +1027,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();
@@ -1153,8 +1039,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.
@@ -1167,9 +1051,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;
         }
@@ -1181,8 +1063,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.
@@ -1203,8 +1083,6 @@ public Builder clearCodepointRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1214,13 +1092,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.
@@ -1233,14 +1109,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.
@@ -1250,42 +1123,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.
@@ -1301,8 +1164,6 @@ public java.util.List getContentLocat
       }
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1318,8 +1179,6 @@ public int getContentLocationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1335,8 +1194,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.
@@ -1344,7 +1201,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();
@@ -1358,8 +1216,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.
@@ -1379,8 +1235,6 @@ public Builder setContentLocations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1402,8 +1256,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.
@@ -1411,7 +1263,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();
@@ -1425,8 +1278,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.
@@ -1446,8 +1297,6 @@ public Builder addContentLocations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1467,8 +1316,6 @@ public Builder addContentLocations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1480,7 +1327,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);
@@ -1488,8 +1336,6 @@ public Builder addAllContentLocations(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1508,8 +1354,6 @@ public Builder clearContentLocations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1528,8 +1372,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.
@@ -1537,12 +1379,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.
@@ -1553,14 +1394,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.
@@ -1568,8 +1406,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 {
@@ -1577,8 +1415,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.
@@ -1587,12 +1423,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.
@@ -1600,13 +1434,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.
@@ -1614,22 +1447,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(),
@@ -1641,47 +1468,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.
      * 
@@ -1702,15 +1516,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(); @@ -1721,8 +1534,6 @@ public Builder setContainer(com.google.privacy.dlp.v2.Container.Builder builderF return this; } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1733,9 +1544,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; } @@ -1747,8 +1556,6 @@ public Builder mergeContainer(com.google.privacy.dlp.v2.Container value) { return this; } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1767,8 +1574,6 @@ public Builder clearContainer() { return this; } /** - * - * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1776,13 +1581,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.
      * 
@@ -1793,14 +1596,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.
      * 
@@ -1808,24 +1608,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); } @@ -1835,12 +1632,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(); } @@ -1849,16 +1646,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; @@ -1873,4 +1670,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 90ae4ba6..77fc3ae0 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,13 +53,13 @@ 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) {
@@ -83,29 +67,27 @@ private Manual(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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;
@@ -117,7 +99,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     unknownFields.writeTo(output);
   }
 
@@ -135,7 +118,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);
@@ -158,103 +141,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.
@@ -262,23 +239,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()
@@ -286,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();
@@ -302,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_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
@@ -332,39 +308,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;
@@ -401,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);
     }
 
@@ -413,12 +388,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();
   }
@@ -427,16 +402,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;
@@ -451,4 +426,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 73%
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..599c6b89 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() {
-    return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(1);
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(4);
   }
 
   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 71%
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 4e9c1143..0058f6c7 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,36 +53,33 @@ 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) { @@ -107,39 +87,34 @@ private MetadataLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -155,70 +130,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 @@ -226,26 +187,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.
    * 
@@ -255,13 +211,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; @@ -273,7 +228,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (type_ != com.google.privacy.dlp.v2.MetadataType.METADATATYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } @@ -290,12 +246,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; @@ -305,19 +261,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: @@ -348,127 +304,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() @@ -476,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(); @@ -496,9 +444,9 @@ public Builder 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 @@ -517,8 +465,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) { @@ -536,39 +483,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; @@ -581,15 +527,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(); @@ -619,12 +563,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() { @@ -634,67 +578,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. */ @@ -702,43 +633,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 @@ -746,14 +668,11 @@ public boolean hasStorageLabel() { return labelCase_ == 3; } /** - * - * *
      * Storage metadata.
      * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; - * * @return The storageLabel. */ @java.lang.Override @@ -771,8 +690,6 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() { } } /** - * - * *
      * Storage metadata.
      * 
@@ -793,8 +710,6 @@ public Builder setStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel va return this; } /** - * - * *
      * Storage metadata.
      * 
@@ -813,8 +728,6 @@ public Builder setStorageLabel( return this; } /** - * - * *
      * Storage metadata.
      * 
@@ -823,13 +736,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; } @@ -845,8 +755,6 @@ public Builder mergeStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel return this; } /** - * - * *
      * Storage metadata.
      * 
@@ -870,8 +778,6 @@ public Builder clearStorageLabel() { return this; } /** - * - * *
      * Storage metadata.
      * 
@@ -882,8 +788,6 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel.Builder getStorageLabelBui return getStorageLabelFieldBuilder().getBuilder(); } /** - * - * *
      * Storage metadata.
      * 
@@ -902,8 +806,6 @@ public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOr } } /** - * - * *
      * Storage metadata.
      * 
@@ -911,32 +813,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); } @@ -946,12 +842,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(); } @@ -960,16 +856,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; @@ -984,4 +880,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 64% 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..e9065a0e 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() { - return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(3); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(6); } 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/OtherInfoTypeSummary.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummary.java similarity index 64% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummary.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummary.java index 33293db2..89636aaa 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummary.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummary.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; /** - * - * *
  * Infotype details for other infoTypes found within a column.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.OtherInfoTypeSummary} */ -public final class OtherInfoTypeSummary extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OtherInfoTypeSummary extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.OtherInfoTypeSummary) OtherInfoTypeSummaryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OtherInfoTypeSummary.newBuilder() to construct. private OtherInfoTypeSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private OtherInfoTypeSummary() {} + private OtherInfoTypeSummary() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OtherInfoTypeSummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OtherInfoTypeSummary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,28 +52,31 @@ private OtherInfoTypeSummary( 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(); + } + 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: { + + estimatedPrevalence_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,39 +84,34 @@ private OtherInfoTypeSummary( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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_OtherInfoTypeSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.OtherInfoTypeSummary.class, - com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder.class); + com.google.privacy.dlp.v2.OtherInfoTypeSummary.class, com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder.class); } public static final int INFO_TYPE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InfoType infoType_; /** - * - * *
    * The other infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -137,14 +119,11 @@ public boolean hasInfoType() { return infoType_ != null; } /** - * - * *
    * The other infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ @java.lang.Override @@ -152,8 +131,6 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** - * - * *
    * The other infoType.
    * 
@@ -165,8 +142,23 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { return getInfoType(); } - private byte memoizedIsInitialized = -1; + public static final int ESTIMATED_PREVALENCE_FIELD_NUMBER = 2; + private int estimatedPrevalence_; + /** + *
+   * Approximate percentage of non-null rows that contained data detected by
+   * this infotype.
+   * 
+ * + * int32 estimated_prevalence = 2; + * @return The estimatedPrevalence. + */ + @java.lang.Override + public int getEstimatedPrevalence() { + return estimatedPrevalence_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,10 +170,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 (infoType_ != null) { output.writeMessage(1, getInfoType()); } + if (estimatedPrevalence_ != 0) { + output.writeInt32(2, estimatedPrevalence_); + } unknownFields.writeTo(output); } @@ -192,7 +188,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 (estimatedPrevalence_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, estimatedPrevalence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -202,18 +203,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.OtherInfoTypeSummary)) { return super.equals(obj); } - com.google.privacy.dlp.v2.OtherInfoTypeSummary other = - (com.google.privacy.dlp.v2.OtherInfoTypeSummary) obj; + com.google.privacy.dlp.v2.OtherInfoTypeSummary other = (com.google.privacy.dlp.v2.OtherInfoTypeSummary) obj; if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType().equals(other.getInfoType())) return false; + if (!getInfoType() + .equals(other.getInfoType())) return false; } + if (getEstimatedPrevalence() + != other.getEstimatedPrevalence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,132 +232,125 @@ public int hashCode() { hash = (37 * hash) + INFO_TYPE_FIELD_NUMBER; hash = (53 * hash) + getInfoType().hashCode(); } + hash = (37 * hash) + ESTIMATED_PREVALENCE_FIELD_NUMBER; + hash = (53 * hash) + getEstimatedPrevalence(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom(java.io.InputStream input) 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.OtherInfoTypeSummary parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.OtherInfoTypeSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 details for other infoTypes found within a column.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.OtherInfoTypeSummary} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.OtherInfoTypeSummary) com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.OtherInfoTypeSummary.class, - com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder.class); + com.google.privacy.dlp.v2.OtherInfoTypeSummary.class, com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder.class); } // Construct using com.google.privacy.dlp.v2.OtherInfoTypeSummary.newBuilder() @@ -362,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(); @@ -380,13 +377,15 @@ public Builder clear() { infoType_ = null; infoTypeBuilder_ = null; } + estimatedPrevalence_ = 0; + return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; } @java.lang.Override @@ -405,13 +404,13 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary build() { @java.lang.Override public com.google.privacy.dlp.v2.OtherInfoTypeSummary buildPartial() { - com.google.privacy.dlp.v2.OtherInfoTypeSummary result = - new com.google.privacy.dlp.v2.OtherInfoTypeSummary(this); + com.google.privacy.dlp.v2.OtherInfoTypeSummary result = new com.google.privacy.dlp.v2.OtherInfoTypeSummary(this); if (infoTypeBuilder_ == null) { result.infoType_ = infoType_; } else { result.infoType_ = infoTypeBuilder_.build(); } + result.estimatedPrevalence_ = estimatedPrevalence_; onBuilt(); return result; } @@ -420,39 +419,38 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.OtherInfoTypeSummary) { - return mergeFrom((com.google.privacy.dlp.v2.OtherInfoTypeSummary) other); + return mergeFrom((com.google.privacy.dlp.v2.OtherInfoTypeSummary)other); } else { super.mergeFrom(other); return this; @@ -464,6 +462,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.OtherInfoTypeSummary other) { if (other.hasInfoType()) { mergeInfoType(other.getInfoType()); } + if (other.getEstimatedPrevalence() != 0) { + setEstimatedPrevalence(other.getEstimatedPrevalence()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -495,47 +496,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 other infoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** - * - * *
      * The other 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(); } } /** - * - * *
      * The other infoType.
      * 
@@ -556,15 +544,14 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * The other 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(); @@ -575,8 +562,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor return this; } /** - * - * *
      * The other infoType.
      * 
@@ -587,9 +572,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; } @@ -601,8 +584,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * The other infoType.
      * 
@@ -621,8 +602,6 @@ public Builder clearInfoType() { return this; } /** - * - * *
      * The other infoType.
      * 
@@ -630,13 +609,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 other infoType.
      * 
@@ -647,14 +624,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 other infoType.
      * 
@@ -662,24 +636,67 @@ 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 estimatedPrevalence_ ; + /** + *
+     * Approximate percentage of non-null rows that contained data detected by
+     * this infotype.
+     * 
+ * + * int32 estimated_prevalence = 2; + * @return The estimatedPrevalence. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public int getEstimatedPrevalence() { + return estimatedPrevalence_; + } + /** + *
+     * Approximate percentage of non-null rows that contained data detected by
+     * this infotype.
+     * 
+ * + * int32 estimated_prevalence = 2; + * @param value The estimatedPrevalence to set. + * @return This builder for chaining. + */ + public Builder setEstimatedPrevalence(int value) { + + estimatedPrevalence_ = value; + onChanged(); + return this; + } + /** + *
+     * Approximate percentage of non-null rows that contained data detected by
+     * this infotype.
+     * 
+ * + * int32 estimated_prevalence = 2; + * @return This builder for chaining. + */ + public Builder clearEstimatedPrevalence() { + + estimatedPrevalence_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,12 +706,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.OtherInfoTypeSummary) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.OtherInfoTypeSummary) private static final com.google.privacy.dlp.v2.OtherInfoTypeSummary DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.OtherInfoTypeSummary(); } @@ -703,16 +720,16 @@ public static com.google.privacy.dlp.v2.OtherInfoTypeSummary getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OtherInfoTypeSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OtherInfoTypeSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OtherInfoTypeSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OtherInfoTypeSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -727,4 +744,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.OtherInfoTypeSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.java similarity index 56% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.java index 254dc6ec..471c73ef 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.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 OtherInfoTypeSummaryOrBuilder - extends +public interface OtherInfoTypeSummaryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.OtherInfoTypeSummary) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The other infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** - * - * *
    * The other infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** - * - * *
    * The other infoType.
    * 
@@ -57,4 +33,15 @@ public interface OtherInfoTypeSummaryOrBuilder * .google.privacy.dlp.v2.InfoType info_type = 1; */ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); + + /** + *
+   * Approximate percentage of non-null rows that contained data detected by
+   * this infotype.
+   * 
+ * + * int32 estimated_prevalence = 2; + * @return The estimatedPrevalence. + */ + int getEstimatedPrevalence(); } 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 75% 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 5ba9ff71..bd8ca873 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,36 +53,33 @@ 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) { @@ -107,31 +87,27 @@ private OutputStorageConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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.
@@ -139,10 +115,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.
      * 
@@ -151,8 +126,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ OUTPUT_SCHEMA_UNSPECIFIED(0), /** - * - * *
      * Basic schema including only `info_type`, `quote`, `certainty`, and
      * `timestamp`.
@@ -162,18 +135,14 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum {
      */
     BASIC_COLUMNS(1),
     /**
-     *
-     *
      * 
-     * Schema tailored to findings from scanning Google Cloud Storage.
+     * Schema tailored to findings from scanning Cloud Storage.
      * 
* * GCS_COLUMNS = 2; */ GCS_COLUMNS(2), /** - * - * *
      * Schema tailored to findings from scanning Google Datastore.
      * 
@@ -182,8 +151,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ DATASTORE_COLUMNS(3), /** - * - * *
      * Schema tailored to findings from scanning Google BigQuery.
      * 
@@ -192,8 +159,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ BIG_QUERY_COLUMNS(4), /** - * - * *
      * Schema containing all columns.
      * 
@@ -205,8 +170,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unused.
      * 
@@ -215,8 +178,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`.
@@ -226,18 +187,14 @@ 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.
+     * Schema tailored to findings from scanning Cloud Storage.
      * 
* * GCS_COLUMNS = 2; */ public static final int GCS_COLUMNS_VALUE = 2; /** - * - * *
      * Schema tailored to findings from scanning Google Datastore.
      * 
@@ -246,8 +203,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.
      * 
@@ -256,8 +211,6 @@ public enum OutputSchema implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIG_QUERY_COLUMNS_VALUE = 4; /** - * - * *
      * Schema containing all columns.
      * 
@@ -266,6 +219,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( @@ -290,55 +244,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; @@ -357,15 +308,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; } @@ -381,34 +329,30 @@ 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
    * for you with the following format:
-   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-   * generating the date details.
+   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+   * for generating the date details.
    * For Inspect, each column in an existing output table must have the same
    * name, type, and mode of a field in the `Finding` object.
    * For Risk, an existing output table should be the output of a previous
@@ -419,7 +363,6 @@ public TypeCase getTypeCase() {
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return Whether the table field is set. */ @java.lang.Override @@ -427,14 +370,12 @@ 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
    * for you with the following format:
-   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-   * generating the date details.
+   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+   * for generating the date details.
    * For Inspect, each column in an existing output table must have the same
    * name, type, and mode of a field in the `Finding` object.
    * For Risk, an existing output table should be the output of a previous
@@ -445,25 +386,22 @@ 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
    * for you with the following format:
-   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-   * generating the date details.
+   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+   * for generating the date details.
    * For Inspect, each column in an existing output table must have the same
    * name, type, and mode of a field in the `Finding` object.
    * For Risk, an existing output table should be the output of a previous
@@ -478,7 +416,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();
   }
@@ -486,8 +424,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
@@ -501,16 +437,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
@@ -524,21 +456,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; @@ -550,13 +476,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); @@ -569,14 +494,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; @@ -586,19 +509,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: @@ -629,127 +552,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() @@ -757,15 +671,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -777,9 +692,9 @@ public Builder 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 @@ -798,8 +713,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_; @@ -817,39 +731,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; @@ -862,15 +775,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(); @@ -900,12 +811,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() { @@ -915,20 +826,16 @@ 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
      * for you with the following format:
-     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-     * generating the date details.
+     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+     * for generating the date details.
      * For Inspect, each column in an existing output table must have the same
      * name, type, and mode of a field in the `Finding` object.
      * For Risk, an existing output table should be the output of a previous
@@ -939,7 +846,6 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return Whether the table field is set. */ @java.lang.Override @@ -947,14 +853,12 @@ 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
      * for you with the following format:
-     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-     * generating the date details.
+     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+     * for generating the date details.
      * For Inspect, each column in an existing output table must have the same
      * name, type, and mode of a field in the `Finding` object.
      * For Risk, an existing output table should be the output of a previous
@@ -965,7 +869,6 @@ public boolean hasTable() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; - * * @return The table. */ @java.lang.Override @@ -983,14 +886,12 @@ 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
      * for you with the following format:
-     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-     * generating the date details.
+     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+     * for generating the date details.
      * For Inspect, each column in an existing output table must have the same
      * name, type, and mode of a field in the `Finding` object.
      * For Risk, an existing output table should be the output of a previous
@@ -1016,14 +917,12 @@ 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
      * for you with the following format:
-     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-     * generating the date details.
+     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+     * for generating the date details.
      * For Inspect, each column in an existing output table must have the same
      * name, type, and mode of a field in the `Finding` object.
      * For Risk, an existing output table should be the output of a previous
@@ -1035,7 +934,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();
@@ -1046,14 +946,12 @@ 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
      * for you with the following format:
-     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-     * generating the date details.
+     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+     * for generating the date details.
      * For Inspect, each column in an existing output table must have the same
      * name, type, and mode of a field in the `Finding` object.
      * For Risk, an existing output table should be the output of a previous
@@ -1067,13 +965,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;
         }
@@ -1089,14 +984,12 @@ 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
      * for you with the following format:
-     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-     * generating the date details.
+     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+     * for generating the date details.
      * For Inspect, each column in an existing output table must have the same
      * name, type, and mode of a field in the `Finding` object.
      * For Risk, an existing output table should be the output of a previous
@@ -1125,14 +1018,12 @@ 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
      * for you with the following format:
-     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-     * generating the date details.
+     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+     * for generating the date details.
      * For Inspect, each column in an existing output table must have the same
      * name, type, and mode of a field in the `Finding` object.
      * For Risk, an existing output table should be the output of a previous
@@ -1148,14 +1039,12 @@ 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
      * for you with the following format:
-     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-     * generating the date details.
+     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+     * for generating the date details.
      * For Inspect, each column in an existing output table must have the same
      * name, type, and mode of a field in the `Finding` object.
      * For Risk, an existing output table should be the output of a previous
@@ -1179,14 +1068,12 @@ 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
      * for you with the following format:
-     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-     * generating the date details.
+     * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+     * for generating the date details.
      * For Inspect, each column in an existing output table must have the same
      * name, type, and mode of a field in the `Finding` object.
      * For Risk, an existing output table should be the output of a previous
@@ -1199,32 +1086,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
@@ -1238,16 +1119,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
@@ -1261,19 +1138,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
@@ -1287,21 +1161,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
@@ -1315,23 +1183,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
@@ -1345,18 +1209,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); } @@ -1366,12 +1229,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(); } @@ -1380,16 +1243,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; @@ -1404,4 +1267,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 81% 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..1c192782 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,37 +1,19 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under 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
    * for you with the following format:
-   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-   * generating the date details.
+   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+   * for generating the date details.
    * For Inspect, each column in an existing output table must have the same
    * name, type, and mode of a field in the `Finding` object.
    * For Risk, an existing output table should be the output of a previous
@@ -42,19 +24,16 @@ 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
    * for you with the following format:
-   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-   * generating the date details.
+   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+   * for generating the date details.
    * For Inspect, each column in an existing output table must have the same
    * name, type, and mode of a field in the `Finding` object.
    * For Risk, an existing output table should be the output of a previous
@@ -65,19 +44,16 @@ 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
    * for you with the following format:
-   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for
-   * generating the date details.
+   * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used
+   * for generating the date details.
    * For Inspect, each column in an existing output table must have the same
    * name, type, and mode of a field in the `Finding` object.
    * For Risk, an existing output table should be the output of a previous
@@ -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 71% 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 a68debd0..a71296aa 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,27 +58,25 @@ 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) {
@@ -103,39 +84,34 @@ private PartitionId(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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 @@ -144,29 +120,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 { @@ -177,14 +153,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 @@ -193,29 +166,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 { @@ -224,7 +197,6 @@ public com.google.protobuf.ByteString getNamespaceIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -266,15 +239,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; } @@ -295,103 +270,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
@@ -402,23 +371,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()
@@ -426,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();
@@ -446,9 +414,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
@@ -467,8 +435,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();
@@ -479,39 +446,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;
@@ -559,20 +525,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; @@ -581,21 +545,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 { @@ -603,61 +566,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; @@ -665,20 +621,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; @@ -687,21 +641,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 { @@ -709,68 +662,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); } @@ -780,12 +726,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(); } @@ -794,16 +740,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; @@ -818,4 +764,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 b57e3a9b..64e35f5f 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,233 +52,181 @@ 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) { @@ -302,34 +234,30 @@ private PrimitiveTransformation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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), @@ -345,7 +273,6 @@ public enum TransformationCase REPLACE_DICTIONARY_CONFIG(13), TRANSFORMATION_NOT_SET(0); private final int value; - private TransformationCase(int value) { this.value = value; } @@ -361,56 +288,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 @@ -418,26 +329,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.
    * 
@@ -447,21 +353,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 @@ -469,26 +372,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
    * 
@@ -498,21 +396,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 @@ -520,26 +415,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
    * 
@@ -549,22 +439,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 @@ -572,53 +458,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 @@ -626,26 +501,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
    * 
@@ -653,24 +523,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 @@ -678,26 +544,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
    * 
@@ -707,22 +568,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 @@ -730,53 +587,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 @@ -784,26 +630,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
    * 
@@ -813,21 +654,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 @@ -835,26 +673,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
    * 
@@ -864,21 +697,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 @@ -886,26 +716,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
    * 
@@ -915,21 +740,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 @@ -937,26 +759,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
    * 
@@ -964,24 +781,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 @@ -989,26 +802,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.
    * 
@@ -1016,16 +824,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; @@ -1037,7 +843,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1069,8 +876,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_); @@ -1085,64 +891,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; @@ -1152,55 +946,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: @@ -1274,126 +1075,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() @@ -1401,15 +1193,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1419,9 +1212,9 @@ public Builder 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 @@ -1440,8 +1233,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_; @@ -1535,39 +1327,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; @@ -1575,73 +1366,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(); @@ -1662,8 +1439,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) { @@ -1672,12 +1448,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() { @@ -1687,20 +1463,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 @@ -1708,14 +1479,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 @@ -1733,8 +1501,6 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() { } } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1755,8 +1521,6 @@ public Builder setReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig val return this; } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1775,8 +1539,6 @@ public Builder setReplaceConfig( return this; } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1785,14 +1547,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; } @@ -1808,8 +1566,6 @@ public Builder mergeReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig v return this; } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1833,8 +1589,6 @@ public Builder clearReplaceConfig() { return this; } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1845,8 +1599,6 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig.Builder getReplaceConfigBuil return getReplaceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1865,8 +1617,6 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB } } /** - * - * *
      * Replace with a specified value.
      * 
@@ -1874,44 +1624,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 @@ -1919,14 +1657,11 @@ public boolean hasRedactConfig() { return transformationCase_ == 2; } /** - * - * *
      * Redact
      * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; - * * @return The redactConfig. */ @java.lang.Override @@ -1944,8 +1679,6 @@ public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() { } } /** - * - * *
      * Redact
      * 
@@ -1966,15 +1699,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(); @@ -1985,8 +1717,6 @@ public Builder setRedactConfig(com.google.privacy.dlp.v2.RedactConfig.Builder bu return this; } /** - * - * *
      * Redact
      * 
@@ -1995,13 +1725,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; } @@ -2017,8 +1744,6 @@ public Builder mergeRedactConfig(com.google.privacy.dlp.v2.RedactConfig value) { return this; } /** - * - * *
      * Redact
      * 
@@ -2042,8 +1767,6 @@ public Builder clearRedactConfig() { return this; } /** - * - * *
      * Redact
      * 
@@ -2054,8 +1777,6 @@ public com.google.privacy.dlp.v2.RedactConfig.Builder getRedactConfigBuilder() { return getRedactConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Redact
      * 
@@ -2074,8 +1795,6 @@ public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder( } } /** - * - * *
      * Redact
      * 
@@ -2083,44 +1802,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 @@ -2128,14 +1835,11 @@ public boolean hasCharacterMaskConfig() { return transformationCase_ == 3; } /** - * - * *
      * Mask
      * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; - * * @return The characterMaskConfig. */ @java.lang.Override @@ -2153,8 +1857,6 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() { } } /** - * - * *
      * Mask
      * 
@@ -2175,8 +1877,6 @@ public Builder setCharacterMaskConfig(com.google.privacy.dlp.v2.CharacterMaskCon return this; } /** - * - * *
      * Mask
      * 
@@ -2195,8 +1895,6 @@ public Builder setCharacterMaskConfig( return this; } /** - * - * *
      * Mask
      * 
@@ -2205,14 +1903,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; } @@ -2228,8 +1922,6 @@ public Builder mergeCharacterMaskConfig(com.google.privacy.dlp.v2.CharacterMaskC return this; } /** - * - * *
      * Mask
      * 
@@ -2253,8 +1945,6 @@ public Builder clearCharacterMaskConfig() { return this; } /** - * - * *
      * Mask
      * 
@@ -2265,8 +1955,6 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon return getCharacterMaskConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Mask
      * 
@@ -2274,8 +1962,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 { @@ -2286,8 +1973,6 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon } } /** - * - * *
      * Mask
      * 
@@ -2295,45 +1980,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 @@ -2341,15 +2013,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 @@ -2367,17 +2035,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(); @@ -2391,14 +2055,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) { @@ -2412,26 +2073,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; } @@ -2447,14 +2100,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) { @@ -2473,32 +2123,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 { @@ -2509,55 +2151,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 @@ -2565,14 +2191,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 @@ -2590,16 +2213,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(); @@ -2613,8 +2233,6 @@ public Builder setFixedSizeBucketingConfig( return this; } /** - * - * *
      * Fixed size bucketing
      * 
@@ -2633,25 +2251,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; } @@ -2667,8 +2278,6 @@ public Builder mergeFixedSizeBucketingConfig( return this; } /** - * - * *
      * Fixed size bucketing
      * 
@@ -2692,21 +2301,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
      * 
@@ -2714,8 +2318,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 { @@ -2726,8 +2329,6 @@ public Builder clearFixedSizeBucketingConfig() { } } /** - * - * *
      * Fixed size bucketing
      * 
@@ -2735,44 +2336,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 @@ -2780,14 +2369,11 @@ public boolean hasBucketingConfig() { return transformationCase_ == 6; } /** - * - * *
      * Bucketing
      * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; - * * @return The bucketingConfig. */ @java.lang.Override @@ -2805,8 +2391,6 @@ public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() { } } /** - * - * *
      * Bucketing
      * 
@@ -2827,8 +2411,6 @@ public Builder setBucketingConfig(com.google.privacy.dlp.v2.BucketingConfig valu return this; } /** - * - * *
      * Bucketing
      * 
@@ -2847,8 +2429,6 @@ public Builder setBucketingConfig( return this; } /** - * - * *
      * Bucketing
      * 
@@ -2857,13 +2437,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; } @@ -2879,8 +2456,6 @@ public Builder mergeBucketingConfig(com.google.privacy.dlp.v2.BucketingConfig va return this; } /** - * - * *
      * Bucketing
      * 
@@ -2904,8 +2479,6 @@ public Builder clearBucketingConfig() { return this; } /** - * - * *
      * Bucketing
      * 
@@ -2916,8 +2489,6 @@ public com.google.privacy.dlp.v2.BucketingConfig.Builder getBucketingConfigBuild return getBucketingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Bucketing
      * 
@@ -2936,8 +2507,6 @@ public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBu } } /** - * - * *
      * Bucketing
      * 
@@ -2945,45 +2514,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 @@ -2991,15 +2547,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 @@ -3017,17 +2569,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(); @@ -3041,14 +2589,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) { @@ -3062,26 +2607,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; } @@ -3097,14 +2634,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) { @@ -3123,32 +2657,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 { @@ -3159,55 +2685,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 @@ -3215,14 +2725,11 @@ public boolean hasTimePartConfig() { return transformationCase_ == 8; } /** - * - * *
      * Time extraction
      * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; - * * @return The timePartConfig. */ @java.lang.Override @@ -3240,8 +2747,6 @@ public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() { } } /** - * - * *
      * Time extraction
      * 
@@ -3262,8 +2767,6 @@ public Builder setTimePartConfig(com.google.privacy.dlp.v2.TimePartConfig value) return this; } /** - * - * *
      * Time extraction
      * 
@@ -3282,8 +2785,6 @@ public Builder setTimePartConfig( return this; } /** - * - * *
      * Time extraction
      * 
@@ -3292,13 +2793,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; } @@ -3314,8 +2812,6 @@ public Builder mergeTimePartConfig(com.google.privacy.dlp.v2.TimePartConfig valu return this; } /** - * - * *
      * Time extraction
      * 
@@ -3339,8 +2835,6 @@ public Builder clearTimePartConfig() { return this; } /** - * - * *
      * Time extraction
      * 
@@ -3351,8 +2845,6 @@ public com.google.privacy.dlp.v2.TimePartConfig.Builder getTimePartConfigBuilder return getTimePartConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Time extraction
      * 
@@ -3371,8 +2863,6 @@ public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuil } } /** - * - * *
      * Time extraction
      * 
@@ -3380,44 +2870,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 @@ -3425,14 +2903,11 @@ public boolean hasCryptoHashConfig() { return transformationCase_ == 9; } /** - * - * *
      * Crypto
      * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; - * * @return The cryptoHashConfig. */ @java.lang.Override @@ -3450,8 +2925,6 @@ public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() { } } /** - * - * *
      * Crypto
      * 
@@ -3472,8 +2945,6 @@ public Builder setCryptoHashConfig(com.google.privacy.dlp.v2.CryptoHashConfig va return this; } /** - * - * *
      * Crypto
      * 
@@ -3492,8 +2963,6 @@ public Builder setCryptoHashConfig( return this; } /** - * - * *
      * Crypto
      * 
@@ -3502,13 +2971,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; } @@ -3524,8 +2990,6 @@ public Builder mergeCryptoHashConfig(com.google.privacy.dlp.v2.CryptoHashConfig return this; } /** - * - * *
      * Crypto
      * 
@@ -3549,8 +3013,6 @@ public Builder clearCryptoHashConfig() { return this; } /** - * - * *
      * Crypto
      * 
@@ -3561,8 +3023,6 @@ public com.google.privacy.dlp.v2.CryptoHashConfig.Builder getCryptoHashConfigBui return getCryptoHashConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Crypto
      * 
@@ -3581,8 +3041,6 @@ public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOr } } /** - * - * *
      * Crypto
      * 
@@ -3590,44 +3048,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 @@ -3635,14 +3081,11 @@ public boolean hasDateShiftConfig() { return transformationCase_ == 11; } /** - * - * *
      * Date Shift
      * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; - * * @return The dateShiftConfig. */ @java.lang.Override @@ -3660,8 +3103,6 @@ public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() { } } /** - * - * *
      * Date Shift
      * 
@@ -3682,8 +3123,6 @@ public Builder setDateShiftConfig(com.google.privacy.dlp.v2.DateShiftConfig valu return this; } /** - * - * *
      * Date Shift
      * 
@@ -3702,8 +3141,6 @@ public Builder setDateShiftConfig( return this; } /** - * - * *
      * Date Shift
      * 
@@ -3712,13 +3149,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; } @@ -3734,8 +3168,6 @@ public Builder mergeDateShiftConfig(com.google.privacy.dlp.v2.DateShiftConfig va return this; } /** - * - * *
      * Date Shift
      * 
@@ -3759,8 +3191,6 @@ public Builder clearDateShiftConfig() { return this; } /** - * - * *
      * Date Shift
      * 
@@ -3771,8 +3201,6 @@ public com.google.privacy.dlp.v2.DateShiftConfig.Builder getDateShiftConfigBuild return getDateShiftConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Date Shift
      * 
@@ -3791,8 +3219,6 @@ public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBu } } /** - * - * *
      * Date Shift
      * 
@@ -3800,45 +3226,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 @@ -3846,15 +3259,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 @@ -3872,17 +3281,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(); @@ -3896,14 +3301,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) { @@ -3917,26 +3319,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; } @@ -3952,14 +3346,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) { @@ -3978,32 +3369,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 { @@ -4014,55 +3397,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 @@ -4070,14 +3437,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 @@ -4095,16 +3459,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(); @@ -4118,8 +3479,6 @@ public Builder setReplaceDictionaryConfig( return this; } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -4138,25 +3497,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; } @@ -4172,8 +3524,6 @@ public Builder mergeReplaceDictionaryConfig( return this; } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -4197,21 +3547,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.
      * 
@@ -4219,8 +3564,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 { @@ -4231,8 +3575,6 @@ public Builder clearReplaceDictionaryConfig() { } } /** - * - * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -4240,32 +3582,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); } @@ -4275,12 +3611,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(); } @@ -4289,16 +3625,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; @@ -4313,4 +3649,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 c6fc1547..e5c533b2 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,136 +52,97 @@ 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) { @@ -205,62 +150,51 @@ private PrivacyMetric( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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.
@@ -271,8 +205,6 @@ public interface NumericalStatsConfigOrBuilder
     com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Compute numerical stats over an individual column, including
    * min, max, and quantiles.
@@ -280,29 +212,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)
@@ -321,29 +254,26 @@ 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) {
@@ -351,40 +281,35 @@ private NumericalStatsConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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 @@ -392,15 +317,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 @@ -408,8 +330,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.
@@ -423,7 +343,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -435,7 +354,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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());
       }
@@ -449,7 +369,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;
@@ -459,17 +380,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;
@@ -492,94 +413,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
@@ -589,8 +503,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Compute numerical stats over an individual column, including
      * min, max, and quantiles.
@@ -598,24 +510,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()
@@ -623,15 +532,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -645,14 +555,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();
       }
 
@@ -667,8 +576,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 {
@@ -682,41 +590,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;
@@ -724,9 +629,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());
         }
@@ -749,9 +652,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) {
@@ -763,35 +664,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() { @@ -802,8 +694,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -825,8 +715,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.
@@ -834,7 +722,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();
@@ -845,8 +734,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.
@@ -858,9 +745,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;
           }
@@ -872,8 +757,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.
@@ -893,8 +776,6 @@ public Builder clearField() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -903,13 +784,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.
@@ -921,12 +800,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.
@@ -935,22 +813,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) {
@@ -963,32 +837,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;
@@ -1000,20 +872,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
@@ -1022,13 +891,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
@@ -1037,13 +903,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
@@ -1056,8 +919,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.
@@ -1065,29 +926,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)
@@ -1106,29 +968,26 @@ 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) {
@@ -1136,33 +995,29 @@ private CategoricalStatsConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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
@@ -1171,7 +1026,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 @@ -1179,8 +1033,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
@@ -1189,7 +1041,6 @@ public boolean hasField() {
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ @java.lang.Override @@ -1197,8 +1048,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
@@ -1214,7 +1063,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1226,7 +1074,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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());
       }
@@ -1240,7 +1089,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;
@@ -1250,17 +1100,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;
@@ -1283,94 +1133,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
@@ -1380,8 +1223,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Compute numerical stats over an individual column, including
      * number of distinct values and value count distribution.
@@ -1389,24 +1230,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()
@@ -1414,15 +1252,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1436,14 +1275,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();
       }
 
@@ -1458,8 +1296,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 {
@@ -1473,52 +1310,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());
         }
@@ -1541,9 +1372,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) {
@@ -1555,13 +1384,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
@@ -1570,15 +1394,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
@@ -1587,7 +1408,6 @@ public boolean hasField() {
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -1598,8 +1418,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
@@ -1623,8 +1441,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
@@ -1634,7 +1450,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();
@@ -1645,8 +1462,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
@@ -1660,9 +1475,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;
           }
@@ -1674,8 +1487,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
@@ -1697,8 +1508,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
@@ -1709,13 +1518,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
@@ -1729,12 +1536,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
@@ -1745,22 +1551,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) {
@@ -1773,32 +1575,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;
@@ -1810,20 +1610,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
@@ -1834,10 +1631,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
@@ -1850,8 +1646,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
@@ -1864,8 +1658,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
@@ -1876,10 +1668,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
@@ -1890,11 +1681,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
@@ -1908,13 +1698,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
@@ -1928,13 +1715,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
@@ -1952,39 +1736,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) @@ -2004,40 +1786,35 @@ 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) { @@ -2045,7 +1822,8 @@ private KAnonymityConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -2054,27 +1832,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
@@ -2090,8 +1863,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
@@ -2103,13 +1874,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
@@ -2125,8 +1894,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
@@ -2142,8 +1909,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
@@ -2155,15 +1920,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
@@ -2177,7 +1941,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 @@ -2185,8 +1948,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
@@ -2200,18 +1961,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
@@ -2232,7 +1988,6 @@ public com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2244,7 +1999,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -2261,10 +2017,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;
@@ -2274,18 +2032,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;
@@ -2312,94 +2071,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
@@ -2409,32 +2161,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() @@ -2442,17 +2189,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(); @@ -2472,9 +2219,9 @@ public Builder 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 @@ -2493,8 +2240,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)) { @@ -2518,41 +2264,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; @@ -2560,8 +2303,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()) { @@ -2580,10 +2322,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_); } @@ -2611,8 +2352,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) { @@ -2621,28 +2361,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
@@ -2661,8 +2394,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
@@ -2681,8 +2412,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
@@ -2701,8 +2430,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
@@ -2713,7 +2440,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();
@@ -2727,8 +2455,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
@@ -2751,8 +2477,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
@@ -2777,8 +2501,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
@@ -2789,7 +2511,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();
@@ -2803,8 +2526,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
@@ -2815,7 +2536,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());
@@ -2826,8 +2548,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
@@ -2850,8 +2570,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
@@ -2866,7 +2584,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);
@@ -2874,8 +2593,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
@@ -2897,8 +2614,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
@@ -2920,8 +2635,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
@@ -2932,12 +2645,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
@@ -2948,16 +2660,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
@@ -2968,8 +2678,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 {
@@ -2977,8 +2687,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
@@ -2990,12 +2698,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
@@ -3006,13 +2712,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
@@ -3023,22 +2728,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_;
@@ -3046,13 +2749,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
@@ -3066,15 +2764,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
@@ -3088,21 +2783,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
@@ -3131,8 +2821,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
@@ -3147,7 +2835,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();
@@ -3158,8 +2847,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
@@ -3178,9 +2865,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;
           }
@@ -3192,8 +2877,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
@@ -3220,8 +2903,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
@@ -3237,13 +2918,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
@@ -3262,14 +2941,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
@@ -3285,22 +2961,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) {
@@ -3313,12 +2985,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();
     }
@@ -3327,16 +2999,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;
@@ -3351,16 +3023,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
@@ -3369,10 +3039,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
@@ -3383,8 +3052,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
@@ -3395,8 +3062,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
@@ -3405,10 +3070,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
@@ -3417,35 +3081,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.
      * 
@@ -3455,39 +3112,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) @@ -3507,40 +3162,35 @@ 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) { @@ -3548,7 +3198,8 @@ private LDiversityConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -3557,27 +3208,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
@@ -3591,8 +3237,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
@@ -3602,13 +3246,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
@@ -3622,8 +3264,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
@@ -3637,8 +3277,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
@@ -3648,21 +3286,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 @@ -3670,25 +3306,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.
      * 
@@ -3701,7 +3330,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3713,7 +3341,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -3730,11 +3359,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; @@ -3744,18 +3374,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; @@ -3782,94 +3413,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 @@ -3879,32 +3503,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() @@ -3912,17 +3531,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(); @@ -3942,9 +3561,9 @@ public Builder 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 @@ -3963,8 +3582,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)) { @@ -3988,41 +3606,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; @@ -4030,8 +3645,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()) { @@ -4050,10 +3664,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_); } @@ -4081,8 +3694,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) { @@ -4091,28 +3703,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
@@ -4129,8 +3734,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
@@ -4147,8 +3750,6 @@ public int getQuasiIdsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -4165,8 +3766,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
@@ -4175,7 +3774,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();
@@ -4189,8 +3789,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
@@ -4211,8 +3809,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
@@ -4235,8 +3831,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
@@ -4245,7 +3839,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();
@@ -4259,8 +3854,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
@@ -4269,7 +3862,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());
@@ -4280,8 +3874,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
@@ -4302,8 +3894,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
@@ -4316,7 +3906,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);
@@ -4324,8 +3915,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
@@ -4345,8 +3934,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
@@ -4366,8 +3953,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
@@ -4376,12 +3961,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
@@ -4390,16 +3974,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
@@ -4408,8 +3990,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 {
@@ -4417,8 +3999,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
@@ -4428,12 +4008,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
@@ -4442,13 +4020,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
@@ -4457,22 +4034,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_;
@@ -4480,47 +4055,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.
        * 
@@ -4541,8 +4103,6 @@ public Builder setSensitiveAttribute(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4561,8 +4121,6 @@ public Builder setSensitiveAttribute( return this; } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4573,9 +4131,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; } @@ -4587,8 +4143,6 @@ public Builder mergeSensitiveAttribute(com.google.privacy.dlp.v2.FieldId value) return this; } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4607,8 +4161,6 @@ public Builder clearSensitiveAttribute() { return this; } /** - * - * *
        * Sensitive field for computing the l-value.
        * 
@@ -4616,13 +4168,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.
        * 
@@ -4633,14 +4183,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.
        * 
@@ -4648,22 +4195,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) { @@ -4676,12 +4219,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(); } @@ -4690,16 +4233,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; @@ -4714,87 +4257,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
@@ -4802,13 +4321,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
@@ -4816,92 +4332,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
@@ -4913,16 +4403,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_ = "";
@@ -4931,15 +4420,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)
@@ -4959,52 +4449,37 @@ 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) {
@@ -5012,7 +4487,8 @@ private KMapEstimationConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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_);
@@ -5024,68 +4500,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
@@ -5095,13 +4554,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
@@ -5111,13 +4567,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
@@ -5131,8 +4584,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
@@ -5140,13 +4591,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
@@ -5154,13 +4602,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
@@ -5168,40 +4613,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
@@ -5211,41 +4648,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) @@ -5264,66 +4699,60 @@ 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) { @@ -5331,43 +4760,36 @@ private TaggedField( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -5383,40 +4805,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 @@ -5424,15 +4838,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 @@ -5440,14 +4850,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() { @@ -5456,8 +4863,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
@@ -5467,7 +4872,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 @@ -5475,8 +4879,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
@@ -5486,19 +4888,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
@@ -5512,15 +4911,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
@@ -5528,15 +4925,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
@@ -5544,7 +4938,6 @@ public boolean hasCustomTag() {
        * 
* * string custom_tag = 3; - * * @return The customTag. */ public java.lang.String getCustomTag() { @@ -5555,7 +4948,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; @@ -5564,8 +4958,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
@@ -5573,17 +4965,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; } @@ -5595,15 +4988,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 @@ -5611,27 +5001,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
@@ -5642,13 +5027,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;
@@ -5660,7 +5044,8 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public 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());
         }
@@ -5683,20 +5068,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;
@@ -5706,29 +5090,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:
@@ -5769,103 +5155,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
@@ -5875,50 +5246,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(); @@ -5934,22 +5299,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); } @@ -5957,10 +5319,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 { @@ -5992,79 +5352,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(); @@ -6081,14 +5429,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) { @@ -6097,12 +5442,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() { @@ -6112,37 +5457,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() { @@ -6153,14 +5488,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) { @@ -6176,16 +5508,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(); @@ -6196,22 +5526,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; } @@ -6223,14 +5548,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) { @@ -6244,72 +5566,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
@@ -6319,7 +5625,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 @@ -6327,8 +5632,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
@@ -6338,7 +5641,6 @@ public boolean hasInfoType() {
          * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ @java.lang.Override @@ -6356,8 +5658,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
@@ -6382,8 +5682,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
@@ -6394,7 +5692,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();
@@ -6405,8 +5704,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
@@ -6419,12 +5716,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;
             }
@@ -6440,8 +5735,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
@@ -6469,8 +5762,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
@@ -6485,8 +5776,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
@@ -6509,8 +5798,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
@@ -6522,31 +5809,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
@@ -6554,7 +5835,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
          * 
* * string custom_tag = 3; - * * @return Whether the customTag field is set. */ @java.lang.Override @@ -6562,8 +5842,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
@@ -6571,7 +5849,6 @@ public boolean hasCustomTag() {
          * 
* * string custom_tag = 3; - * * @return The customTag. */ @java.lang.Override @@ -6581,7 +5858,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; @@ -6592,8 +5870,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
@@ -6601,18 +5877,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; } @@ -6622,8 +5899,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
@@ -6631,22 +5906,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
@@ -6654,7 +5927,6 @@ public Builder setCustomTag(java.lang.String value) {
          * 
* * string custom_tag = 3; - * * @return This builder for chaining. */ public Builder clearCustomTag() { @@ -6666,8 +5938,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
@@ -6675,15 +5945,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(); @@ -6691,20 +5961,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 @@ -6712,15 +5976,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 @@ -6738,8 +5999,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
@@ -6761,8 +6020,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
@@ -6770,7 +6027,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();
@@ -6781,8 +6039,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
@@ -6792,11 +6048,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;
             }
@@ -6812,8 +6067,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
@@ -6838,8 +6091,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
@@ -6851,8 +6102,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
@@ -6872,8 +6121,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
@@ -6882,28 +6129,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) {
@@ -6916,33 +6158,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;
@@ -6954,176 +6193,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
@@ -7136,31 +6317,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)
@@ -7180,61 +6361,48 @@ 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) {
@@ -7242,8 +6410,8 @@ private AuxiliaryTable(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } 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_);
@@ -7252,55 +6420,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.
          * 
@@ -7310,66 +6465,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) @@ -7388,36 +6535,32 @@ 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) { @@ -7425,42 +6568,34 @@ private QuasiIdField( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -7468,14 +6603,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
          * Identifies the column.
          * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ @java.lang.Override @@ -7483,8 +6615,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
          * Identifies the column.
          * 
@@ -7499,14 +6629,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 @@ -7515,29 +6642,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 { @@ -7546,7 +6673,6 @@ public com.google.protobuf.ByteString getCustomTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7559,7 +6685,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()); } @@ -7576,7 +6702,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_); @@ -7589,25 +6716,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; } @@ -7630,118 +6752,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 @@ -7751,54 +6843,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(); @@ -7814,25 +6897,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); } @@ -7840,13 +6917,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 { @@ -7861,60 +6933,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()); } @@ -7937,15 +6995,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) { @@ -7957,47 +7011,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.
            * 
@@ -8018,15 +7059,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(); @@ -8037,8 +7077,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
            * Identifies the column.
            * 
@@ -8049,9 +7087,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; } @@ -8063,8 +7099,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
            * Identifies the column.
            * 
@@ -8083,8 +7117,6 @@ public Builder clearField() { return this; } /** - * - * *
            * Identifies the column.
            * 
@@ -8092,13 +7124,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.
            * 
@@ -8109,14 +7139,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.
            * 
@@ -8124,17 +7151,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_; @@ -8142,20 +7166,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; @@ -8164,21 +7186,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 { @@ -8186,66 +7207,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) { @@ -8258,36 +7271,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; @@ -8299,26 +7306,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 @@ -8326,34 +7327,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() { @@ -8361,111 +7351,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 @@ -8473,36 +7426,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() { @@ -8510,7 +7452,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8522,7 +7463,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -8542,14 +7484,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; @@ -8559,24 +7503,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; @@ -8606,103 +7550,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 @@ -8712,8 +7641,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
@@ -8724,47 +7651,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(); @@ -8790,22 +7711,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); } @@ -8813,10 +7731,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_; @@ -8845,56 +7761,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()); } @@ -8916,10 +7822,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_); } @@ -8943,14 +7848,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) { @@ -8959,63 +7861,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) { @@ -9031,17 +7913,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(); @@ -9052,23 +7931,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; } @@ -9080,15 +7953,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) { @@ -9102,108 +7971,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 { @@ -9211,15 +8045,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) { @@ -9229,19 +8059,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 { @@ -9249,20 +8073,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(); @@ -9276,21 +8094,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()); @@ -9301,19 +8112,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(); @@ -9327,20 +8132,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(); @@ -9354,20 +8153,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()); @@ -9378,21 +8171,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()); @@ -9403,25 +8189,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); @@ -9429,15 +8208,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) { @@ -9450,15 +8225,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) { @@ -9471,57 +8242,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 { @@ -9529,80 +8282,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_; @@ -9610,61 +8332,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) { @@ -9679,17 +8382,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) { @@ -9703,24 +8402,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; } @@ -9732,16 +8425,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) { @@ -9755,72 +8444,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) { @@ -9833,34 +8505,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; @@ -9872,107 +8540,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
@@ -9980,7 +8621,6 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField
      * 
* * string region_code = 2; - * * @return The regionCode. */ @java.lang.Override @@ -9989,15 +8629,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
@@ -10005,15 +8644,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 { @@ -10022,105 +8662,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; @@ -10132,7 +8743,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -10152,14 +8764,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; @@ -10169,17 +8782,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; } @@ -10207,94 +8822,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 @@ -10304,8 +8912,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
@@ -10317,24 +8923,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()
@@ -10342,18 +8945,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();
@@ -10375,14 +8978,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();
       }
 
@@ -10397,8 +8999,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)) {
@@ -10427,41 +9028,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;
@@ -10469,9 +9067,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()) {
@@ -10490,10 +9086,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_);
             }
@@ -10521,10 +9116,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_);
             }
@@ -10549,9 +9143,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) {
@@ -10560,44 +9152,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 { @@ -10605,16 +9182,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) { @@ -10624,19 +9197,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 { @@ -10644,20 +9212,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(); @@ -10671,21 +9234,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()); @@ -10696,19 +9253,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(); @@ -10722,20 +9274,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(); @@ -10749,20 +9296,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()); @@ -10773,21 +9315,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()); @@ -10798,25 +9334,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); @@ -10824,16 +9354,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) { @@ -10846,16 +9372,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) { @@ -10868,57 +9390,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 { @@ -10926,75 +9433,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_; @@ -11002,8 +9486,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
@@ -11011,13 +9493,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; @@ -11026,8 +9508,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
@@ -11035,14 +9515,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 { @@ -11050,8 +9531,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
@@ -11059,22 +9538,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
@@ -11082,18 +9559,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
@@ -11101,57 +9575,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 { @@ -11159,17 +9619,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) { @@ -11179,20 +9635,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 { @@ -11200,21 +9651,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(); @@ -11228,22 +9674,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()); @@ -11254,20 +9694,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(); @@ -11281,21 +9716,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(); @@ -11309,21 +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( - 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()); @@ -11334,22 +9759,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()); @@ -11360,26 +9779,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); @@ -11387,17 +9800,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) { @@ -11410,17 +9819,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) { @@ -11433,61 +9838,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 { @@ -11495,78 +9884,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(), @@ -11575,7 +9937,6 @@ public Builder removeAuxiliaryTables(int index) { } return auxiliaryTablesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11588,32 +9949,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; @@ -11625,86 +9984,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
@@ -11712,13 +10051,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
@@ -11726,14 +10062,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
@@ -11742,10 +10076,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
@@ -11756,8 +10089,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
@@ -11768,8 +10099,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
@@ -11778,11 +10107,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
@@ -11791,11 +10118,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.
@@ -11805,18 +10131,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_ = "";
@@ -11825,15 +10148,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)
@@ -11853,43 +10177,37 @@ 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) {
@@ -11897,7 +10215,8 @@ private DeltaPresenceEstimationConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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_);
@@ -11909,111 +10228,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
@@ -12021,7 +10316,6 @@ public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(int index
      * 
* * string region_code = 2; - * * @return The regionCode. */ @java.lang.Override @@ -12030,15 +10324,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
@@ -12046,15 +10339,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 { @@ -12065,8 +10359,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
@@ -12080,8 +10372,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
@@ -12091,13 +10381,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
@@ -12111,8 +10399,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
@@ -12126,8 +10412,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
@@ -12143,7 +10427,6 @@ public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrB
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -12155,7 +10438,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -12175,14 +10459,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;
@@ -12192,17 +10477,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;
     }
@@ -12230,95 +10517,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
@@ -12328,8 +10607,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.
@@ -12339,45 +10616,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();
@@ -12399,22 +10671,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);
         }
@@ -12423,8 +10692,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)) {
@@ -12453,54 +10721,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()) {
@@ -12519,10 +10779,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_);
             }
@@ -12550,10 +10809,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_);
             }
@@ -12578,9 +10836,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) {
@@ -12589,36 +10845,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) { @@ -12628,16 +10875,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) { @@ -12647,16 +10890,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) { @@ -12666,18 +10905,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(); @@ -12691,16 +10927,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) { @@ -12714,16 +10946,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) { @@ -12739,18 +10967,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(); @@ -12764,18 +10989,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()); @@ -12786,16 +11008,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) { @@ -12809,22 +11027,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); @@ -12832,16 +11047,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) { @@ -12854,16 +11065,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) { @@ -12876,53 +11083,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 { @@ -12930,65 +11126,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_; @@ -12996,8 +11179,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
@@ -13005,13 +11186,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; @@ -13020,8 +11201,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
@@ -13029,14 +11208,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 { @@ -13044,8 +11224,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
@@ -13053,22 +11231,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
@@ -13076,18 +11252,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
@@ -13095,41 +11268,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
@@ -13146,8 +11312,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
@@ -13164,8 +11328,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
@@ -13182,8 +11344,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
@@ -13207,8 +11367,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
@@ -13229,8 +11387,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
@@ -13253,8 +11409,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
@@ -13278,8 +11432,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 +11452,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
@@ -13322,8 +11472,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
@@ -13336,7 +11484,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);
@@ -13344,8 +11493,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
@@ -13365,8 +11512,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
@@ -13386,8 +11531,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
@@ -13401,8 +11544,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
@@ -13414,14 +11555,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
@@ -13430,8 +11568,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 {
@@ -13439,8 +11577,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
@@ -13450,12 +11586,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
@@ -13466,12 +11600,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
@@ -13480,22 +11612,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(),
@@ -13504,7 +11630,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) {
@@ -13517,33 +11642,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;
@@ -13555,18 +11677,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),
@@ -13576,7 +11696,6 @@ public enum TypeCase
     DELTA_PRESENCE_ESTIMATION_CONFIG(6),
     TYPE_NOT_SET(0);
     private final int value;
-
     private TypeCase(int value) {
       this.value = value;
     }
@@ -13592,45 +11711,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 @@ -13638,54 +11746,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 @@ -13693,54 +11789,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 @@ -13748,26 +11832,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
    * 
@@ -13775,24 +11854,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 @@ -13800,26 +11875,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
    * 
@@ -13827,25 +11897,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 @@ -13853,55 +11918,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 @@ -13909,50 +11961,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; @@ -13964,13 +12002,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_); @@ -13982,8 +12020,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); } @@ -13995,34 +12032,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; @@ -14032,7 +12063,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); @@ -14042,23 +12073,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: @@ -14107,127 +12143,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() @@ -14235,15 +12262,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -14253,9 +12281,9 @@ public Builder 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 @@ -14274,8 +12302,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_; @@ -14327,39 +12354,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; @@ -14369,40 +12395,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(); @@ -14432,12 +12451,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() { @@ -14447,21 +12466,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 @@ -14469,15 +12482,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 @@ -14495,17 +12504,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(); @@ -14519,14 +12524,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) { @@ -14540,27 +12542,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; } @@ -14576,14 +12569,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) { @@ -14602,32 +12592,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 { @@ -14638,56 +12620,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 @@ -14695,21 +12660,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_; @@ -14723,18 +12682,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(); @@ -14748,15 +12702,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) { @@ -14770,28 +12720,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; } @@ -14807,15 +12747,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) { @@ -14834,34 +12770,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 { @@ -14872,56 +12798,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 @@ -14929,14 +12838,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 @@ -14954,16 +12860,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(); @@ -14977,8 +12880,6 @@ public Builder setKAnonymityConfig( return this; } /** - * - * *
      * K-anonymity
      * 
@@ -14997,25 +12898,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; } @@ -15031,8 +12925,6 @@ public Builder mergeKAnonymityConfig( return this; } /** - * - * *
      * K-anonymity
      * 
@@ -15056,21 +12948,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
      * 
@@ -15078,8 +12965,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 { @@ -15090,8 +12976,6 @@ public Builder clearKAnonymityConfig() { } } /** - * - * *
      * K-anonymity
      * 
@@ -15099,44 +12983,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 @@ -15144,14 +13016,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 @@ -15169,16 +13038,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(); @@ -15192,8 +13058,6 @@ public Builder setLDiversityConfig( return this; } /** - * - * *
      * l-diversity
      * 
@@ -15212,25 +13076,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; } @@ -15246,8 +13103,6 @@ public Builder mergeLDiversityConfig( return this; } /** - * - * *
      * l-diversity
      * 
@@ -15271,21 +13126,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
      * 
@@ -15293,8 +13143,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 { @@ -15305,8 +13154,6 @@ public Builder clearLDiversityConfig() { } } /** - * - * *
      * l-diversity
      * 
@@ -15314,45 +13161,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 @@ -15360,15 +13194,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 @@ -15386,17 +13216,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(); @@ -15410,14 +13236,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) { @@ -15431,27 +13254,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; } @@ -15467,14 +13281,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) { @@ -15493,32 +13304,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 { @@ -15529,56 +13332,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 @@ -15586,48 +13372,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(); @@ -15641,19 +13414,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(); @@ -15664,28 +13432,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; } @@ -15701,15 +13459,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) { @@ -15728,84 +13482,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); } @@ -15815,12 +13546,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(); } @@ -15829,16 +13560,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; @@ -15853,4 +13584,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/ProfileStatus.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatus.java similarity index 71% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatus.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatus.java index 5eabf356..5bac3337 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatus.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatus.java @@ -1,47 +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/dlp.proto package com.google.privacy.dlp.v2; -/** Protobuf type {@code google.privacy.dlp.v2.ProfileStatus} */ -public final class ProfileStatus extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.privacy.dlp.v2.ProfileStatus} + */ +public final class ProfileStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ProfileStatus) ProfileStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProfileStatus.newBuilder() to construct. private ProfileStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ProfileStatus() {} + private ProfileStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProfileStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProfileStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,42 +48,39 @@ private ProfileStatus( case 0: done = true; break; - case 10: - { - com.google.rpc.Status.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); - } - status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.rpc.Status.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); + } + status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (timestamp_ != null) { - subBuilder = timestamp_.toBuilder(); - } - timestamp_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timestamp_); - timestamp_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (timestamp_ != null) { + subBuilder = timestamp_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + timestamp_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timestamp_); + timestamp_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,39 +88,34 @@ private ProfileStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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_ProfileStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ProfileStatus.class, - com.google.privacy.dlp.v2.ProfileStatus.Builder.class); + com.google.privacy.dlp.v2.ProfileStatus.class, com.google.privacy.dlp.v2.ProfileStatus.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private com.google.rpc.Status status_; /** - * - * *
    * Profiling status code and optional message
    * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ @java.lang.Override @@ -143,14 +123,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Profiling status code and optional message
    * 
* * .google.rpc.Status status = 1; - * * @return The status. */ @java.lang.Override @@ -158,8 +135,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * Profiling status code and optional message
    * 
@@ -174,14 +149,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int TIMESTAMP_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp timestamp_; /** - * - * *
    * Time when the profile generation status was updated
    * 
* * .google.protobuf.Timestamp timestamp = 3; - * * @return Whether the timestamp field is set. */ @java.lang.Override @@ -189,14 +161,11 @@ public boolean hasTimestamp() { return timestamp_ != null; } /** - * - * *
    * Time when the profile generation status was updated
    * 
* * .google.protobuf.Timestamp timestamp = 3; - * * @return The timestamp. */ @java.lang.Override @@ -204,8 +173,6 @@ public com.google.protobuf.Timestamp getTimestamp() { return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_; } /** - * - * *
    * Time when the profile generation status was updated
    * 
@@ -218,7 +185,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,7 +196,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (status_ != null) { output.writeMessage(1, getStatus()); } @@ -247,10 +214,12 @@ public int getSerializedSize() { size = 0; if (status_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStatus()); } if (timestamp_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTimestamp()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTimestamp()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -260,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.ProfileStatus)) { return super.equals(obj); @@ -269,11 +238,13 @@ public boolean equals(final java.lang.Object obj) { if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } if (hasTimestamp() != other.hasTimestamp()) return false; if (hasTimestamp()) { - if (!getTimestamp().equals(other.getTimestamp())) return false; + if (!getTimestamp() + .equals(other.getTimestamp())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -299,119 +270,114 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ProfileStatus parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ProfileStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ProfileStatus parseFrom(java.io.InputStream input) 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.ProfileStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.ProfileStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.ProfileStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ProfileStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.ProfileStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.privacy.dlp.v2.ProfileStatus} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.privacy.dlp.v2.ProfileStatus} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ProfileStatus) com.google.privacy.dlp.v2.ProfileStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ProfileStatus.class, - com.google.privacy.dlp.v2.ProfileStatus.Builder.class); + com.google.privacy.dlp.v2.ProfileStatus.class, com.google.privacy.dlp.v2.ProfileStatus.Builder.class); } // Construct using com.google.privacy.dlp.v2.ProfileStatus.newBuilder() @@ -419,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,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_ProfileStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; } @java.lang.Override @@ -468,8 +435,7 @@ public com.google.privacy.dlp.v2.ProfileStatus build() { @java.lang.Override public com.google.privacy.dlp.v2.ProfileStatus buildPartial() { - com.google.privacy.dlp.v2.ProfileStatus result = - new com.google.privacy.dlp.v2.ProfileStatus(this); + com.google.privacy.dlp.v2.ProfileStatus result = new com.google.privacy.dlp.v2.ProfileStatus(this); if (statusBuilder_ == null) { result.status_ = status_; } else { @@ -488,39 +454,38 @@ public com.google.privacy.dlp.v2.ProfileStatus buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ProfileStatus) { - return mergeFrom((com.google.privacy.dlp.v2.ProfileStatus) other); + return mergeFrom((com.google.privacy.dlp.v2.ProfileStatus)other); } else { super.mergeFrom(other); return this; @@ -566,31 +531,24 @@ public Builder mergeFrom( private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
      * Profiling status code and optional message
      * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * Profiling status code and optional message
      * 
* * .google.rpc.Status status = 1; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -601,8 +559,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * Profiling status code and optional message
      * 
@@ -623,15 +579,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Profiling status code and optional message
      * 
* * .google.rpc.Status status = 1; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -642,8 +597,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Profiling status code and optional message
      * 
@@ -653,7 +606,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = + com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -665,8 +619,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Profiling status code and optional message
      * 
@@ -685,8 +637,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Profiling status code and optional message
      * 
@@ -694,13 +644,11 @@ public Builder clearStatus() { * .google.rpc.Status status = 1; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Profiling status code and optional message
      * 
@@ -711,12 +659,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
      * Profiling status code and optional message
      * 
@@ -724,14 +671,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 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> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; @@ -739,33 +686,24 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private com.google.protobuf.Timestamp timestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - timestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampBuilder_; /** - * - * *
      * Time when the profile generation status was updated
      * 
* * .google.protobuf.Timestamp timestamp = 3; - * * @return Whether the timestamp field is set. */ public boolean hasTimestamp() { return timestampBuilder_ != null || timestamp_ != null; } /** - * - * *
      * Time when the profile generation status was updated
      * 
* * .google.protobuf.Timestamp timestamp = 3; - * * @return The timestamp. */ public com.google.protobuf.Timestamp getTimestamp() { @@ -776,8 +714,6 @@ public com.google.protobuf.Timestamp getTimestamp() { } } /** - * - * *
      * Time when the profile generation status was updated
      * 
@@ -798,15 +734,14 @@ public Builder setTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the profile generation status was updated
      * 
* * .google.protobuf.Timestamp timestamp = 3; */ - public Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampBuilder_ == null) { timestamp_ = builderForValue.build(); onChanged(); @@ -817,8 +752,6 @@ public Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time when the profile generation status was updated
      * 
@@ -829,7 +762,7 @@ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { if (timestampBuilder_ == null) { if (timestamp_ != null) { timestamp_ = - com.google.protobuf.Timestamp.newBuilder(timestamp_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(timestamp_).mergeFrom(value).buildPartial(); } else { timestamp_ = value; } @@ -841,8 +774,6 @@ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time when the profile generation status was updated
      * 
@@ -861,8 +792,6 @@ public Builder clearTimestamp() { return this; } /** - * - * *
      * Time when the profile generation status was updated
      * 
@@ -870,13 +799,11 @@ public Builder clearTimestamp() { * .google.protobuf.Timestamp timestamp = 3; */ public com.google.protobuf.Timestamp.Builder getTimestampBuilder() { - + onChanged(); return getTimestampFieldBuilder().getBuilder(); } /** - * - * *
      * Time when the profile generation status was updated
      * 
@@ -887,12 +814,11 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { if (timestampBuilder_ != null) { return timestampBuilder_.getMessageOrBuilder(); } else { - return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_; + return timestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_; } } /** - * - * *
      * Time when the profile generation status was updated
      * 
@@ -900,24 +826,21 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * .google.protobuf.Timestamp timestamp = 3; */ 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> getTimestampFieldBuilder() { if (timestampBuilder_ == null) { - timestampBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getTimestamp(), getParentForChildren(), isClean()); + timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getTimestamp(), + getParentForChildren(), + isClean()); timestamp_ = null; } return timestampBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -927,12 +850,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ProfileStatus) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ProfileStatus) private static final com.google.privacy.dlp.v2.ProfileStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ProfileStatus(); } @@ -941,16 +864,16 @@ public static com.google.privacy.dlp.v2.ProfileStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProfileStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProfileStatus(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProfileStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProfileStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,4 +888,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ProfileStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.java index 9cc38b54..f2752c9f 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.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 ProfileStatusOrBuilder - extends +public interface ProfileStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ProfileStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Profiling status code and optional message
    * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Profiling status code and optional message
    * 
* * .google.rpc.Status status = 1; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * Profiling status code and optional message
    * 
@@ -59,32 +35,24 @@ public interface ProfileStatusOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
    * Time when the profile generation status was updated
    * 
* * .google.protobuf.Timestamp timestamp = 3; - * * @return Whether the timestamp field is set. */ boolean hasTimestamp(); /** - * - * *
    * Time when the profile generation status was updated
    * 
* * .google.protobuf.Timestamp timestamp = 3; - * * @return The timestamp. */ com.google.protobuf.Timestamp getTimestamp(); /** - * - * *
    * Time when the profile generation status was updated
    * 
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 f0adbb34..07dea059 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,64 +52,60 @@ 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) { @@ -133,41 +113,36 @@ private QuasiId( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -183,40 +158,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 @@ -224,15 +191,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 @@ -240,14 +203,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() { @@ -256,8 +216,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
@@ -267,7 +225,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 @@ -275,8 +232,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
@@ -286,19 +241,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
@@ -312,15 +264,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
@@ -328,15 +278,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
@@ -344,7 +291,6 @@ public boolean hasCustomTag() {
    * 
* * string custom_tag = 3; - * * @return The customTag. */ public java.lang.String getCustomTag() { @@ -355,7 +301,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; @@ -364,8 +311,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
@@ -373,17 +318,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; } @@ -395,15 +341,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 @@ -411,27 +354,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
@@ -442,13 +380,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;
@@ -460,7 +397,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -483,20 +421,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;
@@ -506,7 +443,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);
@@ -515,18 +452,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:
@@ -567,126 +508,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() @@ -694,15 +627,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -718,9 +652,9 @@ public Builder 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 @@ -771,39 +705,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; @@ -816,27 +749,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(); @@ -866,12 +795,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() { @@ -881,37 +810,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() { @@ -922,14 +841,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) { @@ -945,16 +861,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(); @@ -965,20 +879,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; } @@ -990,14 +901,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) { @@ -1011,72 +919,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
@@ -1086,7 +978,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 @@ -1094,8 +985,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
@@ -1105,7 +994,6 @@ public boolean hasInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; - * * @return The infoType. */ @java.lang.Override @@ -1123,8 +1011,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
@@ -1149,8 +1035,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
@@ -1161,7 +1045,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();
@@ -1172,8 +1057,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
@@ -1186,12 +1069,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;
         }
@@ -1207,8 +1088,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
@@ -1236,8 +1115,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
@@ -1252,8 +1129,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
@@ -1276,8 +1151,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
@@ -1289,31 +1162,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
@@ -1321,7 +1188,6 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * 
* * string custom_tag = 3; - * * @return Whether the customTag field is set. */ @java.lang.Override @@ -1329,8 +1195,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
@@ -1338,7 +1202,6 @@ public boolean hasCustomTag() {
      * 
* * string custom_tag = 3; - * * @return The customTag. */ @java.lang.Override @@ -1348,7 +1211,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; @@ -1359,8 +1223,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
@@ -1368,18 +1230,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; } @@ -1389,8 +1252,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
@@ -1398,22 +1259,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
@@ -1421,7 +1280,6 @@ public Builder setCustomTag(java.lang.String value) {
      * 
* * string custom_tag = 3; - * * @return This builder for chaining. */ public Builder clearCustomTag() { @@ -1433,8 +1291,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
@@ -1442,15 +1298,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(); @@ -1458,20 +1314,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 @@ -1479,15 +1329,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 @@ -1505,8 +1352,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
@@ -1528,8 +1373,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
@@ -1537,7 +1380,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();
@@ -1548,8 +1392,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
@@ -1559,11 +1401,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;
         }
@@ -1579,8 +1420,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
@@ -1605,8 +1444,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
@@ -1618,8 +1455,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
@@ -1639,8 +1474,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
@@ -1649,30 +1482,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);
     }
 
@@ -1682,12 +1511,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();
   }
@@ -1696,16 +1525,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;
@@ -1720,4 +1549,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 d790dbf5..0eb3ee79 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,28 +52,27 @@ 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) { @@ -97,39 +80,34 @@ private QuoteInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -145,34 +123,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 @@ -180,26 +153,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.
    * 
@@ -209,13 +177,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; @@ -227,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (parsedQuoteCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.DateTime) parsedQuote_); } @@ -241,9 +209,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; @@ -253,7 +220,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.QuoteInfo)) { return super.equals(obj); @@ -263,7 +230,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: @@ -292,126 +260,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() @@ -419,15 +379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +398,9 @@ public Builder 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 @@ -475,39 +436,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; @@ -517,15 +477,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(); @@ -555,12 +513,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() { @@ -570,20 +528,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 @@ -591,14 +544,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 @@ -616,8 +566,6 @@ public com.google.privacy.dlp.v2.DateTime getDateTime() { } } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -638,15 +586,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(); @@ -657,8 +604,6 @@ public Builder setDateTime(com.google.privacy.dlp.v2.DateTime.Builder builderFor return this; } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -667,13 +612,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; } @@ -689,8 +631,6 @@ public Builder mergeDateTime(com.google.privacy.dlp.v2.DateTime value) { return this; } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -714,8 +654,6 @@ public Builder clearDateTime() { return this; } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -726,8 +664,6 @@ public com.google.privacy.dlp.v2.DateTime.Builder getDateTimeBuilder() { return getDateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -746,8 +682,6 @@ public com.google.privacy.dlp.v2.DateTimeOrBuilder getDateTimeOrBuilder() { } } /** - * - * *
      * The date time indicated by the quote.
      * 
@@ -755,32 +689,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); } @@ -790,12 +718,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(); } @@ -804,16 +732,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; @@ -828,4 +756,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 590b2ac2..b0c41c38 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,23 +52,23 @@ 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) { @@ -92,23 +76,22 @@ private Range( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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); } @@ -116,14 +99,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 @@ -134,14 +114,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 @@ -150,7 +127,6 @@ public long getEnd() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -162,7 +138,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (start_ != 0L) { output.writeInt64(1, start_); } @@ -179,10 +156,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; @@ -192,15 +171,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; } @@ -213,131 +194,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); } @@ -347,15 +323,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -367,9 +344,9 @@ public Builder 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 @@ -399,39 +376,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; @@ -475,16 +451,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 @@ -492,51 +465,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 @@ -544,43 +508,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); } @@ -590,12 +548,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(); } @@ -604,16 +562,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; @@ -628,4 +586,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 dad16cd6..23a067cf 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,30 +53,26 @@ 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) {
@@ -100,127 +80,95 @@ private RecordCondition(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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.]
      * 
@@ -230,8 +178,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.
@@ -254,31 +200,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)
@@ -297,51 +243,45 @@ 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) {
@@ -349,40 +289,34 @@ private Condition(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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 @@ -390,15 +324,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 @@ -406,14 +336,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() { @@ -423,54 +350,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 @@ -478,14 +389,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 @@ -493,8 +401,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.]
      * 
@@ -507,7 +413,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -519,13 +424,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) { @@ -541,15 +445,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; @@ -559,22 +464,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; @@ -603,94 +509,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 @@ -700,8 +599,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.
@@ -724,24 +621,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()
@@ -749,15 +643,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -779,9 +674,9 @@ public Builder 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
@@ -800,8 +695,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 {
@@ -821,41 +715,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;
@@ -863,8 +754,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());
         }
@@ -893,8 +783,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) {
@@ -906,35 +795,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() { @@ -945,14 +823,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) { @@ -968,16 +843,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(); @@ -988,22 +861,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; } @@ -1015,14 +883,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) { @@ -1036,59 +901,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_; @@ -1096,73 +950,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. */ @@ -1170,26 +1002,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; @@ -1197,33 +1024,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() { @@ -1234,8 +1052,6 @@ public com.google.privacy.dlp.v2.Value getValue() { } } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1256,15 +1072,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(); @@ -1275,8 +1090,6 @@ public Builder setValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) return this; } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1287,7 +1100,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; } @@ -1299,8 +1112,6 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1319,8 +1130,6 @@ public Builder clearValue() { return this; } /** - * - * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1328,13 +1137,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.]
        * 
@@ -1345,12 +1152,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.]
        * 
@@ -1358,22 +1164,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) { @@ -1386,12 +1188,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(); } @@ -1400,16 +1202,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; @@ -1424,26 +1226,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.
      * 
@@ -1452,8 +1251,6 @@ public interface ConditionsOrBuilder */ com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int index); /** - * - * *
      * A collection of conditions.
      * 
@@ -1462,61 +1259,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) @@ -1536,27 +1328,22 @@ 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) { @@ -1564,7 +1351,8 @@ private Conditions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -1573,27 +1361,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.
      * 
@@ -1605,8 +1388,6 @@ public java.util.List getCo return conditions_; } /** - * - * *
      * A collection of conditions.
      * 
@@ -1614,13 +1395,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.
      * 
@@ -1632,8 +1411,6 @@ public int getConditionsCount() { return conditions_.size(); } /** - * - * *
      * A collection of conditions.
      * 
@@ -1645,8 +1422,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int ind return conditions_.get(index); } /** - * - * *
      * A collection of conditions.
      * 
@@ -1660,7 +1435,6 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getCondition } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1672,7 +1446,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1686,7 +1461,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; @@ -1696,15 +1472,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; } @@ -1726,94 +1502,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 @@ -1823,32 +1592,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() @@ -1856,17 +1620,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(); @@ -1880,9 +1644,9 @@ public Builder 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 @@ -1901,8 +1665,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)) { @@ -1921,41 +1684,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; @@ -1963,8 +1723,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()) { @@ -1983,10 +1742,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_); } @@ -2011,8 +1769,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) { @@ -2021,38 +1778,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 { @@ -2060,8 +1807,6 @@ private void ensureConditionsIsMutable() { } } /** - * - * *
        * A collection of conditions.
        * 
@@ -2076,8 +1821,6 @@ public int getConditionsCount() { } } /** - * - * *
        * A collection of conditions.
        * 
@@ -2092,8 +1835,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int ind } } /** - * - * *
        * A collection of conditions.
        * 
@@ -2115,8 +1856,6 @@ public Builder setConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2135,8 +1874,6 @@ public Builder setConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2157,8 +1894,6 @@ public Builder addConditions(com.google.privacy.dlp.v2.RecordCondition.Condition return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2180,8 +1915,6 @@ public Builder addConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2200,8 +1933,6 @@ public Builder addConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2220,8 +1951,6 @@ public Builder addConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2229,11 +1958,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); @@ -2241,8 +1970,6 @@ public Builder addAllConditions( return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2260,8 +1987,6 @@ public Builder clearConditions() { return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2279,8 +2004,6 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
        * A collection of conditions.
        * 
@@ -2292,8 +2015,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder getConditions return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
        * A collection of conditions.
        * 
@@ -2303,22 +2024,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 { @@ -2326,8 +2044,6 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getCondition } } /** - * - * *
        * A collection of conditions.
        * 
@@ -2335,12 +2051,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.
        * 
@@ -2349,41 +2063,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) { @@ -2396,12 +2103,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(); } @@ -2410,16 +2117,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; @@ -2434,71 +2141,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.
      * 
@@ -2510,39 +2199,37 @@ public interface ExpressionsOrBuilder public com.google.privacy.dlp.v2.RecordCondition.Expressions.TypeCase getTypeCase(); } /** - * - * *
-   * An expression, consisting or an operator and conditions.
+   * An expression, consisting of 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) @@ -2561,39 +2248,33 @@ 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) { @@ -2601,41 +2282,36 @@ private Expressions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
        * 
@@ -2644,8 +2320,6 @@ public enum LogicalOperator implements com.google.protobuf.ProtocolMessageEnum { */ LOGICAL_OPERATOR_UNSPECIFIED(0), /** - * - * *
        * Conditional AND
        * 
@@ -2657,8 +2331,6 @@ public enum LogicalOperator implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unused
        * 
@@ -2667,8 +2339,6 @@ public enum LogicalOperator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOGICAL_OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Conditional AND
        * 
@@ -2677,6 +2347,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( @@ -2701,12 +2372,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; } } @@ -2714,31 +2382,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(); @@ -2746,7 +2412,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; @@ -2765,15 +2432,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; } @@ -2789,80 +2453,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 @@ -2870,26 +2512,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.
      * 
@@ -2899,13 +2536,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; @@ -2917,11 +2553,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) { @@ -2936,16 +2570,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; @@ -2955,19 +2586,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: @@ -2999,94 +2630,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 @@ -3096,32 +2720,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
-     * An expression, consisting or an operator and conditions.
+     * An expression, consisting of 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() @@ -3129,15 +2748,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3149,9 +2769,9 @@ public Builder 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 @@ -3170,8 +2790,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) { @@ -3189,41 +2808,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; @@ -3231,21 +2847,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(); @@ -3266,8 +2879,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) { @@ -3276,12 +2888,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() { @@ -3291,131 +2903,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 @@ -3423,14 +2998,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 @@ -3448,8 +3020,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() { } } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3470,8 +3040,6 @@ public Builder setConditions(com.google.privacy.dlp.v2.RecordCondition.Condition return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3490,8 +3058,6 @@ public Builder setConditions( return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3500,14 +3066,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; } @@ -3523,8 +3085,6 @@ public Builder mergeConditions(com.google.privacy.dlp.v2.RecordCondition.Conditi return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3548,8 +3108,6 @@ public Builder clearConditions() { return this; } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3560,8 +3118,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder getCondition return getConditionsFieldBuilder().getBuilder(); } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3569,8 +3125,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 { @@ -3581,8 +3136,6 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder getCondition } } /** - * - * *
        * Conditions to apply to the expression.
        * 
@@ -3590,30 +3143,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) { @@ -3626,12 +3172,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(); } @@ -3640,16 +3186,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; @@ -3664,19 +3210,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 @@ -3684,25 +3228,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.
    * 
@@ -3715,7 +3252,6 @@ public com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder getExpress } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3727,7 +3263,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -3741,7 +3278,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; @@ -3751,17 +3289,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; @@ -3783,104 +3321,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.
@@ -3888,23 +3419,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()
@@ -3912,15 +3441,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3934,9 +3464,9 @@ public Builder 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
@@ -3955,8 +3485,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 {
@@ -3970,39 +3499,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;
@@ -4045,47 +3573,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.
      * 
@@ -4106,8 +3621,6 @@ public Builder setExpressions(com.google.privacy.dlp.v2.RecordCondition.Expressi return this; } /** - * - * *
      * An expression.
      * 
@@ -4126,8 +3639,6 @@ public Builder setExpressions( return this; } /** - * - * *
      * An expression.
      * 
@@ -4138,9 +3649,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; } @@ -4152,8 +3661,6 @@ public Builder mergeExpressions(com.google.privacy.dlp.v2.RecordCondition.Expres return this; } /** - * - * *
      * An expression.
      * 
@@ -4172,8 +3679,6 @@ public Builder clearExpressions() { return this; } /** - * - * *
      * An expression.
      * 
@@ -4181,32 +3686,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.
      * 
@@ -4214,24 +3713,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); } @@ -4241,12 +3737,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(); } @@ -4255,16 +3751,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; @@ -4279,4 +3775,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 579abc6f..c91d477b 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,55 +54,50 @@ 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) { @@ -127,7 +105,8 @@ private RecordKey( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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(); @@ -136,34 +115,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; } @@ -179,30 +152,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 @@ -211,21 +180,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(); } @@ -233,7 +203,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 @@ -242,21 +211,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(); } @@ -264,45 +234,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. */ @@ -310,24 +272,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; @@ -339,7 +298,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -359,14 +319,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; @@ -384,21 +342,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: @@ -435,126 +396,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() @@ -562,15 +515,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -582,9 +536,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 @@ -633,39 +587,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; @@ -685,20 +638,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(); @@ -728,12 +678,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() { @@ -746,13 +696,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 @@ -761,7 +707,6 @@ public boolean hasDatastoreKey() { } /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; - * * @return The datastoreKey. */ @java.lang.Override @@ -778,7 +723,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) { @@ -792,8 +739,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(); @@ -803,16 +753,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; } @@ -827,7 +776,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) { @@ -844,11 +795,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)) { @@ -860,38 +815,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 @@ -900,7 +849,6 @@ public boolean hasBigQueryKey() { } /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; - * * @return The bigQueryKey. */ @java.lang.Override @@ -917,7 +865,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) { @@ -931,8 +881,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(); @@ -942,15 +895,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; } @@ -965,7 +918,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) { @@ -982,11 +937,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)) { @@ -998,79 +957,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. */ @@ -1078,95 +1025,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() { @@ -1176,31 +1113,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); } @@ -1210,12 +1145,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(); } @@ -1224,16 +1159,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; @@ -1248,4 +1183,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 8f43cf08..b6f7d800 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,60 +52,52 @@ 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) { @@ -129,39 +105,34 @@ private RecordLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -169,25 +140,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.
    * 
@@ -202,14 +166,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 @@ -217,14 +178,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 @@ -232,8 +190,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.
    * 
@@ -248,14 +204,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 @@ -263,25 +216,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`.
    * 
@@ -294,7 +240,6 @@ public com.google.privacy.dlp.v2.TableLocationOrBuilder getTableLocationOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +251,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -326,13 +272,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; @@ -342,7 +291,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); @@ -351,15 +300,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; @@ -389,127 +341,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() @@ -517,15 +460,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); 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,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_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 @@ -572,8 +516,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 { @@ -597,39 +540,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; @@ -678,47 +620,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.
      * 
@@ -739,15 +668,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(); @@ -758,8 +686,6 @@ public Builder setRecordKey(com.google.privacy.dlp.v2.RecordKey.Builder builderF return this; } /** - * - * *
      * Key of the finding.
      * 
@@ -770,9 +696,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; } @@ -784,8 +708,6 @@ public Builder mergeRecordKey(com.google.privacy.dlp.v2.RecordKey value) { return this; } /** - * - * *
      * Key of the finding.
      * 
@@ -804,8 +726,6 @@ public Builder clearRecordKey() { return this; } /** - * - * *
      * Key of the finding.
      * 
@@ -813,13 +733,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.
      * 
@@ -830,14 +748,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.
      * 
@@ -845,17 +760,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_; @@ -863,33 +775,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() { @@ -900,8 +803,6 @@ public com.google.privacy.dlp.v2.FieldId getFieldId() { } } /** - * - * *
      * Field id of the field containing the finding.
      * 
@@ -922,15 +823,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(); @@ -941,8 +841,6 @@ public Builder setFieldId(com.google.privacy.dlp.v2.FieldId.Builder builderForVa return this; } /** - * - * *
      * Field id of the field containing the finding.
      * 
@@ -953,9 +851,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; } @@ -967,8 +863,6 @@ public Builder mergeFieldId(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Field id of the field containing the finding.
      * 
@@ -987,8 +881,6 @@ public Builder clearFieldId() { return this; } /** - * - * *
      * Field id of the field containing the finding.
      * 
@@ -996,13 +888,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.
      * 
@@ -1013,12 +903,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.
      * 
@@ -1026,17 +915,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_; @@ -1044,47 +930,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`.
      * 
@@ -1105,8 +978,6 @@ public Builder setTableLocation(com.google.privacy.dlp.v2.TableLocation value) { return this; } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1125,8 +996,6 @@ public Builder setTableLocation( return this; } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1137,9 +1006,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; } @@ -1151,8 +1018,6 @@ public Builder mergeTableLocation(com.google.privacy.dlp.v2.TableLocation value) return this; } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1171,8 +1036,6 @@ public Builder clearTableLocation() { return this; } /** - * - * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1180,13 +1043,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`.
      * 
@@ -1197,14 +1058,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`.
      * 
@@ -1212,24 +1070,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); } @@ -1239,12 +1094,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(); } @@ -1253,16 +1108,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; @@ -1277,4 +1132,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 5fa5b700..11b598ec 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,29 +53,26 @@ 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) {
@@ -99,40 +80,35 @@ private RecordSuppression(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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 @@ -140,26 +116,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.
@@ -173,7 +142,6 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
   }
 
   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 (condition_ != null) {
       output.writeMessage(1, getCondition());
     }
@@ -199,7 +168,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;
@@ -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.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;
@@ -241,104 +211,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.
@@ -346,23 +309,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()
@@ -370,15 +331,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -392,9 +354,9 @@ public Builder 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
@@ -413,8 +375,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 {
@@ -428,39 +389,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;
@@ -503,49 +463,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.
@@ -567,8 +514,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.
@@ -576,7 +521,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();
@@ -587,8 +533,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.
@@ -600,9 +544,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;
         }
@@ -614,8 +556,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.
@@ -635,8 +575,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.
@@ -645,13 +583,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.
@@ -663,14 +599,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.
@@ -679,24 +612,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);
     }
 
@@ -706,12 +636,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();
   }
@@ -720,16 +650,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;
@@ -744,4 +674,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/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformation.java
new file mode 100644
index 00000000..a0e1b01e
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformation.java
@@ -0,0 +1,1059 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/privacy/dlp/v2/dlp.proto
+
+package com.google.privacy.dlp.v2;
+
+/**
+ * Protobuf type {@code google.privacy.dlp.v2.RecordTransformation}
+ */
+public final class RecordTransformation extends
+    com.google.protobuf.GeneratedMessageV3 implements
+    // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordTransformation)
+    RecordTransformationOrBuilder {
+private static final long serialVersionUID = 0L;
+  // Use RecordTransformation.newBuilder() to construct.
+  private RecordTransformation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    super(builder);
+  }
+  private RecordTransformation() {
+    containerVersion_ = "";
+  }
+
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
+    return new RecordTransformation();
+  }
+
+  @java.lang.Override
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
+    return this.unknownFields;
+  }
+  private RecordTransformation(
+      com.google.protobuf.CodedInputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws com.google.protobuf.InvalidProtocolBufferException {
+    this();
+    if (extensionRegistry == null) {
+      throw new java.lang.NullPointerException();
+    }
+    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+        com.google.protobuf.UnknownFieldSet.newBuilder();
+    try {
+      boolean done = false;
+      while (!done) {
+        int tag = input.readTag();
+        switch (tag) {
+          case 0:
+            done = true;
+            break;
+          case 10: {
+            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.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 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            containerVersion_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
+        }
+      }
+    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+      throw e.setUnfinishedMessage(this);
+    } catch (com.google.protobuf.UninitializedMessageException e) {
+      throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+    } catch (java.io.IOException e) {
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
+    } finally {
+      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_RecordTransformation_descriptor;
+  }
+
+  @java.lang.Override
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internalGetFieldAccessorTable() {
+    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable
+        .ensureFieldAccessorsInitialized(
+            com.google.privacy.dlp.v2.RecordTransformation.class, com.google.privacy.dlp.v2.RecordTransformation.Builder.class);
+  }
+
+  public static final int FIELD_ID_FIELD_NUMBER = 1;
+  private com.google.privacy.dlp.v2.FieldId fieldId_;
+  /**
+   * 
+   * For record transformations, provide a field.
+   * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + * @return Whether the fieldId field is set. + */ + @java.lang.Override + public boolean hasFieldId() { + return fieldId_ != null; + } + /** + *
+   * For record transformations, provide a field.
+   * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + * @return The fieldId. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.FieldId getFieldId() { + return fieldId_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_; + } + /** + *
+   * For record transformations, provide a field.
+   * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { + return getFieldId(); + } + + public static final int CONTAINER_TIMESTAMP_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp containerTimestamp_; + /** + *
+   * Findings container modification timestamp, if applicable.
+   * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + * @return Whether the containerTimestamp field is set. + */ + @java.lang.Override + public boolean hasContainerTimestamp() { + return containerTimestamp_ != null; + } + /** + *
+   * Findings container modification timestamp, if applicable.
+   * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + * @return The containerTimestamp. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getContainerTimestamp() { + return containerTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : containerTimestamp_; + } + /** + *
+   * Findings container modification timestamp, if applicable.
+   * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() { + return getContainerTimestamp(); + } + + public static final int CONTAINER_VERSION_FIELD_NUMBER = 3; + private volatile java.lang.Object containerVersion_; + /** + *
+   * Container version, if available ("generation" for Cloud Storage).
+   * 
+ * + * string container_version = 3; + * @return The containerVersion. + */ + @java.lang.Override + public java.lang.String getContainerVersion() { + java.lang.Object ref = containerVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + containerVersion_ = s; + return s; + } + } + /** + *
+   * Container version, if available ("generation" for Cloud Storage).
+   * 
+ * + * string container_version = 3; + * @return The bytes for containerVersion. + */ + @java.lang.Override + 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); + containerVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (fieldId_ != null) { + output.writeMessage(1, getFieldId()); + } + if (containerTimestamp_ != null) { + output.writeMessage(2, getContainerTimestamp()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, containerVersion_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (fieldId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getFieldId()); + } + if (containerTimestamp_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getContainerTimestamp()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, containerVersion_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.RecordTransformation)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.RecordTransformation other = (com.google.privacy.dlp.v2.RecordTransformation) obj; + + if (hasFieldId() != other.hasFieldId()) return false; + if (hasFieldId()) { + if (!getFieldId() + .equals(other.getFieldId())) return false; + } + if (hasContainerTimestamp() != other.hasContainerTimestamp()) return false; + if (hasContainerTimestamp()) { + if (!getContainerTimestamp() + .equals(other.getContainerTimestamp())) return false; + } + if (!getContainerVersion() + .equals(other.getContainerVersion())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFieldId()) { + hash = (37 * hash) + FIELD_ID_FIELD_NUMBER; + hash = (53 * hash) + getFieldId().hashCode(); + } + if (hasContainerTimestamp()) { + hash = (37 * hash) + CONTAINER_TIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + getContainerTimestamp().hashCode(); + } + hash = (37 * hash) + CONTAINER_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getContainerVersion().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.RecordTransformation 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.RecordTransformation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.RecordTransformation 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.RecordTransformation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.RecordTransformation 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.RecordTransformation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.RecordTransformation parseDelimitedFrom( + java.io.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.RecordTransformation 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.RecordTransformation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.RecordTransformation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code google.privacy.dlp.v2.RecordTransformation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordTransformation) + com.google.privacy.dlp.v2.RecordTransformationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.RecordTransformation.class, com.google.privacy.dlp.v2.RecordTransformation.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.RecordTransformation.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (fieldIdBuilder_ == null) { + fieldId_ = null; + } else { + fieldId_ = null; + fieldIdBuilder_ = null; + } + if (containerTimestampBuilder_ == null) { + containerTimestamp_ = null; + } else { + containerTimestamp_ = null; + containerTimestampBuilder_ = null; + } + containerVersion_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.RecordTransformation getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.RecordTransformation build() { + com.google.privacy.dlp.v2.RecordTransformation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.RecordTransformation buildPartial() { + com.google.privacy.dlp.v2.RecordTransformation result = new com.google.privacy.dlp.v2.RecordTransformation(this); + if (fieldIdBuilder_ == null) { + result.fieldId_ = fieldId_; + } else { + result.fieldId_ = fieldIdBuilder_.build(); + } + if (containerTimestampBuilder_ == null) { + result.containerTimestamp_ = containerTimestamp_; + } else { + result.containerTimestamp_ = containerTimestampBuilder_.build(); + } + result.containerVersion_ = containerVersion_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.RecordTransformation) { + return mergeFrom((com.google.privacy.dlp.v2.RecordTransformation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.RecordTransformation other) { + if (other == com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance()) return this; + if (other.hasFieldId()) { + mergeFieldId(other.getFieldId()); + } + if (other.hasContainerTimestamp()) { + mergeContainerTimestamp(other.getContainerTimestamp()); + } + if (!other.getContainerVersion().isEmpty()) { + containerVersion_ = other.containerVersion_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.RecordTransformation parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.RecordTransformation) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + 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_; + /** + *
+     * For record transformations, provide a field.
+     * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + * @return Whether the fieldId field is set. + */ + public boolean hasFieldId() { + return fieldIdBuilder_ != null || fieldId_ != null; + } + /** + *
+     * For record transformations, provide a field.
+     * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + * @return The fieldId. + */ + public com.google.privacy.dlp.v2.FieldId getFieldId() { + if (fieldIdBuilder_ == null) { + return fieldId_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_; + } else { + return fieldIdBuilder_.getMessage(); + } + } + /** + *
+     * For record transformations, provide a field.
+     * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + */ + public Builder setFieldId(com.google.privacy.dlp.v2.FieldId value) { + if (fieldIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + fieldId_ = value; + onChanged(); + } else { + fieldIdBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * For record transformations, provide a field.
+     * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + */ + public Builder setFieldId( + com.google.privacy.dlp.v2.FieldId.Builder builderForValue) { + if (fieldIdBuilder_ == null) { + fieldId_ = builderForValue.build(); + onChanged(); + } else { + fieldIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * For record transformations, provide a field.
+     * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + */ + 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(); + } else { + fieldId_ = value; + } + onChanged(); + } else { + fieldIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * For record transformations, provide a field.
+     * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + */ + public Builder clearFieldId() { + if (fieldIdBuilder_ == null) { + fieldId_ = null; + onChanged(); + } else { + fieldId_ = null; + fieldIdBuilder_ = null; + } + + return this; + } + /** + *
+     * For record transformations, provide a field.
+     * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + */ + public com.google.privacy.dlp.v2.FieldId.Builder getFieldIdBuilder() { + + onChanged(); + return getFieldIdFieldBuilder().getBuilder(); + } + /** + *
+     * For record transformations, provide a field.
+     * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + */ + 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_; + } + } + /** + *
+     * For record transformations, provide a field.
+     * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 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> + 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()); + fieldId_ = null; + } + return fieldIdBuilder_; + } + + 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_; + /** + *
+     * Findings container modification timestamp, if applicable.
+     * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + * @return Whether the containerTimestamp field is set. + */ + public boolean hasContainerTimestamp() { + return containerTimestampBuilder_ != null || containerTimestamp_ != null; + } + /** + *
+     * Findings container modification timestamp, if applicable.
+     * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + * @return The containerTimestamp. + */ + public com.google.protobuf.Timestamp getContainerTimestamp() { + if (containerTimestampBuilder_ == null) { + return containerTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : containerTimestamp_; + } else { + return containerTimestampBuilder_.getMessage(); + } + } + /** + *
+     * Findings container modification timestamp, if applicable.
+     * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + */ + public Builder setContainerTimestamp(com.google.protobuf.Timestamp value) { + if (containerTimestampBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + containerTimestamp_ = value; + onChanged(); + } else { + containerTimestampBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Findings container modification timestamp, if applicable.
+     * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + */ + public Builder setContainerTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (containerTimestampBuilder_ == null) { + containerTimestamp_ = builderForValue.build(); + onChanged(); + } else { + containerTimestampBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Findings container modification timestamp, if applicable.
+     * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + */ + public Builder mergeContainerTimestamp(com.google.protobuf.Timestamp value) { + if (containerTimestampBuilder_ == null) { + if (containerTimestamp_ != null) { + containerTimestamp_ = + com.google.protobuf.Timestamp.newBuilder(containerTimestamp_).mergeFrom(value).buildPartial(); + } else { + containerTimestamp_ = value; + } + onChanged(); + } else { + containerTimestampBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Findings container modification timestamp, if applicable.
+     * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + */ + public Builder clearContainerTimestamp() { + if (containerTimestampBuilder_ == null) { + containerTimestamp_ = null; + onChanged(); + } else { + containerTimestamp_ = null; + containerTimestampBuilder_ = null; + } + + return this; + } + /** + *
+     * Findings container modification timestamp, if applicable.
+     * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + */ + public com.google.protobuf.Timestamp.Builder getContainerTimestampBuilder() { + + onChanged(); + return getContainerTimestampFieldBuilder().getBuilder(); + } + /** + *
+     * Findings container modification timestamp, if applicable.
+     * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + */ + public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() { + if (containerTimestampBuilder_ != null) { + return containerTimestampBuilder_.getMessageOrBuilder(); + } else { + return containerTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : containerTimestamp_; + } + } + /** + *
+     * Findings container modification timestamp, if applicable.
+     * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + containerTimestamp_ = null; + } + return containerTimestampBuilder_; + } + + private java.lang.Object containerVersion_ = ""; + /** + *
+     * Container version, if available ("generation" for Cloud Storage).
+     * 
+ * + * string container_version = 3; + * @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; + java.lang.String s = bs.toStringUtf8(); + containerVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Container version, if available ("generation" for Cloud Storage).
+     * 
+ * + * string container_version = 3; + * @return The bytes for containerVersion. + */ + 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); + containerVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Container version, if available ("generation" for Cloud Storage).
+     * 
+ * + * string container_version = 3; + * @param value The containerVersion to set. + * @return This builder for chaining. + */ + public Builder setContainerVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + containerVersion_ = value; + onChanged(); + return this; + } + /** + *
+     * Container version, if available ("generation" for Cloud Storage).
+     * 
+ * + * string container_version = 3; + * @return This builder for chaining. + */ + public Builder clearContainerVersion() { + + containerVersion_ = getDefaultInstance().getContainerVersion(); + onChanged(); + return this; + } + /** + *
+     * Container version, if available ("generation" for Cloud Storage).
+     * 
+ * + * string container_version = 3; + * @param value The bytes for containerVersion to set. + * @return This builder for chaining. + */ + public Builder setContainerVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + containerVersion_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordTransformation) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordTransformation) + private static final com.google.privacy.dlp.v2.RecordTransformation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordTransformation(); + } + + public static com.google.privacy.dlp.v2.RecordTransformation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecordTransformation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecordTransformation(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.RecordTransformation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationOrBuilder.java new file mode 100644 index 00000000..0d0990a3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationOrBuilder.java @@ -0,0 +1,83 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface RecordTransformationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordTransformation) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * For record transformations, provide a field.
+   * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + * @return Whether the fieldId field is set. + */ + boolean hasFieldId(); + /** + *
+   * For record transformations, provide a field.
+   * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + * @return The fieldId. + */ + com.google.privacy.dlp.v2.FieldId getFieldId(); + /** + *
+   * For record transformations, provide a field.
+   * 
+ * + * .google.privacy.dlp.v2.FieldId field_id = 1; + */ + com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder(); + + /** + *
+   * Findings container modification timestamp, if applicable.
+   * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + * @return Whether the containerTimestamp field is set. + */ + boolean hasContainerTimestamp(); + /** + *
+   * Findings container modification timestamp, if applicable.
+   * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + * @return The containerTimestamp. + */ + com.google.protobuf.Timestamp getContainerTimestamp(); + /** + *
+   * Findings container modification timestamp, if applicable.
+   * 
+ * + * .google.protobuf.Timestamp container_timestamp = 2; + */ + com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder(); + + /** + *
+   * Container version, if available ("generation" for Cloud Storage).
+   * 
+ * + * string container_version = 3; + * @return The containerVersion. + */ + java.lang.String getContainerVersion(); + /** + *
+   * Container version, if available ("generation" for Cloud Storage).
+   * 
+ * + * string container_version = 3; + * @return The bytes for containerVersion. + */ + com.google.protobuf.ByteString + getContainerVersionBytes(); +} 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 ecd9bc37..593d41c4 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,37 +56,31 @@ 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) {
@@ -111,7 +88,8 @@ private RecordTransformations(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -123,27 +101,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.
    * 
@@ -151,13 +124,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.
    * 
@@ -165,13 +135,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.
    * 
@@ -183,8 +151,6 @@ public int getFieldTransformationsCount() { return fieldTransformations_.size(); } /** - * - * *
    * Transform the record by applying various field transformations.
    * 
@@ -196,8 +162,6 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int return fieldTransformations_.get(index); } /** - * - * *
    * Transform the record by applying various field transformations.
    * 
@@ -213,8 +177,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.
@@ -227,8 +189,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.
@@ -237,13 +197,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.
@@ -256,8 +214,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.
@@ -270,8 +226,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.
@@ -286,7 +240,6 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppression
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -298,7 +251,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -315,12 +269,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;
@@ -330,16 +284,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;
   }
@@ -364,104 +319,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.
@@ -469,23 +417,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()
@@ -493,18 +439,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();
@@ -524,9 +470,9 @@ public Builder 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
@@ -545,8 +491,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)) {
@@ -574,39 +519,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;
@@ -614,8 +558,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()) {
@@ -634,10 +577,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_);
           }
@@ -661,10 +603,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_);
           }
@@ -698,38 +639,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 { @@ -737,8 +668,6 @@ private void ensureFieldTransformationsIsMutable() { } } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -753,8 +682,6 @@ public int getFieldTransformationsCount() { } } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -769,8 +696,6 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int } } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -792,8 +717,6 @@ public Builder setFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -812,8 +735,6 @@ public Builder setFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -834,8 +755,6 @@ public Builder addFieldTransformations(com.google.privacy.dlp.v2.FieldTransforma return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -857,8 +776,6 @@ public Builder addFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -877,8 +794,6 @@ public Builder addFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -897,8 +812,6 @@ public Builder addFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -909,7 +822,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); @@ -917,8 +831,6 @@ public Builder addAllFieldTransformations( return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -936,8 +848,6 @@ public Builder clearFieldTransformations() { return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -955,8 +865,6 @@ public Builder removeFieldTransformations(int index) { return this; } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -968,8 +876,6 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder getFieldTransformat return getFieldTransformationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -979,22 +885,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 { @@ -1002,8 +905,6 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma } } /** - * - * *
      * Transform the record by applying various field transformations.
      * 
@@ -1011,12 +912,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.
      * 
@@ -1025,34 +924,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(), @@ -1063,26 +954,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.
@@ -1098,8 +981,6 @@ public java.util.List getRecordSupp
       }
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1115,8 +996,6 @@ public int getRecordSuppressionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1132,8 +1011,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.
@@ -1156,8 +1033,6 @@ public Builder setRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1177,8 +1052,6 @@ public Builder setRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1200,8 +1073,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.
@@ -1224,8 +1095,6 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1245,8 +1114,6 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1266,8 +1133,6 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1279,7 +1144,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);
@@ -1287,8 +1153,6 @@ public Builder addAllRecordSuppressions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1307,8 +1171,6 @@ public Builder clearRecordSuppressions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1327,8 +1189,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.
@@ -1341,8 +1201,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.
@@ -1353,14 +1211,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.
@@ -1368,8 +1223,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 {
@@ -1377,8 +1232,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.
@@ -1387,12 +1240,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.
@@ -1402,12 +1253,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.
@@ -1415,22 +1264,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(),
@@ -1439,9 +1282,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);
     }
 
@@ -1451,12 +1294,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();
   }
@@ -1465,16 +1308,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;
@@ -1489,4 +1332,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 68%
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 913294ad..69e2e888 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,13 +54,13 @@ 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) {
@@ -84,30 +68,27 @@ private RedactConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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;
@@ -119,7 +100,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -137,7 +119,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);
@@ -160,104 +142,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
@@ -266,23 +241,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()
@@ -290,15 +263,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -306,9 +280,9 @@ public Builder 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
@@ -327,8 +301,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;
     }
@@ -337,39 +310,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;
@@ -406,9 +378,9 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -418,12 +390,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();
   }
@@ -432,16 +404,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;
@@ -456,4 +428,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 47165b6e..54c3f7a5 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,78 +57,65 @@ 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) {
@@ -153,7 +123,8 @@ private RedactImageRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -162,30 +133,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
@@ -194,13 +159,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
@@ -209,13 +171,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
@@ -228,61 +187,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.
@@ -292,41 +237,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) @@ -345,50 +288,45 @@ 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: - { - target_ = input.readBool(); - targetCase_ = 2; - break; + targetCase_ = 1; + break; + } + case 16: { + target_ = input.readBool(); + targetCase_ = 2; + 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) { @@ -396,40 +334,35 @@ private ImageRedactionConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -445,30 +378,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
@@ -477,7 +405,6 @@ public TargetCase getTargetCase() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -485,8 +412,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
@@ -495,19 +420,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
@@ -520,22 +442,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 @@ -543,15 +462,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 @@ -565,15 +481,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 @@ -581,26 +494,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.
@@ -614,7 +520,6 @@ public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -626,12 +531,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());
@@ -646,17 +553,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;
@@ -666,25 +573,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:
@@ -711,7 +620,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:
@@ -722,95 +632,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
@@ -820,49 +722,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(); @@ -878,16 +775,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 @@ -901,8 +796,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_; @@ -927,71 +821,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(); @@ -1012,9 +896,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) { @@ -1023,12 +905,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() { @@ -1038,14 +920,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
@@ -1054,7 +932,6 @@ public Builder clearTarget() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return Whether the infoType field is set. */ @java.lang.Override @@ -1062,8 +939,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
@@ -1072,7 +947,6 @@ public boolean hasInfoType() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; - * * @return The infoType. */ @java.lang.Override @@ -1090,8 +964,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
@@ -1115,8 +987,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
@@ -1126,7 +996,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();
@@ -1137,8 +1008,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
@@ -1150,13 +1019,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;
           }
@@ -1172,8 +1038,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
@@ -1200,8 +1064,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
@@ -1215,8 +1077,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
@@ -1238,8 +1098,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
@@ -1250,53 +1108,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() { @@ -1306,15 +1154,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. */ @@ -1325,15 +1170,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() { @@ -1347,49 +1189,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.
@@ -1411,8 +1240,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.
@@ -1420,7 +1247,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();
@@ -1431,8 +1259,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.
@@ -1444,9 +1270,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;
           }
@@ -1458,8 +1282,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.
@@ -1479,8 +1301,6 @@ public Builder clearRedactionColor() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1489,13 +1309,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.
@@ -1507,14 +1325,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.
@@ -1523,22 +1338,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) {
@@ -1551,32 +1362,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;
@@ -1588,17 +1397,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
@@ -1615,7 +1422,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } - * * @return The parent. */ @java.lang.Override @@ -1624,15 +1430,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
@@ -1649,15 +1454,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 { @@ -1668,14 +1474,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 @@ -1684,29 +1487,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 { @@ -1717,14 +1520,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 @@ -1732,25 +1532,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.
    * 
@@ -1763,101 +1556,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 @@ -1868,14 +1634,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 @@ -1883,25 +1646,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.
    * 
@@ -1914,7 +1670,6 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1926,7 +1681,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1958,18 +1714,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_); @@ -1982,25 +1740,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; @@ -2026,7 +1789,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(); @@ -2036,104 +1800,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.
@@ -2141,23 +1898,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()
@@ -2165,17 +1920,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();
@@ -2207,9 +1962,9 @@ public Builder 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
@@ -2228,8 +1983,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_;
@@ -2261,39 +2015,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;
@@ -2331,10 +2084,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_);
           }
@@ -2374,13 +2126,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
@@ -2397,13 +2146,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; @@ -2412,8 +2161,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2430,14 +2177,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 { @@ -2445,8 +2193,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2463,22 +2209,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
@@ -2495,18 +2239,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
@@ -2523,16 +2264,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; @@ -2540,20 +2281,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; @@ -2562,21 +2301,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 { @@ -2584,61 +2322,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; @@ -2646,47 +2377,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.
      * 
@@ -2707,8 +2425,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2727,8 +2443,6 @@ public Builder setInspectConfig( return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2739,9 +2453,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; } @@ -2753,8 +2465,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2773,8 +2483,6 @@ public Builder clearInspectConfig() { return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -2782,13 +2490,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.
      * 
@@ -2799,14 +2505,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.
      * 
@@ -2814,54 +2517,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 { @@ -2869,15 +2557,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) { @@ -2887,18 +2571,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 { @@ -2906,15 +2585,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) { @@ -2931,19 +2606,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()); @@ -2954,18 +2624,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(); @@ -2979,15 +2644,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) { @@ -3004,15 +2665,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) { @@ -3026,19 +2683,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()); @@ -3049,23 +2701,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); @@ -3073,15 +2720,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) { @@ -3094,15 +2737,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) { @@ -3115,53 +2754,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 { @@ -3169,69 +2794,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(), @@ -3241,17 +2842,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 @@ -3259,38 +2857,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; @@ -3298,47 +2890,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.
      * 
@@ -3359,15 +2938,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(); @@ -3378,8 +2956,6 @@ public Builder setByteItem(com.google.privacy.dlp.v2.ByteContentItem.Builder bui return this; } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3390,9 +2966,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; } @@ -3404,8 +2978,6 @@ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3424,8 +2996,6 @@ public Builder clearByteItem() { return this; } /** - * - * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3433,13 +3003,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.
      * 
@@ -3450,14 +3018,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.
      * 
@@ -3465,24 +3030,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); } @@ -3492,12 +3054,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(); } @@ -3506,16 +3068,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; @@ -3530,4 +3092,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 e2e11b14..6652f23c 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,41 +54,37 @@ 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) { @@ -113,39 +92,34 @@ private RedactImageResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -156,8 +130,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
@@ -165,7 +137,6 @@ public com.google.protobuf.ByteString getRedactedImage() {
    * 
* * string extracted_text = 2; - * * @return The extractedText. */ @java.lang.Override @@ -174,15 +145,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
@@ -190,15 +160,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 { @@ -209,14 +180,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 @@ -224,25 +192,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.
    * 
@@ -255,7 +216,6 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getInspectResultOrBuilde } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!redactedImage_.isEmpty()) { output.writeBytes(1, redactedImage_); } @@ -287,13 +248,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; @@ -303,19 +266,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; @@ -341,127 +306,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() @@ -469,15 +425,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); 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 +452,9 @@ public Builder 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 @@ -516,8 +473,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) { @@ -533,39 +489,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; @@ -615,14 +570,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 @@ -630,39 +582,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; @@ -670,8 +616,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
@@ -679,13 +623,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; @@ -694,8 +638,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
@@ -703,14 +645,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 { @@ -718,8 +661,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
@@ -727,22 +668,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
@@ -750,18 +689,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
@@ -769,16 +705,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; @@ -786,47 +722,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.
      * 
@@ -847,8 +770,6 @@ public Builder setInspectResult(com.google.privacy.dlp.v2.InspectResult value) { return this; } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -867,8 +788,6 @@ public Builder setInspectResult( return this; } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -879,9 +798,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; } @@ -893,8 +810,6 @@ public Builder mergeInspectResult(com.google.privacy.dlp.v2.InspectResult value) return this; } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -913,8 +828,6 @@ public Builder clearInspectResult() { return this; } /** - * - * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -922,13 +835,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.
      * 
@@ -939,14 +850,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.
      * 
@@ -954,24 +862,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); } @@ -981,12 +886,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(); } @@ -995,16 +900,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; @@ -1019,4 +924,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 2760c008..f7dbf974 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,89 +56,76 @@ 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) { @@ -163,33 +133,29 @@ private ReidentifyContentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -205,10 +171,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 @@ -217,15 +180,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
@@ -241,18 +203,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 { @@ -263,8 +224,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
@@ -278,7 +237,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 @@ -286,8 +244,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
@@ -301,18 +257,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
@@ -335,14 +286,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 @@ -350,25 +298,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.
    * 
@@ -383,14 +324,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 @@ -398,14 +336,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 @@ -413,8 +348,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.
    * 
@@ -429,8 +362,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
@@ -440,7 +371,6 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 5; - * * @return The inspectTemplateName. */ @java.lang.Override @@ -449,15 +379,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
@@ -467,15 +396,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 { @@ -486,8 +416,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
@@ -499,7 +427,6 @@ public com.google.protobuf.ByteString getInspectTemplateNameBytes() {
    * 
* * string reidentify_template_name = 6; - * * @return The reidentifyTemplateName. */ @java.lang.Override @@ -508,15 +435,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
@@ -528,15 +454,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 { @@ -547,14 +474,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 @@ -563,29 +487,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 { @@ -594,7 +518,6 @@ public com.google.protobuf.ByteString getLocationIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -606,7 +529,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -641,13 +565,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_); @@ -666,30 +593,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; } @@ -727,126 +660,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() @@ -854,15 +778,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -896,9 +821,9 @@ public Builder 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 @@ -917,8 +842,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_; @@ -946,39 +870,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; @@ -986,8 +909,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(); @@ -1032,8 +954,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) { @@ -1045,8 +966,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
@@ -1062,16 +981,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; @@ -1080,8 +997,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1097,17 +1012,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 { @@ -1115,8 +1029,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1132,25 +1044,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
@@ -1166,21 +1074,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
@@ -1196,19 +1099,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; @@ -1216,13 +1117,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
@@ -1236,15 +1132,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
@@ -1258,21 +1151,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
@@ -1301,8 +1189,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
@@ -1329,8 +1215,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
@@ -1349,9 +1233,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;
         }
@@ -1363,8 +1245,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
@@ -1391,8 +1271,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
@@ -1408,13 +1286,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
@@ -1433,14 +1309,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
@@ -1456,17 +1329,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_;
@@ -1474,47 +1344,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.
      * 
@@ -1535,8 +1392,6 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1555,8 +1410,6 @@ public Builder setInspectConfig( return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1567,9 +1420,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; } @@ -1581,8 +1432,6 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1601,8 +1450,6 @@ public Builder clearInspectConfig() { return this; } /** - * - * *
      * Configuration for the inspector.
      * 
@@ -1610,13 +1457,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.
      * 
@@ -1627,14 +1472,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.
      * 
@@ -1642,17 +1484,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_; @@ -1660,33 +1499,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() { @@ -1697,8 +1527,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1719,15 +1547,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(); @@ -1738,8 +1565,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1750,9 +1575,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; } @@ -1764,8 +1587,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1784,8 +1605,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1793,13 +1612,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.
      * 
@@ -1810,12 +1627,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.
      * 
@@ -1823,17 +1639,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_; @@ -1841,8 +1654,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
@@ -1852,13 +1663,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; @@ -1867,8 +1678,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
@@ -1878,14 +1687,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 { @@ -1893,8 +1703,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
@@ -1904,22 +1712,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
@@ -1929,18 +1735,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
@@ -1950,16 +1753,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; @@ -1967,8 +1770,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
@@ -1980,13 +1781,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; @@ -1995,8 +1796,6 @@ public java.lang.String getReidentifyTemplateName() { } } /** - * - * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -2008,14 +1807,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 { @@ -2023,8 +1823,6 @@ public com.google.protobuf.ByteString getReidentifyTemplateNameBytes() { } } /** - * - * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -2036,22 +1834,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
@@ -2063,18 +1859,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
@@ -2086,16 +1879,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; @@ -2103,20 +1896,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; @@ -2125,21 +1916,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 { @@ -2147,68 +1937,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); } @@ -2218,12 +2001,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(); } @@ -2232,16 +2015,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; @@ -2256,4 +2039,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 a69ceaa0..5da38a8a 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.
+ * Results of re-identifying an 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,45 +52,39 @@ 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) { @@ -114,39 +92,34 @@ private ReidentifyContentResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -154,14 +127,11 @@ public boolean hasItem() { return item_ != null; } /** - * - * *
    * The re-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; - * * @return The item. */ @java.lang.Override @@ -169,8 +139,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** - * - * *
    * The re-identified item.
    * 
@@ -185,14 +153,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 @@ -200,25 +165,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`.
    * 
@@ -231,7 +189,6 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -260,10 +218,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; @@ -273,21 +233,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; @@ -314,126 +275,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.
+   * Results of re-identifying an 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() @@ -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_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 @@ -490,8 +443,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 { @@ -510,39 +462,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; @@ -550,8 +501,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()); } @@ -577,8 +527,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) { @@ -590,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 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() { @@ -627,8 +567,6 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** - * - * *
      * The re-identified item.
      * 
@@ -649,15 +587,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(); @@ -668,8 +605,6 @@ public Builder setItem(com.google.privacy.dlp.v2.ContentItem.Builder builderForV return this; } /** - * - * *
      * The re-identified item.
      * 
@@ -680,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; } @@ -694,8 +627,6 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** - * - * *
      * The re-identified item.
      * 
@@ -714,8 +645,6 @@ public Builder clearItem() { return this; } /** - * - * *
      * The re-identified item.
      * 
@@ -723,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 re-identified item.
      * 
@@ -740,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 re-identified item.
      * 
@@ -753,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_; @@ -771,47 +694,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`.
      * 
@@ -832,8 +742,6 @@ public Builder setOverview(com.google.privacy.dlp.v2.TransformationOverview valu return this; } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -852,8 +760,6 @@ public Builder setOverview( return this; } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -864,9 +770,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; } @@ -878,8 +782,6 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va return this; } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -898,8 +800,6 @@ public Builder clearOverview() { return this; } /** - * - * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -907,13 +807,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`.
      * 
@@ -924,14 +822,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`.
      * 
@@ -939,24 +834,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); } @@ -966,12 +858,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(); } @@ -980,16 +872,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; @@ -1004,4 +896,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..31c4332e 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,53 +169,45 @@ 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() { - return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(3); } private static final RelationalOperator[] VALUES = values(); @@ -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 4f7b5d81..f98afeb6 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,34 +52,27 @@ 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) { @@ -103,39 +80,34 @@ private ReplaceDictionaryConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -151,28 +123,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
@@ -180,7 +148,6 @@ public TypeCase getTypeCase() {
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return Whether the wordList field is set. */ @java.lang.Override @@ -188,8 +155,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
@@ -197,19 +162,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
@@ -219,16 +181,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;
@@ -240,7 +200,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -254,9 +215,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;
@@ -266,18 +226,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:
@@ -307,126 +267,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() @@ -434,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +404,9 @@ public Builder 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 @@ -473,8 +425,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_; @@ -491,39 +442,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; @@ -531,18 +481,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(); @@ -563,8 +510,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) { @@ -573,12 +519,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() { @@ -588,14 +534,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
@@ -603,7 +545,6 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return Whether the wordList field is set. */ @java.lang.Override @@ -611,8 +552,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
@@ -620,7 +559,6 @@ public boolean hasWordList() {
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; - * * @return The wordList. */ @java.lang.Override @@ -638,8 +576,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
@@ -662,8 +598,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
@@ -684,8 +618,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
@@ -694,18 +626,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;
         }
@@ -721,8 +647,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
@@ -748,8 +672,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
@@ -758,13 +680,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
@@ -774,8 +693,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 {
@@ -786,8 +704,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
@@ -797,32 +713,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);
     }
 
@@ -832,12 +742,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();
   }
@@ -846,16 +756,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;
@@ -870,4 +780,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 a5195d3b..452727c9 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,28 +52,26 @@ 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) { @@ -97,39 +79,34 @@ private ReplaceValueConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -137,14 +114,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 @@ -152,8 +126,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.
    * 
@@ -166,7 +138,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getNewValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,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 (newValue_ != null) { output.writeMessage(1, getNewValue()); } @@ -192,7 +164,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; @@ -202,17 +175,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; @@ -234,127 +207,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() @@ -362,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -384,9 +349,9 @@ public Builder 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 @@ -405,8 +370,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 { @@ -420,39 +384,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; @@ -495,33 +458,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() { @@ -532,8 +486,6 @@ public com.google.privacy.dlp.v2.Value getNewValue() { } } /** - * - * *
      * Value to replace it with.
      * 
@@ -554,15 +506,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(); @@ -573,8 +524,6 @@ public Builder setNewValue(com.google.privacy.dlp.v2.Value.Builder builderForVal return this; } /** - * - * *
      * Value to replace it with.
      * 
@@ -585,7 +534,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; } @@ -597,8 +546,6 @@ public Builder mergeNewValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
      * Value to replace it with.
      * 
@@ -617,8 +564,6 @@ public Builder clearNewValue() { return this; } /** - * - * *
      * Value to replace it with.
      * 
@@ -626,13 +571,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.
      * 
@@ -643,12 +586,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.
      * 
@@ -656,24 +598,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); } @@ -683,12 +622,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(); } @@ -697,16 +636,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; @@ -721,4 +660,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 40d89941..49d41adc 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,13 +52,13 @@ 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) { @@ -82,30 +66,27 @@ private ReplaceWithInfoTypeConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -160,126 +141,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() @@ -287,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(); @@ -303,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_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 @@ -324,8 +297,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; } @@ -334,39 +306,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; @@ -374,8 +345,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; @@ -395,8 +365,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) { @@ -405,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); } @@ -417,12 +386,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(); } @@ -431,16 +400,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; @@ -455,4 +424,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/ResourceVisibility.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ResourceVisibility.java similarity index 68% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ResourceVisibility.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ResourceVisibility.java index 29266524..f0ba9260 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ResourceVisibility.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ResourceVisibility.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 broadly a resource has been shared. New items may be added over time.
  * A higher number means more restricted.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.privacy.dlp.v2.ResourceVisibility}
  */
-public enum ResourceVisibility implements com.google.protobuf.ProtocolMessageEnum {
+public enum ResourceVisibility
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Unused.
    * 
@@ -40,8 +22,6 @@ public enum ResourceVisibility implements com.google.protobuf.ProtocolMessageEnu */ RESOURCE_VISIBILITY_UNSPECIFIED(0), /** - * - * *
    * Visible to any user.
    * 
@@ -50,8 +30,6 @@ public enum ResourceVisibility implements com.google.protobuf.ProtocolMessageEnu */ RESOURCE_VISIBILITY_PUBLIC(10), /** - * - * *
    * Visible only to specific users.
    * 
@@ -63,8 +41,6 @@ public enum ResourceVisibility implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
    * Unused.
    * 
@@ -73,8 +49,6 @@ public enum ResourceVisibility implements com.google.protobuf.ProtocolMessageEnu */ public static final int RESOURCE_VISIBILITY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Visible to any user.
    * 
@@ -83,8 +57,6 @@ public enum ResourceVisibility implements com.google.protobuf.ProtocolMessageEnu */ public static final int RESOURCE_VISIBILITY_PUBLIC_VALUE = 10; /** - * - * *
    * Visible only to specific users.
    * 
@@ -93,6 +65,7 @@ public enum ResourceVisibility implements com.google.protobuf.ProtocolMessageEnu */ public static final int RESOURCE_VISIBILITY_RESTRICTED_VALUE = 20; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -117,43 +90,40 @@ public static ResourceVisibility valueOf(int value) { */ public static ResourceVisibility forNumber(int value) { switch (value) { - case 0: - return RESOURCE_VISIBILITY_UNSPECIFIED; - case 10: - return RESOURCE_VISIBILITY_PUBLIC; - case 20: - return RESOURCE_VISIBILITY_RESTRICTED; - default: - return null; + case 0: return RESOURCE_VISIBILITY_UNSPECIFIED; + case 10: return RESOURCE_VISIBILITY_PUBLIC; + case 20: return RESOURCE_VISIBILITY_RESTRICTED; + 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 ResourceVisibility findValueByNumber(int number) { - return ResourceVisibility.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ResourceVisibility> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ResourceVisibility findValueByNumber(int number) { + return ResourceVisibility.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.DlpProto.getDescriptor().getEnumTypes().get(7); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(10); } private static final ResourceVisibility[] VALUES = values(); @@ -161,7 +131,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ResourceVisibility 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 +148,4 @@ private ResourceVisibility(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.ResourceVisibility) } + 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 88551431..a512fc3e 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,55 +55,48 @@ 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) {
@@ -128,7 +104,8 @@ private RiskAnalysisJobConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -137,33 +114,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 @@ -171,25 +142,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.
    * 
@@ -204,14 +168,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 @@ -219,25 +180,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.
    * 
@@ -252,8 +206,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.
@@ -266,8 +218,6 @@ public java.util.List getActionsList() {
     return actions_;
   }
   /**
-   *
-   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -276,13 +226,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.
@@ -295,8 +243,6 @@ public int getActionsCount() {
     return actions_.size();
   }
   /**
-   *
-   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -309,8 +255,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.
@@ -319,12 +263,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;
@@ -336,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 (privacyMetric_ != null) {
       output.writeMessage(1, getPrivacyMetric());
     }
@@ -356,13 +301,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;
@@ -372,23 +320,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;
   }
@@ -417,104 +367,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.
@@ -522,23 +465,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()
@@ -546,17 +487,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();
@@ -582,9 +523,9 @@ public Builder 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
@@ -603,8 +544,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_;
@@ -633,39 +573,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;
@@ -673,8 +612,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());
       }
@@ -699,10 +637,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_);
           }
@@ -736,52 +673,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.
      * 
@@ -802,8 +725,6 @@ public Builder setPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) { return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -822,8 +743,6 @@ public Builder setPrivacyMetric( return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -834,9 +753,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; } @@ -848,8 +765,6 @@ public Builder mergePrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -868,8 +783,6 @@ public Builder clearPrivacyMetric() { return this; } /** - * - * *
      * Privacy metric to compute.
      * 
@@ -877,13 +790,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.
      * 
@@ -894,14 +805,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.
      * 
@@ -909,17 +817,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_; @@ -927,47 +832,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.
      * 
@@ -988,15 +880,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(); @@ -1007,8 +898,6 @@ public Builder setSourceTable(com.google.privacy.dlp.v2.BigQueryTable.Builder bu return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -1019,9 +908,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; } @@ -1033,8 +920,6 @@ public Builder mergeSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -1053,8 +938,6 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Input dataset to compute metrics over.
      * 
@@ -1062,13 +945,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.
      * 
@@ -1079,14 +960,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.
      * 
@@ -1094,41 +972,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.
@@ -1144,8 +1013,6 @@ public java.util.List getActionsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1161,8 +1028,6 @@ public int getActionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1178,8 +1043,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.
@@ -1187,7 +1050,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();
@@ -1201,8 +1065,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.
@@ -1210,7 +1072,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());
@@ -1221,8 +1084,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.
@@ -1244,8 +1105,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.
@@ -1253,7 +1112,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();
@@ -1267,8 +1127,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.
@@ -1276,7 +1134,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());
@@ -1287,8 +1146,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.
@@ -1296,7 +1153,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());
@@ -1307,8 +1165,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.
@@ -1320,7 +1176,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);
@@ -1328,8 +1185,6 @@ public Builder addAllActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1348,8 +1203,6 @@ public Builder clearActions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1368,8 +1221,6 @@ public Builder removeActions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1377,12 +1228,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.
@@ -1390,16 +1240,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.
@@ -1407,8 +1255,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 {
@@ -1416,8 +1264,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.
@@ -1426,12 +1272,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.
@@ -1439,13 +1283,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.
@@ -1453,29 +1296,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);
     }
 
@@ -1485,12 +1326,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();
   }
@@ -1499,16 +1340,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;
@@ -1523,4 +1364,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 71%
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 2cbe42ce..6e693ddb 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,27 +52,27 @@ 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) { @@ -96,39 +80,34 @@ private Schedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -144,30 +123,26 @@ 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
+   * With this option a job is started on a regular periodic basis. For
    * example: every day (86400 seconds).
    * A scheduled start time will be skipped if the previous
    * execution has not ended when its scheduled time occurs.
@@ -176,7 +151,6 @@ public OptionCase getOptionCase() {
    * 
* * .google.protobuf.Duration recurrence_period_duration = 1; - * * @return Whether the recurrencePeriodDuration field is set. */ @java.lang.Override @@ -184,10 +158,8 @@ public boolean hasRecurrencePeriodDuration() { return optionCase_ == 1; } /** - * - * *
-   * With this option a job is started a regular periodic basis. For
+   * With this option a job is started on a regular periodic basis. For
    * example: every day (86400 seconds).
    * A scheduled start time will be skipped if the previous
    * execution has not ended when its scheduled time occurs.
@@ -196,21 +168,18 @@ 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
+   * With this option a job is started on a regular periodic basis. For
    * example: every day (86400 seconds).
    * A scheduled start time will be skipped if the previous
    * execution has not ended when its scheduled time occurs.
@@ -223,13 +192,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;
@@ -241,7 +209,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -255,9 +224,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;
@@ -267,7 +235,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);
@@ -277,8 +245,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:
@@ -307,126 +275,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() @@ -434,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(); @@ -452,9 +413,9 @@ public Builder 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 @@ -490,39 +451,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; @@ -532,15 +492,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(); @@ -570,12 +528,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() { @@ -585,16 +543,12 @@ 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
+     * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
      * A scheduled start time will be skipped if the previous
      * execution has not ended when its scheduled time occurs.
@@ -603,7 +557,6 @@ public Builder clearOption() {
      * 
* * .google.protobuf.Duration recurrence_period_duration = 1; - * * @return Whether the recurrencePeriodDuration field is set. */ @java.lang.Override @@ -611,10 +564,8 @@ public boolean hasRecurrencePeriodDuration() { return optionCase_ == 1; } /** - * - * *
-     * With this option a job is started a regular periodic basis. For
+     * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
      * A scheduled start time will be skipped if the previous
      * execution has not ended when its scheduled time occurs.
@@ -623,7 +574,6 @@ public boolean hasRecurrencePeriodDuration() {
      * 
* * .google.protobuf.Duration recurrence_period_duration = 1; - * * @return The recurrencePeriodDuration. */ @java.lang.Override @@ -641,10 +591,8 @@ public com.google.protobuf.Duration getRecurrencePeriodDuration() { } } /** - * - * *
-     * With this option a job is started a regular periodic basis. For
+     * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
      * A scheduled start time will be skipped if the previous
      * execution has not ended when its scheduled time occurs.
@@ -668,10 +616,8 @@ public Builder setRecurrencePeriodDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
-     * With this option a job is started a regular periodic basis. For
+     * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
      * A scheduled start time will be skipped if the previous
      * execution has not ended when its scheduled time occurs.
@@ -693,10 +639,8 @@ public Builder setRecurrencePeriodDuration(
       return this;
     }
     /**
-     *
-     *
      * 
-     * With this option a job is started a regular periodic basis. For
+     * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
      * A scheduled start time will be skipped if the previous
      * execution has not ended when its scheduled time occurs.
@@ -708,11 +652,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;
         }
@@ -728,10 +671,8 @@ public Builder mergeRecurrencePeriodDuration(com.google.protobuf.Duration value)
       return this;
     }
     /**
-     *
-     *
      * 
-     * With this option a job is started a regular periodic basis. For
+     * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
      * A scheduled start time will be skipped if the previous
      * execution has not ended when its scheduled time occurs.
@@ -758,10 +699,8 @@ public Builder clearRecurrencePeriodDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
-     * With this option a job is started a regular periodic basis. For
+     * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
      * A scheduled start time will be skipped if the previous
      * execution has not ended when its scheduled time occurs.
@@ -775,10 +714,8 @@ public com.google.protobuf.Duration.Builder getRecurrencePeriodDurationBuilder()
       return getRecurrencePeriodDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
-     * With this option a job is started a regular periodic basis. For
+     * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
      * A scheduled start time will be skipped if the previous
      * execution has not ended when its scheduled time occurs.
@@ -800,10 +737,8 @@ public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilde
       }
     }
     /**
-     *
-     *
      * 
-     * With this option a job is started a regular periodic basis. For
+     * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
      * A scheduled start time will be skipped if the previous
      * execution has not ended when its scheduled time occurs.
@@ -814,30 +749,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);
     }
 
@@ -847,12 +778,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();
   }
@@ -861,16 +792,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;
@@ -885,4 +816,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 67%
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..e86a68c3 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,33 +1,15 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under 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
+   * With this option a job is started on a regular periodic basis. For
    * example: every day (86400 seconds).
    * A scheduled start time will be skipped if the previous
    * execution has not ended when its scheduled time occurs.
@@ -36,15 +18,12 @@ 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
+   * With this option a job is started on a regular periodic basis. For
    * example: every day (86400 seconds).
    * A scheduled start time will be skipped if the previous
    * execution has not ended when its scheduled time occurs.
@@ -53,15 +32,12 @@ 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
+   * With this option a job is started on a regular periodic basis. For
    * example: every day (86400 seconds).
    * A scheduled start time will be skipped if the previous
    * execution has not ended when its scheduled time occurs.
diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.java
similarity index 69%
rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.java
rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.java
index 6eee2094..9c8a683f 100644
--- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.java
+++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.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
+// source: google/privacy/dlp/v2/storage.proto
 
 package com.google.privacy.dlp.v2;
 
 /**
- *
- *
  * 
  * Score is a summary of all elements in the data profile.
  * A higher number means more sensitive.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.SensitivityScore}
  */
-public final class SensitivityScore extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SensitivityScore extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.SensitivityScore)
     SensitivityScoreOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SensitivityScore.newBuilder() to construct.
   private SensitivityScore(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SensitivityScore() {
     score_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SensitivityScore();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private SensitivityScore(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private SensitivityScore(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              score_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            score_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,41 +74,36 @@ private SensitivityScore(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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_SensitivityScore_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto
-        .internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.SensitivityScore.class,
-            com.google.privacy.dlp.v2.SensitivityScore.Builder.class);
+            com.google.privacy.dlp.v2.SensitivityScore.class, com.google.privacy.dlp.v2.SensitivityScore.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Various score levels for resources.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel} */ - public enum SensitivityScoreLevel implements com.google.protobuf.ProtocolMessageEnum { + public enum SensitivityScoreLevel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unused.
      * 
@@ -135,8 +112,6 @@ public enum SensitivityScoreLevel implements com.google.protobuf.ProtocolMessage */ SENSITIVITY_SCORE_UNSPECIFIED(0), /** - * - * *
      * No sensitive information detected. Limited access.
      * 
@@ -145,8 +120,6 @@ public enum SensitivityScoreLevel implements com.google.protobuf.ProtocolMessage */ SENSITIVITY_LOW(10), /** - * - * *
      * Medium risk - PII, potentially sensitive data, or fields with free-text
      * data that are at higher risk of having intermittent sensitive data.
@@ -157,8 +130,6 @@ public enum SensitivityScoreLevel implements com.google.protobuf.ProtocolMessage
      */
     SENSITIVITY_MODERATE(20),
     /**
-     *
-     *
      * 
      * High risk – SPII may be present. Exfiltration of data may lead to user
      * data loss. Re-identification of users may be possible. Consider limiting
@@ -172,8 +143,6 @@ public enum SensitivityScoreLevel implements com.google.protobuf.ProtocolMessage
     ;
 
     /**
-     *
-     *
      * 
      * Unused.
      * 
@@ -182,8 +151,6 @@ public enum SensitivityScoreLevel implements com.google.protobuf.ProtocolMessage */ public static final int SENSITIVITY_SCORE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * No sensitive information detected. Limited access.
      * 
@@ -192,8 +159,6 @@ public enum SensitivityScoreLevel implements com.google.protobuf.ProtocolMessage */ public static final int SENSITIVITY_LOW_VALUE = 10; /** - * - * *
      * Medium risk - PII, potentially sensitive data, or fields with free-text
      * data that are at higher risk of having intermittent sensitive data.
@@ -204,8 +169,6 @@ public enum SensitivityScoreLevel implements com.google.protobuf.ProtocolMessage
      */
     public static final int SENSITIVITY_MODERATE_VALUE = 20;
     /**
-     *
-     *
      * 
      * High risk – SPII may be present. Exfiltration of data may lead to user
      * data loss. Re-identification of users may be possible. Consider limiting
@@ -216,6 +179,7 @@ public enum SensitivityScoreLevel implements com.google.protobuf.ProtocolMessage
      */
     public static final int SENSITIVITY_HIGH_VALUE = 30;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -240,16 +204,11 @@ public static SensitivityScoreLevel valueOf(int value) {
      */
     public static SensitivityScoreLevel forNumber(int value) {
       switch (value) {
-        case 0:
-          return SENSITIVITY_SCORE_UNSPECIFIED;
-        case 10:
-          return SENSITIVITY_LOW;
-        case 20:
-          return SENSITIVITY_MODERATE;
-        case 30:
-          return SENSITIVITY_HIGH;
-        default:
-          return null;
+        case 0: return SENSITIVITY_SCORE_UNSPECIFIED;
+        case 10: return SENSITIVITY_LOW;
+        case 20: return SENSITIVITY_MODERATE;
+        case 30: return SENSITIVITY_HIGH;
+        default: return null;
       }
     }
 
@@ -257,28 +216,28 @@ public static SensitivityScoreLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        SensitivityScoreLevel> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public SensitivityScoreLevel findValueByNumber(int number) {
+              return SensitivityScoreLevel.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public SensitivityScoreLevel findValueByNumber(int number) {
-                return SensitivityScoreLevel.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.SensitivityScore.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -287,7 +246,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static SensitivityScoreLevel 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;
@@ -307,43 +267,31 @@ private SensitivityScoreLevel(int value) {
   public static final int SCORE_FIELD_NUMBER = 1;
   private int score_;
   /**
-   *
-   *
    * 
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; - * * @return The enum numeric value on the wire for score. */ - @java.lang.Override - public int getScoreValue() { + @java.lang.Override public int getScoreValue() { return score_; } /** - * - * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; - * * @return The score. */ - @java.lang.Override - public com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel getScore() { + @java.lang.Override public com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel getScore() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel result = - com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.valueOf(score_); - return result == null - ? com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel result = com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.valueOf(score_); + return result == null ? com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,11 +303,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (score_ - != com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel - .SENSITIVITY_SCORE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (score_ != com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.SENSITIVITY_SCORE_UNSPECIFIED.getNumber()) { output.writeEnum(1, score_); } unknownFields.writeTo(output); @@ -371,11 +317,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (score_ - != com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel - .SENSITIVITY_SCORE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, score_); + if (score_ != com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.SENSITIVITY_SCORE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, score_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -385,13 +329,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.SensitivityScore)) { return super.equals(obj); } - com.google.privacy.dlp.v2.SensitivityScore other = - (com.google.privacy.dlp.v2.SensitivityScore) obj; + com.google.privacy.dlp.v2.SensitivityScore other = (com.google.privacy.dlp.v2.SensitivityScore) obj; if (score_ != other.score_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -412,104 +355,97 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.SensitivityScore parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.SensitivityScore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.SensitivityScore parseFrom(java.io.InputStream input) 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.SensitivityScore parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.SensitivityScore parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.SensitivityScore parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.SensitivityScore parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.SensitivityScore prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Score is a summary of all elements in the data profile.
    * A higher number means more sensitive.
@@ -517,23 +453,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.privacy.dlp.v2.SensitivityScore}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.SensitivityScore)
       com.google.privacy.dlp.v2.SensitivityScoreOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto
-          .internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.SensitivityScore.class,
-              com.google.privacy.dlp.v2.SensitivityScore.Builder.class);
+              com.google.privacy.dlp.v2.SensitivityScore.class, com.google.privacy.dlp.v2.SensitivityScore.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.SensitivityScore.newBuilder()
@@ -541,15 +475,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -559,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_SensitivityScore_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor;
     }
 
     @java.lang.Override
@@ -580,8 +515,7 @@ public com.google.privacy.dlp.v2.SensitivityScore build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.SensitivityScore buildPartial() {
-      com.google.privacy.dlp.v2.SensitivityScore result =
-          new com.google.privacy.dlp.v2.SensitivityScore(this);
+      com.google.privacy.dlp.v2.SensitivityScore result = new com.google.privacy.dlp.v2.SensitivityScore(this);
       result.score_ = score_;
       onBuilt();
       return result;
@@ -591,39 +525,38 @@ public com.google.privacy.dlp.v2.SensitivityScore buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.SensitivityScore) {
-        return mergeFrom((com.google.privacy.dlp.v2.SensitivityScore) other);
+        return mergeFrom((com.google.privacy.dlp.v2.SensitivityScore)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -666,100 +599,80 @@ public Builder mergeFrom(
 
     private int score_ = 0;
     /**
-     *
-     *
      * 
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; - * * @return The enum numeric value on the wire for score. */ - @java.lang.Override - public int getScoreValue() { + @java.lang.Override public int getScoreValue() { return score_; } /** - * - * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; - * * @param value The enum numeric value on the wire for score to set. * @return This builder for chaining. */ public Builder setScoreValue(int value) { - + score_ = value; onChanged(); return this; } /** - * - * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; - * * @return The score. */ @java.lang.Override public com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel getScore() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel result = - com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.valueOf(score_); - return result == null - ? com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel result = com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.valueOf(score_); + return result == null ? com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.UNRECOGNIZED : result; } /** - * - * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; - * * @param value The score to set. * @return This builder for chaining. */ - public Builder setScore( - com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel value) { + public Builder setScore(com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel value) { if (value == null) { throw new NullPointerException(); } - + score_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; - * * @return This builder for chaining. */ public Builder clearScore() { - + score_ = 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); } @@ -769,12 +682,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.SensitivityScore) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.SensitivityScore) private static final com.google.privacy.dlp.v2.SensitivityScore DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.SensitivityScore(); } @@ -783,16 +696,16 @@ public static com.google.privacy.dlp.v2.SensitivityScore getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SensitivityScore parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SensitivityScore(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SensitivityScore parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SensitivityScore(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,4 +720,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.SensitivityScore getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.java similarity index 51% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.java index 81f41487..858ce025 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.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 +// source: google/privacy/dlp/v2/storage.proto package com.google.privacy.dlp.v2; -public interface SensitivityScoreOrBuilder - extends +public interface SensitivityScoreOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.SensitivityScore) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; - * * @return The enum numeric value on the wire for score. */ int getScoreValue(); /** - * - * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; - * * @return The score. */ com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel getScore(); 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 66% 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 2d164eed..25d0a1f9 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,58 +60,48 @@ 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) {
@@ -136,7 +109,8 @@ private StatisticalTable(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -145,54 +119,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.
      * 
@@ -202,8 +164,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
@@ -211,13 +171,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
@@ -225,14 +182,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.
@@ -240,31 +195,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)
@@ -283,36 +238,32 @@ 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) {
@@ -320,39 +271,34 @@ private QuasiIdentifierField(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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 @@ -360,14 +306,11 @@ public boolean hasField() { return field_ != null; } /** - * - * *
      * Identifies the column.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; - * * @return The field. */ @java.lang.Override @@ -375,8 +318,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** - * - * *
      * Identifies the column.
      * 
@@ -391,8 +332,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
@@ -400,7 +339,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
      * 
* * string custom_tag = 2; - * * @return The customTag. */ @java.lang.Override @@ -409,15 +347,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
@@ -425,15 +362,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 { @@ -442,7 +380,6 @@ public com.google.protobuf.ByteString getCustomTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -454,7 +391,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -471,7 +409,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_); @@ -484,19 +423,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; } @@ -520,95 +460,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 @@ -618,8 +550,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.
@@ -627,41 +557,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();
@@ -677,14 +604,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();
       }
 
@@ -699,8 +625,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 {
@@ -715,52 +640,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());
         }
@@ -787,9 +706,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) {
@@ -801,33 +718,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() { @@ -838,8 +746,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
        * Identifies the column.
        * 
@@ -860,15 +766,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(); @@ -879,8 +784,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
        * Identifies the column.
        * 
@@ -891,9 +794,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; } @@ -905,8 +806,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
        * Identifies the column.
        * 
@@ -925,8 +824,6 @@ public Builder clearField() { return this; } /** - * - * *
        * Identifies the column.
        * 
@@ -934,13 +831,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.
        * 
@@ -951,12 +846,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.
        * 
@@ -964,17 +858,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_; @@ -982,8 +873,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
@@ -991,13 +880,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; @@ -1006,8 +895,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
@@ -1015,14 +902,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 { @@ -1030,8 +918,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
@@ -1039,22 +925,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
@@ -1062,18 +946,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
@@ -1081,21 +962,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) { @@ -1108,32 +988,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; @@ -1145,24 +1023,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 @@ -1170,15 +1044,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 @@ -1186,14 +1056,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() { @@ -1203,99 +1070,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 @@ -1303,36 +1143,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() { @@ -1340,7 +1169,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1352,7 +1180,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1372,13 +1201,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; @@ -1388,22 +1220,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; @@ -1433,104 +1267,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
@@ -1543,23 +1370,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()
@@ -1567,17 +1392,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();
@@ -1603,9 +1428,9 @@ public Builder 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
@@ -1624,8 +1449,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_;
@@ -1654,39 +1478,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;
@@ -1716,10 +1539,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_);
           }
@@ -1756,63 +1578,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) { @@ -1828,17 +1630,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(); @@ -1849,23 +1648,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; } @@ -1877,15 +1670,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) { @@ -1899,100 +1688,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 { @@ -2000,15 +1762,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) { @@ -2018,15 +1776,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) { @@ -2036,15 +1790,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) { @@ -2061,19 +1811,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()); @@ -2084,18 +1829,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(); @@ -2109,15 +1849,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) { @@ -2134,15 +1870,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) { @@ -2156,19 +1888,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()); @@ -2179,23 +1906,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); @@ -2203,15 +1925,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) { @@ -2224,15 +1942,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) { @@ -2245,53 +1959,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 { @@ -2299,68 +1999,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_; @@ -2368,61 +2049,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) { @@ -2438,18 +2100,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(); @@ -2460,24 +2119,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; } @@ -2489,16 +2142,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) { @@ -2512,74 +2161,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); } @@ -2589,12 +2222,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(); } @@ -2603,16 +2236,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; @@ -2627,4 +2260,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 71% 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 58892c9b..72230106 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,94 +52,82 @@ 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) { @@ -163,62 +135,51 @@ private StorageConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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.
@@ -229,34 +190,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.
@@ -267,12 +220,10 @@ 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.
-     * For BigQuery:
+     * <b>For BigQuery</b>
      * If this value is not specified and the table was modified between the
      * given start and end times, the entire table will be scanned. If this
      * value is specified, then rows are filtered based on the given start and
@@ -280,25 +231,34 @@ public interface TimespanConfigOrBuilder
      * skipped.
      * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
      * `TIMESTAMP`, and `DATETIME`.
-     * For Datastore:
+     * If your BigQuery table is [partitioned at ingestion
+     * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+     * you can use any of the following pseudo-columns as your timestamp field.
+     * When used with Cloud DLP, these pseudo-column names are case sensitive.
+     * <ul>
+     * <li><code>_PARTITIONTIME</code></li>
+     * <li><code>_PARTITIONDATE</code></li>
+     * <li><code>_PARTITION_LOAD_TIME</code></li>
+     * </ul>
+     * <b>For Datastore</b>
      * If this value is specified, then entities are filtered based on the given
      * start and end times. If an entity does not contain the provided timestamp
      * property or contains empty or invalid values, then it is included.
      * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+     * See the
+     * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+     * related to this operation.
      * 
* * .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.
-     * For BigQuery:
+     * <b>For BigQuery</b>
      * If this value is not specified and the table was modified between the
      * given start and end times, the entire table will be scanned. If this
      * value is specified, then rows are filtered based on the given start and
@@ -306,25 +266,34 @@ public interface TimespanConfigOrBuilder
      * skipped.
      * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
      * `TIMESTAMP`, and `DATETIME`.
-     * For Datastore:
+     * If your BigQuery table is [partitioned at ingestion
+     * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+     * you can use any of the following pseudo-columns as your timestamp field.
+     * When used with Cloud DLP, these pseudo-column names are case sensitive.
+     * <ul>
+     * <li><code>_PARTITIONTIME</code></li>
+     * <li><code>_PARTITIONDATE</code></li>
+     * <li><code>_PARTITION_LOAD_TIME</code></li>
+     * </ul>
+     * <b>For Datastore</b>
      * If this value is specified, then entities are filtered based on the given
      * start and end times. If an entity does not contain the provided timestamp
      * property or contains empty or invalid values, then it is included.
      * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+     * See the
+     * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+     * related to this operation.
      * 
* * .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.
-     * For BigQuery:
+     * <b>For BigQuery</b>
      * If this value is not specified and the table was modified between the
      * given start and end times, the entire table will be scanned. If this
      * value is specified, then rows are filtered based on the given start and
@@ -332,11 +301,23 @@ public interface TimespanConfigOrBuilder
      * skipped.
      * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
      * `TIMESTAMP`, and `DATETIME`.
-     * For Datastore:
+     * If your BigQuery table is [partitioned at ingestion
+     * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+     * you can use any of the following pseudo-columns as your timestamp field.
+     * When used with Cloud DLP, these pseudo-column names are case sensitive.
+     * <ul>
+     * <li><code>_PARTITIONTIME</code></li>
+     * <li><code>_PARTITIONDATE</code></li>
+     * <li><code>_PARTITION_LOAD_TIME</code></li>
+     * </ul>
+     * <b>For Datastore</b>
      * If this value is specified, then entities are filtered based on the given
      * start and end times. If an entity does not contain the provided timestamp
      * property or contains empty or invalid values, then it is included.
      * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+     * See the
+     * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+     * related to this operation.
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -344,54 +325,51 @@ 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
      * since the last time the JobTrigger executed. This will be based on the
-     * time of the execution of the last run of the JobTrigger.
+     * time of the execution of the last run of the JobTrigger or the timespan
+     * end_time used in the last run of the JobTrigger.
      * 
* * 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.
+   * Currently only supported when inspecting Cloud Storage and BigQuery.
    * 
* * 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) @@ -410,64 +388,57 @@ 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) { @@ -475,40 +446,35 @@ private TimespanConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -516,15 +482,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 @@ -532,8 +495,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.
@@ -549,15 +510,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 @@ -565,15 +523,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 @@ -581,8 +536,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.
@@ -598,12 +551,10 @@ 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.
-     * For BigQuery:
+     * <b>For BigQuery</b>
      * If this value is not specified and the table was modified between the
      * given start and end times, the entire table will be scanned. If this
      * value is specified, then rows are filtered based on the given start and
@@ -611,15 +562,26 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * skipped.
      * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
      * `TIMESTAMP`, and `DATETIME`.
-     * For Datastore:
+     * If your BigQuery table is [partitioned at ingestion
+     * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+     * you can use any of the following pseudo-columns as your timestamp field.
+     * When used with Cloud DLP, these pseudo-column names are case sensitive.
+     * <ul>
+     * <li><code>_PARTITIONTIME</code></li>
+     * <li><code>_PARTITIONDATE</code></li>
+     * <li><code>_PARTITION_LOAD_TIME</code></li>
+     * </ul>
+     * <b>For Datastore</b>
      * If this value is specified, then entities are filtered based on the given
      * start and end times. If an entity does not contain the provided timestamp
      * property or contains empty or invalid values, then it is included.
      * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+     * See the
+     * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+     * related to this operation.
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; - * * @return Whether the timestampField field is set. */ @java.lang.Override @@ -627,12 +589,10 @@ public boolean hasTimestampField() { return timestampField_ != null; } /** - * - * *
      * Specification of the field containing the timestamp of scanned items.
      * Used for data sources like Datastore and BigQuery.
-     * For BigQuery:
+     * <b>For BigQuery</b>
      * If this value is not specified and the table was modified between the
      * given start and end times, the entire table will be scanned. If this
      * value is specified, then rows are filtered based on the given start and
@@ -640,30 +600,37 @@ public boolean hasTimestampField() {
      * skipped.
      * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
      * `TIMESTAMP`, and `DATETIME`.
-     * For Datastore:
+     * If your BigQuery table is [partitioned at ingestion
+     * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+     * you can use any of the following pseudo-columns as your timestamp field.
+     * When used with Cloud DLP, these pseudo-column names are case sensitive.
+     * <ul>
+     * <li><code>_PARTITIONTIME</code></li>
+     * <li><code>_PARTITIONDATE</code></li>
+     * <li><code>_PARTITION_LOAD_TIME</code></li>
+     * </ul>
+     * <b>For Datastore</b>
      * If this value is specified, then entities are filtered based on the given
      * start and end times. If an entity does not contain the provided timestamp
      * property or contains empty or invalid values, then it is included.
      * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+     * See the
+     * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+     * related to this operation.
      * 
* * .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.
-     * For BigQuery:
+     * <b>For BigQuery</b>
      * If this value is not specified and the table was modified between the
      * given start and end times, the entire table will be scanned. If this
      * value is specified, then rows are filtered based on the given start and
@@ -671,11 +638,23 @@ public com.google.privacy.dlp.v2.FieldId getTimestampField() {
      * skipped.
      * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
      * `TIMESTAMP`, and `DATETIME`.
-     * For Datastore:
+     * If your BigQuery table is [partitioned at ingestion
+     * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+     * you can use any of the following pseudo-columns as your timestamp field.
+     * When used with Cloud DLP, these pseudo-column names are case sensitive.
+     * <ul>
+     * <li><code>_PARTITIONTIME</code></li>
+     * <li><code>_PARTITIONDATE</code></li>
+     * <li><code>_PARTITION_LOAD_TIME</code></li>
+     * </ul>
+     * <b>For Datastore</b>
      * If this value is specified, then entities are filtered based on the given
      * start and end times. If an entity does not contain the provided timestamp
      * property or contains empty or invalid values, then it is included.
      * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+     * See the
+     * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+     * related to this operation.
      * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -688,17 +667,15 @@ 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
      * since the last time the JobTrigger executed. This will be based on the
-     * time of the execution of the last run of the JobTrigger.
+     * time of the execution of the last run of the JobTrigger or the timespan
+     * end_time used in the last run of the JobTrigger.
      * 
* * bool enable_auto_population_of_timespan_config = 4; - * * @return The enableAutoPopulationOfTimespanConfig. */ @java.lang.Override @@ -707,7 +684,6 @@ public boolean getEnableAutoPopulationOfTimespanConfig() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -719,7 +695,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -742,18 +719,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; @@ -763,25 +742,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; @@ -809,103 +790,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 @@ -915,33 +888,28 @@ 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.
+     * Currently only supported when inspecting Cloud Storage and BigQuery.
      * 
* * 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() @@ -949,15 +917,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -985,9 +954,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 @@ -1006,8 +975,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 { @@ -1032,41 +1000,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; @@ -1074,8 +1039,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()); } @@ -1107,8 +1071,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) { @@ -1120,49 +1083,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.
@@ -1184,8 +1134,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.
@@ -1193,7 +1141,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();
@@ -1204,8 +1153,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.
@@ -1217,9 +1164,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;
           }
@@ -1231,8 +1176,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.
@@ -1252,8 +1195,6 @@ public Builder clearStartTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1262,13 +1203,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.
@@ -1280,14 +1219,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.
@@ -1296,17 +1232,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_;
@@ -1314,35 +1247,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() { @@ -1353,8 +1277,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.
@@ -1376,8 +1298,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.
@@ -1385,7 +1305,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();
@@ -1396,8 +1317,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.
@@ -1409,7 +1328,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;
           }
@@ -1421,8 +1340,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.
@@ -1442,8 +1359,6 @@ public Builder clearEndTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1452,13 +1367,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.
@@ -1470,12 +1383,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.
@@ -1484,17 +1396,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_;
@@ -1502,17 +1411,12 @@ 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.
-       * For BigQuery:
+       * <b>For BigQuery</b>
        * If this value is not specified and the table was modified between the
        * given start and end times, the entire table will be scanned. If this
        * value is specified, then rows are filtered based on the given start and
@@ -1520,27 +1424,36 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
        * skipped.
        * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
        * `TIMESTAMP`, and `DATETIME`.
-       * For Datastore:
+       * If your BigQuery table is [partitioned at ingestion
+       * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+       * you can use any of the following pseudo-columns as your timestamp field.
+       * When used with Cloud DLP, these pseudo-column names are case sensitive.
+       * <ul>
+       * <li><code>_PARTITIONTIME</code></li>
+       * <li><code>_PARTITIONDATE</code></li>
+       * <li><code>_PARTITION_LOAD_TIME</code></li>
+       * </ul>
+       * <b>For Datastore</b>
        * If this value is specified, then entities are filtered based on the given
        * start and end times. If an entity does not contain the provided timestamp
        * property or contains empty or invalid values, then it is included.
        * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+       * See the
+       * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+       * related to this operation.
        * 
* * .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.
-       * For BigQuery:
+       * <b>For BigQuery</b>
        * If this value is not specified and the table was modified between the
        * given start and end times, the entire table will be scanned. If this
        * value is specified, then rows are filtered based on the given start and
@@ -1548,33 +1461,40 @@ public boolean hasTimestampField() {
        * skipped.
        * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
        * `TIMESTAMP`, and `DATETIME`.
-       * For Datastore:
+       * If your BigQuery table is [partitioned at ingestion
+       * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+       * you can use any of the following pseudo-columns as your timestamp field.
+       * When used with Cloud DLP, these pseudo-column names are case sensitive.
+       * <ul>
+       * <li><code>_PARTITIONTIME</code></li>
+       * <li><code>_PARTITIONDATE</code></li>
+       * <li><code>_PARTITION_LOAD_TIME</code></li>
+       * </ul>
+       * <b>For Datastore</b>
        * If this value is specified, then entities are filtered based on the given
        * start and end times. If an entity does not contain the provided timestamp
        * property or contains empty or invalid values, then it is included.
        * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+       * See the
+       * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+       * related to this operation.
        * 
* * .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.
-       * For BigQuery:
+       * <b>For BigQuery</b>
        * If this value is not specified and the table was modified between the
        * given start and end times, the entire table will be scanned. If this
        * value is specified, then rows are filtered based on the given start and
@@ -1582,11 +1502,23 @@ public com.google.privacy.dlp.v2.FieldId getTimestampField() {
        * skipped.
        * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
        * `TIMESTAMP`, and `DATETIME`.
-       * For Datastore:
+       * If your BigQuery table is [partitioned at ingestion
+       * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+       * you can use any of the following pseudo-columns as your timestamp field.
+       * When used with Cloud DLP, these pseudo-column names are case sensitive.
+       * <ul>
+       * <li><code>_PARTITIONTIME</code></li>
+       * <li><code>_PARTITIONDATE</code></li>
+       * <li><code>_PARTITION_LOAD_TIME</code></li>
+       * </ul>
+       * <b>For Datastore</b>
        * If this value is specified, then entities are filtered based on the given
        * start and end times. If an entity does not contain the provided timestamp
        * property or contains empty or invalid values, then it is included.
        * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+       * See the
+       * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+       * related to this operation.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1605,12 +1537,10 @@ 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.
-       * For BigQuery:
+       * <b>For BigQuery</b>
        * If this value is not specified and the table was modified between the
        * given start and end times, the entire table will be scanned. If this
        * value is specified, then rows are filtered based on the given start and
@@ -1618,16 +1548,29 @@ public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId value) {
        * skipped.
        * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
        * `TIMESTAMP`, and `DATETIME`.
-       * For Datastore:
+       * If your BigQuery table is [partitioned at ingestion
+       * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+       * you can use any of the following pseudo-columns as your timestamp field.
+       * When used with Cloud DLP, these pseudo-column names are case sensitive.
+       * <ul>
+       * <li><code>_PARTITIONTIME</code></li>
+       * <li><code>_PARTITIONDATE</code></li>
+       * <li><code>_PARTITION_LOAD_TIME</code></li>
+       * </ul>
+       * <b>For Datastore</b>
        * If this value is specified, then entities are filtered based on the given
        * start and end times. If an entity does not contain the provided timestamp
        * property or contains empty or invalid values, then it is included.
        * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+       * See the
+       * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+       * related to this operation.
        * 
* * .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(); @@ -1638,12 +1581,10 @@ 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.
-       * For BigQuery:
+       * <b>For BigQuery</b>
        * If this value is not specified and the table was modified between the
        * given start and end times, the entire table will be scanned. If this
        * value is specified, then rows are filtered based on the given start and
@@ -1651,11 +1592,23 @@ public Builder setTimestampField(com.google.privacy.dlp.v2.FieldId.Builder build
        * skipped.
        * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
        * `TIMESTAMP`, and `DATETIME`.
-       * For Datastore:
+       * If your BigQuery table is [partitioned at ingestion
+       * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+       * you can use any of the following pseudo-columns as your timestamp field.
+       * When used with Cloud DLP, these pseudo-column names are case sensitive.
+       * <ul>
+       * <li><code>_PARTITIONTIME</code></li>
+       * <li><code>_PARTITIONDATE</code></li>
+       * <li><code>_PARTITION_LOAD_TIME</code></li>
+       * </ul>
+       * <b>For Datastore</b>
        * If this value is specified, then entities are filtered based on the given
        * start and end times. If an entity does not contain the provided timestamp
        * property or contains empty or invalid values, then it is included.
        * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+       * See the
+       * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+       * related to this operation.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1664,9 +1617,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; } @@ -1678,12 +1629,10 @@ 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.
-       * For BigQuery:
+       * <b>For BigQuery</b>
        * If this value is not specified and the table was modified between the
        * given start and end times, the entire table will be scanned. If this
        * value is specified, then rows are filtered based on the given start and
@@ -1691,11 +1640,23 @@ public Builder mergeTimestampField(com.google.privacy.dlp.v2.FieldId value) {
        * skipped.
        * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
        * `TIMESTAMP`, and `DATETIME`.
-       * For Datastore:
+       * If your BigQuery table is [partitioned at ingestion
+       * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+       * you can use any of the following pseudo-columns as your timestamp field.
+       * When used with Cloud DLP, these pseudo-column names are case sensitive.
+       * <ul>
+       * <li><code>_PARTITIONTIME</code></li>
+       * <li><code>_PARTITIONDATE</code></li>
+       * <li><code>_PARTITION_LOAD_TIME</code></li>
+       * </ul>
+       * <b>For Datastore</b>
        * If this value is specified, then entities are filtered based on the given
        * start and end times. If an entity does not contain the provided timestamp
        * property or contains empty or invalid values, then it is included.
        * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+       * See the
+       * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+       * related to this operation.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1712,12 +1673,10 @@ public Builder clearTimestampField() { return this; } /** - * - * *
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
-       * For BigQuery:
+       * <b>For BigQuery</b>
        * If this value is not specified and the table was modified between the
        * given start and end times, the entire table will be scanned. If this
        * value is specified, then rows are filtered based on the given start and
@@ -1725,27 +1684,37 @@ public Builder clearTimestampField() {
        * skipped.
        * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
        * `TIMESTAMP`, and `DATETIME`.
-       * For Datastore:
+       * If your BigQuery table is [partitioned at ingestion
+       * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+       * you can use any of the following pseudo-columns as your timestamp field.
+       * When used with Cloud DLP, these pseudo-column names are case sensitive.
+       * <ul>
+       * <li><code>_PARTITIONTIME</code></li>
+       * <li><code>_PARTITIONDATE</code></li>
+       * <li><code>_PARTITION_LOAD_TIME</code></li>
+       * </ul>
+       * <b>For Datastore</b>
        * If this value is specified, then entities are filtered based on the given
        * start and end times. If an entity does not contain the provided timestamp
        * property or contains empty or invalid values, then it is included.
        * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+       * See the
+       * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+       * related to this operation.
        * 
* * .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.
-       * For BigQuery:
+       * <b>For BigQuery</b>
        * If this value is not specified and the table was modified between the
        * given start and end times, the entire table will be scanned. If this
        * value is specified, then rows are filtered based on the given start and
@@ -1753,11 +1722,23 @@ public com.google.privacy.dlp.v2.FieldId.Builder getTimestampFieldBuilder() {
        * skipped.
        * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
        * `TIMESTAMP`, and `DATETIME`.
-       * For Datastore:
+       * If your BigQuery table is [partitioned at ingestion
+       * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+       * you can use any of the following pseudo-columns as your timestamp field.
+       * When used with Cloud DLP, these pseudo-column names are case sensitive.
+       * <ul>
+       * <li><code>_PARTITIONTIME</code></li>
+       * <li><code>_PARTITIONDATE</code></li>
+       * <li><code>_PARTITION_LOAD_TIME</code></li>
+       * </ul>
+       * <b>For Datastore</b>
        * If this value is specified, then entities are filtered based on the given
        * start and end times. If an entity does not contain the provided timestamp
        * property or contains empty or invalid values, then it is included.
        * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+       * See the
+       * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+       * related to this operation.
        * 
* * .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -1766,18 +1747,15 @@ 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.
-       * For BigQuery:
+       * <b>For BigQuery</b>
        * If this value is not specified and the table was modified between the
        * given start and end times, the entire table will be scanned. If this
        * value is specified, then rows are filtered based on the given start and
@@ -1785,45 +1763,52 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
        * skipped.
        * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
        * `TIMESTAMP`, and `DATETIME`.
-       * For Datastore:
+       * If your BigQuery table is [partitioned at ingestion
+       * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
+       * you can use any of the following pseudo-columns as your timestamp field.
+       * When used with Cloud DLP, these pseudo-column names are case sensitive.
+       * <ul>
+       * <li><code>_PARTITIONTIME</code></li>
+       * <li><code>_PARTITIONDATE</code></li>
+       * <li><code>_PARTITION_LOAD_TIME</code></li>
+       * </ul>
+       * <b>For Datastore</b>
        * If this value is specified, then entities are filtered based on the given
        * start and end times. If an entity does not contain the provided timestamp
        * property or contains empty or invalid values, then it is included.
        * Valid data types of the provided timestamp property are: `TIMESTAMP`.
+       * See the
+       * [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
+       * related to this operation.
        * 
* * .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
        * since the last time the JobTrigger executed. This will be based on the
-       * time of the execution of the last run of the JobTrigger.
+       * time of the execution of the last run of the JobTrigger or the timespan
+       * end_time used in the last run of the JobTrigger.
        * 
* * bool enable_auto_population_of_timespan_config = 4; - * * @return The enableAutoPopulationOfTimespanConfig. */ @java.lang.Override @@ -1831,47 +1816,42 @@ 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
        * since the last time the JobTrigger executed. This will be based on the
-       * time of the execution of the last run of the JobTrigger.
+       * time of the execution of the last run of the JobTrigger or the timespan
+       * end_time used in the last run of the JobTrigger.
        * 
* * 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
        * since the last time the JobTrigger executed. This will be based on the
-       * time of the execution of the last run of the JobTrigger.
+       * time of the execution of the last run of the JobTrigger or the timespan
+       * end_time used in the last run of the JobTrigger.
        * 
* * 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) { @@ -1884,12 +1864,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(); } @@ -1898,16 +1878,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; @@ -1922,14 +1902,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), @@ -1937,7 +1916,6 @@ public enum TypeCase HYBRID_OPTIONS(9), TYPE_NOT_SET(0); private final int value; - private TypeCase(int value) { this.value = value; } @@ -1953,40 +1931,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 @@ -1994,26 +1964,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.
    * 
@@ -2023,21 +1988,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.
+   * Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; - * * @return Whether the cloudStorageOptions field is set. */ @java.lang.Override @@ -2045,28 +2007,23 @@ public boolean hasCloudStorageOptions() { return typeCase_ == 3; } /** - * - * *
-   * Google Cloud Storage options.
+   * 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.
+   * Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; @@ -2074,21 +2031,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 @@ -2096,26 +2050,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.
    * 
@@ -2125,21 +2074,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 @@ -2147,26 +2093,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.
    * 
@@ -2176,7 +2117,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(); } @@ -2185,7 +2126,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 @@ -2194,24 +2134,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; @@ -2223,7 +2160,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -2249,27 +2187,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; @@ -2279,7 +2214,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); @@ -2288,21 +2223,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: @@ -2347,127 +2287,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() @@ -2475,15 +2406,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2499,9 +2431,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 @@ -2520,8 +2452,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_; @@ -2564,39 +2495,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; @@ -2609,30 +2539,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(); @@ -2662,12 +2587,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() { @@ -2677,20 +2602,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 @@ -2698,14 +2618,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 @@ -2723,8 +2640,6 @@ public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() { } } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2745,8 +2660,6 @@ public Builder setDatastoreOptions(com.google.privacy.dlp.v2.DatastoreOptions va return this; } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2765,8 +2678,6 @@ public Builder setDatastoreOptions( return this; } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2775,13 +2686,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; } @@ -2797,8 +2705,6 @@ public Builder mergeDatastoreOptions(com.google.privacy.dlp.v2.DatastoreOptions return this; } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2822,8 +2728,6 @@ public Builder clearDatastoreOptions() { return this; } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2834,8 +2738,6 @@ public com.google.privacy.dlp.v2.DatastoreOptions.Builder getDatastoreOptionsBui return getDatastoreOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2854,8 +2756,6 @@ public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOr } } /** - * - * *
      * Google Cloud Datastore options.
      * 
@@ -2863,44 +2763,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.
+     * Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; - * * @return Whether the cloudStorageOptions field is set. */ @java.lang.Override @@ -2908,14 +2796,11 @@ public boolean hasCloudStorageOptions() { return typeCase_ == 3; } /** - * - * *
-     * Google Cloud Storage options.
+     * Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; - * * @return The cloudStorageOptions. */ @java.lang.Override @@ -2933,10 +2818,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() { } } /** - * - * *
-     * Google Cloud Storage options.
+     * Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; @@ -2955,10 +2838,8 @@ public Builder setCloudStorageOptions(com.google.privacy.dlp.v2.CloudStorageOpti return this; } /** - * - * *
-     * Google Cloud Storage options.
+     * Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; @@ -2975,23 +2856,18 @@ public Builder setCloudStorageOptions( return this; } /** - * - * *
-     * Google Cloud Storage options.
+     * Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; */ 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; } @@ -3007,10 +2883,8 @@ public Builder mergeCloudStorageOptions(com.google.privacy.dlp.v2.CloudStorageOp return this; } /** - * - * *
-     * Google Cloud Storage options.
+     * Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; @@ -3032,10 +2906,8 @@ public Builder clearCloudStorageOptions() { return this; } /** - * - * *
-     * Google Cloud Storage options.
+     * Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; @@ -3044,17 +2916,14 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti return getCloudStorageOptionsFieldBuilder().getBuilder(); } /** - * - * *
-     * Google Cloud Storage options.
+     * Cloud Storage options.
      * 
* * .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 { @@ -3065,53 +2934,39 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti } } /** - * - * *
-     * Google Cloud Storage options.
+     * Cloud Storage options.
      * 
* * .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 @@ -3119,14 +2974,11 @@ public boolean hasBigQueryOptions() { return typeCase_ == 4; } /** - * - * *
      * BigQuery options.
      * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; - * * @return The bigQueryOptions. */ @java.lang.Override @@ -3144,8 +2996,6 @@ public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() { } } /** - * - * *
      * BigQuery options.
      * 
@@ -3166,8 +3016,6 @@ public Builder setBigQueryOptions(com.google.privacy.dlp.v2.BigQueryOptions valu return this; } /** - * - * *
      * BigQuery options.
      * 
@@ -3186,8 +3034,6 @@ public Builder setBigQueryOptions( return this; } /** - * - * *
      * BigQuery options.
      * 
@@ -3196,13 +3042,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; } @@ -3218,8 +3061,6 @@ public Builder mergeBigQueryOptions(com.google.privacy.dlp.v2.BigQueryOptions va return this; } /** - * - * *
      * BigQuery options.
      * 
@@ -3243,8 +3084,6 @@ public Builder clearBigQueryOptions() { return this; } /** - * - * *
      * BigQuery options.
      * 
@@ -3255,8 +3094,6 @@ public com.google.privacy.dlp.v2.BigQueryOptions.Builder getBigQueryOptionsBuild return getBigQueryOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * BigQuery options.
      * 
@@ -3275,8 +3112,6 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu } } /** - * - * *
      * BigQuery options.
      * 
@@ -3284,44 +3119,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 @@ -3329,14 +3152,11 @@ public boolean hasHybridOptions() { return typeCase_ == 9; } /** - * - * *
      * Hybrid inspection options.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; - * * @return The hybridOptions. */ @java.lang.Override @@ -3354,8 +3174,6 @@ public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() { } } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3376,8 +3194,6 @@ public Builder setHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) { return this; } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3396,8 +3212,6 @@ public Builder setHybridOptions( return this; } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3406,13 +3220,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; } @@ -3428,8 +3239,6 @@ public Builder mergeHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) return this; } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3453,8 +3262,6 @@ public Builder clearHybridOptions() { return this; } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3465,8 +3272,6 @@ public com.google.privacy.dlp.v2.HybridOptions.Builder getHybridOptionsBuilder() return getHybridOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3485,8 +3290,6 @@ public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilde } } /** - * - * *
      * Hybrid inspection options.
      * 
@@ -3494,37 +3297,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() { @@ -3532,19 +3327,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) { @@ -3558,7 +3352,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) { @@ -3570,15 +3366,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; } @@ -3589,7 +3384,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; @@ -3601,44 +3398,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); } @@ -3648,12 +3445,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(); } @@ -3662,16 +3459,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; @@ -3686,4 +3483,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 78% 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..b3cd3b03 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,34 +35,26 @@ public interface StorageConfigOrBuilder com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOrBuilder(); /** - * - * *
-   * Google Cloud Storage options.
+   * 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.
+   * 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.
+   * Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; @@ -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 9c5be873..c1b640c6 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,20 +53,19 @@ 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) { @@ -91,33 +73,30 @@ private StorageMetadataLabel( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -126,7 +105,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; @@ -134,15 +114,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 { @@ -151,7 +132,6 @@ public com.google.protobuf.ByteString getKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,7 +143,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -187,15 +168,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -214,127 +195,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() @@ -342,15 +314,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +333,9 @@ public Builder 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 @@ -381,8 +354,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; @@ -392,39 +364,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; @@ -469,13 +440,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; @@ -485,14 +456,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 { @@ -501,49 +473,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); } @@ -553,12 +524,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(); } @@ -567,16 +538,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; @@ -591,4 +562,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 6bf02747..5b2018aa 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,48 +56,41 @@ 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) {
@@ -122,7 +98,8 @@ private StoredInfoType(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -131,33 +108,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 @@ -166,29 +137,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * 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 { @@ -199,14 +170,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 @@ -214,25 +182,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.
    * 
@@ -247,8 +208,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.
@@ -261,8 +220,6 @@ public java.util.List getPendin
     return pendingVersions_;
   }
   /**
-   *
-   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -271,13 +228,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.
@@ -290,8 +245,6 @@ public int getPendingVersionsCount() {
     return pendingVersions_.size();
   }
   /**
-   *
-   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -304,8 +257,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.
@@ -320,7 +271,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -332,7 +282,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -355,10 +306,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;
@@ -368,19 +321,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;
   }
@@ -407,104 +363,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.
@@ -512,23 +461,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()
@@ -536,17 +483,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();
@@ -568,9 +515,9 @@ public Builder 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
@@ -589,8 +536,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) {
@@ -615,39 +561,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;
@@ -681,10 +626,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_);
           }
@@ -718,25 +662,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; @@ -745,21 +686,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 { @@ -767,61 +707,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; @@ -829,47 +762,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.
      * 
@@ -890,8 +810,6 @@ public Builder setCurrentVersion(com.google.privacy.dlp.v2.StoredInfoTypeVersion return this; } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -910,8 +828,6 @@ public Builder setCurrentVersion( return this; } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -922,9 +838,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; } @@ -936,8 +850,6 @@ public Builder mergeCurrentVersion(com.google.privacy.dlp.v2.StoredInfoTypeVersi return this; } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -956,8 +868,6 @@ public Builder clearCurrentVersion() { return this; } /** - * - * *
      * Current version of the stored info type.
      * 
@@ -965,13 +875,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.
      * 
@@ -982,14 +890,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.
      * 
@@ -997,43 +902,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.
@@ -1041,8 +935,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 {
@@ -1050,8 +943,6 @@ private void ensurePendingVersionsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1067,8 +958,6 @@ public int getPendingVersionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1084,8 +973,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion getPendingVersions(int in
       }
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1108,8 +995,6 @@ public Builder setPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1129,8 +1014,6 @@ public Builder setPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1152,8 +1035,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.
@@ -1176,8 +1057,6 @@ public Builder addPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1197,8 +1076,6 @@ public Builder addPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1218,8 +1095,6 @@ public Builder addPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1231,7 +1106,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);
@@ -1239,8 +1115,6 @@ public Builder addAllPendingVersions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1259,8 +1133,6 @@ public Builder clearPendingVersions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1279,8 +1151,6 @@ public Builder removePendingVersions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1293,8 +1163,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.
@@ -1305,14 +1173,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.
@@ -1320,8 +1185,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 {
@@ -1329,8 +1194,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
       }
     }
     /**
-     *
-     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1339,12 +1202,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.
@@ -1354,12 +1215,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.
@@ -1367,22 +1226,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(),
@@ -1391,9 +1244,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);
     }
 
@@ -1403,12 +1256,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();
   }
@@ -1417,16 +1270,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;
@@ -1441,4 +1294,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 3fe88dbb..4f77b119 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,79 +56,67 @@ 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) {
@@ -153,41 +124,36 @@ private StoredInfoTypeConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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;
     }
@@ -203,39 +169,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 @@ -244,29 +203,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 { @@ -277,14 +236,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 @@ -293,29 +249,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 { @@ -325,14 +281,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 @@ -340,26 +293,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.
    * 
@@ -367,24 +315,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 @@ -392,26 +336,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.
    * 
@@ -421,21 +360,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 @@ -443,26 +379,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.
    * 
@@ -472,13 +403,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; @@ -490,7 +420,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -522,19 +453,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; @@ -544,26 +472,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: @@ -604,104 +536,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
@@ -710,23 +635,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()
@@ -734,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();
@@ -756,9 +680,9 @@ public Builder 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
@@ -777,8 +701,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) {
@@ -811,39 +734,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;
@@ -861,25 +783,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();
@@ -909,12 +827,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() {
@@ -924,22 +842,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; @@ -948,21 +865,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 { @@ -970,61 +886,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; @@ -1032,20 +941,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; @@ -1054,21 +961,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 { @@ -1076,80 +982,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 @@ -1157,14 +1050,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 @@ -1182,16 +1072,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(); @@ -1205,8 +1092,6 @@ public Builder setLargeCustomDictionary( return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1225,25 +1110,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; } @@ -1259,8 +1137,6 @@ public Builder mergeLargeCustomDictionary( return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1284,21 +1160,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.
      * 
@@ -1306,8 +1177,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 { @@ -1318,8 +1188,6 @@ public Builder clearLargeCustomDictionary() { } } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1327,44 +1195,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 @@ -1372,14 +1228,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 @@ -1397,8 +1250,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1419,8 +1270,6 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1439,8 +1288,6 @@ public Builder setDictionary( return this; } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1449,13 +1296,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; } @@ -1471,8 +1315,6 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1496,8 +1338,6 @@ public Builder clearDictionary() { return this; } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1508,8 +1348,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1528,8 +1366,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** - * - * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1537,44 +1373,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 @@ -1582,14 +1406,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 @@ -1607,8 +1428,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1629,8 +1448,6 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1649,8 +1466,6 @@ public Builder setRegex( return this; } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1659,13 +1474,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; } @@ -1681,8 +1493,6 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1706,8 +1516,6 @@ public Builder clearRegex() { return this; } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1718,8 +1526,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1738,8 +1544,6 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** - * - * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1747,32 +1551,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); } @@ -1782,12 +1580,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(); } @@ -1796,16 +1594,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; @@ -1820,4 +1618,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 05064ff0..9f7ca00d 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 72%
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..3a4b1567 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,29 +140,29 @@ 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() {
-    return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(6);
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(9);
   }
 
   private static final StoredInfoTypeState[] VALUES = values();
@@ -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 1f93f7d9..19e3e85d 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,31 +52,27 @@ 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) { @@ -100,39 +80,34 @@ private StoredInfoTypeStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; } @@ -148,34 +123,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 @@ -183,26 +153,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.
    * 
@@ -210,16 +175,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; @@ -231,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); } @@ -245,9 +209,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; @@ -257,18 +220,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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: @@ -297,127 +260,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() @@ -425,15 +379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -443,9 +398,9 @@ public Builder 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 @@ -464,8 +419,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_; @@ -482,39 +436,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; @@ -524,15 +477,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(); @@ -562,12 +513,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() { @@ -577,20 +528,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 @@ -598,14 +544,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 @@ -623,16 +566,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(); @@ -646,8 +586,6 @@ public Builder setLargeCustomDictionary( return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -666,24 +604,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; } @@ -699,8 +631,6 @@ public Builder mergeLargeCustomDictionary( return this; } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -724,21 +654,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.
      * 
@@ -746,8 +671,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 { @@ -758,8 +682,6 @@ public Builder clearLargeCustomDictionary() { } } /** - * - * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -767,32 +689,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); } @@ -802,12 +718,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(); } @@ -816,16 +732,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; @@ -840,4 +756,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 76% 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 f3724a69..6a6c3e4a 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,77 +56,67 @@ 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) {
@@ -151,7 +124,8 @@ private StoredInfoTypeVersion(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -160,33 +134,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 @@ -194,25 +162,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.
    * 
@@ -227,15 +188,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 @@ -243,15 +201,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 @@ -259,8 +214,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.
@@ -276,53 +229,42 @@ 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
    * the five most recent errors will be displayed, with the most recent error
    * appearing first.
    * For example, some of the data for stored custom dictionaries is put in
-   * the user's Google Cloud Storage bucket, and if this data is modified or
+   * the user's Cloud Storage bucket, and if this data is modified or
    * deleted by the user or another system, the dictionary becomes invalid.
    * If any errors occur, fix the problem indicated by the error message and
    * use the UpdateStoredInfoType API method to create another version of the
@@ -337,15 +279,13 @@ 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
    * the five most recent errors will be displayed, with the most recent error
    * appearing first.
    * For example, some of the data for stored custom dictionaries is put in
-   * the user's Google Cloud Storage bucket, and if this data is modified or
+   * the user's Cloud Storage bucket, and if this data is modified or
    * deleted by the user or another system, the dictionary becomes invalid.
    * If any errors occur, fix the problem indicated by the error message and
    * use the UpdateStoredInfoType API method to create another version of the
@@ -356,20 +296,18 @@ 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
    * the five most recent errors will be displayed, with the most recent error
    * appearing first.
    * For example, some of the data for stored custom dictionaries is put in
-   * the user's Google Cloud Storage bucket, and if this data is modified or
+   * the user's Cloud Storage bucket, and if this data is modified or
    * deleted by the user or another system, the dictionary becomes invalid.
    * If any errors occur, fix the problem indicated by the error message and
    * use the UpdateStoredInfoType API method to create another version of the
@@ -384,15 +322,13 @@ 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
    * the five most recent errors will be displayed, with the most recent error
    * appearing first.
    * For example, some of the data for stored custom dictionaries is put in
-   * the user's Google Cloud Storage bucket, and if this data is modified or
+   * the user's Cloud Storage bucket, and if this data is modified or
    * deleted by the user or another system, the dictionary becomes invalid.
    * If any errors occur, fix the problem indicated by the error message and
    * use the UpdateStoredInfoType API method to create another version of the
@@ -407,15 +343,13 @@ 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
    * the five most recent errors will be displayed, with the most recent error
    * appearing first.
    * For example, some of the data for stored custom dictionaries is put in
-   * the user's Google Cloud Storage bucket, and if this data is modified or
+   * the user's Cloud Storage bucket, and if this data is modified or
    * deleted by the user or another system, the dictionary becomes invalid.
    * If any errors occur, fix the problem indicated by the error message and
    * use the UpdateStoredInfoType API method to create another version of the
@@ -426,21 +360,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 @@ -448,25 +380,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.
    * 
@@ -479,7 +404,6 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -491,16 +415,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++) { @@ -519,21 +442,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; @@ -543,27 +469,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; @@ -599,104 +528,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.
@@ -704,23 +626,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()
@@ -728,17 +648,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();
@@ -772,9 +692,9 @@ public Builder 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
@@ -793,8 +713,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_;
@@ -829,39 +748,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;
@@ -869,8 +787,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());
       }
@@ -898,10 +815,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_);
           }
@@ -938,52 +854,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.
      * 
@@ -1004,8 +906,6 @@ public Builder setConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) { return this; } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1024,8 +924,6 @@ public Builder setConfig( return this; } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1036,9 +934,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; } @@ -1050,8 +946,6 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) return this; } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1070,8 +964,6 @@ public Builder clearConfig() { return this; } /** - * - * *
      * StoredInfoType configuration.
      * 
@@ -1079,13 +971,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.
      * 
@@ -1096,14 +986,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.
      * 
@@ -1111,17 +998,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_; @@ -1129,49 +1013,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.
@@ -1193,8 +1064,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.
@@ -1202,7 +1071,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();
@@ -1213,8 +1083,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.
@@ -1226,7 +1094,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;
         }
@@ -1238,8 +1106,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.
@@ -1259,8 +1125,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1269,13 +1133,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.
@@ -1287,14 +1149,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.
@@ -1303,17 +1162,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_;
@@ -1321,69 +1177,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. */ @@ -1391,56 +1233,47 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1458,15 +1291,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1484,15 +1315,13 @@ public int getErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1510,15 +1339,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1528,7 +1355,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();
@@ -1542,15 +1370,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1560,7 +1386,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());
@@ -1571,15 +1398,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1603,15 +1428,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1621,7 +1444,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();
@@ -1635,15 +1459,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1653,7 +1475,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());
@@ -1664,15 +1487,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1682,7 +1503,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());
@@ -1693,15 +1515,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1715,7 +1535,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);
@@ -1723,15 +1544,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1752,15 +1571,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1781,15 +1598,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1799,19 +1614,18 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1821,23 +1635,21 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1847,8 +1659,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 {
@@ -1856,15 +1668,13 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1875,19 +1685,17 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1897,20 +1705,19 @@ 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
      * the five most recent errors will be displayed, with the most recent error
      * appearing first.
      * For example, some of the data for stored custom dictionaries is put in
-     * the user's Google Cloud Storage bucket, and if this data is modified or
+     * the user's Cloud Storage bucket, and if this data is modified or
      * deleted by the user or another system, the dictionary becomes invalid.
      * If any errors occur, fix the problem indicated by the error message and
      * use the UpdateStoredInfoType API method to create another version of the
@@ -1920,22 +1727,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_;
@@ -1943,47 +1748,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.
      * 
@@ -2004,15 +1796,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(); @@ -2023,8 +1814,6 @@ public Builder setStats(com.google.privacy.dlp.v2.StoredInfoTypeStats.Builder bu return this; } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
@@ -2035,9 +1824,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; } @@ -2049,8 +1836,6 @@ public Builder mergeStats(com.google.privacy.dlp.v2.StoredInfoTypeStats value) { return this; } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
@@ -2069,8 +1854,6 @@ public Builder clearStats() { return this; } /** - * - * *
      * Statistics about this storedInfoType version.
      * 
@@ -2078,13 +1861,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.
      * 
@@ -2095,14 +1876,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.
      * 
@@ -2110,24 +1888,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); } @@ -2137,12 +1912,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(); } @@ -2151,16 +1926,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; @@ -2175,4 +1950,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 83% 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..adfc4e48 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,42 +65,34 @@ 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
    * the five most recent errors will be displayed, with the most recent error
    * appearing first.
    * For example, some of the data for stored custom dictionaries is put in
-   * the user's Google Cloud Storage bucket, and if this data is modified or
+   * the user's Cloud Storage bucket, and if this data is modified or
    * deleted by the user or another system, the dictionary becomes invalid.
    * If any errors occur, fix the problem indicated by the error message and
    * use the UpdateStoredInfoType API method to create another version of the
@@ -142,17 +102,16 @@ 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
    * the five most recent errors will be displayed, with the most recent error
    * appearing first.
    * For example, some of the data for stored custom dictionaries is put in
-   * the user's Google Cloud Storage bucket, and if this data is modified or
+   * the user's Cloud Storage bucket, and if this data is modified or
    * deleted by the user or another system, the dictionary becomes invalid.
    * If any errors occur, fix the problem indicated by the error message and
    * use the UpdateStoredInfoType API method to create another version of the
@@ -164,15 +123,13 @@ 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
    * the five most recent errors will be displayed, with the most recent error
    * appearing first.
    * For example, some of the data for stored custom dictionaries is put in
-   * the user's Google Cloud Storage bucket, and if this data is modified or
+   * the user's Cloud Storage bucket, and if this data is modified or
    * deleted by the user or another system, the dictionary becomes invalid.
    * If any errors occur, fix the problem indicated by the error message and
    * use the UpdateStoredInfoType API method to create another version of the
@@ -184,15 +141,13 @@ 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
    * the five most recent errors will be displayed, with the most recent error
    * appearing first.
    * For example, some of the data for stored custom dictionaries is put in
-   * the user's Google Cloud Storage bucket, and if this data is modified or
+   * the user's Cloud Storage bucket, and if this data is modified or
    * deleted by the user or another system, the dictionary becomes invalid.
    * If any errors occur, fix the problem indicated by the error message and
    * use the UpdateStoredInfoType API method to create another version of the
@@ -202,17 +157,16 @@ 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
    * the five most recent errors will be displayed, with the most recent error
    * appearing first.
    * For example, some of the data for stored custom dictionaries is put in
-   * the user's Google Cloud Storage bucket, and if this data is modified or
+   * the user's Cloud Storage bucket, and if this data is modified or
    * deleted by the user or another system, the dictionary becomes invalid.
    * If any errors occur, fix the problem indicated by the error message and
    * use the UpdateStoredInfoType API method to create another version of the
@@ -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 68cabafc..53b531e6 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,35 +53,32 @@ 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) { @@ -106,33 +86,29 @@ private StoredType( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -140,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -149,15 +124,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
@@ -165,15 +139,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -184,15 +159,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 @@ -200,15 +172,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 @@ -216,8 +185,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.
@@ -231,7 +198,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -243,7 +209,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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 +230,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;
@@ -273,17 +241,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;
@@ -307,126 +277,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() @@ -434,15 +396,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -458,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_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 @@ -494,39 +457,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; @@ -573,8 +535,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -582,13 +542,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; @@ -597,8 +557,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -606,14 +564,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 { @@ -621,8 +580,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -630,22 +587,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
@@ -653,18 +608,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
@@ -672,16 +624,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; @@ -689,49 +641,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.
@@ -753,8 +692,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.
@@ -762,7 +699,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();
@@ -773,8 +711,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.
@@ -786,7 +722,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;
         }
@@ -798,8 +734,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.
@@ -819,8 +753,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.
@@ -829,13 +761,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.
@@ -847,14 +777,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.
@@ -863,24 +790,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);
     }
 
@@ -890,12 +814,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();
   }
@@ -904,16 +828,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;
@@ -928,4 +852,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 93c89a3a..587dc47a 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,34 +57,31 @@ 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) {
@@ -109,7 +89,8 @@ private Table(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -121,39 +102,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.
      * 
@@ -162,8 +137,6 @@ public interface RowOrBuilder */ com.google.privacy.dlp.v2.Value getValues(int index); /** - * - * *
      * Individual cells.
      * 
@@ -172,60 +145,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) @@ -245,23 +214,22 @@ 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) { @@ -269,7 +237,8 @@ private Row( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -278,27 +247,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.
      * 
@@ -310,8 +274,6 @@ public java.util.List getValuesList() { return values_; } /** - * - * *
      * Individual cells.
      * 
@@ -319,13 +281,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.
      * 
@@ -337,8 +297,6 @@ public int getValuesCount() { return values_.size(); } /** - * - * *
      * Individual cells.
      * 
@@ -350,8 +308,6 @@ public com.google.privacy.dlp.v2.Value getValues(int index) { return values_.get(index); } /** - * - * *
      * Individual cells.
      * 
@@ -359,12 +315,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; @@ -376,7 +332,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -390,7 +347,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; @@ -400,14 +358,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; } @@ -428,93 +387,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 @@ -524,32 +478,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() @@ -557,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) { getValuesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -581,9 +530,9 @@ public Builder 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 @@ -621,41 +570,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; @@ -682,10 +628,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_); } @@ -719,28 +664,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.
        * 
@@ -755,8 +693,6 @@ public java.util.List getValuesList() { } } /** - * - * *
        * Individual cells.
        * 
@@ -771,8 +707,6 @@ public int getValuesCount() { } } /** - * - * *
        * Individual cells.
        * 
@@ -787,15 +721,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(); @@ -809,15 +742,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()); @@ -828,8 +760,6 @@ public Builder setValues(int index, com.google.privacy.dlp.v2.Value.Builder buil return this; } /** - * - * *
        * Individual cells.
        * 
@@ -850,15 +780,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(); @@ -872,15 +801,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()); @@ -891,15 +819,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()); @@ -910,8 +837,6 @@ public Builder addValues(int index, com.google.privacy.dlp.v2.Value.Builder buil return this; } /** - * - * *
        * Individual cells.
        * 
@@ -922,7 +847,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); @@ -930,8 +856,6 @@ public Builder addAllValues( return this; } /** - * - * *
        * Individual cells.
        * 
@@ -949,8 +873,6 @@ public Builder clearValues() { return this; } /** - * - * *
        * Individual cells.
        * 
@@ -968,44 +890,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 { @@ -1013,8 +930,6 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder(int index) { } } /** - * - * *
        * Individual cells.
        * 
@@ -1022,52 +937,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) { @@ -1080,12 +989,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(); } @@ -1094,16 +1003,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; @@ -1118,13 +1027,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.
    * 
@@ -1136,8 +1044,6 @@ public java.util.List getHeadersList() { return headers_; } /** - * - * *
    * Headers of the table.
    * 
@@ -1145,13 +1051,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.
    * 
@@ -1163,8 +1067,6 @@ public int getHeadersCount() { return headers_.size(); } /** - * - * *
    * Headers of the table.
    * 
@@ -1176,8 +1078,6 @@ public com.google.privacy.dlp.v2.FieldId getHeaders(int index) { return headers_.get(index); } /** - * - * *
    * Headers of the table.
    * 
@@ -1185,15 +1085,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.
    * 
@@ -1205,8 +1104,6 @@ public java.util.List getRowsList() { return rows_; } /** - * - * *
    * Rows of the table.
    * 
@@ -1214,13 +1111,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.
    * 
@@ -1232,8 +1127,6 @@ public int getRowsCount() { return rows_.size(); } /** - * - * *
    * Rows of the table.
    * 
@@ -1245,8 +1138,6 @@ public com.google.privacy.dlp.v2.Table.Row getRows(int index) { return rows_.get(index); } /** - * - * *
    * Rows of the table.
    * 
@@ -1254,12 +1145,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; @@ -1271,7 +1162,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1288,10 +1180,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; @@ -1301,15 +1195,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; } @@ -1334,103 +1230,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
@@ -1439,20 +1329,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);
     }
@@ -1462,18 +1351,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();
@@ -1493,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_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
@@ -1542,39 +1431,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;
@@ -1601,10 +1489,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_);
           }
@@ -1628,10 +1515,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_);
           }
@@ -1665,28 +1551,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.
      * 
@@ -1701,8 +1580,6 @@ public java.util.List getHeadersList() { } } /** - * - * *
      * Headers of the table.
      * 
@@ -1717,8 +1594,6 @@ public int getHeadersCount() { } } /** - * - * *
      * Headers of the table.
      * 
@@ -1733,15 +1608,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(); @@ -1755,8 +1629,6 @@ public Builder setHeaders(int index, com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1775,8 +1647,6 @@ public Builder setHeaders( return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1797,15 +1667,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(); @@ -1819,15 +1688,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()); @@ -1838,8 +1706,6 @@ public Builder addHeaders(com.google.privacy.dlp.v2.FieldId.Builder builderForVa return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1858,8 +1724,6 @@ public Builder addHeaders( return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1870,7 +1734,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); @@ -1878,8 +1743,6 @@ public Builder addAllHeaders( return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1897,8 +1760,6 @@ public Builder clearHeaders() { return this; } /** - * - * *
      * Headers of the table.
      * 
@@ -1916,44 +1777,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 { @@ -1961,8 +1817,6 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder(int index) } } /** - * - * *
      * Headers of the table.
      * 
@@ -1970,71 +1824,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.
      * 
@@ -2049,8 +1892,6 @@ public java.util.List getRowsList() { } } /** - * - * *
      * Rows of the table.
      * 
@@ -2065,8 +1906,6 @@ public int getRowsCount() { } } /** - * - * *
      * Rows of the table.
      * 
@@ -2081,15 +1920,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(); @@ -2103,15 +1941,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()); @@ -2122,8 +1959,6 @@ public Builder setRows(int index, com.google.privacy.dlp.v2.Table.Row.Builder bu return this; } /** - * - * *
      * Rows of the table.
      * 
@@ -2144,15 +1979,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(); @@ -2166,15 +2000,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()); @@ -2185,15 +2018,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()); @@ -2204,8 +2036,6 @@ public Builder addRows(int index, com.google.privacy.dlp.v2.Table.Row.Builder bu return this; } /** - * - * *
      * Rows of the table.
      * 
@@ -2216,7 +2046,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); @@ -2224,8 +2055,6 @@ public Builder addAllRows( return this; } /** - * - * *
      * Rows of the table.
      * 
@@ -2243,8 +2072,6 @@ public Builder clearRows() { return this; } /** - * - * *
      * Rows of the table.
      * 
@@ -2262,44 +2089,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 { @@ -2307,8 +2129,6 @@ public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder(int index) } } /** - * - * *
      * Rows of the table.
      * 
@@ -2316,54 +2136,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); } @@ -2373,12 +2188,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(); } @@ -2387,16 +2202,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; @@ -2411,4 +2226,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/TableDataProfile.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfile.java similarity index 74% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfile.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfile.java index f4f28ede..4e882224 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfile.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfile.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 profile for a scanned table.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.TableDataProfile} */ -public final class TableDataProfile extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TableDataProfile extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TableDataProfile) TableDataProfileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TableDataProfile.newBuilder() to construct. private TableDataProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableDataProfile() { name_ = ""; projectDataProfile_ = ""; @@ -54,15 +36,16 @@ private TableDataProfile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableDataProfile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableDataProfile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -82,269 +65,228 @@ private TableDataProfile( 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(); - projectDataProfile_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + projectDataProfile_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - fullResource_ = s; - break; + fullResource_ = s; + break; + } + case 42: { + com.google.privacy.dlp.v2.SensitivityScore.Builder subBuilder = null; + if (sensitivityScore_ != null) { + subBuilder = sensitivityScore_.toBuilder(); } - case 42: - { - com.google.privacy.dlp.v2.SensitivityScore.Builder subBuilder = null; - if (sensitivityScore_ != null) { - subBuilder = sensitivityScore_.toBuilder(); - } - sensitivityScore_ = - input.readMessage( - com.google.privacy.dlp.v2.SensitivityScore.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sensitivityScore_); - sensitivityScore_ = subBuilder.buildPartial(); - } - - break; + sensitivityScore_ = input.readMessage(com.google.privacy.dlp.v2.SensitivityScore.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sensitivityScore_); + sensitivityScore_ = subBuilder.buildPartial(); } - case 50: - { - com.google.privacy.dlp.v2.DataRiskLevel.Builder subBuilder = null; - if (dataRiskLevel_ != null) { - subBuilder = dataRiskLevel_.toBuilder(); - } - dataRiskLevel_ = - input.readMessage( - com.google.privacy.dlp.v2.DataRiskLevel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataRiskLevel_); - dataRiskLevel_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.privacy.dlp.v2.DataRiskLevel.Builder subBuilder = null; + if (dataRiskLevel_ != null) { + subBuilder = dataRiskLevel_.toBuilder(); } - case 58: - { - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder subBuilder = null; - if (configSnapshot_ != null) { - subBuilder = configSnapshot_.toBuilder(); - } - configSnapshot_ = - input.readMessage( - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(configSnapshot_); - configSnapshot_ = subBuilder.buildPartial(); - } - - break; + dataRiskLevel_ = input.readMessage(com.google.privacy.dlp.v2.DataRiskLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataRiskLevel_); + dataRiskLevel_ = subBuilder.buildPartial(); } - case 66: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastModifiedTime_ != null) { - subBuilder = lastModifiedTime_.toBuilder(); - } - lastModifiedTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastModifiedTime_); - lastModifiedTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 58: { + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder subBuilder = null; + if (configSnapshot_ != null) { + subBuilder = configSnapshot_.toBuilder(); } - case 74: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expirationTime_ != null) { - subBuilder = expirationTime_.toBuilder(); - } - expirationTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expirationTime_); - expirationTime_ = subBuilder.buildPartial(); - } - - break; + configSnapshot_ = input.readMessage(com.google.privacy.dlp.v2.DataProfileConfigSnapshot.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(configSnapshot_); + configSnapshot_ = subBuilder.buildPartial(); } - case 80: - { - scannedColumnCount_ = input.readInt64(); - break; + + break; + } + case 66: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastModifiedTime_ != null) { + subBuilder = lastModifiedTime_.toBuilder(); } - case 88: - { - failedColumnCount_ = input.readInt64(); - break; + lastModifiedTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastModifiedTime_); + lastModifiedTime_ = subBuilder.buildPartial(); } - case 96: - { - tableSizeBytes_ = input.readInt64(); - break; + + break; + } + case 74: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expirationTime_ != null) { + subBuilder = expirationTime_.toBuilder(); } - case 104: - { - rowCount_ = input.readInt64(); - break; + expirationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expirationTime_); + expirationTime_ = subBuilder.buildPartial(); } - case 112: - { - int rawValue = input.readEnum(); - encryptionStatus_ = rawValue; - break; - } - case 120: - { - int rawValue = input.readEnum(); + break; + } + case 80: { - resourceVisibility_ = rawValue; - break; + scannedColumnCount_ = input.readInt64(); + break; + } + case 88: { + + failedColumnCount_ = input.readInt64(); + break; + } + case 96: { + + tableSizeBytes_ = input.readInt64(); + break; + } + case 104: { + + rowCount_ = input.readInt64(); + break; + } + case 112: { + int rawValue = input.readEnum(); + + encryptionStatus_ = rawValue; + break; + } + case 120: { + int rawValue = input.readEnum(); + + resourceVisibility_ = rawValue; + break; + } + case 130: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (profileLastGenerated_ != null) { + subBuilder = profileLastGenerated_.toBuilder(); + } + profileLastGenerated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(profileLastGenerated_); + profileLastGenerated_ = subBuilder.buildPartial(); } - case 130: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (profileLastGenerated_ != null) { - subBuilder = profileLastGenerated_.toBuilder(); - } - profileLastGenerated_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(profileLastGenerated_); - profileLastGenerated_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 138: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + resourceLabels_ = com.google.protobuf.MapField.newMapField( + ResourceLabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; } - case 138: - { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - resourceLabels_ = - com.google.protobuf.MapField.newMapField( - ResourceLabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; - } - com.google.protobuf.MapEntry resourceLabels__ = - input.readMessage( - ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - resourceLabels_ - .getMutableMap() - .put(resourceLabels__.getKey(), resourceLabels__.getValue()); - break; + com.google.protobuf.MapEntry + resourceLabels__ = input.readMessage( + ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + resourceLabels_.getMutableMap().put( + resourceLabels__.getKey(), resourceLabels__.getValue()); + break; + } + case 170: { + com.google.privacy.dlp.v2.ProfileStatus.Builder subBuilder = null; + if (profileStatus_ != null) { + subBuilder = profileStatus_.toBuilder(); } - case 170: - { - com.google.privacy.dlp.v2.ProfileStatus.Builder subBuilder = null; - if (profileStatus_ != null) { - subBuilder = profileStatus_.toBuilder(); - } - profileStatus_ = - input.readMessage( - com.google.privacy.dlp.v2.ProfileStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(profileStatus_); - profileStatus_ = subBuilder.buildPartial(); - } - - break; + profileStatus_ = input.readMessage(com.google.privacy.dlp.v2.ProfileStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(profileStatus_); + profileStatus_ = subBuilder.buildPartial(); } - case 176: - { - int rawValue = input.readEnum(); - state_ = rawValue; - break; + break; + } + case 176: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 186: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 186: - { - 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 194: - { - java.lang.String s = input.readStringRequireUtf8(); - datasetProjectId_ = s; - break; - } - case 202: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 194: { + java.lang.String s = input.readStringRequireUtf8(); - datasetId_ = s; - break; - } - case 210: - { - java.lang.String s = input.readStringRequireUtf8(); + datasetProjectId_ = s; + break; + } + case 202: { + java.lang.String s = input.readStringRequireUtf8(); - tableId_ = s; - break; - } - case 218: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - predictedInfoTypes_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - predictedInfoTypes_.add( - input.readMessage( - com.google.privacy.dlp.v2.InfoTypeSummary.parser(), extensionRegistry)); - break; + datasetId_ = s; + break; + } + case 210: { + java.lang.String s = input.readStringRequireUtf8(); + + tableId_ = s; + break; + } + case 218: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + predictedInfoTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 226: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - otherInfoTypes_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - otherInfoTypes_.add( - input.readMessage( - com.google.privacy.dlp.v2.OtherInfoTypeSummary.parser(), extensionRegistry)); - break; + predictedInfoTypes_.add( + input.readMessage(com.google.privacy.dlp.v2.InfoTypeSummary.parser(), extensionRegistry)); + break; + } + case 226: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + otherInfoTypes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 234: - { - java.lang.String s = input.readStringRequireUtf8(); + otherInfoTypes_.add( + input.readMessage(com.google.privacy.dlp.v2.OtherInfoTypeSummary.parser(), extensionRegistry)); + break; + } + case 234: { + java.lang.String s = input.readStringRequireUtf8(); - datasetLocation_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + datasetLocation_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -352,7 +294,8 @@ private TableDataProfile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { predictedInfoTypes_ = java.util.Collections.unmodifiableList(predictedInfoTypes_); @@ -364,46 +307,41 @@ private TableDataProfile( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableDataProfile_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 17: return internalGetResourceLabels(); 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_TableDataProfile_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableDataProfile.class, - com.google.privacy.dlp.v2.TableDataProfile.Builder.class); + com.google.privacy.dlp.v2.TableDataProfile.class, com.google.privacy.dlp.v2.TableDataProfile.Builder.class); } /** - * - * *
    * Possible states of a profile. New items may be added.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.TableDataProfile.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unused.
      * 
@@ -412,8 +350,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The profile is currently running. Once a profile has finished it will
      * transition to DONE.
@@ -423,8 +359,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(1),
     /**
-     *
-     *
      * 
      * The profile is no longer generating.
      * If profile_status.status.code is 0, the profile succeeded, otherwise, it
@@ -438,8 +372,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unused.
      * 
@@ -448,8 +380,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The profile is currently running. Once a profile has finished it will
      * transition to DONE.
@@ -459,8 +389,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The profile is no longer generating.
      * If profile_status.status.code is 0, the profile succeeded, otherwise, it
@@ -471,6 +399,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DONE_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -495,49 +424,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return DONE;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return DONE;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.privacy.dlp.v2.TableDataProfile.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -557,14 +486,11 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the profile.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -573,29 +499,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 profile.
    * 
* * 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 { @@ -606,14 +532,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROJECT_DATA_PROFILE_FIELD_NUMBER = 2; private volatile java.lang.Object projectDataProfile_; /** - * - * *
    * The resource name to the project data profile for this table.
    * 
* * string project_data_profile = 2; - * * @return The projectDataProfile. */ @java.lang.Override @@ -622,29 +545,29 @@ public java.lang.String getProjectDataProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectDataProfile_ = s; return s; } } /** - * - * *
    * The resource name to the project data profile for this table.
    * 
* * string project_data_profile = 2; - * * @return The bytes for projectDataProfile. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectDataProfileBytes() { + public com.google.protobuf.ByteString + getProjectDataProfileBytes() { java.lang.Object ref = projectDataProfile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectDataProfile_ = b; return b; } else { @@ -655,14 +578,11 @@ public com.google.protobuf.ByteString getProjectDataProfileBytes() { public static final int DATASET_PROJECT_ID_FIELD_NUMBER = 24; private volatile java.lang.Object datasetProjectId_; /** - * - * *
    * The GCP project ID that owns the BigQuery dataset.
    * 
* * string dataset_project_id = 24; - * * @return The datasetProjectId. */ @java.lang.Override @@ -671,29 +591,29 @@ public java.lang.String getDatasetProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetProjectId_ = s; return s; } } /** - * - * *
    * The GCP project ID that owns the BigQuery dataset.
    * 
* * string dataset_project_id = 24; - * * @return The bytes for datasetProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetProjectIdBytes() { + public com.google.protobuf.ByteString + getDatasetProjectIdBytes() { java.lang.Object ref = datasetProjectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetProjectId_ = b; return b; } else { @@ -704,8 +624,6 @@ public com.google.protobuf.ByteString getDatasetProjectIdBytes() { public static final int DATASET_LOCATION_FIELD_NUMBER = 29; private volatile java.lang.Object datasetLocation_; /** - * - * *
    * The BigQuery location where the dataset's data is stored.
    * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -713,7 +631,6 @@ public com.google.protobuf.ByteString getDatasetProjectIdBytes() {
    * 
* * string dataset_location = 29; - * * @return The datasetLocation. */ @java.lang.Override @@ -722,15 +639,14 @@ public java.lang.String getDatasetLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetLocation_ = s; return s; } } /** - * - * *
    * The BigQuery location where the dataset's data is stored.
    * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -738,15 +654,16 @@ public java.lang.String getDatasetLocation() {
    * 
* * string dataset_location = 29; - * * @return The bytes for datasetLocation. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetLocationBytes() { + public com.google.protobuf.ByteString + getDatasetLocationBytes() { java.lang.Object ref = datasetLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetLocation_ = b; return b; } else { @@ -757,14 +674,11 @@ public com.google.protobuf.ByteString getDatasetLocationBytes() { public static final int DATASET_ID_FIELD_NUMBER = 25; private volatile java.lang.Object datasetId_; /** - * - * *
    * The BigQuery dataset ID.
    * 
* * string dataset_id = 25; - * * @return The datasetId. */ @java.lang.Override @@ -773,29 +687,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; } } /** - * - * *
    * The BigQuery dataset ID.
    * 
* * string dataset_id = 25; - * * @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 { @@ -806,14 +720,11 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { public static final int TABLE_ID_FIELD_NUMBER = 26; private volatile java.lang.Object tableId_; /** - * - * *
    * The BigQuery table ID.
    * 
* * string table_id = 26; - * * @return The tableId. */ @java.lang.Override @@ -822,29 +733,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; } } /** - * - * *
    * The BigQuery table ID.
    * 
* * string table_id = 26; - * * @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 { @@ -855,15 +766,12 @@ public com.google.protobuf.ByteString getTableIdBytes() { public static final int FULL_RESOURCE_FIELD_NUMBER = 3; private volatile java.lang.Object fullResource_; /** - * - * *
    * The resource name of the table.
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource = 3; - * * @return The fullResource. */ @java.lang.Override @@ -872,30 +780,30 @@ public java.lang.String getFullResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResource_ = s; return s; } } /** - * - * *
    * The resource name of the table.
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource = 3; - * * @return The bytes for fullResource. */ @java.lang.Override - public com.google.protobuf.ByteString getFullResourceBytes() { + public com.google.protobuf.ByteString + getFullResourceBytes() { java.lang.Object ref = fullResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResource_ = b; return b; } else { @@ -906,15 +814,12 @@ public com.google.protobuf.ByteString getFullResourceBytes() { public static final int PROFILE_STATUS_FIELD_NUMBER = 21; private com.google.privacy.dlp.v2.ProfileStatus profileStatus_; /** - * - * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
    * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; - * * @return Whether the profileStatus field is set. */ @java.lang.Override @@ -922,26 +827,19 @@ public boolean hasProfileStatus() { return profileStatus_ != null; } /** - * - * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
    * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; - * * @return The profileStatus. */ @java.lang.Override public com.google.privacy.dlp.v2.ProfileStatus getProfileStatus() { - return profileStatus_ == null - ? com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance() - : profileStatus_; + return profileStatus_ == null ? com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance() : profileStatus_; } /** - * - * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
@@ -957,50 +855,38 @@ public com.google.privacy.dlp.v2.ProfileStatusOrBuilder getProfileStatusOrBuilde
   public static final int STATE_FIELD_NUMBER = 22;
   private int state_;
   /**
-   *
-   *
    * 
    * State of a profile.
    * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; - * * @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 profile.
    * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; - * * @return The state. */ - @java.lang.Override - public com.google.privacy.dlp.v2.TableDataProfile.State getState() { + @java.lang.Override public com.google.privacy.dlp.v2.TableDataProfile.State getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TableDataProfile.State result = - com.google.privacy.dlp.v2.TableDataProfile.State.valueOf(state_); + com.google.privacy.dlp.v2.TableDataProfile.State result = com.google.privacy.dlp.v2.TableDataProfile.State.valueOf(state_); return result == null ? com.google.privacy.dlp.v2.TableDataProfile.State.UNRECOGNIZED : result; } public static final int SENSITIVITY_SCORE_FIELD_NUMBER = 5; private com.google.privacy.dlp.v2.SensitivityScore sensitivityScore_; /** - * - * *
    * The sensitivity score of this table.
    * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; - * * @return Whether the sensitivityScore field is set. */ @java.lang.Override @@ -1008,25 +894,18 @@ public boolean hasSensitivityScore() { return sensitivityScore_ != null; } /** - * - * *
    * The sensitivity score of this table.
    * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; - * * @return The sensitivityScore. */ @java.lang.Override public com.google.privacy.dlp.v2.SensitivityScore getSensitivityScore() { - return sensitivityScore_ == null - ? com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() - : sensitivityScore_; + return sensitivityScore_ == null ? com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() : sensitivityScore_; } /** - * - * *
    * The sensitivity score of this table.
    * 
@@ -1041,14 +920,11 @@ public com.google.privacy.dlp.v2.SensitivityScoreOrBuilder getSensitivityScoreOr public static final int DATA_RISK_LEVEL_FIELD_NUMBER = 6; private com.google.privacy.dlp.v2.DataRiskLevel dataRiskLevel_; /** - * - * *
    * The data risk level of this table.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; - * * @return Whether the dataRiskLevel field is set. */ @java.lang.Override @@ -1056,25 +932,18 @@ public boolean hasDataRiskLevel() { return dataRiskLevel_ != null; } /** - * - * *
    * The data risk level of this table.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; - * * @return The dataRiskLevel. */ @java.lang.Override public com.google.privacy.dlp.v2.DataRiskLevel getDataRiskLevel() { - return dataRiskLevel_ == null - ? com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() - : dataRiskLevel_; + return dataRiskLevel_ == null ? com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() : dataRiskLevel_; } /** - * - * *
    * The data risk level of this table.
    * 
@@ -1089,8 +958,6 @@ public com.google.privacy.dlp.v2.DataRiskLevelOrBuilder getDataRiskLevelOrBuilde public static final int PREDICTED_INFO_TYPES_FIELD_NUMBER = 27; private java.util.List predictedInfoTypes_; /** - * - * *
    * The infoTypes predicted from this table's data.
    * 
@@ -1102,8 +969,6 @@ public java.util.List getPredictedInf return predictedInfoTypes_; } /** - * - * *
    * The infoTypes predicted from this table's data.
    * 
@@ -1111,13 +976,11 @@ public java.util.List getPredictedInf * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ @java.lang.Override - public java.util.List + public java.util.List getPredictedInfoTypesOrBuilderList() { return predictedInfoTypes_; } /** - * - * *
    * The infoTypes predicted from this table's data.
    * 
@@ -1129,8 +992,6 @@ public int getPredictedInfoTypesCount() { return predictedInfoTypes_.size(); } /** - * - * *
    * The infoTypes predicted from this table's data.
    * 
@@ -1142,8 +1003,6 @@ public com.google.privacy.dlp.v2.InfoTypeSummary getPredictedInfoTypes(int index return predictedInfoTypes_.get(index); } /** - * - * *
    * The infoTypes predicted from this table's data.
    * 
@@ -1159,8 +1018,6 @@ public com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesO public static final int OTHER_INFO_TYPES_FIELD_NUMBER = 28; private java.util.List otherInfoTypes_; /** - * - * *
    * Other infoTypes found in this table's data.
    * 
@@ -1172,8 +1029,6 @@ public java.util.List getOtherIn return otherInfoTypes_; } /** - * - * *
    * Other infoTypes found in this table's data.
    * 
@@ -1181,13 +1036,11 @@ public java.util.List getOtherIn * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ @java.lang.Override - public java.util.List + public java.util.List getOtherInfoTypesOrBuilderList() { return otherInfoTypes_; } /** - * - * *
    * Other infoTypes found in this table's data.
    * 
@@ -1199,8 +1052,6 @@ public int getOtherInfoTypesCount() { return otherInfoTypes_.size(); } /** - * - * *
    * Other infoTypes found in this table's data.
    * 
@@ -1212,8 +1063,6 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary getOtherInfoTypes(int inde return otherInfoTypes_.get(index); } /** - * - * *
    * Other infoTypes found in this table's data.
    * 
@@ -1229,14 +1078,11 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypes public static final int CONFIG_SNAPSHOT_FIELD_NUMBER = 7; private com.google.privacy.dlp.v2.DataProfileConfigSnapshot configSnapshot_; /** - * - * *
    * The snapshot of the configurations used to generate the profile.
    * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; - * * @return Whether the configSnapshot field is set. */ @java.lang.Override @@ -1244,25 +1090,18 @@ public boolean hasConfigSnapshot() { return configSnapshot_ != null; } /** - * - * *
    * The snapshot of the configurations used to generate the profile.
    * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; - * * @return The configSnapshot. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileConfigSnapshot getConfigSnapshot() { - return configSnapshot_ == null - ? com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() - : configSnapshot_; + return configSnapshot_ == null ? com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() : configSnapshot_; } /** - * - * *
    * The snapshot of the configurations used to generate the profile.
    * 
@@ -1277,14 +1116,11 @@ public com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder getConfigSna public static final int LAST_MODIFIED_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp lastModifiedTime_; /** - * - * *
    * The time when this table was last modified
    * 
* * .google.protobuf.Timestamp last_modified_time = 8; - * * @return Whether the lastModifiedTime field is set. */ @java.lang.Override @@ -1292,25 +1128,18 @@ public boolean hasLastModifiedTime() { return lastModifiedTime_ != null; } /** - * - * *
    * The time when this table was last modified
    * 
* * .google.protobuf.Timestamp last_modified_time = 8; - * * @return The lastModifiedTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastModifiedTime() { - return lastModifiedTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastModifiedTime_; + return lastModifiedTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedTime_; } /** - * - * *
    * The time when this table was last modified
    * 
@@ -1325,14 +1154,11 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder() { public static final int EXPIRATION_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp expirationTime_; /** - * - * *
    * Optional. The time when this table expires.
    * 
* * .google.protobuf.Timestamp expiration_time = 9; - * * @return Whether the expirationTime field is set. */ @java.lang.Override @@ -1340,25 +1166,18 @@ public boolean hasExpirationTime() { return expirationTime_ != null; } /** - * - * *
    * Optional. The time when this table expires.
    * 
* * .google.protobuf.Timestamp expiration_time = 9; - * * @return The expirationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExpirationTime() { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } /** - * - * *
    * Optional. The time when this table expires.
    * 
@@ -1373,14 +1192,11 @@ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { public static final int SCANNED_COLUMN_COUNT_FIELD_NUMBER = 10; private long scannedColumnCount_; /** - * - * *
    * The number of columns profiled in the table.
    * 
* * int64 scanned_column_count = 10; - * * @return The scannedColumnCount. */ @java.lang.Override @@ -1391,14 +1207,11 @@ public long getScannedColumnCount() { public static final int FAILED_COLUMN_COUNT_FIELD_NUMBER = 11; private long failedColumnCount_; /** - * - * *
    * The number of columns skipped in the table because of an error.
    * 
* * int64 failed_column_count = 11; - * * @return The failedColumnCount. */ @java.lang.Override @@ -1409,14 +1222,11 @@ public long getFailedColumnCount() { public static final int TABLE_SIZE_BYTES_FIELD_NUMBER = 12; private long tableSizeBytes_; /** - * - * *
    * The size of the table when the profile was generated.
    * 
* * int64 table_size_bytes = 12; - * * @return The tableSizeBytes. */ @java.lang.Override @@ -1427,14 +1237,11 @@ public long getTableSizeBytes() { public static final int ROW_COUNT_FIELD_NUMBER = 13; private long rowCount_; /** - * - * *
    * Number of rows in the table when the profile was generated.
    * 
* * int64 row_count = 13; - * * @return The rowCount. */ @java.lang.Override @@ -1445,86 +1252,65 @@ public long getRowCount() { public static final int ENCRYPTION_STATUS_FIELD_NUMBER = 14; private int encryptionStatus_; /** - * - * *
    * How the table is encrypted.
    * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; - * * @return The enum numeric value on the wire for encryptionStatus. */ - @java.lang.Override - public int getEncryptionStatusValue() { + @java.lang.Override public int getEncryptionStatusValue() { return encryptionStatus_; } /** - * - * *
    * How the table is encrypted.
    * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; - * * @return The encryptionStatus. */ - @java.lang.Override - public com.google.privacy.dlp.v2.EncryptionStatus getEncryptionStatus() { + @java.lang.Override public com.google.privacy.dlp.v2.EncryptionStatus getEncryptionStatus() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.EncryptionStatus result = - com.google.privacy.dlp.v2.EncryptionStatus.valueOf(encryptionStatus_); + com.google.privacy.dlp.v2.EncryptionStatus result = com.google.privacy.dlp.v2.EncryptionStatus.valueOf(encryptionStatus_); return result == null ? com.google.privacy.dlp.v2.EncryptionStatus.UNRECOGNIZED : result; } public static final int RESOURCE_VISIBILITY_FIELD_NUMBER = 15; private int resourceVisibility_; /** - * - * *
    * How broadly a resource has been shared.
    * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; - * * @return The enum numeric value on the wire for resourceVisibility. */ - @java.lang.Override - public int getResourceVisibilityValue() { + @java.lang.Override public int getResourceVisibilityValue() { return resourceVisibility_; } /** - * - * *
    * How broadly a resource has been shared.
    * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; - * * @return The resourceVisibility. */ - @java.lang.Override - public com.google.privacy.dlp.v2.ResourceVisibility getResourceVisibility() { + @java.lang.Override public com.google.privacy.dlp.v2.ResourceVisibility getResourceVisibility() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.ResourceVisibility result = - com.google.privacy.dlp.v2.ResourceVisibility.valueOf(resourceVisibility_); + com.google.privacy.dlp.v2.ResourceVisibility result = com.google.privacy.dlp.v2.ResourceVisibility.valueOf(resourceVisibility_); return result == null ? com.google.privacy.dlp.v2.ResourceVisibility.UNRECOGNIZED : result; } public static final int PROFILE_LAST_GENERATED_FIELD_NUMBER = 16; private com.google.protobuf.Timestamp profileLastGenerated_; /** - * - * *
    * The last time the profile was generated.
    * 
* * .google.protobuf.Timestamp profile_last_generated = 16; - * * @return Whether the profileLastGenerated field is set. */ @java.lang.Override @@ -1532,25 +1318,18 @@ public boolean hasProfileLastGenerated() { return profileLastGenerated_ != null; } /** - * - * *
    * The last time the profile was generated.
    * 
* * .google.protobuf.Timestamp profile_last_generated = 16; - * * @return The profileLastGenerated. */ @java.lang.Override public com.google.protobuf.Timestamp getProfileLastGenerated() { - return profileLastGenerated_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : profileLastGenerated_; + return profileLastGenerated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : profileLastGenerated_; } /** - * - * *
    * The last time the profile was generated.
    * 
@@ -1563,22 +1342,21 @@ public com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder() } public static final int RESOURCE_LABELS_FIELD_NUMBER = 17; - private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_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_TableDataProfile_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField resourceLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -1590,30 +1368,28 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
    * The labels applied to the resource at the time the profile was generated.
    * 
* * map<string, string> resource_labels = 17; */ + @java.lang.Override - public boolean containsResourceLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsResourceLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetResourceLabels().getMap().containsKey(key); } - /** Use {@link #getResourceLabelsMap()} instead. */ + /** + * Use {@link #getResourceLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** - * - * *
    * The labels applied to the resource at the time the profile was generated.
    * 
@@ -1621,12 +1397,11 @@ public java.util.Map getResourceLabels() { * map<string, string> resource_labels = 17; */ @java.lang.Override + public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** - * - * *
    * The labels applied to the resource at the time the profile was generated.
    * 
@@ -1634,17 +1409,16 @@ public java.util.Map getResourceLabelsMap() * map<string, string> resource_labels = 17; */ @java.lang.Override + public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * The labels applied to the resource at the time the profile was generated.
    * 
@@ -1652,11 +1426,12 @@ public java.lang.String getResourceLabelsOrDefault( * map<string, string> resource_labels = 17; */ @java.lang.Override - public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + + public java.lang.String getResourceLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1666,14 +1441,11 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { public static final int CREATE_TIME_FIELD_NUMBER = 23; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time at which the table was created.
    * 
* * .google.protobuf.Timestamp create_time = 23; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1681,14 +1453,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time at which the table was created.
    * 
* * .google.protobuf.Timestamp create_time = 23; - * * @return The createTime. */ @java.lang.Override @@ -1696,8 +1465,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time at which the table was created.
    * 
@@ -1710,7 +1477,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1722,7 +1488,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1759,20 +1526,21 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (rowCount_ != 0L) { output.writeInt64(13, rowCount_); } - if (encryptionStatus_ - != com.google.privacy.dlp.v2.EncryptionStatus.ENCRYPTION_STATUS_UNSPECIFIED.getNumber()) { + if (encryptionStatus_ != com.google.privacy.dlp.v2.EncryptionStatus.ENCRYPTION_STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(14, encryptionStatus_); } - if (resourceVisibility_ - != com.google.privacy.dlp.v2.ResourceVisibility.RESOURCE_VISIBILITY_UNSPECIFIED - .getNumber()) { + if (resourceVisibility_ != com.google.privacy.dlp.v2.ResourceVisibility.RESOURCE_VISIBILITY_UNSPECIFIED.getNumber()) { output.writeEnum(15, resourceVisibility_); } if (profileLastGenerated_ != null) { output.writeMessage(16, getProfileLastGenerated()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 17); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetResourceLabels(), + ResourceLabelsDefaultEntryHolder.defaultEntry, + 17); if (profileStatus_ != null) { output.writeMessage(21, getProfileStatus()); } @@ -1819,63 +1587,74 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fullResource_); } if (sensitivityScore_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSensitivityScore()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSensitivityScore()); } if (dataRiskLevel_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDataRiskLevel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDataRiskLevel()); } if (configSnapshot_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getConfigSnapshot()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getConfigSnapshot()); } if (lastModifiedTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getLastModifiedTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getLastModifiedTime()); } if (expirationTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getExpirationTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getExpirationTime()); } if (scannedColumnCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, scannedColumnCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(10, scannedColumnCount_); } if (failedColumnCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, failedColumnCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, failedColumnCount_); } if (tableSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, tableSizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, tableSizeBytes_); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(13, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(13, rowCount_); } - if (encryptionStatus_ - != com.google.privacy.dlp.v2.EncryptionStatus.ENCRYPTION_STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, encryptionStatus_); + if (encryptionStatus_ != com.google.privacy.dlp.v2.EncryptionStatus.ENCRYPTION_STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(14, encryptionStatus_); } - if (resourceVisibility_ - != com.google.privacy.dlp.v2.ResourceVisibility.RESOURCE_VISIBILITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, resourceVisibility_); + if (resourceVisibility_ != com.google.privacy.dlp.v2.ResourceVisibility.RESOURCE_VISIBILITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, resourceVisibility_); } if (profileLastGenerated_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(16, getProfileLastGenerated()); - } - for (java.util.Map.Entry entry : - internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry resourceLabels__ = - ResourceLabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, resourceLabels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getProfileLastGenerated()); + } + for (java.util.Map.Entry entry + : internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, resourceLabels__); } if (profileStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getProfileStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getProfileStatus()); } if (state_ != com.google.privacy.dlp.v2.TableDataProfile.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(22, state_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetProjectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, datasetProjectId_); @@ -1887,11 +1666,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, tableId_); } for (int i = 0; i < predictedInfoTypes_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(27, predictedInfoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, predictedInfoTypes_.get(i)); } for (int i = 0; i < otherInfoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, otherInfoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, otherInfoTypes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetLocation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, datasetLocation_); @@ -1904,62 +1684,83 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.privacy.dlp.v2.TableDataProfile)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TableDataProfile other = - (com.google.privacy.dlp.v2.TableDataProfile) obj; - - if (!getName().equals(other.getName())) return false; - if (!getProjectDataProfile().equals(other.getProjectDataProfile())) return false; - if (!getDatasetProjectId().equals(other.getDatasetProjectId())) return false; - if (!getDatasetLocation().equals(other.getDatasetLocation())) return false; - if (!getDatasetId().equals(other.getDatasetId())) return false; - if (!getTableId().equals(other.getTableId())) return false; - if (!getFullResource().equals(other.getFullResource())) return false; + com.google.privacy.dlp.v2.TableDataProfile other = (com.google.privacy.dlp.v2.TableDataProfile) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getProjectDataProfile() + .equals(other.getProjectDataProfile())) return false; + if (!getDatasetProjectId() + .equals(other.getDatasetProjectId())) return false; + if (!getDatasetLocation() + .equals(other.getDatasetLocation())) return false; + if (!getDatasetId() + .equals(other.getDatasetId())) return false; + if (!getTableId() + .equals(other.getTableId())) return false; + if (!getFullResource() + .equals(other.getFullResource())) return false; if (hasProfileStatus() != other.hasProfileStatus()) return false; if (hasProfileStatus()) { - if (!getProfileStatus().equals(other.getProfileStatus())) return false; + if (!getProfileStatus() + .equals(other.getProfileStatus())) return false; } if (state_ != other.state_) return false; if (hasSensitivityScore() != other.hasSensitivityScore()) return false; if (hasSensitivityScore()) { - if (!getSensitivityScore().equals(other.getSensitivityScore())) return false; + if (!getSensitivityScore() + .equals(other.getSensitivityScore())) return false; } if (hasDataRiskLevel() != other.hasDataRiskLevel()) return false; if (hasDataRiskLevel()) { - if (!getDataRiskLevel().equals(other.getDataRiskLevel())) return false; + if (!getDataRiskLevel() + .equals(other.getDataRiskLevel())) return false; } - if (!getPredictedInfoTypesList().equals(other.getPredictedInfoTypesList())) return false; - if (!getOtherInfoTypesList().equals(other.getOtherInfoTypesList())) return false; + if (!getPredictedInfoTypesList() + .equals(other.getPredictedInfoTypesList())) return false; + if (!getOtherInfoTypesList() + .equals(other.getOtherInfoTypesList())) return false; if (hasConfigSnapshot() != other.hasConfigSnapshot()) return false; if (hasConfigSnapshot()) { - if (!getConfigSnapshot().equals(other.getConfigSnapshot())) return false; + if (!getConfigSnapshot() + .equals(other.getConfigSnapshot())) return false; } if (hasLastModifiedTime() != other.hasLastModifiedTime()) return false; if (hasLastModifiedTime()) { - if (!getLastModifiedTime().equals(other.getLastModifiedTime())) return false; + if (!getLastModifiedTime() + .equals(other.getLastModifiedTime())) return false; } if (hasExpirationTime() != other.hasExpirationTime()) return false; if (hasExpirationTime()) { - if (!getExpirationTime().equals(other.getExpirationTime())) return false; - } - if (getScannedColumnCount() != other.getScannedColumnCount()) return false; - if (getFailedColumnCount() != other.getFailedColumnCount()) return false; - if (getTableSizeBytes() != other.getTableSizeBytes()) return false; - if (getRowCount() != other.getRowCount()) return false; + if (!getExpirationTime() + .equals(other.getExpirationTime())) return false; + } + if (getScannedColumnCount() + != other.getScannedColumnCount()) return false; + if (getFailedColumnCount() + != other.getFailedColumnCount()) return false; + if (getTableSizeBytes() + != other.getTableSizeBytes()) return false; + if (getRowCount() + != other.getRowCount()) return false; if (encryptionStatus_ != other.encryptionStatus_) return false; if (resourceVisibility_ != other.resourceVisibility_) return false; if (hasProfileLastGenerated() != other.hasProfileLastGenerated()) return false; if (hasProfileLastGenerated()) { - if (!getProfileLastGenerated().equals(other.getProfileLastGenerated())) return false; + if (!getProfileLastGenerated() + .equals(other.getProfileLastGenerated())) return false; } - if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; + if (!internalGetResourceLabels().equals( + other.internalGetResourceLabels())) 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; @@ -2021,13 +1822,17 @@ public int hashCode() { hash = (53 * hash) + getExpirationTime().hashCode(); } hash = (37 * hash) + SCANNED_COLUMN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getScannedColumnCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getScannedColumnCount()); hash = (37 * hash) + FAILED_COLUMN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFailedColumnCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFailedColumnCount()); hash = (37 * hash) + TABLE_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTableSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTableSizeBytes()); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCount()); hash = (37 * hash) + ENCRYPTION_STATUS_FIELD_NUMBER; hash = (53 * hash) + encryptionStatus_; hash = (37 * hash) + RESOURCE_VISIBILITY_FIELD_NUMBER; @@ -2049,147 +1854,140 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TableDataProfile parseFrom(java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TableDataProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TableDataProfile parseFrom(java.io.InputStream input) 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.TableDataProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.privacy.dlp.v2.TableDataProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.privacy.dlp.v2.TableDataProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TableDataProfile parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.TableDataProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 profile for a scanned table.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TableDataProfile} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TableDataProfile) com.google.privacy.dlp.v2.TableDataProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 17: return internalGetResourceLabels(); 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 17: return internalGetMutableResourceLabels(); 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_TableDataProfile_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableDataProfile.class, - com.google.privacy.dlp.v2.TableDataProfile.Builder.class); + com.google.privacy.dlp.v2.TableDataProfile.class, com.google.privacy.dlp.v2.TableDataProfile.Builder.class); } // Construct using com.google.privacy.dlp.v2.TableDataProfile.newBuilder() @@ -2197,18 +1995,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) { getPredictedInfoTypesFieldBuilder(); getOtherInfoTypesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2305,9 +2103,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto - .internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; } @java.lang.Override @@ -2326,8 +2124,7 @@ public com.google.privacy.dlp.v2.TableDataProfile build() { @java.lang.Override public com.google.privacy.dlp.v2.TableDataProfile buildPartial() { - com.google.privacy.dlp.v2.TableDataProfile result = - new com.google.privacy.dlp.v2.TableDataProfile(this); + com.google.privacy.dlp.v2.TableDataProfile result = new com.google.privacy.dlp.v2.TableDataProfile(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.projectDataProfile_ = projectDataProfile_; @@ -2411,39 +2208,38 @@ public com.google.privacy.dlp.v2.TableDataProfile buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TableDataProfile) { - return mergeFrom((com.google.privacy.dlp.v2.TableDataProfile) other); + return mergeFrom((com.google.privacy.dlp.v2.TableDataProfile)other); } else { super.mergeFrom(other); return this; @@ -2510,10 +2306,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TableDataProfile other) { predictedInfoTypesBuilder_ = null; predictedInfoTypes_ = other.predictedInfoTypes_; bitField0_ = (bitField0_ & ~0x00000001); - predictedInfoTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPredictedInfoTypesFieldBuilder() - : null; + predictedInfoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPredictedInfoTypesFieldBuilder() : null; } else { predictedInfoTypesBuilder_.addAllMessages(other.predictedInfoTypes_); } @@ -2537,10 +2332,9 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TableDataProfile other) { otherInfoTypesBuilder_ = null; otherInfoTypes_ = other.otherInfoTypes_; bitField0_ = (bitField0_ & ~0x00000002); - otherInfoTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOtherInfoTypesFieldBuilder() - : null; + otherInfoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOtherInfoTypesFieldBuilder() : null; } else { otherInfoTypesBuilder_.addAllMessages(other.otherInfoTypes_); } @@ -2576,7 +2370,8 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TableDataProfile other) { if (other.hasProfileLastGenerated()) { mergeProfileLastGenerated(other.getProfileLastGenerated()); } - internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels()); + internalGetMutableResourceLabels().mergeFrom( + other.internalGetResourceLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2608,25 +2403,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of the profile.
      * 
* * 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; @@ -2635,21 +2427,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the profile.
      * 
* * 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 { @@ -2657,61 +2448,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the profile.
      * 
* * 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 profile.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the profile.
      * 
* * 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; @@ -2719,20 +2503,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object projectDataProfile_ = ""; /** - * - * *
      * The resource name to the project data profile for this table.
      * 
* * string project_data_profile = 2; - * * @return The projectDataProfile. */ public java.lang.String getProjectDataProfile() { java.lang.Object ref = projectDataProfile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectDataProfile_ = s; return s; @@ -2741,21 +2523,20 @@ public java.lang.String getProjectDataProfile() { } } /** - * - * *
      * The resource name to the project data profile for this table.
      * 
* * string project_data_profile = 2; - * * @return The bytes for projectDataProfile. */ - public com.google.protobuf.ByteString getProjectDataProfileBytes() { + public com.google.protobuf.ByteString + getProjectDataProfileBytes() { java.lang.Object ref = projectDataProfile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectDataProfile_ = b; return b; } else { @@ -2763,61 +2544,54 @@ public com.google.protobuf.ByteString getProjectDataProfileBytes() { } } /** - * - * *
      * The resource name to the project data profile for this table.
      * 
* * string project_data_profile = 2; - * * @param value The projectDataProfile to set. * @return This builder for chaining. */ - public Builder setProjectDataProfile(java.lang.String value) { + public Builder setProjectDataProfile( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectDataProfile_ = value; onChanged(); return this; } /** - * - * *
      * The resource name to the project data profile for this table.
      * 
* * string project_data_profile = 2; - * * @return This builder for chaining. */ public Builder clearProjectDataProfile() { - + projectDataProfile_ = getDefaultInstance().getProjectDataProfile(); onChanged(); return this; } /** - * - * *
      * The resource name to the project data profile for this table.
      * 
* * string project_data_profile = 2; - * * @param value The bytes for projectDataProfile to set. * @return This builder for chaining. */ - public Builder setProjectDataProfileBytes(com.google.protobuf.ByteString value) { + public Builder setProjectDataProfileBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectDataProfile_ = value; onChanged(); return this; @@ -2825,20 +2599,18 @@ public Builder setProjectDataProfileBytes(com.google.protobuf.ByteString value) private java.lang.Object datasetProjectId_ = ""; /** - * - * *
      * The GCP project ID that owns the BigQuery dataset.
      * 
* * string dataset_project_id = 24; - * * @return The datasetProjectId. */ public java.lang.String getDatasetProjectId() { java.lang.Object ref = datasetProjectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetProjectId_ = s; return s; @@ -2847,21 +2619,20 @@ public java.lang.String getDatasetProjectId() { } } /** - * - * *
      * The GCP project ID that owns the BigQuery dataset.
      * 
* * string dataset_project_id = 24; - * * @return The bytes for datasetProjectId. */ - public com.google.protobuf.ByteString getDatasetProjectIdBytes() { + public com.google.protobuf.ByteString + getDatasetProjectIdBytes() { java.lang.Object ref = datasetProjectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetProjectId_ = b; return b; } else { @@ -2869,61 +2640,54 @@ public com.google.protobuf.ByteString getDatasetProjectIdBytes() { } } /** - * - * *
      * The GCP project ID that owns the BigQuery dataset.
      * 
* * string dataset_project_id = 24; - * * @param value The datasetProjectId to set. * @return This builder for chaining. */ - public Builder setDatasetProjectId(java.lang.String value) { + public Builder setDatasetProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetProjectId_ = value; onChanged(); return this; } /** - * - * *
      * The GCP project ID that owns the BigQuery dataset.
      * 
* * string dataset_project_id = 24; - * * @return This builder for chaining. */ public Builder clearDatasetProjectId() { - + datasetProjectId_ = getDefaultInstance().getDatasetProjectId(); onChanged(); return this; } /** - * - * *
      * The GCP project ID that owns the BigQuery dataset.
      * 
* * string dataset_project_id = 24; - * * @param value The bytes for datasetProjectId to set. * @return This builder for chaining. - */ - public Builder setDatasetProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + */ + public Builder setDatasetProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetProjectId_ = value; onChanged(); return this; @@ -2931,8 +2695,6 @@ public Builder setDatasetProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object datasetLocation_ = ""; /** - * - * *
      * The BigQuery location where the dataset's data is stored.
      * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -2940,13 +2702,13 @@ public Builder setDatasetProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string dataset_location = 29; - * * @return The datasetLocation. */ public java.lang.String getDatasetLocation() { java.lang.Object ref = datasetLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetLocation_ = s; return s; @@ -2955,8 +2717,6 @@ public java.lang.String getDatasetLocation() { } } /** - * - * *
      * The BigQuery location where the dataset's data is stored.
      * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -2964,14 +2724,15 @@ public java.lang.String getDatasetLocation() {
      * 
* * string dataset_location = 29; - * * @return The bytes for datasetLocation. */ - public com.google.protobuf.ByteString getDatasetLocationBytes() { + public com.google.protobuf.ByteString + getDatasetLocationBytes() { java.lang.Object ref = datasetLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetLocation_ = b; return b; } else { @@ -2979,8 +2740,6 @@ public com.google.protobuf.ByteString getDatasetLocationBytes() { } } /** - * - * *
      * The BigQuery location where the dataset's data is stored.
      * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -2988,22 +2747,20 @@ public com.google.protobuf.ByteString getDatasetLocationBytes() {
      * 
* * string dataset_location = 29; - * * @param value The datasetLocation to set. * @return This builder for chaining. */ - public Builder setDatasetLocation(java.lang.String value) { + public Builder setDatasetLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetLocation_ = value; onChanged(); return this; } /** - * - * *
      * The BigQuery location where the dataset's data is stored.
      * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -3011,18 +2768,15 @@ public Builder setDatasetLocation(java.lang.String value) {
      * 
* * string dataset_location = 29; - * * @return This builder for chaining. */ public Builder clearDatasetLocation() { - + datasetLocation_ = getDefaultInstance().getDatasetLocation(); onChanged(); return this; } /** - * - * *
      * The BigQuery location where the dataset's data is stored.
      * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -3030,16 +2784,16 @@ public Builder clearDatasetLocation() {
      * 
* * string dataset_location = 29; - * * @param value The bytes for datasetLocation to set. * @return This builder for chaining. */ - public Builder setDatasetLocationBytes(com.google.protobuf.ByteString value) { + public Builder setDatasetLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetLocation_ = value; onChanged(); return this; @@ -3047,20 +2801,18 @@ public Builder setDatasetLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object datasetId_ = ""; /** - * - * *
      * The BigQuery dataset ID.
      * 
* * string dataset_id = 25; - * * @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; @@ -3069,21 +2821,20 @@ public java.lang.String getDatasetId() { } } /** - * - * *
      * The BigQuery dataset ID.
      * 
* * string dataset_id = 25; - * * @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 { @@ -3091,61 +2842,54 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { } } /** - * - * *
      * The BigQuery dataset ID.
      * 
* * string dataset_id = 25; - * * @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; } /** - * - * *
      * The BigQuery dataset ID.
      * 
* * string dataset_id = 25; - * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); return this; } /** - * - * *
      * The BigQuery dataset ID.
      * 
* * string dataset_id = 25; - * * @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; @@ -3153,20 +2897,18 @@ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableId_ = ""; /** - * - * *
      * The BigQuery table ID.
      * 
* * string table_id = 26; - * * @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; @@ -3175,21 +2917,20 @@ public java.lang.String getTableId() { } } /** - * - * *
      * The BigQuery table ID.
      * 
* * string table_id = 26; - * * @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 { @@ -3197,61 +2938,54 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
      * The BigQuery table ID.
      * 
* * string table_id = 26; - * * @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; } /** - * - * *
      * The BigQuery table ID.
      * 
* * string table_id = 26; - * * @return This builder for chaining. */ public Builder clearTableId() { - + tableId_ = getDefaultInstance().getTableId(); onChanged(); return this; } /** - * - * *
      * The BigQuery table ID.
      * 
* * string table_id = 26; - * * @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; @@ -3259,21 +2993,19 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object fullResource_ = ""; /** - * - * *
      * The resource name of the table.
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource = 3; - * * @return The fullResource. */ public java.lang.String getFullResource() { java.lang.Object ref = fullResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResource_ = s; return s; @@ -3282,22 +3014,21 @@ public java.lang.String getFullResource() { } } /** - * - * *
      * The resource name of the table.
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource = 3; - * * @return The bytes for fullResource. */ - public com.google.protobuf.ByteString getFullResourceBytes() { + public com.google.protobuf.ByteString + getFullResourceBytes() { java.lang.Object ref = fullResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); fullResource_ = b; return b; } else { @@ -3305,64 +3036,57 @@ public com.google.protobuf.ByteString getFullResourceBytes() { } } /** - * - * *
      * The resource name of the table.
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource = 3; - * * @param value The fullResource to set. * @return This builder for chaining. */ - public Builder setFullResource(java.lang.String value) { + public Builder setFullResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResource_ = value; onChanged(); return this; } /** - * - * *
      * The resource name of the table.
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource = 3; - * * @return This builder for chaining. */ public Builder clearFullResource() { - + fullResource_ = getDefaultInstance().getFullResource(); onChanged(); return this; } /** - * - * *
      * The resource name of the table.
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource = 3; - * * @param value The bytes for fullResource to set. * @return This builder for chaining. */ - public Builder setFullResourceBytes(com.google.protobuf.ByteString value) { + public Builder setFullResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResource_ = value; onChanged(); return this; @@ -3370,49 +3094,36 @@ public Builder setFullResourceBytes(com.google.protobuf.ByteString value) { private com.google.privacy.dlp.v2.ProfileStatus profileStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ProfileStatus, - com.google.privacy.dlp.v2.ProfileStatus.Builder, - com.google.privacy.dlp.v2.ProfileStatusOrBuilder> - profileStatusBuilder_; + com.google.privacy.dlp.v2.ProfileStatus, com.google.privacy.dlp.v2.ProfileStatus.Builder, com.google.privacy.dlp.v2.ProfileStatusOrBuilder> profileStatusBuilder_; /** - * - * *
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
      * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; - * * @return Whether the profileStatus field is set. */ public boolean hasProfileStatus() { return profileStatusBuilder_ != null || profileStatus_ != null; } /** - * - * *
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
      * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; - * * @return The profileStatus. */ public com.google.privacy.dlp.v2.ProfileStatus getProfileStatus() { if (profileStatusBuilder_ == null) { - return profileStatus_ == null - ? com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance() - : profileStatus_; + return profileStatus_ == null ? com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance() : profileStatus_; } else { return profileStatusBuilder_.getMessage(); } } /** - * - * *
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3434,8 +3145,6 @@ public Builder setProfileStatus(com.google.privacy.dlp.v2.ProfileStatus value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3455,8 +3164,6 @@ public Builder setProfileStatus(
       return this;
     }
     /**
-     *
-     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3468,9 +3175,7 @@ public Builder mergeProfileStatus(com.google.privacy.dlp.v2.ProfileStatus value)
       if (profileStatusBuilder_ == null) {
         if (profileStatus_ != null) {
           profileStatus_ =
-              com.google.privacy.dlp.v2.ProfileStatus.newBuilder(profileStatus_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.privacy.dlp.v2.ProfileStatus.newBuilder(profileStatus_).mergeFrom(value).buildPartial();
         } else {
           profileStatus_ = value;
         }
@@ -3482,8 +3187,6 @@ public Builder mergeProfileStatus(com.google.privacy.dlp.v2.ProfileStatus value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3503,8 +3206,6 @@ public Builder clearProfileStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3513,13 +3214,11 @@ public Builder clearProfileStatus() {
      * .google.privacy.dlp.v2.ProfileStatus profile_status = 21;
      */
     public com.google.privacy.dlp.v2.ProfileStatus.Builder getProfileStatusBuilder() {
-
+      
       onChanged();
       return getProfileStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3531,14 +3230,11 @@ public com.google.privacy.dlp.v2.ProfileStatusOrBuilder getProfileStatusOrBuilde
       if (profileStatusBuilder_ != null) {
         return profileStatusBuilder_.getMessageOrBuilder();
       } else {
-        return profileStatus_ == null
-            ? com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance()
-            : profileStatus_;
+        return profileStatus_ == null ?
+            com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance() : profileStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3547,17 +3243,14 @@ public com.google.privacy.dlp.v2.ProfileStatusOrBuilder getProfileStatusOrBuilde
      * .google.privacy.dlp.v2.ProfileStatus profile_status = 21;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.ProfileStatus,
-            com.google.privacy.dlp.v2.ProfileStatus.Builder,
-            com.google.privacy.dlp.v2.ProfileStatusOrBuilder>
+        com.google.privacy.dlp.v2.ProfileStatus, com.google.privacy.dlp.v2.ProfileStatus.Builder, com.google.privacy.dlp.v2.ProfileStatusOrBuilder> 
         getProfileStatusFieldBuilder() {
       if (profileStatusBuilder_ == null) {
-        profileStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.privacy.dlp.v2.ProfileStatus,
-                com.google.privacy.dlp.v2.ProfileStatus.Builder,
-                com.google.privacy.dlp.v2.ProfileStatusOrBuilder>(
-                getProfileStatus(), getParentForChildren(), isClean());
+        profileStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.privacy.dlp.v2.ProfileStatus, com.google.privacy.dlp.v2.ProfileStatus.Builder, com.google.privacy.dlp.v2.ProfileStatusOrBuilder>(
+                getProfileStatus(),
+                getParentForChildren(),
+                isClean());
         profileStatus_ = null;
       }
       return profileStatusBuilder_;
@@ -3565,67 +3258,51 @@ public com.google.privacy.dlp.v2.ProfileStatusOrBuilder getProfileStatusOrBuilde
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * State of a profile.
      * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; - * * @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 profile.
      * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; - * * @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 profile.
      * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; - * * @return The state. */ @java.lang.Override public com.google.privacy.dlp.v2.TableDataProfile.State getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TableDataProfile.State result = - com.google.privacy.dlp.v2.TableDataProfile.State.valueOf(state_); - return result == null - ? com.google.privacy.dlp.v2.TableDataProfile.State.UNRECOGNIZED - : result; + com.google.privacy.dlp.v2.TableDataProfile.State result = com.google.privacy.dlp.v2.TableDataProfile.State.valueOf(state_); + return result == null ? com.google.privacy.dlp.v2.TableDataProfile.State.UNRECOGNIZED : result; } /** - * - * *
      * State of a profile.
      * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3633,24 +3310,21 @@ public Builder setState(com.google.privacy.dlp.v2.TableDataProfile.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * State of a profile.
      * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3658,47 +3332,34 @@ public Builder clearState() { private com.google.privacy.dlp.v2.SensitivityScore sensitivityScore_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.SensitivityScore, - com.google.privacy.dlp.v2.SensitivityScore.Builder, - com.google.privacy.dlp.v2.SensitivityScoreOrBuilder> - sensitivityScoreBuilder_; + com.google.privacy.dlp.v2.SensitivityScore, com.google.privacy.dlp.v2.SensitivityScore.Builder, com.google.privacy.dlp.v2.SensitivityScoreOrBuilder> sensitivityScoreBuilder_; /** - * - * *
      * The sensitivity score of this table.
      * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; - * * @return Whether the sensitivityScore field is set. */ public boolean hasSensitivityScore() { return sensitivityScoreBuilder_ != null || sensitivityScore_ != null; } /** - * - * *
      * The sensitivity score of this table.
      * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; - * * @return The sensitivityScore. */ public com.google.privacy.dlp.v2.SensitivityScore getSensitivityScore() { if (sensitivityScoreBuilder_ == null) { - return sensitivityScore_ == null - ? com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() - : sensitivityScore_; + return sensitivityScore_ == null ? com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() : sensitivityScore_; } else { return sensitivityScoreBuilder_.getMessage(); } } /** - * - * *
      * The sensitivity score of this table.
      * 
@@ -3719,8 +3380,6 @@ public Builder setSensitivityScore(com.google.privacy.dlp.v2.SensitivityScore va return this; } /** - * - * *
      * The sensitivity score of this table.
      * 
@@ -3739,8 +3398,6 @@ public Builder setSensitivityScore( return this; } /** - * - * *
      * The sensitivity score of this table.
      * 
@@ -3751,9 +3408,7 @@ public Builder mergeSensitivityScore(com.google.privacy.dlp.v2.SensitivityScore if (sensitivityScoreBuilder_ == null) { if (sensitivityScore_ != null) { sensitivityScore_ = - com.google.privacy.dlp.v2.SensitivityScore.newBuilder(sensitivityScore_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.SensitivityScore.newBuilder(sensitivityScore_).mergeFrom(value).buildPartial(); } else { sensitivityScore_ = value; } @@ -3765,8 +3420,6 @@ public Builder mergeSensitivityScore(com.google.privacy.dlp.v2.SensitivityScore return this; } /** - * - * *
      * The sensitivity score of this table.
      * 
@@ -3785,8 +3438,6 @@ public Builder clearSensitivityScore() { return this; } /** - * - * *
      * The sensitivity score of this table.
      * 
@@ -3794,13 +3445,11 @@ public Builder clearSensitivityScore() { * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; */ public com.google.privacy.dlp.v2.SensitivityScore.Builder getSensitivityScoreBuilder() { - + onChanged(); return getSensitivityScoreFieldBuilder().getBuilder(); } /** - * - * *
      * The sensitivity score of this table.
      * 
@@ -3811,14 +3460,11 @@ public com.google.privacy.dlp.v2.SensitivityScoreOrBuilder getSensitivityScoreOr if (sensitivityScoreBuilder_ != null) { return sensitivityScoreBuilder_.getMessageOrBuilder(); } else { - return sensitivityScore_ == null - ? com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() - : sensitivityScore_; + return sensitivityScore_ == null ? + com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() : sensitivityScore_; } } /** - * - * *
      * The sensitivity score of this table.
      * 
@@ -3826,17 +3472,14 @@ public com.google.privacy.dlp.v2.SensitivityScoreOrBuilder getSensitivityScoreOr * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.SensitivityScore, - com.google.privacy.dlp.v2.SensitivityScore.Builder, - com.google.privacy.dlp.v2.SensitivityScoreOrBuilder> + com.google.privacy.dlp.v2.SensitivityScore, com.google.privacy.dlp.v2.SensitivityScore.Builder, com.google.privacy.dlp.v2.SensitivityScoreOrBuilder> getSensitivityScoreFieldBuilder() { if (sensitivityScoreBuilder_ == null) { - sensitivityScoreBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.SensitivityScore, - com.google.privacy.dlp.v2.SensitivityScore.Builder, - com.google.privacy.dlp.v2.SensitivityScoreOrBuilder>( - getSensitivityScore(), getParentForChildren(), isClean()); + sensitivityScoreBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.SensitivityScore, com.google.privacy.dlp.v2.SensitivityScore.Builder, com.google.privacy.dlp.v2.SensitivityScoreOrBuilder>( + getSensitivityScore(), + getParentForChildren(), + isClean()); sensitivityScore_ = null; } return sensitivityScoreBuilder_; @@ -3844,47 +3487,34 @@ public com.google.privacy.dlp.v2.SensitivityScoreOrBuilder getSensitivityScoreOr private com.google.privacy.dlp.v2.DataRiskLevel dataRiskLevel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataRiskLevel, - com.google.privacy.dlp.v2.DataRiskLevel.Builder, - com.google.privacy.dlp.v2.DataRiskLevelOrBuilder> - dataRiskLevelBuilder_; + com.google.privacy.dlp.v2.DataRiskLevel, com.google.privacy.dlp.v2.DataRiskLevel.Builder, com.google.privacy.dlp.v2.DataRiskLevelOrBuilder> dataRiskLevelBuilder_; /** - * - * *
      * The data risk level of this table.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; - * * @return Whether the dataRiskLevel field is set. */ public boolean hasDataRiskLevel() { return dataRiskLevelBuilder_ != null || dataRiskLevel_ != null; } /** - * - * *
      * The data risk level of this table.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; - * * @return The dataRiskLevel. */ public com.google.privacy.dlp.v2.DataRiskLevel getDataRiskLevel() { if (dataRiskLevelBuilder_ == null) { - return dataRiskLevel_ == null - ? com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() - : dataRiskLevel_; + return dataRiskLevel_ == null ? com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() : dataRiskLevel_; } else { return dataRiskLevelBuilder_.getMessage(); } } /** - * - * *
      * The data risk level of this table.
      * 
@@ -3905,8 +3535,6 @@ public Builder setDataRiskLevel(com.google.privacy.dlp.v2.DataRiskLevel value) { return this; } /** - * - * *
      * The data risk level of this table.
      * 
@@ -3925,8 +3553,6 @@ public Builder setDataRiskLevel( return this; } /** - * - * *
      * The data risk level of this table.
      * 
@@ -3937,9 +3563,7 @@ public Builder mergeDataRiskLevel(com.google.privacy.dlp.v2.DataRiskLevel value) if (dataRiskLevelBuilder_ == null) { if (dataRiskLevel_ != null) { dataRiskLevel_ = - com.google.privacy.dlp.v2.DataRiskLevel.newBuilder(dataRiskLevel_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.DataRiskLevel.newBuilder(dataRiskLevel_).mergeFrom(value).buildPartial(); } else { dataRiskLevel_ = value; } @@ -3951,8 +3575,6 @@ public Builder mergeDataRiskLevel(com.google.privacy.dlp.v2.DataRiskLevel value) return this; } /** - * - * *
      * The data risk level of this table.
      * 
@@ -3971,8 +3593,6 @@ public Builder clearDataRiskLevel() { return this; } /** - * - * *
      * The data risk level of this table.
      * 
@@ -3980,13 +3600,11 @@ public Builder clearDataRiskLevel() { * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; */ public com.google.privacy.dlp.v2.DataRiskLevel.Builder getDataRiskLevelBuilder() { - + onChanged(); return getDataRiskLevelFieldBuilder().getBuilder(); } /** - * - * *
      * The data risk level of this table.
      * 
@@ -3997,14 +3615,11 @@ public com.google.privacy.dlp.v2.DataRiskLevelOrBuilder getDataRiskLevelOrBuilde if (dataRiskLevelBuilder_ != null) { return dataRiskLevelBuilder_.getMessageOrBuilder(); } else { - return dataRiskLevel_ == null - ? com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() - : dataRiskLevel_; + return dataRiskLevel_ == null ? + com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() : dataRiskLevel_; } } /** - * - * *
      * The data risk level of this table.
      * 
@@ -4012,42 +3627,32 @@ public com.google.privacy.dlp.v2.DataRiskLevelOrBuilder getDataRiskLevelOrBuilde * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataRiskLevel, - com.google.privacy.dlp.v2.DataRiskLevel.Builder, - com.google.privacy.dlp.v2.DataRiskLevelOrBuilder> + com.google.privacy.dlp.v2.DataRiskLevel, com.google.privacy.dlp.v2.DataRiskLevel.Builder, com.google.privacy.dlp.v2.DataRiskLevelOrBuilder> getDataRiskLevelFieldBuilder() { if (dataRiskLevelBuilder_ == null) { - dataRiskLevelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataRiskLevel, - com.google.privacy.dlp.v2.DataRiskLevel.Builder, - com.google.privacy.dlp.v2.DataRiskLevelOrBuilder>( - getDataRiskLevel(), getParentForChildren(), isClean()); + dataRiskLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataRiskLevel, com.google.privacy.dlp.v2.DataRiskLevel.Builder, com.google.privacy.dlp.v2.DataRiskLevelOrBuilder>( + getDataRiskLevel(), + getParentForChildren(), + isClean()); dataRiskLevel_ = null; } return dataRiskLevelBuilder_; } private java.util.List predictedInfoTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePredictedInfoTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - predictedInfoTypes_ = - new java.util.ArrayList(predictedInfoTypes_); + predictedInfoTypes_ = new java.util.ArrayList(predictedInfoTypes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeSummary, - com.google.privacy.dlp.v2.InfoTypeSummary.Builder, - com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder> - predictedInfoTypesBuilder_; + com.google.privacy.dlp.v2.InfoTypeSummary, com.google.privacy.dlp.v2.InfoTypeSummary.Builder, com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder> predictedInfoTypesBuilder_; /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4062,8 +3667,6 @@ public java.util.List getPredictedInf } } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4078,8 +3681,6 @@ public int getPredictedInfoTypesCount() { } } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4094,8 +3695,6 @@ public com.google.privacy.dlp.v2.InfoTypeSummary getPredictedInfoTypes(int index } } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4117,8 +3716,6 @@ public Builder setPredictedInfoTypes( return this; } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4137,8 +3734,6 @@ public Builder setPredictedInfoTypes( return this; } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4159,8 +3754,6 @@ public Builder addPredictedInfoTypes(com.google.privacy.dlp.v2.InfoTypeSummary v return this; } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4182,8 +3775,6 @@ public Builder addPredictedInfoTypes( return this; } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4202,8 +3793,6 @@ public Builder addPredictedInfoTypes( return this; } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4222,8 +3811,6 @@ public Builder addPredictedInfoTypes( return this; } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4234,7 +3821,8 @@ public Builder addAllPredictedInfoTypes( java.lang.Iterable values) { if (predictedInfoTypesBuilder_ == null) { ensurePredictedInfoTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, predictedInfoTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, predictedInfoTypes_); onChanged(); } else { predictedInfoTypesBuilder_.addAllMessages(values); @@ -4242,8 +3830,6 @@ public Builder addAllPredictedInfoTypes( return this; } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4261,8 +3847,6 @@ public Builder clearPredictedInfoTypes() { return this; } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4280,8 +3864,6 @@ public Builder removePredictedInfoTypes(int index) { return this; } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4293,8 +3875,6 @@ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder getPredictedInfoTypesBu return getPredictedInfoTypesFieldBuilder().getBuilder(index); } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4304,22 +3884,19 @@ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder getPredictedInfoTypesBu public com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesOrBuilder( int index) { if (predictedInfoTypesBuilder_ == null) { - return predictedInfoTypes_.get(index); - } else { + return predictedInfoTypes_.get(index); } else { return predictedInfoTypesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ - public java.util.List - getPredictedInfoTypesOrBuilderList() { + public java.util.List + getPredictedInfoTypesOrBuilderList() { if (predictedInfoTypesBuilder_ != null) { return predictedInfoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -4327,8 +3904,6 @@ public com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesO } } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4336,12 +3911,10 @@ public com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesO * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder addPredictedInfoTypesBuilder() { - return getPredictedInfoTypesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.InfoTypeSummary.getDefaultInstance()); + return getPredictedInfoTypesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.InfoTypeSummary.getDefaultInstance()); } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
@@ -4350,34 +3923,26 @@ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder addPredictedInfoTypesBu */ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder addPredictedInfoTypesBuilder( int index) { - return getPredictedInfoTypesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.InfoTypeSummary.getDefaultInstance()); + return getPredictedInfoTypesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.InfoTypeSummary.getDefaultInstance()); } /** - * - * *
      * The infoTypes predicted from this table's data.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ - public java.util.List - getPredictedInfoTypesBuilderList() { + public java.util.List + getPredictedInfoTypesBuilderList() { return getPredictedInfoTypesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeSummary, - com.google.privacy.dlp.v2.InfoTypeSummary.Builder, - com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder> + com.google.privacy.dlp.v2.InfoTypeSummary, com.google.privacy.dlp.v2.InfoTypeSummary.Builder, com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder> getPredictedInfoTypesFieldBuilder() { if (predictedInfoTypesBuilder_ == null) { - predictedInfoTypesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeSummary, - com.google.privacy.dlp.v2.InfoTypeSummary.Builder, - com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder>( + predictedInfoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoTypeSummary, com.google.privacy.dlp.v2.InfoTypeSummary.Builder, com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder>( predictedInfoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4388,26 +3953,18 @@ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder addPredictedInfoTypesBu } private java.util.List otherInfoTypes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOtherInfoTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - otherInfoTypes_ = - new java.util.ArrayList( - otherInfoTypes_); + otherInfoTypes_ = new java.util.ArrayList(otherInfoTypes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.OtherInfoTypeSummary, - com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, - com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder> - otherInfoTypesBuilder_; + com.google.privacy.dlp.v2.OtherInfoTypeSummary, com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder> otherInfoTypesBuilder_; /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4422,8 +3979,6 @@ public java.util.List getOtherIn } } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4438,8 +3993,6 @@ public int getOtherInfoTypesCount() { } } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4454,8 +4007,6 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary getOtherInfoTypes(int inde } } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4477,8 +4028,6 @@ public Builder setOtherInfoTypes( return this; } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4497,8 +4046,6 @@ public Builder setOtherInfoTypes( return this; } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4519,8 +4066,6 @@ public Builder addOtherInfoTypes(com.google.privacy.dlp.v2.OtherInfoTypeSummary return this; } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4542,8 +4087,6 @@ public Builder addOtherInfoTypes( return this; } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4562,8 +4105,6 @@ public Builder addOtherInfoTypes( return this; } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4582,8 +4123,6 @@ public Builder addOtherInfoTypes( return this; } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4594,7 +4133,8 @@ public Builder addAllOtherInfoTypes( java.lang.Iterable values) { if (otherInfoTypesBuilder_ == null) { ensureOtherInfoTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, otherInfoTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, otherInfoTypes_); onChanged(); } else { otherInfoTypesBuilder_.addAllMessages(values); @@ -4602,8 +4142,6 @@ public Builder addAllOtherInfoTypes( return this; } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4621,8 +4159,6 @@ public Builder clearOtherInfoTypes() { return this; } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4640,8 +4176,6 @@ public Builder removeOtherInfoTypes(int index) { return this; } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4653,8 +4187,6 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder getOtherInfoTypesB return getOtherInfoTypesFieldBuilder().getBuilder(index); } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4664,22 +4196,19 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder getOtherInfoTypesB public com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuilder( int index) { if (otherInfoTypesBuilder_ == null) { - return otherInfoTypes_.get(index); - } else { + return otherInfoTypes_.get(index); } else { return otherInfoTypesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
* * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ - public java.util.List - getOtherInfoTypesOrBuilderList() { + public java.util.List + getOtherInfoTypesOrBuilderList() { if (otherInfoTypesBuilder_ != null) { return otherInfoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -4687,8 +4216,6 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypes } } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4696,12 +4223,10 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypes * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder addOtherInfoTypesBuilder() { - return getOtherInfoTypesFieldBuilder() - .addBuilder(com.google.privacy.dlp.v2.OtherInfoTypeSummary.getDefaultInstance()); + return getOtherInfoTypesFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.OtherInfoTypeSummary.getDefaultInstance()); } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
@@ -4710,34 +4235,26 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder addOtherInfoTypesB */ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder addOtherInfoTypesBuilder( int index) { - return getOtherInfoTypesFieldBuilder() - .addBuilder(index, com.google.privacy.dlp.v2.OtherInfoTypeSummary.getDefaultInstance()); + return getOtherInfoTypesFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.OtherInfoTypeSummary.getDefaultInstance()); } /** - * - * *
      * Other infoTypes found in this table's data.
      * 
* * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ - public java.util.List - getOtherInfoTypesBuilderList() { + public java.util.List + getOtherInfoTypesBuilderList() { return getOtherInfoTypesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.OtherInfoTypeSummary, - com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, - com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder> + com.google.privacy.dlp.v2.OtherInfoTypeSummary, com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder> getOtherInfoTypesFieldBuilder() { if (otherInfoTypesBuilder_ == null) { - otherInfoTypesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.OtherInfoTypeSummary, - com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, - com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder>( + otherInfoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.OtherInfoTypeSummary, com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder>( otherInfoTypes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4749,47 +4266,34 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder addOtherInfoTypesB private com.google.privacy.dlp.v2.DataProfileConfigSnapshot configSnapshot_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileConfigSnapshot, - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, - com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder> - configSnapshotBuilder_; + com.google.privacy.dlp.v2.DataProfileConfigSnapshot, com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder> configSnapshotBuilder_; /** - * - * *
      * The snapshot of the configurations used to generate the profile.
      * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; - * * @return Whether the configSnapshot field is set. */ public boolean hasConfigSnapshot() { return configSnapshotBuilder_ != null || configSnapshot_ != null; } /** - * - * *
      * The snapshot of the configurations used to generate the profile.
      * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; - * * @return The configSnapshot. */ public com.google.privacy.dlp.v2.DataProfileConfigSnapshot getConfigSnapshot() { if (configSnapshotBuilder_ == null) { - return configSnapshot_ == null - ? com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() - : configSnapshot_; + return configSnapshot_ == null ? com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() : configSnapshot_; } else { return configSnapshotBuilder_.getMessage(); } } /** - * - * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4810,8 +4314,6 @@ public Builder setConfigSnapshot(com.google.privacy.dlp.v2.DataProfileConfigSnap return this; } /** - * - * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4830,8 +4332,6 @@ public Builder setConfigSnapshot( return this; } /** - * - * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4842,9 +4342,7 @@ public Builder mergeConfigSnapshot(com.google.privacy.dlp.v2.DataProfileConfigSn if (configSnapshotBuilder_ == null) { if (configSnapshot_ != null) { configSnapshot_ = - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.newBuilder(configSnapshot_) - .mergeFrom(value) - .buildPartial(); + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.newBuilder(configSnapshot_).mergeFrom(value).buildPartial(); } else { configSnapshot_ = value; } @@ -4856,8 +4354,6 @@ public Builder mergeConfigSnapshot(com.google.privacy.dlp.v2.DataProfileConfigSn return this; } /** - * - * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4876,8 +4372,6 @@ public Builder clearConfigSnapshot() { return this; } /** - * - * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4885,32 +4379,26 @@ public Builder clearConfigSnapshot() { * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; */ public com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder getConfigSnapshotBuilder() { - + onChanged(); return getConfigSnapshotFieldBuilder().getBuilder(); } /** - * - * *
      * The snapshot of the configurations used to generate the profile.
      * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; */ - public com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder - getConfigSnapshotOrBuilder() { + public com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder getConfigSnapshotOrBuilder() { if (configSnapshotBuilder_ != null) { return configSnapshotBuilder_.getMessageOrBuilder(); } else { - return configSnapshot_ == null - ? com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() - : configSnapshot_; + return configSnapshot_ == null ? + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() : configSnapshot_; } } /** - * - * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4918,17 +4406,14 @@ public com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder getConfigSnap * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileConfigSnapshot, - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, - com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder> + com.google.privacy.dlp.v2.DataProfileConfigSnapshot, com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder> getConfigSnapshotFieldBuilder() { if (configSnapshotBuilder_ == null) { - configSnapshotBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileConfigSnapshot, - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, - com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder>( - getConfigSnapshot(), getParentForChildren(), isClean()); + configSnapshotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileConfigSnapshot, com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder>( + getConfigSnapshot(), + getParentForChildren(), + isClean()); configSnapshot_ = null; } return configSnapshotBuilder_; @@ -4936,47 +4421,34 @@ public com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder getConfigSnap private com.google.protobuf.Timestamp lastModifiedTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastModifiedTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastModifiedTimeBuilder_; /** - * - * *
      * The time when this table was last modified
      * 
* * .google.protobuf.Timestamp last_modified_time = 8; - * * @return Whether the lastModifiedTime field is set. */ public boolean hasLastModifiedTime() { return lastModifiedTimeBuilder_ != null || lastModifiedTime_ != null; } /** - * - * *
      * The time when this table was last modified
      * 
* * .google.protobuf.Timestamp last_modified_time = 8; - * * @return The lastModifiedTime. */ public com.google.protobuf.Timestamp getLastModifiedTime() { if (lastModifiedTimeBuilder_ == null) { - return lastModifiedTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastModifiedTime_; + return lastModifiedTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedTime_; } else { return lastModifiedTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when this table was last modified
      * 
@@ -4997,15 +4469,14 @@ public Builder setLastModifiedTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when this table was last modified
      * 
* * .google.protobuf.Timestamp last_modified_time = 8; */ - public Builder setLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastModifiedTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastModifiedTimeBuilder_ == null) { lastModifiedTime_ = builderForValue.build(); onChanged(); @@ -5016,8 +4487,6 @@ public Builder setLastModifiedTime(com.google.protobuf.Timestamp.Builder builder return this; } /** - * - * *
      * The time when this table was last modified
      * 
@@ -5028,9 +4497,7 @@ public Builder mergeLastModifiedTime(com.google.protobuf.Timestamp value) { if (lastModifiedTimeBuilder_ == null) { if (lastModifiedTime_ != null) { lastModifiedTime_ = - com.google.protobuf.Timestamp.newBuilder(lastModifiedTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastModifiedTime_).mergeFrom(value).buildPartial(); } else { lastModifiedTime_ = value; } @@ -5042,8 +4509,6 @@ public Builder mergeLastModifiedTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when this table was last modified
      * 
@@ -5062,8 +4527,6 @@ public Builder clearLastModifiedTime() { return this; } /** - * - * *
      * The time when this table was last modified
      * 
@@ -5071,13 +4534,11 @@ public Builder clearLastModifiedTime() { * .google.protobuf.Timestamp last_modified_time = 8; */ public com.google.protobuf.Timestamp.Builder getLastModifiedTimeBuilder() { - + onChanged(); return getLastModifiedTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when this table was last modified
      * 
@@ -5088,14 +4549,11 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder() { if (lastModifiedTimeBuilder_ != null) { return lastModifiedTimeBuilder_.getMessageOrBuilder(); } else { - return lastModifiedTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastModifiedTime_; + return lastModifiedTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedTime_; } } /** - * - * *
      * The time when this table was last modified
      * 
@@ -5103,17 +4561,14 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder() { * .google.protobuf.Timestamp last_modified_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> getLastModifiedTimeFieldBuilder() { if (lastModifiedTimeBuilder_ == null) { - lastModifiedTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastModifiedTime(), getParentForChildren(), isClean()); + lastModifiedTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastModifiedTime(), + getParentForChildren(), + isClean()); lastModifiedTime_ = null; } return lastModifiedTimeBuilder_; @@ -5121,47 +4576,34 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder() { private com.google.protobuf.Timestamp expirationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expirationTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expirationTimeBuilder_; /** - * - * *
      * Optional. The time when this table expires.
      * 
* * .google.protobuf.Timestamp expiration_time = 9; - * * @return Whether the expirationTime field is set. */ public boolean hasExpirationTime() { return expirationTimeBuilder_ != null || expirationTime_ != null; } /** - * - * *
      * Optional. The time when this table expires.
      * 
* * .google.protobuf.Timestamp expiration_time = 9; - * * @return The expirationTime. */ public com.google.protobuf.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** - * - * *
      * Optional. The time when this table expires.
      * 
@@ -5182,15 +4624,14 @@ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The time when this table expires.
      * 
* * .google.protobuf.Timestamp expiration_time = 9; */ - public Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpirationTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); onChanged(); @@ -5201,8 +4642,6 @@ public Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Optional. The time when this table expires.
      * 
@@ -5213,9 +4652,7 @@ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { if (expirationTime_ != null) { expirationTime_ = - com.google.protobuf.Timestamp.newBuilder(expirationTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); } else { expirationTime_ = value; } @@ -5227,8 +4664,6 @@ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Optional. The time when this table expires.
      * 
@@ -5247,8 +4682,6 @@ public Builder clearExpirationTime() { return this; } /** - * - * *
      * Optional. The time when this table expires.
      * 
@@ -5256,13 +4689,11 @@ public Builder clearExpirationTime() { * .google.protobuf.Timestamp expiration_time = 9; */ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { - + onChanged(); return getExpirationTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The time when this table expires.
      * 
@@ -5273,14 +4704,11 @@ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { - return expirationTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expirationTime_; + return expirationTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; } } /** - * - * *
      * Optional. The time when this table expires.
      * 
@@ -5288,32 +4716,26 @@ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { * .google.protobuf.Timestamp expiration_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { - expirationTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpirationTime(), getParentForChildren(), isClean()); + expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpirationTime(), + getParentForChildren(), + isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } - private long scannedColumnCount_; + private long scannedColumnCount_ ; /** - * - * *
      * The number of columns profiled in the table.
      * 
* * int64 scanned_column_count = 10; - * * @return The scannedColumnCount. */ @java.lang.Override @@ -5321,51 +4743,42 @@ public long getScannedColumnCount() { return scannedColumnCount_; } /** - * - * *
      * The number of columns profiled in the table.
      * 
* * int64 scanned_column_count = 10; - * * @param value The scannedColumnCount to set. * @return This builder for chaining. */ public Builder setScannedColumnCount(long value) { - + scannedColumnCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of columns profiled in the table.
      * 
* * int64 scanned_column_count = 10; - * * @return This builder for chaining. */ public Builder clearScannedColumnCount() { - + scannedColumnCount_ = 0L; onChanged(); return this; } - private long failedColumnCount_; + private long failedColumnCount_ ; /** - * - * *
      * The number of columns skipped in the table because of an error.
      * 
* * int64 failed_column_count = 11; - * * @return The failedColumnCount. */ @java.lang.Override @@ -5373,51 +4786,42 @@ public long getFailedColumnCount() { return failedColumnCount_; } /** - * - * *
      * The number of columns skipped in the table because of an error.
      * 
* * int64 failed_column_count = 11; - * * @param value The failedColumnCount to set. * @return This builder for chaining. */ public Builder setFailedColumnCount(long value) { - + failedColumnCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of columns skipped in the table because of an error.
      * 
* * int64 failed_column_count = 11; - * * @return This builder for chaining. */ public Builder clearFailedColumnCount() { - + failedColumnCount_ = 0L; onChanged(); return this; } - private long tableSizeBytes_; + private long tableSizeBytes_ ; /** - * - * *
      * The size of the table when the profile was generated.
      * 
* * int64 table_size_bytes = 12; - * * @return The tableSizeBytes. */ @java.lang.Override @@ -5425,51 +4829,42 @@ public long getTableSizeBytes() { return tableSizeBytes_; } /** - * - * *
      * The size of the table when the profile was generated.
      * 
* * int64 table_size_bytes = 12; - * * @param value The tableSizeBytes to set. * @return This builder for chaining. */ public Builder setTableSizeBytes(long value) { - + tableSizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * The size of the table when the profile was generated.
      * 
* * int64 table_size_bytes = 12; - * * @return This builder for chaining. */ public Builder clearTableSizeBytes() { - + tableSizeBytes_ = 0L; onChanged(); return this; } - private long rowCount_; + private long rowCount_ ; /** - * - * *
      * Number of rows in the table when the profile was generated.
      * 
* * int64 row_count = 13; - * * @return The rowCount. */ @java.lang.Override @@ -5477,36 +4872,30 @@ public long getRowCount() { return rowCount_; } /** - * - * *
      * Number of rows in the table when the profile was generated.
      * 
* * int64 row_count = 13; - * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * Number of rows in the table when the profile was generated.
      * 
* * int64 row_count = 13; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; @@ -5514,65 +4903,51 @@ public Builder clearRowCount() { private int encryptionStatus_ = 0; /** - * - * *
      * How the table is encrypted.
      * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; - * * @return The enum numeric value on the wire for encryptionStatus. */ - @java.lang.Override - public int getEncryptionStatusValue() { + @java.lang.Override public int getEncryptionStatusValue() { return encryptionStatus_; } /** - * - * *
      * How the table is encrypted.
      * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; - * * @param value The enum numeric value on the wire for encryptionStatus to set. * @return This builder for chaining. */ public Builder setEncryptionStatusValue(int value) { - + encryptionStatus_ = value; onChanged(); return this; } /** - * - * *
      * How the table is encrypted.
      * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; - * * @return The encryptionStatus. */ @java.lang.Override public com.google.privacy.dlp.v2.EncryptionStatus getEncryptionStatus() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.EncryptionStatus result = - com.google.privacy.dlp.v2.EncryptionStatus.valueOf(encryptionStatus_); + com.google.privacy.dlp.v2.EncryptionStatus result = com.google.privacy.dlp.v2.EncryptionStatus.valueOf(encryptionStatus_); return result == null ? com.google.privacy.dlp.v2.EncryptionStatus.UNRECOGNIZED : result; } /** - * - * *
      * How the table is encrypted.
      * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; - * * @param value The encryptionStatus to set. * @return This builder for chaining. */ @@ -5580,24 +4955,21 @@ public Builder setEncryptionStatus(com.google.privacy.dlp.v2.EncryptionStatus va if (value == null) { throw new NullPointerException(); } - + encryptionStatus_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * How the table is encrypted.
      * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; - * * @return This builder for chaining. */ public Builder clearEncryptionStatus() { - + encryptionStatus_ = 0; onChanged(); return this; @@ -5605,65 +4977,51 @@ public Builder clearEncryptionStatus() { private int resourceVisibility_ = 0; /** - * - * *
      * How broadly a resource has been shared.
      * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; - * * @return The enum numeric value on the wire for resourceVisibility. */ - @java.lang.Override - public int getResourceVisibilityValue() { + @java.lang.Override public int getResourceVisibilityValue() { return resourceVisibility_; } /** - * - * *
      * How broadly a resource has been shared.
      * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; - * * @param value The enum numeric value on the wire for resourceVisibility to set. * @return This builder for chaining. */ public Builder setResourceVisibilityValue(int value) { - + resourceVisibility_ = value; onChanged(); return this; } /** - * - * *
      * How broadly a resource has been shared.
      * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; - * * @return The resourceVisibility. */ @java.lang.Override public com.google.privacy.dlp.v2.ResourceVisibility getResourceVisibility() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.ResourceVisibility result = - com.google.privacy.dlp.v2.ResourceVisibility.valueOf(resourceVisibility_); + com.google.privacy.dlp.v2.ResourceVisibility result = com.google.privacy.dlp.v2.ResourceVisibility.valueOf(resourceVisibility_); return result == null ? com.google.privacy.dlp.v2.ResourceVisibility.UNRECOGNIZED : result; } /** - * - * *
      * How broadly a resource has been shared.
      * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; - * * @param value The resourceVisibility to set. * @return This builder for chaining. */ @@ -5671,24 +5029,21 @@ public Builder setResourceVisibility(com.google.privacy.dlp.v2.ResourceVisibilit if (value == null) { throw new NullPointerException(); } - + resourceVisibility_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * How broadly a resource has been shared.
      * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; - * * @return This builder for chaining. */ public Builder clearResourceVisibility() { - + resourceVisibility_ = 0; onChanged(); return this; @@ -5696,47 +5051,34 @@ public Builder clearResourceVisibility() { private com.google.protobuf.Timestamp profileLastGenerated_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - profileLastGeneratedBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> profileLastGeneratedBuilder_; /** - * - * *
      * The last time the profile was generated.
      * 
* * .google.protobuf.Timestamp profile_last_generated = 16; - * * @return Whether the profileLastGenerated field is set. */ public boolean hasProfileLastGenerated() { return profileLastGeneratedBuilder_ != null || profileLastGenerated_ != null; } /** - * - * *
      * The last time the profile was generated.
      * 
* * .google.protobuf.Timestamp profile_last_generated = 16; - * * @return The profileLastGenerated. */ public com.google.protobuf.Timestamp getProfileLastGenerated() { if (profileLastGeneratedBuilder_ == null) { - return profileLastGenerated_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : profileLastGenerated_; + return profileLastGenerated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : profileLastGenerated_; } else { return profileLastGeneratedBuilder_.getMessage(); } } /** - * - * *
      * The last time the profile was generated.
      * 
@@ -5757,15 +5099,14 @@ public Builder setProfileLastGenerated(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last time the profile was generated.
      * 
* * .google.protobuf.Timestamp profile_last_generated = 16; */ - public Builder setProfileLastGenerated(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setProfileLastGenerated( + com.google.protobuf.Timestamp.Builder builderForValue) { if (profileLastGeneratedBuilder_ == null) { profileLastGenerated_ = builderForValue.build(); onChanged(); @@ -5776,8 +5117,6 @@ public Builder setProfileLastGenerated(com.google.protobuf.Timestamp.Builder bui return this; } /** - * - * *
      * The last time the profile was generated.
      * 
@@ -5788,9 +5127,7 @@ public Builder mergeProfileLastGenerated(com.google.protobuf.Timestamp value) { if (profileLastGeneratedBuilder_ == null) { if (profileLastGenerated_ != null) { profileLastGenerated_ = - com.google.protobuf.Timestamp.newBuilder(profileLastGenerated_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(profileLastGenerated_).mergeFrom(value).buildPartial(); } else { profileLastGenerated_ = value; } @@ -5802,8 +5139,6 @@ public Builder mergeProfileLastGenerated(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The last time the profile was generated.
      * 
@@ -5822,8 +5157,6 @@ public Builder clearProfileLastGenerated() { return this; } /** - * - * *
      * The last time the profile was generated.
      * 
@@ -5831,13 +5164,11 @@ public Builder clearProfileLastGenerated() { * .google.protobuf.Timestamp profile_last_generated = 16; */ public com.google.protobuf.Timestamp.Builder getProfileLastGeneratedBuilder() { - + onChanged(); return getProfileLastGeneratedFieldBuilder().getBuilder(); } /** - * - * *
      * The last time the profile was generated.
      * 
@@ -5848,14 +5179,11 @@ public com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder() if (profileLastGeneratedBuilder_ != null) { return profileLastGeneratedBuilder_.getMessageOrBuilder(); } else { - return profileLastGenerated_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : profileLastGenerated_; + return profileLastGenerated_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : profileLastGenerated_; } } /** - * - * *
      * The last time the profile was generated.
      * 
@@ -5863,40 +5191,35 @@ public com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder() * .google.protobuf.Timestamp profile_last_generated = 16; */ 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> getProfileLastGeneratedFieldBuilder() { if (profileLastGeneratedBuilder_ == null) { - profileLastGeneratedBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getProfileLastGenerated(), getParentForChildren(), isClean()); + profileLastGeneratedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getProfileLastGenerated(), + getParentForChildren(), + isClean()); profileLastGenerated_ = null; } return profileLastGeneratedBuilder_; } - private com.google.protobuf.MapField resourceLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } - private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged(); - ; + internalGetMutableResourceLabels() { + onChanged();; if (resourceLabels_ == null) { - resourceLabels_ = - com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = com.google.protobuf.MapField.newMapField( + ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -5908,30 +5231,28 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
      * The labels applied to the resource at the time the profile was generated.
      * 
* * map<string, string> resource_labels = 17; */ + @java.lang.Override - public boolean containsResourceLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsResourceLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetResourceLabels().getMap().containsKey(key); } - /** Use {@link #getResourceLabelsMap()} instead. */ + /** + * Use {@link #getResourceLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** - * - * *
      * The labels applied to the resource at the time the profile was generated.
      * 
@@ -5939,12 +5260,11 @@ public java.util.Map getResourceLabels() { * map<string, string> resource_labels = 17; */ @java.lang.Override + public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** - * - * *
      * The labels applied to the resource at the time the profile was generated.
      * 
@@ -5952,17 +5272,16 @@ public java.util.Map getResourceLabelsMap() * map<string, string> resource_labels = 17; */ @java.lang.Override + public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * The labels applied to the resource at the time the profile was generated.
      * 
@@ -5970,11 +5289,12 @@ public java.lang.String getResourceLabelsOrDefault( * map<string, string> resource_labels = 17; */ @java.lang.Override - public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + + public java.lang.String getResourceLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -5982,107 +5302,97 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { } public Builder clearResourceLabels() { - internalGetMutableResourceLabels().getMutableMap().clear(); + internalGetMutableResourceLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * The labels applied to the resource at the time the profile was generated.
      * 
* * map<string, string> resource_labels = 17; */ - public Builder removeResourceLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableResourceLabels().getMutableMap().remove(key); + + public Builder removeResourceLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableResourceLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableResourceLabels() { + public java.util.Map + getMutableResourceLabels() { return internalGetMutableResourceLabels().getMutableMap(); } /** - * - * *
      * The labels applied to the resource at the time the profile was generated.
      * 
* * map<string, string> resource_labels = 17; */ - public Builder putResourceLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putResourceLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableResourceLabels().getMutableMap().put(key, value); + internalGetMutableResourceLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * The labels applied to the resource at the time the profile was generated.
      * 
* * map<string, string> resource_labels = 17; */ - public Builder putAllResourceLabels(java.util.Map values) { - internalGetMutableResourceLabels().getMutableMap().putAll(values); + + public Builder putAllResourceLabels( + java.util.Map values) { + internalGetMutableResourceLabels().getMutableMap() + .putAll(values); return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time at which the table was created.
      * 
* * .google.protobuf.Timestamp create_time = 23; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time at which the table was created.
      * 
* * .google.protobuf.Timestamp create_time = 23; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the table was created.
      * 
@@ -6103,15 +5413,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the table was created.
      * 
* * .google.protobuf.Timestamp create_time = 23; */ - 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(); @@ -6122,8 +5431,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the table was created.
      * 
@@ -6134,7 +5441,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; } @@ -6146,8 +5453,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the table was created.
      * 
@@ -6166,8 +5471,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time at which the table was created.
      * 
@@ -6175,13 +5478,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 23; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the table was created.
      * 
@@ -6192,14 +5493,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time at which the table was created.
      * 
@@ -6207,24 +5505,21 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 23; */ 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); } @@ -6234,12 +5529,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TableDataProfile) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TableDataProfile) private static final com.google.privacy.dlp.v2.TableDataProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TableDataProfile(); } @@ -6248,16 +5543,16 @@ public static com.google.privacy.dlp.v2.TableDataProfile getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableDataProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TableDataProfile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableDataProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TableDataProfile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6272,4 +5567,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TableDataProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java similarity index 85% rename from proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java index b5e09cf9..8f69c540 100644 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java @@ -1,106 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under 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 TableDataProfileOrBuilder - extends +public interface TableDataProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TableDataProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the profile.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the profile.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The resource name to the project data profile for this table.
    * 
* * string project_data_profile = 2; - * * @return The projectDataProfile. */ java.lang.String getProjectDataProfile(); /** - * - * *
    * The resource name to the project data profile for this table.
    * 
* * string project_data_profile = 2; - * * @return The bytes for projectDataProfile. */ - com.google.protobuf.ByteString getProjectDataProfileBytes(); + com.google.protobuf.ByteString + getProjectDataProfileBytes(); /** - * - * *
    * The GCP project ID that owns the BigQuery dataset.
    * 
* * string dataset_project_id = 24; - * * @return The datasetProjectId. */ java.lang.String getDatasetProjectId(); /** - * - * *
    * The GCP project ID that owns the BigQuery dataset.
    * 
* * string dataset_project_id = 24; - * * @return The bytes for datasetProjectId. */ - com.google.protobuf.ByteString getDatasetProjectIdBytes(); + com.google.protobuf.ByteString + getDatasetProjectIdBytes(); /** - * - * *
    * The BigQuery location where the dataset's data is stored.
    * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -108,13 +75,10 @@ public interface TableDataProfileOrBuilder
    * 
* * string dataset_location = 29; - * * @return The datasetLocation. */ java.lang.String getDatasetLocation(); /** - * - * *
    * The BigQuery location where the dataset's data is stored.
    * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -122,117 +86,94 @@ public interface TableDataProfileOrBuilder
    * 
* * string dataset_location = 29; - * * @return The bytes for datasetLocation. */ - com.google.protobuf.ByteString getDatasetLocationBytes(); + com.google.protobuf.ByteString + getDatasetLocationBytes(); /** - * - * *
    * The BigQuery dataset ID.
    * 
* * string dataset_id = 25; - * * @return The datasetId. */ java.lang.String getDatasetId(); /** - * - * *
    * The BigQuery dataset ID.
    * 
* * string dataset_id = 25; - * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString getDatasetIdBytes(); + com.google.protobuf.ByteString + getDatasetIdBytes(); /** - * - * *
    * The BigQuery table ID.
    * 
* * string table_id = 26; - * * @return The tableId. */ java.lang.String getTableId(); /** - * - * *
    * The BigQuery table ID.
    * 
* * string table_id = 26; - * * @return The bytes for tableId. */ - com.google.protobuf.ByteString getTableIdBytes(); + com.google.protobuf.ByteString + getTableIdBytes(); /** - * - * *
    * The resource name of the table.
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource = 3; - * * @return The fullResource. */ java.lang.String getFullResource(); /** - * - * *
    * The resource name of the table.
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource = 3; - * * @return The bytes for fullResource. */ - com.google.protobuf.ByteString getFullResourceBytes(); + com.google.protobuf.ByteString + getFullResourceBytes(); /** - * - * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
    * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; - * * @return Whether the profileStatus field is set. */ boolean hasProfileStatus(); /** - * - * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
    * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; - * * @return The profileStatus. */ com.google.privacy.dlp.v2.ProfileStatus getProfileStatus(); /** - * - * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
@@ -243,57 +184,43 @@ public interface TableDataProfileOrBuilder
   com.google.privacy.dlp.v2.ProfileStatusOrBuilder getProfileStatusOrBuilder();
 
   /**
-   *
-   *
    * 
    * State of a profile.
    * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * State of a profile.
    * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; - * * @return The state. */ com.google.privacy.dlp.v2.TableDataProfile.State getState(); /** - * - * *
    * The sensitivity score of this table.
    * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; - * * @return Whether the sensitivityScore field is set. */ boolean hasSensitivityScore(); /** - * - * *
    * The sensitivity score of this table.
    * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; - * * @return The sensitivityScore. */ com.google.privacy.dlp.v2.SensitivityScore getSensitivityScore(); /** - * - * *
    * The sensitivity score of this table.
    * 
@@ -303,32 +230,24 @@ public interface TableDataProfileOrBuilder com.google.privacy.dlp.v2.SensitivityScoreOrBuilder getSensitivityScoreOrBuilder(); /** - * - * *
    * The data risk level of this table.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; - * * @return Whether the dataRiskLevel field is set. */ boolean hasDataRiskLevel(); /** - * - * *
    * The data risk level of this table.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; - * * @return The dataRiskLevel. */ com.google.privacy.dlp.v2.DataRiskLevel getDataRiskLevel(); /** - * - * *
    * The data risk level of this table.
    * 
@@ -338,18 +257,15 @@ public interface TableDataProfileOrBuilder com.google.privacy.dlp.v2.DataRiskLevelOrBuilder getDataRiskLevelOrBuilder(); /** - * - * *
    * The infoTypes predicted from this table's data.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ - java.util.List getPredictedInfoTypesList(); + java.util.List + getPredictedInfoTypesList(); /** - * - * *
    * The infoTypes predicted from this table's data.
    * 
@@ -358,8 +274,6 @@ public interface TableDataProfileOrBuilder */ com.google.privacy.dlp.v2.InfoTypeSummary getPredictedInfoTypes(int index); /** - * - * *
    * The infoTypes predicted from this table's data.
    * 
@@ -368,40 +282,34 @@ public interface TableDataProfileOrBuilder */ int getPredictedInfoTypesCount(); /** - * - * *
    * The infoTypes predicted from this table's data.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ - java.util.List + java.util.List getPredictedInfoTypesOrBuilderList(); /** - * - * *
    * The infoTypes predicted from this table's data.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ - com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesOrBuilder(int index); + com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesOrBuilder( + int index); /** - * - * *
    * Other infoTypes found in this table's data.
    * 
* * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ - java.util.List getOtherInfoTypesList(); + java.util.List + getOtherInfoTypesList(); /** - * - * *
    * Other infoTypes found in this table's data.
    * 
@@ -410,8 +318,6 @@ public interface TableDataProfileOrBuilder */ com.google.privacy.dlp.v2.OtherInfoTypeSummary getOtherInfoTypes(int index); /** - * - * *
    * Other infoTypes found in this table's data.
    * 
@@ -420,54 +326,43 @@ public interface TableDataProfileOrBuilder */ int getOtherInfoTypesCount(); /** - * - * *
    * Other infoTypes found in this table's data.
    * 
* * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ - java.util.List + java.util.List getOtherInfoTypesOrBuilderList(); /** - * - * *
    * Other infoTypes found in this table's data.
    * 
* * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ - com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuilder(int index); + com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuilder( + int index); /** - * - * *
    * The snapshot of the configurations used to generate the profile.
    * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; - * * @return Whether the configSnapshot field is set. */ boolean hasConfigSnapshot(); /** - * - * *
    * The snapshot of the configurations used to generate the profile.
    * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; - * * @return The configSnapshot. */ com.google.privacy.dlp.v2.DataProfileConfigSnapshot getConfigSnapshot(); /** - * - * *
    * The snapshot of the configurations used to generate the profile.
    * 
@@ -477,32 +372,24 @@ public interface TableDataProfileOrBuilder com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder getConfigSnapshotOrBuilder(); /** - * - * *
    * The time when this table was last modified
    * 
* * .google.protobuf.Timestamp last_modified_time = 8; - * * @return Whether the lastModifiedTime field is set. */ boolean hasLastModifiedTime(); /** - * - * *
    * The time when this table was last modified
    * 
* * .google.protobuf.Timestamp last_modified_time = 8; - * * @return The lastModifiedTime. */ com.google.protobuf.Timestamp getLastModifiedTime(); /** - * - * *
    * The time when this table was last modified
    * 
@@ -512,32 +399,24 @@ public interface TableDataProfileOrBuilder com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder(); /** - * - * *
    * Optional. The time when this table expires.
    * 
* * .google.protobuf.Timestamp expiration_time = 9; - * * @return Whether the expirationTime field is set. */ boolean hasExpirationTime(); /** - * - * *
    * Optional. The time when this table expires.
    * 
* * .google.protobuf.Timestamp expiration_time = 9; - * * @return The expirationTime. */ com.google.protobuf.Timestamp getExpirationTime(); /** - * - * *
    * Optional. The time when this table expires.
    * 
@@ -547,134 +426,102 @@ public interface TableDataProfileOrBuilder com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder(); /** - * - * *
    * The number of columns profiled in the table.
    * 
* * int64 scanned_column_count = 10; - * * @return The scannedColumnCount. */ long getScannedColumnCount(); /** - * - * *
    * The number of columns skipped in the table because of an error.
    * 
* * int64 failed_column_count = 11; - * * @return The failedColumnCount. */ long getFailedColumnCount(); /** - * - * *
    * The size of the table when the profile was generated.
    * 
* * int64 table_size_bytes = 12; - * * @return The tableSizeBytes. */ long getTableSizeBytes(); /** - * - * *
    * Number of rows in the table when the profile was generated.
    * 
* * int64 row_count = 13; - * * @return The rowCount. */ long getRowCount(); /** - * - * *
    * How the table is encrypted.
    * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; - * * @return The enum numeric value on the wire for encryptionStatus. */ int getEncryptionStatusValue(); /** - * - * *
    * How the table is encrypted.
    * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; - * * @return The encryptionStatus. */ com.google.privacy.dlp.v2.EncryptionStatus getEncryptionStatus(); /** - * - * *
    * How broadly a resource has been shared.
    * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; - * * @return The enum numeric value on the wire for resourceVisibility. */ int getResourceVisibilityValue(); /** - * - * *
    * How broadly a resource has been shared.
    * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; - * * @return The resourceVisibility. */ com.google.privacy.dlp.v2.ResourceVisibility getResourceVisibility(); /** - * - * *
    * The last time the profile was generated.
    * 
* * .google.protobuf.Timestamp profile_last_generated = 16; - * * @return Whether the profileLastGenerated field is set. */ boolean hasProfileLastGenerated(); /** - * - * *
    * The last time the profile was generated.
    * 
* * .google.protobuf.Timestamp profile_last_generated = 16; - * * @return The profileLastGenerated. */ com.google.protobuf.Timestamp getProfileLastGenerated(); /** - * - * *
    * The last time the profile was generated.
    * 
@@ -684,8 +531,6 @@ public interface TableDataProfileOrBuilder com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder(); /** - * - * *
    * The labels applied to the resource at the time the profile was generated.
    * 
@@ -694,31 +539,30 @@ public interface TableDataProfileOrBuilder */ int getResourceLabelsCount(); /** - * - * *
    * The labels applied to the resource at the time the profile was generated.
    * 
* * map<string, string> resource_labels = 17; */ - boolean containsResourceLabels(java.lang.String key); - /** Use {@link #getResourceLabelsMap()} instead. */ + boolean containsResourceLabels( + java.lang.String key); + /** + * Use {@link #getResourceLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getResourceLabels(); + java.util.Map + getResourceLabels(); /** - * - * *
    * The labels applied to the resource at the time the profile was generated.
    * 
* * map<string, string> resource_labels = 17; */ - java.util.Map getResourceLabelsMap(); + java.util.Map + getResourceLabelsMap(); /** - * - * *
    * The labels applied to the resource at the time the profile was generated.
    * 
@@ -727,48 +571,40 @@ public interface TableDataProfileOrBuilder */ /* nullable */ - java.lang.String getResourceLabelsOrDefault( +java.lang.String getResourceLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * The labels applied to the resource at the time the profile was generated.
    * 
* * map<string, string> resource_labels = 17; */ - java.lang.String getResourceLabelsOrThrow(java.lang.String key); + + java.lang.String getResourceLabelsOrThrow( + java.lang.String key); /** - * - * *
    * The time at which the table was created.
    * 
* * .google.protobuf.Timestamp create_time = 23; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time at which the table was created.
    * 
* * .google.protobuf.Timestamp create_time = 23; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time at which the table was created.
    * 
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 5f294cc7..babc1fa9 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,18 +52,18 @@ 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) { @@ -87,33 +71,29 @@ private TableLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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
@@ -124,7 +104,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 row_index = 1; - * * @return The rowIndex. */ @java.lang.Override @@ -133,7 +112,6 @@ public long getRowIndex() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,7 +123,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -159,7 +138,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; @@ -169,14 +149,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; } @@ -189,133 +170,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() @@ -323,15 +296,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); 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 +315,9 @@ public Builder 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 @@ -362,8 +336,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; @@ -373,39 +346,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; @@ -446,10 +418,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
@@ -460,7 +430,6 @@ public Builder mergeFrom(
      * 
* * int64 row_index = 1; - * * @return The rowIndex. */ @java.lang.Override @@ -468,8 +437,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
@@ -480,19 +447,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
@@ -503,18 +467,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); } @@ -524,12 +487,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(); } @@ -538,16 +501,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; @@ -562,4 +525,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 605ee4fd..25e72c8b 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,23 +54,22 @@ 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) { @@ -95,7 +77,8 @@ private TableOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -104,27 +87,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
@@ -139,8 +117,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
@@ -151,13 +127,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
@@ -172,8 +146,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
@@ -188,8 +160,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
@@ -200,12 +170,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;
@@ -217,7 +187,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -231,8 +202,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;
@@ -242,14 +213,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;
   }
@@ -270,127 +242,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() @@ -398,17 +361,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(); @@ -422,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_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 @@ -443,8 +406,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)) { @@ -463,39 +425,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; @@ -522,10 +483,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_); } @@ -559,29 +519,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
@@ -599,8 +551,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
@@ -618,8 +568,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
@@ -637,8 +585,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
@@ -648,7 +594,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();
@@ -662,8 +609,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
@@ -685,8 +630,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
@@ -710,8 +653,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
@@ -721,7 +662,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();
@@ -735,8 +677,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
@@ -746,7 +686,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());
@@ -757,8 +698,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
@@ -780,8 +719,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
@@ -795,7 +732,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);
@@ -803,8 +741,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
@@ -825,8 +761,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
@@ -847,8 +781,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
@@ -858,12 +790,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
@@ -873,16 +804,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
@@ -892,8 +821,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 {
@@ -901,8 +830,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
@@ -913,12 +840,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
@@ -928,13 +853,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
@@ -944,22 +868,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(),
@@ -968,9 +886,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);
     }
 
@@ -980,12 +898,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();
   }
@@ -994,16 +912,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;
@@ -1018,4 +936,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 1fb58ac9..98fa846b 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,20 +54,19 @@ 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) {
@@ -92,41 +74,36 @@ private TimePartConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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
      * 
@@ -135,8 +112,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ TIME_PART_UNSPECIFIED(0), /** - * - * *
      * [0-9999]
      * 
@@ -145,8 +120,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ YEAR(1), /** - * - * *
      * [1-12]
      * 
@@ -155,8 +128,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ MONTH(2), /** - * - * *
      * [1-31]
      * 
@@ -165,8 +136,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ DAY_OF_MONTH(3), /** - * - * *
      * [1-7]
      * 
@@ -175,8 +144,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ DAY_OF_WEEK(4), /** - * - * *
      * [1-53]
      * 
@@ -185,8 +152,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ WEEK_OF_YEAR(5), /** - * - * *
      * [0-23]
      * 
@@ -198,8 +163,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unused
      * 
@@ -208,8 +171,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIME_PART_UNSPECIFIED_VALUE = 0; /** - * - * *
      * [0-9999]
      * 
@@ -218,8 +179,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YEAR_VALUE = 1; /** - * - * *
      * [1-12]
      * 
@@ -228,8 +187,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MONTH_VALUE = 2; /** - * - * *
      * [1-31]
      * 
@@ -238,8 +195,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DAY_OF_MONTH_VALUE = 3; /** - * - * *
      * [1-7]
      * 
@@ -248,8 +203,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DAY_OF_WEEK_VALUE = 4; /** - * - * *
      * [1-53]
      * 
@@ -258,8 +211,6 @@ public enum TimePart implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WEEK_OF_YEAR_VALUE = 5; /** - * - * *
      * [0-23]
      * 
@@ -268,6 +219,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( @@ -292,57 +244,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; @@ -362,41 +310,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; @@ -408,9 +346,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); @@ -422,9 +360,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; @@ -434,7 +372,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); @@ -460,104 +398,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.
@@ -565,23 +496,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()
@@ -589,15 +518,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -607,9 +537,9 @@ public Builder 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
@@ -628,8 +558,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;
@@ -639,39 +568,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;
@@ -714,67 +642,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. */ @@ -782,31 +694,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); } @@ -816,12 +725,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(); } @@ -830,16 +739,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; @@ -854,4 +763,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/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfig.java new file mode 100644 index 00000000..9fbb92a3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfig.java @@ -0,0 +1,1029 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + *
+ * User specified templates and configs for how to deidentify structured,
+ * unstructures, and image files. User must provide either a unstructured
+ * deidentify template or at least one redact image config.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.TransformationConfig} + */ +public final class TransformationConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationConfig) + TransformationConfigOrBuilder { +private static final long serialVersionUID = 0L; + // Use TransformationConfig.newBuilder() to construct. + private TransformationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TransformationConfig() { + deidentifyTemplate_ = ""; + structuredDeidentifyTemplate_ = ""; + imageRedactTemplate_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TransformationConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TransformationConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + deidentifyTemplate_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + structuredDeidentifyTemplate_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + imageRedactTemplate_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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_TransformationConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationConfig.class, com.google.privacy.dlp.v2.TransformationConfig.Builder.class); + } + + public static final int DEIDENTIFY_TEMPLATE_FIELD_NUMBER = 1; + private volatile java.lang.Object deidentifyTemplate_; + /** + *
+   * De-identify template.
+   * If this template is specified, it will serve as the default de-identify
+   * template. This template cannot contain `record_transformations` since it
+   * can be used for unstructured content such as free-form text files. If this
+   * template is not set, a default `ReplaceWithInfoTypeConfig` will be used to
+   * de-identify unstructured content.
+   * 
+ * + * string deidentify_template = 1; + * @return The deidentifyTemplate. + */ + @java.lang.Override + public java.lang.String getDeidentifyTemplate() { + java.lang.Object ref = deidentifyTemplate_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deidentifyTemplate_ = s; + return s; + } + } + /** + *
+   * De-identify template.
+   * If this template is specified, it will serve as the default de-identify
+   * template. This template cannot contain `record_transformations` since it
+   * can be used for unstructured content such as free-form text files. If this
+   * template is not set, a default `ReplaceWithInfoTypeConfig` will be used to
+   * de-identify unstructured content.
+   * 
+ * + * string deidentify_template = 1; + * @return The bytes for deidentifyTemplate. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDeidentifyTemplateBytes() { + java.lang.Object ref = deidentifyTemplate_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + deidentifyTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STRUCTURED_DEIDENTIFY_TEMPLATE_FIELD_NUMBER = 2; + private volatile java.lang.Object structuredDeidentifyTemplate_; + /** + *
+   * Structured de-identify template.
+   * If this template is specified, it will serve as the de-identify template
+   * for structured content such as delimited files and tables. If this template
+   * is not set but the `deidentify_template` is set, then `deidentify_template`
+   * will also apply to the structured content. If neither template is set, a
+   * default `ReplaceWithInfoTypeConfig` will be used to de-identify structured
+   * content.
+   * 
+ * + * string structured_deidentify_template = 2; + * @return The structuredDeidentifyTemplate. + */ + @java.lang.Override + public java.lang.String getStructuredDeidentifyTemplate() { + java.lang.Object ref = structuredDeidentifyTemplate_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + structuredDeidentifyTemplate_ = s; + return s; + } + } + /** + *
+   * Structured de-identify template.
+   * If this template is specified, it will serve as the de-identify template
+   * for structured content such as delimited files and tables. If this template
+   * is not set but the `deidentify_template` is set, then `deidentify_template`
+   * will also apply to the structured content. If neither template is set, a
+   * default `ReplaceWithInfoTypeConfig` will be used to de-identify structured
+   * content.
+   * 
+ * + * string structured_deidentify_template = 2; + * @return The bytes for structuredDeidentifyTemplate. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getStructuredDeidentifyTemplateBytes() { + java.lang.Object ref = structuredDeidentifyTemplate_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + structuredDeidentifyTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IMAGE_REDACT_TEMPLATE_FIELD_NUMBER = 4; + private volatile java.lang.Object imageRedactTemplate_; + /** + *
+   * Image redact template.
+   * If this template is specified, it will serve as the de-identify template
+   * for images. If this template is not set, all findings in the image will be
+   * redacted with a black box.
+   * 
+ * + * string image_redact_template = 4; + * @return The imageRedactTemplate. + */ + @java.lang.Override + public java.lang.String getImageRedactTemplate() { + java.lang.Object ref = imageRedactTemplate_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + imageRedactTemplate_ = s; + return s; + } + } + /** + *
+   * Image redact template.
+   * If this template is specified, it will serve as the de-identify template
+   * for images. If this template is not set, all findings in the image will be
+   * redacted with a black box.
+   * 
+ * + * string image_redact_template = 4; + * @return The bytes for imageRedactTemplate. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getImageRedactTemplateBytes() { + java.lang.Object ref = imageRedactTemplate_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + imageRedactTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deidentifyTemplate_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deidentifyTemplate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(structuredDeidentifyTemplate_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, structuredDeidentifyTemplate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageRedactTemplate_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, imageRedactTemplate_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deidentifyTemplate_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, deidentifyTemplate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(structuredDeidentifyTemplate_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, structuredDeidentifyTemplate_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageRedactTemplate_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, imageRedactTemplate_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.TransformationConfig)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.TransformationConfig other = (com.google.privacy.dlp.v2.TransformationConfig) obj; + + if (!getDeidentifyTemplate() + .equals(other.getDeidentifyTemplate())) return false; + if (!getStructuredDeidentifyTemplate() + .equals(other.getStructuredDeidentifyTemplate())) return false; + if (!getImageRedactTemplate() + .equals(other.getImageRedactTemplate())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DEIDENTIFY_TEMPLATE_FIELD_NUMBER; + hash = (53 * hash) + getDeidentifyTemplate().hashCode(); + hash = (37 * hash) + STRUCTURED_DEIDENTIFY_TEMPLATE_FIELD_NUMBER; + hash = (53 * hash) + getStructuredDeidentifyTemplate().hashCode(); + hash = (37 * hash) + IMAGE_REDACT_TEMPLATE_FIELD_NUMBER; + hash = (53 * hash) + getImageRedactTemplate().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationConfig 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.TransformationConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationConfig 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.TransformationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationConfig 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.TransformationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationConfig parseDelimitedFrom( + java.io.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.TransformationConfig 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.TransformationConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * User specified templates and configs for how to deidentify structured,
+   * unstructures, and image files. User must provide either a unstructured
+   * deidentify template or at least one redact image config.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.TransformationConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationConfig) + com.google.privacy.dlp.v2.TransformationConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationConfig.class, com.google.privacy.dlp.v2.TransformationConfig.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.TransformationConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + deidentifyTemplate_ = ""; + + structuredDeidentifyTemplate_ = ""; + + imageRedactTemplate_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationConfig_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationConfig getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationConfig build() { + com.google.privacy.dlp.v2.TransformationConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationConfig buildPartial() { + com.google.privacy.dlp.v2.TransformationConfig result = new com.google.privacy.dlp.v2.TransformationConfig(this); + result.deidentifyTemplate_ = deidentifyTemplate_; + result.structuredDeidentifyTemplate_ = structuredDeidentifyTemplate_; + result.imageRedactTemplate_ = imageRedactTemplate_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.TransformationConfig) { + return mergeFrom((com.google.privacy.dlp.v2.TransformationConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationConfig other) { + if (other == com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance()) return this; + if (!other.getDeidentifyTemplate().isEmpty()) { + deidentifyTemplate_ = other.deidentifyTemplate_; + onChanged(); + } + if (!other.getStructuredDeidentifyTemplate().isEmpty()) { + structuredDeidentifyTemplate_ = other.structuredDeidentifyTemplate_; + onChanged(); + } + if (!other.getImageRedactTemplate().isEmpty()) { + imageRedactTemplate_ = other.imageRedactTemplate_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.TransformationConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.TransformationConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object deidentifyTemplate_ = ""; + /** + *
+     * De-identify template.
+     * If this template is specified, it will serve as the default de-identify
+     * template. This template cannot contain `record_transformations` since it
+     * can be used for unstructured content such as free-form text files. If this
+     * template is not set, a default `ReplaceWithInfoTypeConfig` will be used to
+     * de-identify unstructured content.
+     * 
+ * + * string deidentify_template = 1; + * @return The deidentifyTemplate. + */ + public java.lang.String getDeidentifyTemplate() { + java.lang.Object ref = deidentifyTemplate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deidentifyTemplate_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * De-identify template.
+     * If this template is specified, it will serve as the default de-identify
+     * template. This template cannot contain `record_transformations` since it
+     * can be used for unstructured content such as free-form text files. If this
+     * template is not set, a default `ReplaceWithInfoTypeConfig` will be used to
+     * de-identify unstructured content.
+     * 
+ * + * string deidentify_template = 1; + * @return The bytes for deidentifyTemplate. + */ + public com.google.protobuf.ByteString + getDeidentifyTemplateBytes() { + java.lang.Object ref = deidentifyTemplate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + deidentifyTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * De-identify template.
+     * If this template is specified, it will serve as the default de-identify
+     * template. This template cannot contain `record_transformations` since it
+     * can be used for unstructured content such as free-form text files. If this
+     * template is not set, a default `ReplaceWithInfoTypeConfig` will be used to
+     * de-identify unstructured content.
+     * 
+ * + * string deidentify_template = 1; + * @param value The deidentifyTemplate to set. + * @return This builder for chaining. + */ + public Builder setDeidentifyTemplate( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + deidentifyTemplate_ = value; + onChanged(); + return this; + } + /** + *
+     * De-identify template.
+     * If this template is specified, it will serve as the default de-identify
+     * template. This template cannot contain `record_transformations` since it
+     * can be used for unstructured content such as free-form text files. If this
+     * template is not set, a default `ReplaceWithInfoTypeConfig` will be used to
+     * de-identify unstructured content.
+     * 
+ * + * string deidentify_template = 1; + * @return This builder for chaining. + */ + public Builder clearDeidentifyTemplate() { + + deidentifyTemplate_ = getDefaultInstance().getDeidentifyTemplate(); + onChanged(); + return this; + } + /** + *
+     * De-identify template.
+     * If this template is specified, it will serve as the default de-identify
+     * template. This template cannot contain `record_transformations` since it
+     * can be used for unstructured content such as free-form text files. If this
+     * template is not set, a default `ReplaceWithInfoTypeConfig` will be used to
+     * de-identify unstructured content.
+     * 
+ * + * string deidentify_template = 1; + * @param value The bytes for deidentifyTemplate to set. + * @return This builder for chaining. + */ + public Builder setDeidentifyTemplateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + deidentifyTemplate_ = value; + onChanged(); + return this; + } + + private java.lang.Object structuredDeidentifyTemplate_ = ""; + /** + *
+     * Structured de-identify template.
+     * If this template is specified, it will serve as the de-identify template
+     * for structured content such as delimited files and tables. If this template
+     * is not set but the `deidentify_template` is set, then `deidentify_template`
+     * will also apply to the structured content. If neither template is set, a
+     * default `ReplaceWithInfoTypeConfig` will be used to de-identify structured
+     * content.
+     * 
+ * + * string structured_deidentify_template = 2; + * @return The structuredDeidentifyTemplate. + */ + public java.lang.String getStructuredDeidentifyTemplate() { + java.lang.Object ref = structuredDeidentifyTemplate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + structuredDeidentifyTemplate_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Structured de-identify template.
+     * If this template is specified, it will serve as the de-identify template
+     * for structured content such as delimited files and tables. If this template
+     * is not set but the `deidentify_template` is set, then `deidentify_template`
+     * will also apply to the structured content. If neither template is set, a
+     * default `ReplaceWithInfoTypeConfig` will be used to de-identify structured
+     * content.
+     * 
+ * + * string structured_deidentify_template = 2; + * @return The bytes for structuredDeidentifyTemplate. + */ + public com.google.protobuf.ByteString + getStructuredDeidentifyTemplateBytes() { + java.lang.Object ref = structuredDeidentifyTemplate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + structuredDeidentifyTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Structured de-identify template.
+     * If this template is specified, it will serve as the de-identify template
+     * for structured content such as delimited files and tables. If this template
+     * is not set but the `deidentify_template` is set, then `deidentify_template`
+     * will also apply to the structured content. If neither template is set, a
+     * default `ReplaceWithInfoTypeConfig` will be used to de-identify structured
+     * content.
+     * 
+ * + * string structured_deidentify_template = 2; + * @param value The structuredDeidentifyTemplate to set. + * @return This builder for chaining. + */ + public Builder setStructuredDeidentifyTemplate( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + structuredDeidentifyTemplate_ = value; + onChanged(); + return this; + } + /** + *
+     * Structured de-identify template.
+     * If this template is specified, it will serve as the de-identify template
+     * for structured content such as delimited files and tables. If this template
+     * is not set but the `deidentify_template` is set, then `deidentify_template`
+     * will also apply to the structured content. If neither template is set, a
+     * default `ReplaceWithInfoTypeConfig` will be used to de-identify structured
+     * content.
+     * 
+ * + * string structured_deidentify_template = 2; + * @return This builder for chaining. + */ + public Builder clearStructuredDeidentifyTemplate() { + + structuredDeidentifyTemplate_ = getDefaultInstance().getStructuredDeidentifyTemplate(); + onChanged(); + return this; + } + /** + *
+     * Structured de-identify template.
+     * If this template is specified, it will serve as the de-identify template
+     * for structured content such as delimited files and tables. If this template
+     * is not set but the `deidentify_template` is set, then `deidentify_template`
+     * will also apply to the structured content. If neither template is set, a
+     * default `ReplaceWithInfoTypeConfig` will be used to de-identify structured
+     * content.
+     * 
+ * + * string structured_deidentify_template = 2; + * @param value The bytes for structuredDeidentifyTemplate to set. + * @return This builder for chaining. + */ + public Builder setStructuredDeidentifyTemplateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + structuredDeidentifyTemplate_ = value; + onChanged(); + return this; + } + + private java.lang.Object imageRedactTemplate_ = ""; + /** + *
+     * Image redact template.
+     * If this template is specified, it will serve as the de-identify template
+     * for images. If this template is not set, all findings in the image will be
+     * redacted with a black box.
+     * 
+ * + * string image_redact_template = 4; + * @return The imageRedactTemplate. + */ + public java.lang.String getImageRedactTemplate() { + java.lang.Object ref = imageRedactTemplate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + imageRedactTemplate_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Image redact template.
+     * If this template is specified, it will serve as the de-identify template
+     * for images. If this template is not set, all findings in the image will be
+     * redacted with a black box.
+     * 
+ * + * string image_redact_template = 4; + * @return The bytes for imageRedactTemplate. + */ + public com.google.protobuf.ByteString + getImageRedactTemplateBytes() { + java.lang.Object ref = imageRedactTemplate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + imageRedactTemplate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Image redact template.
+     * If this template is specified, it will serve as the de-identify template
+     * for images. If this template is not set, all findings in the image will be
+     * redacted with a black box.
+     * 
+ * + * string image_redact_template = 4; + * @param value The imageRedactTemplate to set. + * @return This builder for chaining. + */ + public Builder setImageRedactTemplate( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + imageRedactTemplate_ = value; + onChanged(); + return this; + } + /** + *
+     * Image redact template.
+     * If this template is specified, it will serve as the de-identify template
+     * for images. If this template is not set, all findings in the image will be
+     * redacted with a black box.
+     * 
+ * + * string image_redact_template = 4; + * @return This builder for chaining. + */ + public Builder clearImageRedactTemplate() { + + imageRedactTemplate_ = getDefaultInstance().getImageRedactTemplate(); + onChanged(); + return this; + } + /** + *
+     * Image redact template.
+     * If this template is specified, it will serve as the de-identify template
+     * for images. If this template is not set, all findings in the image will be
+     * redacted with a black box.
+     * 
+ * + * string image_redact_template = 4; + * @param value The bytes for imageRedactTemplate to set. + * @return This builder for chaining. + */ + public Builder setImageRedactTemplateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + imageRedactTemplate_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationConfig) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationConfig) + private static final com.google.privacy.dlp.v2.TransformationConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationConfig(); + } + + public static com.google.privacy.dlp.v2.TransformationConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfigOrBuilder.java new file mode 100644 index 00000000..026ab337 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfigOrBuilder.java @@ -0,0 +1,97 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface TransformationConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * De-identify template.
+   * If this template is specified, it will serve as the default de-identify
+   * template. This template cannot contain `record_transformations` since it
+   * can be used for unstructured content such as free-form text files. If this
+   * template is not set, a default `ReplaceWithInfoTypeConfig` will be used to
+   * de-identify unstructured content.
+   * 
+ * + * string deidentify_template = 1; + * @return The deidentifyTemplate. + */ + java.lang.String getDeidentifyTemplate(); + /** + *
+   * De-identify template.
+   * If this template is specified, it will serve as the default de-identify
+   * template. This template cannot contain `record_transformations` since it
+   * can be used for unstructured content such as free-form text files. If this
+   * template is not set, a default `ReplaceWithInfoTypeConfig` will be used to
+   * de-identify unstructured content.
+   * 
+ * + * string deidentify_template = 1; + * @return The bytes for deidentifyTemplate. + */ + com.google.protobuf.ByteString + getDeidentifyTemplateBytes(); + + /** + *
+   * Structured de-identify template.
+   * If this template is specified, it will serve as the de-identify template
+   * for structured content such as delimited files and tables. If this template
+   * is not set but the `deidentify_template` is set, then `deidentify_template`
+   * will also apply to the structured content. If neither template is set, a
+   * default `ReplaceWithInfoTypeConfig` will be used to de-identify structured
+   * content.
+   * 
+ * + * string structured_deidentify_template = 2; + * @return The structuredDeidentifyTemplate. + */ + java.lang.String getStructuredDeidentifyTemplate(); + /** + *
+   * Structured de-identify template.
+   * If this template is specified, it will serve as the de-identify template
+   * for structured content such as delimited files and tables. If this template
+   * is not set but the `deidentify_template` is set, then `deidentify_template`
+   * will also apply to the structured content. If neither template is set, a
+   * default `ReplaceWithInfoTypeConfig` will be used to de-identify structured
+   * content.
+   * 
+ * + * string structured_deidentify_template = 2; + * @return The bytes for structuredDeidentifyTemplate. + */ + com.google.protobuf.ByteString + getStructuredDeidentifyTemplateBytes(); + + /** + *
+   * Image redact template.
+   * If this template is specified, it will serve as the de-identify template
+   * for images. If this template is not set, all findings in the image will be
+   * redacted with a black box.
+   * 
+ * + * string image_redact_template = 4; + * @return The imageRedactTemplate. + */ + java.lang.String getImageRedactTemplate(); + /** + *
+   * Image redact template.
+   * If this template is specified, it will serve as the de-identify template
+   * for images. If this template is not set, all findings in the image will be
+   * redacted with a black box.
+   * 
+ * + * string image_redact_template = 4; + * @return The bytes for imageRedactTemplate. + */ + com.google.protobuf.ByteString + getImageRedactTemplateBytes(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationContainerType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationContainerType.java new file mode 100644 index 00000000..41544632 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationContainerType.java @@ -0,0 +1,135 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + *
+ * Describes functionality of a given container in its original format.
+ * 
+ * + * Protobuf enum {@code google.privacy.dlp.v2.TransformationContainerType} + */ +public enum TransformationContainerType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * TRANSFORM_UNKNOWN_CONTAINER = 0; + */ + TRANSFORM_UNKNOWN_CONTAINER(0), + /** + * TRANSFORM_BODY = 1; + */ + TRANSFORM_BODY(1), + /** + * TRANSFORM_METADATA = 2; + */ + TRANSFORM_METADATA(2), + /** + * TRANSFORM_TABLE = 3; + */ + TRANSFORM_TABLE(3), + UNRECOGNIZED(-1), + ; + + /** + * TRANSFORM_UNKNOWN_CONTAINER = 0; + */ + public static final int TRANSFORM_UNKNOWN_CONTAINER_VALUE = 0; + /** + * TRANSFORM_BODY = 1; + */ + public static final int TRANSFORM_BODY_VALUE = 1; + /** + * TRANSFORM_METADATA = 2; + */ + public static final int TRANSFORM_METADATA_VALUE = 2; + /** + * TRANSFORM_TABLE = 3; + */ + public static final int TRANSFORM_TABLE_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TransformationContainerType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static TransformationContainerType forNumber(int value) { + switch (value) { + case 0: return TRANSFORM_UNKNOWN_CONTAINER; + case 1: return TRANSFORM_BODY; + case 2: return TRANSFORM_METADATA; + case 3: return TRANSFORM_TABLE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + TransformationContainerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransformationContainerType findValueByNumber(int number) { + return TransformationContainerType.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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(1); + } + + private static final TransformationContainerType[] VALUES = values(); + + public static TransformationContainerType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private TransformationContainerType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.TransformationContainerType) +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescription.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescription.java new file mode 100644 index 00000000..e77be554 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescription.java @@ -0,0 +1,1200 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + *
+ * A flattened description of a `PrimitiveTransformation` or
+ * `RecordSuppression`.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.TransformationDescription} + */ +public final class TransformationDescription extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationDescription) + TransformationDescriptionOrBuilder { +private static final long serialVersionUID = 0L; + // Use TransformationDescription.newBuilder() to construct. + private TransformationDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TransformationDescription() { + type_ = 0; + description_ = ""; + condition_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TransformationDescription(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TransformationDescription( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + condition_ = s; + break; + } + case 34: { + 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; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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_TransformationDescription_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationDescription.class, com.google.privacy.dlp.v2.TransformationDescription.Builder.class); + } + + public static final int TYPE_FIELD_NUMBER = 1; + private int type_; + /** + *
+   * The transformation type.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationType type = 1; + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override public int getTypeValue() { + return type_; + } + /** + *
+   * The transformation type.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationType type = 1; + * @return The type. + */ + @java.lang.Override public com.google.privacy.dlp.v2.TransformationType getType() { + @SuppressWarnings("deprecation") + com.google.privacy.dlp.v2.TransformationType result = com.google.privacy.dlp.v2.TransformationType.valueOf(type_); + return result == null ? com.google.privacy.dlp.v2.TransformationType.UNRECOGNIZED : result; + } + + public static final int DESCRIPTION_FIELD_NUMBER = 2; + private volatile java.lang.Object description_; + /** + *
+   * A description of the transformation. This is empty for a
+   * RECORD_SUPPRESSION, or is the output of calling toString() on the
+   * `PrimitiveTransformation` protocol buffer message for any other type of
+   * transformation.
+   * 
+ * + * string description = 2; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+   * A description of the transformation. This is empty for a
+   * RECORD_SUPPRESSION, or is the output of calling toString() on the
+   * `PrimitiveTransformation` protocol buffer message for any other type of
+   * transformation.
+   * 
+ * + * string description = 2; + * @return The bytes for description. + */ + @java.lang.Override + 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); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONDITION_FIELD_NUMBER = 3; + private volatile java.lang.Object condition_; + /** + *
+   * A human-readable string representation of the `RecordCondition`
+   * corresponding to this transformation. Set if a `RecordCondition` was used
+   * to determine whether or not to apply this transformation.
+   * Examples:
+   *     * (age_field > 85)
+   *     * (age_field <= 18)
+   *     * (zip_field exists)
+   *     * (zip_field == 01234) && (city_field != "Springville")
+   *     * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
+   * 
+ * + * string condition = 3; + * @return The condition. + */ + @java.lang.Override + public java.lang.String getCondition() { + java.lang.Object ref = condition_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + condition_ = s; + return s; + } + } + /** + *
+   * A human-readable string representation of the `RecordCondition`
+   * corresponding to this transformation. Set if a `RecordCondition` was used
+   * to determine whether or not to apply this transformation.
+   * Examples:
+   *     * (age_field > 85)
+   *     * (age_field <= 18)
+   *     * (zip_field exists)
+   *     * (zip_field == 01234) && (city_field != "Springville")
+   *     * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
+   * 
+ * + * string condition = 3; + * @return The bytes for condition. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getConditionBytes() { + java.lang.Object ref = condition_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + condition_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INFO_TYPE_FIELD_NUMBER = 4; + 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 = 4; + * @return Whether the infoType field is set. + */ + @java.lang.Override + public boolean hasInfoType() { + return infoType_ != null; + } + /** + *
+   * Set if the transformation was limited to a specific `InfoType`.
+   * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + * @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_; + } + /** + *
+   * Set if the transformation was limited to a specific `InfoType`.
+   * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { + return getInfoType(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.privacy.dlp.v2.TransformationType.TRANSFORMATION_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(1, type_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(condition_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, condition_); + } + if (infoType_ != null) { + output.writeMessage(4, getInfoType()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (type_ != com.google.privacy.dlp.v2.TransformationType.TRANSFORMATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(condition_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, condition_); + } + if (infoType_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getInfoType()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.TransformationDescription)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.TransformationDescription other = (com.google.privacy.dlp.v2.TransformationDescription) obj; + + if (type_ != other.type_) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getCondition() + .equals(other.getCondition())) return false; + if (hasInfoType() != other.hasInfoType()) return false; + if (hasInfoType()) { + if (!getInfoType() + .equals(other.getInfoType())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (37 * hash) + CONDITION_FIELD_NUMBER; + hash = (53 * hash) + getCondition().hashCode(); + if (hasInfoType()) { + hash = (37 * hash) + INFO_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getInfoType().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationDescription 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.TransformationDescription parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationDescription 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.TransformationDescription parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationDescription 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.TransformationDescription parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationDescription parseDelimitedFrom( + java.io.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.TransformationDescription 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.TransformationDescription parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationDescription prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * A flattened description of a `PrimitiveTransformation` or
+   * `RecordSuppression`.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.TransformationDescription} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationDescription) + com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDescription_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationDescription.class, com.google.privacy.dlp.v2.TransformationDescription.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.TransformationDescription.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + type_ = 0; + + description_ = ""; + + condition_ = ""; + + if (infoTypeBuilder_ == null) { + infoType_ = null; + } else { + infoType_ = null; + infoTypeBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDescription_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDescription getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.TransformationDescription.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDescription build() { + com.google.privacy.dlp.v2.TransformationDescription result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDescription buildPartial() { + com.google.privacy.dlp.v2.TransformationDescription result = new com.google.privacy.dlp.v2.TransformationDescription(this); + result.type_ = type_; + result.description_ = description_; + result.condition_ = condition_; + if (infoTypeBuilder_ == null) { + result.infoType_ = infoType_; + } else { + result.infoType_ = infoTypeBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.TransformationDescription) { + return mergeFrom((com.google.privacy.dlp.v2.TransformationDescription)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationDescription other) { + if (other == com.google.privacy.dlp.v2.TransformationDescription.getDefaultInstance()) return this; + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } + if (!other.getCondition().isEmpty()) { + condition_ = other.condition_; + onChanged(); + } + if (other.hasInfoType()) { + mergeInfoType(other.getInfoType()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.TransformationDescription parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.TransformationDescription) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int type_ = 0; + /** + *
+     * The transformation type.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationType type = 1; + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override public int getTypeValue() { + return type_; + } + /** + *
+     * The transformation type.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationType 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 transformation type.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationType type = 1; + * @return The type. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationType getType() { + @SuppressWarnings("deprecation") + com.google.privacy.dlp.v2.TransformationType result = com.google.privacy.dlp.v2.TransformationType.valueOf(type_); + return result == null ? com.google.privacy.dlp.v2.TransformationType.UNRECOGNIZED : result; + } + /** + *
+     * The transformation type.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationType type = 1; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(com.google.privacy.dlp.v2.TransformationType value) { + if (value == null) { + throw new NullPointerException(); + } + + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * The transformation type.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationType type = 1; + * @return This builder for chaining. + */ + public Builder clearType() { + + type_ = 0; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + *
+     * A description of the transformation. This is empty for a
+     * RECORD_SUPPRESSION, or is the output of calling toString() on the
+     * `PrimitiveTransformation` protocol buffer message for any other type of
+     * transformation.
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A description of the transformation. This is empty for a
+     * RECORD_SUPPRESSION, or is the output of calling toString() on the
+     * `PrimitiveTransformation` protocol buffer message for any other type of
+     * transformation.
+     * 
+ * + * string description = 2; + * @return The bytes for description. + */ + 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); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A description of the transformation. This is empty for a
+     * RECORD_SUPPRESSION, or is the output of calling toString() on the
+     * `PrimitiveTransformation` protocol buffer message for any other type of
+     * transformation.
+     * 
+ * + * string description = 2; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + description_ = value; + onChanged(); + return this; + } + /** + *
+     * A description of the transformation. This is empty for a
+     * RECORD_SUPPRESSION, or is the output of calling toString() on the
+     * `PrimitiveTransformation` protocol buffer message for any other type of
+     * transformation.
+     * 
+ * + * string description = 2; + * @return This builder for chaining. + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + *
+     * A description of the transformation. This is empty for a
+     * RECORD_SUPPRESSION, or is the output of calling toString() on the
+     * `PrimitiveTransformation` protocol buffer message for any other type of
+     * transformation.
+     * 
+ * + * string description = 2; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); + return this; + } + + private java.lang.Object condition_ = ""; + /** + *
+     * A human-readable string representation of the `RecordCondition`
+     * corresponding to this transformation. Set if a `RecordCondition` was used
+     * to determine whether or not to apply this transformation.
+     * Examples:
+     *     * (age_field > 85)
+     *     * (age_field <= 18)
+     *     * (zip_field exists)
+     *     * (zip_field == 01234) && (city_field != "Springville")
+     *     * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
+     * 
+ * + * string condition = 3; + * @return The condition. + */ + public java.lang.String getCondition() { + java.lang.Object ref = condition_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + condition_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A human-readable string representation of the `RecordCondition`
+     * corresponding to this transformation. Set if a `RecordCondition` was used
+     * to determine whether or not to apply this transformation.
+     * Examples:
+     *     * (age_field > 85)
+     *     * (age_field <= 18)
+     *     * (zip_field exists)
+     *     * (zip_field == 01234) && (city_field != "Springville")
+     *     * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
+     * 
+ * + * string condition = 3; + * @return The bytes for condition. + */ + public com.google.protobuf.ByteString + getConditionBytes() { + java.lang.Object ref = condition_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + condition_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A human-readable string representation of the `RecordCondition`
+     * corresponding to this transformation. Set if a `RecordCondition` was used
+     * to determine whether or not to apply this transformation.
+     * Examples:
+     *     * (age_field > 85)
+     *     * (age_field <= 18)
+     *     * (zip_field exists)
+     *     * (zip_field == 01234) && (city_field != "Springville")
+     *     * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
+     * 
+ * + * string condition = 3; + * @param value The condition to set. + * @return This builder for chaining. + */ + public Builder setCondition( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + condition_ = value; + onChanged(); + return this; + } + /** + *
+     * A human-readable string representation of the `RecordCondition`
+     * corresponding to this transformation. Set if a `RecordCondition` was used
+     * to determine whether or not to apply this transformation.
+     * Examples:
+     *     * (age_field > 85)
+     *     * (age_field <= 18)
+     *     * (zip_field exists)
+     *     * (zip_field == 01234) && (city_field != "Springville")
+     *     * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
+     * 
+ * + * string condition = 3; + * @return This builder for chaining. + */ + public Builder clearCondition() { + + condition_ = getDefaultInstance().getCondition(); + onChanged(); + return this; + } + /** + *
+     * A human-readable string representation of the `RecordCondition`
+     * corresponding to this transformation. Set if a `RecordCondition` was used
+     * to determine whether or not to apply this transformation.
+     * Examples:
+     *     * (age_field > 85)
+     *     * (age_field <= 18)
+     *     * (zip_field exists)
+     *     * (zip_field == 01234) && (city_field != "Springville")
+     *     * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
+     * 
+ * + * string condition = 3; + * @param value The bytes for condition to set. + * @return This builder for chaining. + */ + public Builder setConditionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + condition_ = value; + onChanged(); + return this; + } + + 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_; + /** + *
+     * Set if the transformation was limited to a specific `InfoType`.
+     * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + * @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 = 4; + * @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_; + } else { + return infoTypeBuilder_.getMessage(); + } + } + /** + *
+     * Set if the transformation was limited to a specific `InfoType`.
+     * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + */ + public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) { + if (infoTypeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + infoType_ = value; + onChanged(); + } else { + infoTypeBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Set if the transformation was limited to a specific `InfoType`.
+     * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + */ + public Builder setInfoType( + com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { + if (infoTypeBuilder_ == null) { + infoType_ = builderForValue.build(); + onChanged(); + } else { + infoTypeBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Set if the transformation was limited to a specific `InfoType`.
+     * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + */ + 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(); + } else { + infoType_ = value; + } + onChanged(); + } else { + infoTypeBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Set if the transformation was limited to a specific `InfoType`.
+     * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + */ + public Builder clearInfoType() { + if (infoTypeBuilder_ == null) { + infoType_ = null; + onChanged(); + } else { + infoType_ = null; + infoTypeBuilder_ = null; + } + + return this; + } + /** + *
+     * Set if the transformation was limited to a specific `InfoType`.
+     * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + */ + public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() { + + onChanged(); + return getInfoTypeFieldBuilder().getBuilder(); + } + /** + *
+     * Set if the transformation was limited to a specific `InfoType`.
+     * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + */ + 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_; + } + } + /** + *
+     * Set if the transformation was limited to a specific `InfoType`.
+     * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + infoType_ = null; + } + return infoTypeBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationDescription) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationDescription) + private static final com.google.privacy.dlp.v2.TransformationDescription DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationDescription(); + } + + public static com.google.privacy.dlp.v2.TransformationDescription getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationDescription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationDescription(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDescription getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescriptionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescriptionOrBuilder.java new file mode 100644 index 00000000..304c5c1d --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescriptionOrBuilder.java @@ -0,0 +1,117 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface TransformationDescriptionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationDescription) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The transformation type.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationType type = 1; + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + /** + *
+   * The transformation type.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationType type = 1; + * @return The type. + */ + com.google.privacy.dlp.v2.TransformationType getType(); + + /** + *
+   * A description of the transformation. This is empty for a
+   * RECORD_SUPPRESSION, or is the output of calling toString() on the
+   * `PrimitiveTransformation` protocol buffer message for any other type of
+   * transformation.
+   * 
+ * + * string description = 2; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+   * A description of the transformation. This is empty for a
+   * RECORD_SUPPRESSION, or is the output of calling toString() on the
+   * `PrimitiveTransformation` protocol buffer message for any other type of
+   * transformation.
+   * 
+ * + * string description = 2; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + *
+   * A human-readable string representation of the `RecordCondition`
+   * corresponding to this transformation. Set if a `RecordCondition` was used
+   * to determine whether or not to apply this transformation.
+   * Examples:
+   *     * (age_field > 85)
+   *     * (age_field <= 18)
+   *     * (zip_field exists)
+   *     * (zip_field == 01234) && (city_field != "Springville")
+   *     * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
+   * 
+ * + * string condition = 3; + * @return The condition. + */ + java.lang.String getCondition(); + /** + *
+   * A human-readable string representation of the `RecordCondition`
+   * corresponding to this transformation. Set if a `RecordCondition` was used
+   * to determine whether or not to apply this transformation.
+   * Examples:
+   *     * (age_field > 85)
+   *     * (age_field <= 18)
+   *     * (zip_field exists)
+   *     * (zip_field == 01234) && (city_field != "Springville")
+   *     * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
+   * 
+ * + * string condition = 3; + * @return The bytes for condition. + */ + com.google.protobuf.ByteString + getConditionBytes(); + + /** + *
+   * Set if the transformation was limited to a specific `InfoType`.
+   * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + * @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 = 4; + * @return The infoType. + */ + com.google.privacy.dlp.v2.InfoType getInfoType(); + /** + *
+   * Set if the transformation was limited to a specific `InfoType`.
+   * 
+ * + * .google.privacy.dlp.v2.InfoType info_type = 4; + */ + com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetails.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetails.java new file mode 100644 index 00000000..999ba82c --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetails.java @@ -0,0 +1,1894 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + *
+ * Details about a single transformation. This object contains a description of
+ * the transformation, information about whether the transformation was
+ * successfully applied, and the precise location where the transformation
+ * occurred. These details are stored in a user-specified BigQuery table.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.TransformationDetails} + */ +public final class TransformationDetails extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationDetails) + TransformationDetailsOrBuilder { +private static final long serialVersionUID = 0L; + // Use TransformationDetails.newBuilder() to construct. + private TransformationDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TransformationDetails() { + resourceName_ = ""; + containerName_ = ""; + transformation_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TransformationDetails(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TransformationDetails( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + resourceName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + containerName_ = s; + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transformation_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + transformation_.add( + input.readMessage(com.google.privacy.dlp.v2.TransformationDescription.parser(), extensionRegistry)); + break; + } + case 34: { + com.google.privacy.dlp.v2.TransformationResultStatus.Builder subBuilder = null; + if (statusDetails_ != null) { + subBuilder = statusDetails_.toBuilder(); + } + statusDetails_ = input.readMessage(com.google.privacy.dlp.v2.TransformationResultStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(statusDetails_); + statusDetails_ = subBuilder.buildPartial(); + } + + break; + } + case 40: { + + transformedBytes_ = input.readInt64(); + break; + } + case 50: { + com.google.privacy.dlp.v2.TransformationLocation.Builder subBuilder = null; + if (transformationLocation_ != null) { + subBuilder = transformationLocation_.toBuilder(); + } + transformationLocation_ = input.readMessage(com.google.privacy.dlp.v2.TransformationLocation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(transformationLocation_); + transformationLocation_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + transformation_ = java.util.Collections.unmodifiableList(transformation_); + } + 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_TransformationDetails_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationDetails.class, com.google.privacy.dlp.v2.TransformationDetails.Builder.class); + } + + public static final int RESOURCE_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object resourceName_; + /** + *
+   * The name of the job that completed the transformation.
+   * 
+ * + * string resource_name = 1; + * @return The resourceName. + */ + @java.lang.Override + public java.lang.String getResourceName() { + java.lang.Object ref = resourceName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resourceName_ = s; + return s; + } + } + /** + *
+   * The name of the job that completed the transformation.
+   * 
+ * + * string resource_name = 1; + * @return The bytes for resourceName. + */ + @java.lang.Override + 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); + resourceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONTAINER_NAME_FIELD_NUMBER = 2; + private volatile java.lang.Object containerName_; + /** + *
+   * The top level name of the container where the transformation is located
+   * (this will be the source file name or table name).
+   * 
+ * + * string container_name = 2; + * @return The containerName. + */ + @java.lang.Override + public java.lang.String getContainerName() { + java.lang.Object ref = containerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + containerName_ = s; + return s; + } + } + /** + *
+   * The top level name of the container where the transformation is located
+   * (this will be the source file name or table name).
+   * 
+ * + * string container_name = 2; + * @return The bytes for containerName. + */ + @java.lang.Override + 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); + containerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TRANSFORMATION_FIELD_NUMBER = 3; + private java.util.List transformation_; + /** + *
+   * Description of transformation. This would only contain more than one
+   * element if there were multiple matching transformations and which one to
+   * apply was ambiguous. Not set for states that contain no transformation,
+   * currently only state that contains no transformation is
+   * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+   * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + @java.lang.Override + public java.util.List getTransformationList() { + return transformation_; + } + /** + *
+   * Description of transformation. This would only contain more than one
+   * element if there were multiple matching transformations and which one to
+   * apply was ambiguous. Not set for states that contain no transformation,
+   * currently only state that contains no transformation is
+   * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+   * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + @java.lang.Override + public java.util.List + getTransformationOrBuilderList() { + return transformation_; + } + /** + *
+   * Description of transformation. This would only contain more than one
+   * element if there were multiple matching transformations and which one to
+   * apply was ambiguous. Not set for states that contain no transformation,
+   * currently only state that contains no transformation is
+   * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+   * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + @java.lang.Override + public int getTransformationCount() { + return transformation_.size(); + } + /** + *
+   * Description of transformation. This would only contain more than one
+   * element if there were multiple matching transformations and which one to
+   * apply was ambiguous. Not set for states that contain no transformation,
+   * currently only state that contains no transformation is
+   * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+   * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDescription getTransformation(int index) { + return transformation_.get(index); + } + /** + *
+   * Description of transformation. This would only contain more than one
+   * element if there were multiple matching transformations and which one to
+   * apply was ambiguous. Not set for states that contain no transformation,
+   * currently only state that contains no transformation is
+   * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+   * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransformationOrBuilder( + int index) { + return transformation_.get(index); + } + + public static final int STATUS_DETAILS_FIELD_NUMBER = 4; + private com.google.privacy.dlp.v2.TransformationResultStatus statusDetails_; + /** + *
+   * Status of the transformation, if transformation was not successful, this
+   * will specify what caused it to fail, otherwise it will show that the
+   * transformation was successful.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * @return Whether the statusDetails field is set. + */ + @java.lang.Override + public boolean hasStatusDetails() { + return statusDetails_ != null; + } + /** + *
+   * Status of the transformation, if transformation was not successful, this
+   * will specify what caused it to fail, otherwise it will show that the
+   * transformation was successful.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * @return The statusDetails. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationResultStatus getStatusDetails() { + return statusDetails_ == null ? com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance() : statusDetails_; + } + /** + *
+   * Status of the transformation, if transformation was not successful, this
+   * will specify what caused it to fail, otherwise it will show that the
+   * transformation was successful.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder getStatusDetailsOrBuilder() { + return getStatusDetails(); + } + + public static final int TRANSFORMED_BYTES_FIELD_NUMBER = 5; + private long transformedBytes_; + /** + *
+   * The number of bytes that were transformed. If transformation was
+   * unsuccessful or did not take place because there was no content to
+   * transform, this will be zero.
+   * 
+ * + * int64 transformed_bytes = 5; + * @return The transformedBytes. + */ + @java.lang.Override + public long getTransformedBytes() { + return transformedBytes_; + } + + public static final int TRANSFORMATION_LOCATION_FIELD_NUMBER = 6; + private com.google.privacy.dlp.v2.TransformationLocation transformationLocation_; + /** + *
+   * The precise location of the transformed content in the original container.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * @return Whether the transformationLocation field is set. + */ + @java.lang.Override + public boolean hasTransformationLocation() { + return transformationLocation_ != null; + } + /** + *
+   * The precise location of the transformed content in the original container.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * @return The transformationLocation. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationLocation getTransformationLocation() { + return transformationLocation_ == null ? com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance() : transformationLocation_; + } + /** + *
+   * The precise location of the transformed content in the original container.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationLocationOrBuilder getTransformationLocationOrBuilder() { + return getTransformationLocation(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, containerName_); + } + for (int i = 0; i < transformation_.size(); i++) { + output.writeMessage(3, transformation_.get(i)); + } + if (statusDetails_ != null) { + output.writeMessage(4, getStatusDetails()); + } + if (transformedBytes_ != 0L) { + output.writeInt64(5, transformedBytes_); + } + if (transformationLocation_ != null) { + output.writeMessage(6, getTransformationLocation()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, containerName_); + } + for (int i = 0; i < transformation_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, transformation_.get(i)); + } + if (statusDetails_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStatusDetails()); + } + if (transformedBytes_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, transformedBytes_); + } + if (transformationLocation_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getTransformationLocation()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.TransformationDetails)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.TransformationDetails other = (com.google.privacy.dlp.v2.TransformationDetails) obj; + + if (!getResourceName() + .equals(other.getResourceName())) return false; + if (!getContainerName() + .equals(other.getContainerName())) return false; + if (!getTransformationList() + .equals(other.getTransformationList())) return false; + if (hasStatusDetails() != other.hasStatusDetails()) return false; + if (hasStatusDetails()) { + if (!getStatusDetails() + .equals(other.getStatusDetails())) return false; + } + if (getTransformedBytes() + != other.getTransformedBytes()) return false; + if (hasTransformationLocation() != other.hasTransformationLocation()) return false; + if (hasTransformationLocation()) { + if (!getTransformationLocation() + .equals(other.getTransformationLocation())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RESOURCE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getResourceName().hashCode(); + hash = (37 * hash) + CONTAINER_NAME_FIELD_NUMBER; + hash = (53 * hash) + getContainerName().hashCode(); + if (getTransformationCount() > 0) { + hash = (37 * hash) + TRANSFORMATION_FIELD_NUMBER; + hash = (53 * hash) + getTransformationList().hashCode(); + } + if (hasStatusDetails()) { + hash = (37 * hash) + STATUS_DETAILS_FIELD_NUMBER; + hash = (53 * hash) + getStatusDetails().hashCode(); + } + hash = (37 * hash) + TRANSFORMED_BYTES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTransformedBytes()); + if (hasTransformationLocation()) { + hash = (37 * hash) + TRANSFORMATION_LOCATION_FIELD_NUMBER; + hash = (53 * hash) + getTransformationLocation().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationDetails 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.TransformationDetails parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationDetails 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.TransformationDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationDetails 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.TransformationDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationDetails parseDelimitedFrom( + java.io.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.TransformationDetails 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.TransformationDetails parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationDetails prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Details about a single transformation. This object contains a description of
+   * the transformation, information about whether the transformation was
+   * successfully applied, and the precise location where the transformation
+   * occurred. These details are stored in a user-specified BigQuery table.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.TransformationDetails} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationDetails) + com.google.privacy.dlp.v2.TransformationDetailsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationDetails.class, com.google.privacy.dlp.v2.TransformationDetails.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.TransformationDetails.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getTransformationFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + resourceName_ = ""; + + containerName_ = ""; + + if (transformationBuilder_ == null) { + transformation_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + transformationBuilder_.clear(); + } + if (statusDetailsBuilder_ == null) { + statusDetails_ = null; + } else { + statusDetails_ = null; + statusDetailsBuilder_ = null; + } + transformedBytes_ = 0L; + + if (transformationLocationBuilder_ == null) { + transformationLocation_ = null; + } else { + transformationLocation_ = null; + transformationLocationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDetails getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.TransformationDetails.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDetails build() { + com.google.privacy.dlp.v2.TransformationDetails result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDetails buildPartial() { + com.google.privacy.dlp.v2.TransformationDetails result = new com.google.privacy.dlp.v2.TransformationDetails(this); + int from_bitField0_ = bitField0_; + result.resourceName_ = resourceName_; + result.containerName_ = containerName_; + if (transformationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + transformation_ = java.util.Collections.unmodifiableList(transformation_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.transformation_ = transformation_; + } else { + result.transformation_ = transformationBuilder_.build(); + } + if (statusDetailsBuilder_ == null) { + result.statusDetails_ = statusDetails_; + } else { + result.statusDetails_ = statusDetailsBuilder_.build(); + } + result.transformedBytes_ = transformedBytes_; + if (transformationLocationBuilder_ == null) { + result.transformationLocation_ = transformationLocation_; + } else { + result.transformationLocation_ = transformationLocationBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.TransformationDetails) { + return mergeFrom((com.google.privacy.dlp.v2.TransformationDetails)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationDetails other) { + if (other == com.google.privacy.dlp.v2.TransformationDetails.getDefaultInstance()) return this; + if (!other.getResourceName().isEmpty()) { + resourceName_ = other.resourceName_; + onChanged(); + } + if (!other.getContainerName().isEmpty()) { + containerName_ = other.containerName_; + onChanged(); + } + if (transformationBuilder_ == null) { + if (!other.transformation_.isEmpty()) { + if (transformation_.isEmpty()) { + transformation_ = other.transformation_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTransformationIsMutable(); + transformation_.addAll(other.transformation_); + } + onChanged(); + } + } else { + if (!other.transformation_.isEmpty()) { + if (transformationBuilder_.isEmpty()) { + transformationBuilder_.dispose(); + transformationBuilder_ = null; + transformation_ = other.transformation_; + bitField0_ = (bitField0_ & ~0x00000001); + transformationBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTransformationFieldBuilder() : null; + } else { + transformationBuilder_.addAllMessages(other.transformation_); + } + } + } + if (other.hasStatusDetails()) { + mergeStatusDetails(other.getStatusDetails()); + } + if (other.getTransformedBytes() != 0L) { + setTransformedBytes(other.getTransformedBytes()); + } + if (other.hasTransformationLocation()) { + mergeTransformationLocation(other.getTransformationLocation()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.TransformationDetails parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.TransformationDetails) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object resourceName_ = ""; + /** + *
+     * The name of the job that completed the transformation.
+     * 
+ * + * string resource_name = 1; + * @return The resourceName. + */ + public java.lang.String getResourceName() { + java.lang.Object ref = resourceName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resourceName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The name of the job that completed the transformation.
+     * 
+ * + * string resource_name = 1; + * @return The bytes for resourceName. + */ + 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); + resourceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The name of the job that completed the transformation.
+     * 
+ * + * string resource_name = 1; + * @param value The resourceName to set. + * @return This builder for chaining. + */ + public Builder setResourceName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + resourceName_ = value; + onChanged(); + return this; + } + /** + *
+     * The name of the job that completed the transformation.
+     * 
+ * + * string resource_name = 1; + * @return This builder for chaining. + */ + public Builder clearResourceName() { + + resourceName_ = getDefaultInstance().getResourceName(); + onChanged(); + return this; + } + /** + *
+     * The name of the job that completed the transformation.
+     * 
+ * + * string resource_name = 1; + * @param value The bytes for resourceName to set. + * @return This builder for chaining. + */ + public Builder setResourceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + resourceName_ = value; + onChanged(); + return this; + } + + private java.lang.Object containerName_ = ""; + /** + *
+     * The top level name of the container where the transformation is located
+     * (this will be the source file name or table name).
+     * 
+ * + * string container_name = 2; + * @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; + java.lang.String s = bs.toStringUtf8(); + containerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The top level name of the container where the transformation is located
+     * (this will be the source file name or table name).
+     * 
+ * + * string container_name = 2; + * @return The bytes for containerName. + */ + 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); + containerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The top level name of the container where the transformation is located
+     * (this will be the source file name or table name).
+     * 
+ * + * string container_name = 2; + * @param value The containerName to set. + * @return This builder for chaining. + */ + public Builder setContainerName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + containerName_ = value; + onChanged(); + return this; + } + /** + *
+     * The top level name of the container where the transformation is located
+     * (this will be the source file name or table name).
+     * 
+ * + * string container_name = 2; + * @return This builder for chaining. + */ + public Builder clearContainerName() { + + containerName_ = getDefaultInstance().getContainerName(); + onChanged(); + return this; + } + /** + *
+     * The top level name of the container where the transformation is located
+     * (this will be the source file name or table name).
+     * 
+ * + * string container_name = 2; + * @param value The bytes for containerName to set. + * @return This builder for chaining. + */ + public Builder setContainerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + containerName_ = value; + onChanged(); + return this; + } + + private java.util.List transformation_ = + java.util.Collections.emptyList(); + private void ensureTransformationIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + transformation_ = new java.util.ArrayList(transformation_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationDescription, com.google.privacy.dlp.v2.TransformationDescription.Builder, com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder> transformationBuilder_; + + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public java.util.List getTransformationList() { + if (transformationBuilder_ == null) { + return java.util.Collections.unmodifiableList(transformation_); + } else { + return transformationBuilder_.getMessageList(); + } + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public int getTransformationCount() { + if (transformationBuilder_ == null) { + return transformation_.size(); + } else { + return transformationBuilder_.getCount(); + } + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public com.google.privacy.dlp.v2.TransformationDescription getTransformation(int index) { + if (transformationBuilder_ == null) { + return transformation_.get(index); + } else { + return transformationBuilder_.getMessage(index); + } + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public Builder setTransformation( + int index, com.google.privacy.dlp.v2.TransformationDescription value) { + if (transformationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransformationIsMutable(); + transformation_.set(index, value); + onChanged(); + } else { + transformationBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public Builder setTransformation( + int index, com.google.privacy.dlp.v2.TransformationDescription.Builder builderForValue) { + if (transformationBuilder_ == null) { + ensureTransformationIsMutable(); + transformation_.set(index, builderForValue.build()); + onChanged(); + } else { + transformationBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public Builder addTransformation(com.google.privacy.dlp.v2.TransformationDescription value) { + if (transformationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransformationIsMutable(); + transformation_.add(value); + onChanged(); + } else { + transformationBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public Builder addTransformation( + int index, com.google.privacy.dlp.v2.TransformationDescription value) { + if (transformationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTransformationIsMutable(); + transformation_.add(index, value); + onChanged(); + } else { + transformationBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public Builder addTransformation( + com.google.privacy.dlp.v2.TransformationDescription.Builder builderForValue) { + if (transformationBuilder_ == null) { + ensureTransformationIsMutable(); + transformation_.add(builderForValue.build()); + onChanged(); + } else { + transformationBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public Builder addTransformation( + int index, com.google.privacy.dlp.v2.TransformationDescription.Builder builderForValue) { + if (transformationBuilder_ == null) { + ensureTransformationIsMutable(); + transformation_.add(index, builderForValue.build()); + onChanged(); + } else { + transformationBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public Builder addAllTransformation( + java.lang.Iterable values) { + if (transformationBuilder_ == null) { + ensureTransformationIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, transformation_); + onChanged(); + } else { + transformationBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public Builder clearTransformation() { + if (transformationBuilder_ == null) { + transformation_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + transformationBuilder_.clear(); + } + return this; + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public Builder removeTransformation(int index) { + if (transformationBuilder_ == null) { + ensureTransformationIsMutable(); + transformation_.remove(index); + onChanged(); + } else { + transformationBuilder_.remove(index); + } + return this; + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public com.google.privacy.dlp.v2.TransformationDescription.Builder getTransformationBuilder( + int index) { + return getTransformationFieldBuilder().getBuilder(index); + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransformationOrBuilder( + int index) { + if (transformationBuilder_ == null) { + return transformation_.get(index); } else { + return transformationBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public java.util.List + getTransformationOrBuilderList() { + if (transformationBuilder_ != null) { + return transformationBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(transformation_); + } + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public com.google.privacy.dlp.v2.TransformationDescription.Builder addTransformationBuilder() { + return getTransformationFieldBuilder().addBuilder( + com.google.privacy.dlp.v2.TransformationDescription.getDefaultInstance()); + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public com.google.privacy.dlp.v2.TransformationDescription.Builder addTransformationBuilder( + int index) { + return getTransformationFieldBuilder().addBuilder( + index, com.google.privacy.dlp.v2.TransformationDescription.getDefaultInstance()); + } + /** + *
+     * Description of transformation. This would only contain more than one
+     * element if there were multiple matching transformations and which one to
+     * apply was ambiguous. Not set for states that contain no transformation,
+     * currently only state that contains no transformation is
+     * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+     * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + public java.util.List + getTransformationBuilderList() { + return getTransformationFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationDescription, com.google.privacy.dlp.v2.TransformationDescription.Builder, com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder> + getTransformationFieldBuilder() { + if (transformationBuilder_ == null) { + transformationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationDescription, com.google.privacy.dlp.v2.TransformationDescription.Builder, com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder>( + transformation_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + transformation_ = null; + } + return transformationBuilder_; + } + + private com.google.privacy.dlp.v2.TransformationResultStatus statusDetails_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationResultStatus, com.google.privacy.dlp.v2.TransformationResultStatus.Builder, com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder> statusDetailsBuilder_; + /** + *
+     * Status of the transformation, if transformation was not successful, this
+     * will specify what caused it to fail, otherwise it will show that the
+     * transformation was successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * @return Whether the statusDetails field is set. + */ + public boolean hasStatusDetails() { + return statusDetailsBuilder_ != null || statusDetails_ != null; + } + /** + *
+     * Status of the transformation, if transformation was not successful, this
+     * will specify what caused it to fail, otherwise it will show that the
+     * transformation was successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * @return The statusDetails. + */ + public com.google.privacy.dlp.v2.TransformationResultStatus getStatusDetails() { + if (statusDetailsBuilder_ == null) { + return statusDetails_ == null ? com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance() : statusDetails_; + } else { + return statusDetailsBuilder_.getMessage(); + } + } + /** + *
+     * Status of the transformation, if transformation was not successful, this
+     * will specify what caused it to fail, otherwise it will show that the
+     * transformation was successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + */ + public Builder setStatusDetails(com.google.privacy.dlp.v2.TransformationResultStatus value) { + if (statusDetailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + statusDetails_ = value; + onChanged(); + } else { + statusDetailsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Status of the transformation, if transformation was not successful, this
+     * will specify what caused it to fail, otherwise it will show that the
+     * transformation was successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + */ + public Builder setStatusDetails( + com.google.privacy.dlp.v2.TransformationResultStatus.Builder builderForValue) { + if (statusDetailsBuilder_ == null) { + statusDetails_ = builderForValue.build(); + onChanged(); + } else { + statusDetailsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Status of the transformation, if transformation was not successful, this
+     * will specify what caused it to fail, otherwise it will show that the
+     * transformation was successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + */ + public Builder mergeStatusDetails(com.google.privacy.dlp.v2.TransformationResultStatus value) { + if (statusDetailsBuilder_ == null) { + if (statusDetails_ != null) { + statusDetails_ = + com.google.privacy.dlp.v2.TransformationResultStatus.newBuilder(statusDetails_).mergeFrom(value).buildPartial(); + } else { + statusDetails_ = value; + } + onChanged(); + } else { + statusDetailsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Status of the transformation, if transformation was not successful, this
+     * will specify what caused it to fail, otherwise it will show that the
+     * transformation was successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + */ + public Builder clearStatusDetails() { + if (statusDetailsBuilder_ == null) { + statusDetails_ = null; + onChanged(); + } else { + statusDetails_ = null; + statusDetailsBuilder_ = null; + } + + return this; + } + /** + *
+     * Status of the transformation, if transformation was not successful, this
+     * will specify what caused it to fail, otherwise it will show that the
+     * transformation was successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + */ + public com.google.privacy.dlp.v2.TransformationResultStatus.Builder getStatusDetailsBuilder() { + + onChanged(); + return getStatusDetailsFieldBuilder().getBuilder(); + } + /** + *
+     * Status of the transformation, if transformation was not successful, this
+     * will specify what caused it to fail, otherwise it will show that the
+     * transformation was successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + */ + public com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder getStatusDetailsOrBuilder() { + if (statusDetailsBuilder_ != null) { + return statusDetailsBuilder_.getMessageOrBuilder(); + } else { + return statusDetails_ == null ? + com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance() : statusDetails_; + } + } + /** + *
+     * Status of the transformation, if transformation was not successful, this
+     * will specify what caused it to fail, otherwise it will show that the
+     * transformation was successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationResultStatus, com.google.privacy.dlp.v2.TransformationResultStatus.Builder, com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder> + getStatusDetailsFieldBuilder() { + if (statusDetailsBuilder_ == null) { + statusDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationResultStatus, com.google.privacy.dlp.v2.TransformationResultStatus.Builder, com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder>( + getStatusDetails(), + getParentForChildren(), + isClean()); + statusDetails_ = null; + } + return statusDetailsBuilder_; + } + + private long transformedBytes_ ; + /** + *
+     * The number of bytes that were transformed. If transformation was
+     * unsuccessful or did not take place because there was no content to
+     * transform, this will be zero.
+     * 
+ * + * int64 transformed_bytes = 5; + * @return The transformedBytes. + */ + @java.lang.Override + public long getTransformedBytes() { + return transformedBytes_; + } + /** + *
+     * The number of bytes that were transformed. If transformation was
+     * unsuccessful or did not take place because there was no content to
+     * transform, this will be zero.
+     * 
+ * + * int64 transformed_bytes = 5; + * @param value The transformedBytes to set. + * @return This builder for chaining. + */ + public Builder setTransformedBytes(long value) { + + transformedBytes_ = value; + onChanged(); + return this; + } + /** + *
+     * The number of bytes that were transformed. If transformation was
+     * unsuccessful or did not take place because there was no content to
+     * transform, this will be zero.
+     * 
+ * + * int64 transformed_bytes = 5; + * @return This builder for chaining. + */ + public Builder clearTransformedBytes() { + + transformedBytes_ = 0L; + onChanged(); + return this; + } + + private com.google.privacy.dlp.v2.TransformationLocation transformationLocation_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationLocation, com.google.privacy.dlp.v2.TransformationLocation.Builder, com.google.privacy.dlp.v2.TransformationLocationOrBuilder> transformationLocationBuilder_; + /** + *
+     * The precise location of the transformed content in the original container.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * @return Whether the transformationLocation field is set. + */ + public boolean hasTransformationLocation() { + return transformationLocationBuilder_ != null || transformationLocation_ != null; + } + /** + *
+     * The precise location of the transformed content in the original container.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * @return The transformationLocation. + */ + public com.google.privacy.dlp.v2.TransformationLocation getTransformationLocation() { + if (transformationLocationBuilder_ == null) { + return transformationLocation_ == null ? com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance() : transformationLocation_; + } else { + return transformationLocationBuilder_.getMessage(); + } + } + /** + *
+     * The precise location of the transformed content in the original container.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + */ + public Builder setTransformationLocation(com.google.privacy.dlp.v2.TransformationLocation value) { + if (transformationLocationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + transformationLocation_ = value; + onChanged(); + } else { + transformationLocationBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * The precise location of the transformed content in the original container.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + */ + public Builder setTransformationLocation( + com.google.privacy.dlp.v2.TransformationLocation.Builder builderForValue) { + if (transformationLocationBuilder_ == null) { + transformationLocation_ = builderForValue.build(); + onChanged(); + } else { + transformationLocationBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * The precise location of the transformed content in the original container.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + */ + public Builder mergeTransformationLocation(com.google.privacy.dlp.v2.TransformationLocation value) { + if (transformationLocationBuilder_ == null) { + if (transformationLocation_ != null) { + transformationLocation_ = + com.google.privacy.dlp.v2.TransformationLocation.newBuilder(transformationLocation_).mergeFrom(value).buildPartial(); + } else { + transformationLocation_ = value; + } + onChanged(); + } else { + transformationLocationBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * The precise location of the transformed content in the original container.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + */ + public Builder clearTransformationLocation() { + if (transformationLocationBuilder_ == null) { + transformationLocation_ = null; + onChanged(); + } else { + transformationLocation_ = null; + transformationLocationBuilder_ = null; + } + + return this; + } + /** + *
+     * The precise location of the transformed content in the original container.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + */ + public com.google.privacy.dlp.v2.TransformationLocation.Builder getTransformationLocationBuilder() { + + onChanged(); + return getTransformationLocationFieldBuilder().getBuilder(); + } + /** + *
+     * The precise location of the transformed content in the original container.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + */ + public com.google.privacy.dlp.v2.TransformationLocationOrBuilder getTransformationLocationOrBuilder() { + if (transformationLocationBuilder_ != null) { + return transformationLocationBuilder_.getMessageOrBuilder(); + } else { + return transformationLocation_ == null ? + com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance() : transformationLocation_; + } + } + /** + *
+     * The precise location of the transformed content in the original container.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationLocation, com.google.privacy.dlp.v2.TransformationLocation.Builder, com.google.privacy.dlp.v2.TransformationLocationOrBuilder> + getTransformationLocationFieldBuilder() { + if (transformationLocationBuilder_ == null) { + transformationLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationLocation, com.google.privacy.dlp.v2.TransformationLocation.Builder, com.google.privacy.dlp.v2.TransformationLocationOrBuilder>( + getTransformationLocation(), + getParentForChildren(), + isClean()); + transformationLocation_ = null; + } + return transformationLocationBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationDetails) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationDetails) + private static final com.google.privacy.dlp.v2.TransformationDetails DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationDetails(); + } + + public static com.google.privacy.dlp.v2.TransformationDetails getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationDetails(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDetails getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsOrBuilder.java new file mode 100644 index 00000000..01f49cd0 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsOrBuilder.java @@ -0,0 +1,187 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface TransformationDetailsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationDetails) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the job that completed the transformation.
+   * 
+ * + * string resource_name = 1; + * @return The resourceName. + */ + java.lang.String getResourceName(); + /** + *
+   * The name of the job that completed the transformation.
+   * 
+ * + * string resource_name = 1; + * @return The bytes for resourceName. + */ + com.google.protobuf.ByteString + getResourceNameBytes(); + + /** + *
+   * The top level name of the container where the transformation is located
+   * (this will be the source file name or table name).
+   * 
+ * + * string container_name = 2; + * @return The containerName. + */ + java.lang.String getContainerName(); + /** + *
+   * The top level name of the container where the transformation is located
+   * (this will be the source file name or table name).
+   * 
+ * + * string container_name = 2; + * @return The bytes for containerName. + */ + com.google.protobuf.ByteString + getContainerNameBytes(); + + /** + *
+   * Description of transformation. This would only contain more than one
+   * element if there were multiple matching transformations and which one to
+   * apply was ambiguous. Not set for states that contain no transformation,
+   * currently only state that contains no transformation is
+   * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+   * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + java.util.List + getTransformationList(); + /** + *
+   * Description of transformation. This would only contain more than one
+   * element if there were multiple matching transformations and which one to
+   * apply was ambiguous. Not set for states that contain no transformation,
+   * currently only state that contains no transformation is
+   * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+   * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + com.google.privacy.dlp.v2.TransformationDescription getTransformation(int index); + /** + *
+   * Description of transformation. This would only contain more than one
+   * element if there were multiple matching transformations and which one to
+   * apply was ambiguous. Not set for states that contain no transformation,
+   * currently only state that contains no transformation is
+   * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+   * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + int getTransformationCount(); + /** + *
+   * Description of transformation. This would only contain more than one
+   * element if there were multiple matching transformations and which one to
+   * apply was ambiguous. Not set for states that contain no transformation,
+   * currently only state that contains no transformation is
+   * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+   * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + java.util.List + getTransformationOrBuilderList(); + /** + *
+   * Description of transformation. This would only contain more than one
+   * element if there were multiple matching transformations and which one to
+   * apply was ambiguous. Not set for states that contain no transformation,
+   * currently only state that contains no transformation is
+   * TransformationResultStateType.METADATA_UNRETRIEVABLE.
+   * 
+ * + * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3; + */ + com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransformationOrBuilder( + int index); + + /** + *
+   * Status of the transformation, if transformation was not successful, this
+   * will specify what caused it to fail, otherwise it will show that the
+   * transformation was successful.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * @return Whether the statusDetails field is set. + */ + boolean hasStatusDetails(); + /** + *
+   * Status of the transformation, if transformation was not successful, this
+   * will specify what caused it to fail, otherwise it will show that the
+   * transformation was successful.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * @return The statusDetails. + */ + com.google.privacy.dlp.v2.TransformationResultStatus getStatusDetails(); + /** + *
+   * Status of the transformation, if transformation was not successful, this
+   * will specify what caused it to fail, otherwise it will show that the
+   * transformation was successful.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + */ + com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder getStatusDetailsOrBuilder(); + + /** + *
+   * The number of bytes that were transformed. If transformation was
+   * unsuccessful or did not take place because there was no content to
+   * transform, this will be zero.
+   * 
+ * + * int64 transformed_bytes = 5; + * @return The transformedBytes. + */ + long getTransformedBytes(); + + /** + *
+   * The precise location of the transformed content in the original container.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * @return Whether the transformationLocation field is set. + */ + boolean hasTransformationLocation(); + /** + *
+   * The precise location of the transformed content in the original container.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * @return The transformationLocation. + */ + com.google.privacy.dlp.v2.TransformationLocation getTransformationLocation(); + /** + *
+   * The precise location of the transformed content in the original container.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + */ + com.google.privacy.dlp.v2.TransformationLocationOrBuilder getTransformationLocationOrBuilder(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfig.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfig.java new file mode 100644 index 00000000..8a947da6 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfig.java @@ -0,0 +1,821 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + *
+ * Config for storing transformation details.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.TransformationDetailsStorageConfig} + */ +public final class TransformationDetailsStorageConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationDetailsStorageConfig) + TransformationDetailsStorageConfigOrBuilder { +private static final long serialVersionUID = 0L; + // Use TransformationDetailsStorageConfig.newBuilder() to construct. + private TransformationDetailsStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TransformationDetailsStorageConfig() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TransformationDetailsStorageConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TransformationDetailsStorageConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 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; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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_TransformationDetailsStorageConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.class, com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder.class); + } + + private int typeCase_ = 0; + private java.lang.Object type_; + public enum TypeCase + 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; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TypeCase valueOf(int value) { + return forNumber(value); + } + + public static TypeCase forNumber(int value) { + switch (value) { + 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 static final int TABLE_FIELD_NUMBER = 1; + /** + *
+   * The BigQuery table in which to store the output. This may be an existing
+   * table or in a new table in an existing dataset.
+   * If table_id is not set a new one will be generated for you with the
+   * following format:
+   * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+   * time zone will be used for generating the date details.
+   * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + * @return Whether the table field is set. + */ + @java.lang.Override + public boolean hasTable() { + return typeCase_ == 1; + } + /** + *
+   * The BigQuery table in which to store the output. This may be an existing
+   * table or in a new table in an existing dataset.
+   * If table_id is not set a new one will be generated for you with the
+   * following format:
+   * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+   * time zone will be used for generating the date details.
+   * 
+ * + * .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.getDefaultInstance(); + } + /** + *
+   * The BigQuery table in which to store the output. This may be an existing
+   * table or in a new table in an existing dataset.
+   * If table_id is not set a new one will be generated for you with the
+   * following format:
+   * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+   * time zone will be used for generating the date details.
+   * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + */ + @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.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (typeCase_ == 1) { + output.writeMessage(1, (com.google.privacy.dlp.v2.BigQueryTable) type_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (typeCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.privacy.dlp.v2.BigQueryTable) type_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.TransformationDetailsStorageConfig)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig other = (com.google.privacy.dlp.v2.TransformationDetailsStorageConfig) obj; + + if (!getTypeCase().equals(other.getTypeCase())) return false; + switch (typeCase_) { + case 1: + if (!getTable() + .equals(other.getTable())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (typeCase_) { + case 1: + hash = (37 * hash) + TABLE_FIELD_NUMBER; + hash = (53 * hash) + getTable().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig 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.TransformationDetailsStorageConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig 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.TransformationDetailsStorageConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig 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.TransformationDetailsStorageConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseDelimitedFrom( + java.io.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.TransformationDetailsStorageConfig 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.TransformationDetailsStorageConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationDetailsStorageConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Config for storing transformation details.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.TransformationDetailsStorageConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationDetailsStorageConfig) + com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.class, com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + typeCase_ = 0; + type_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig build() { + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig buildPartial() { + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig result = new com.google.privacy.dlp.v2.TransformationDetailsStorageConfig(this); + if (typeCase_ == 1) { + if (tableBuilder_ == null) { + result.type_ = type_; + } else { + result.type_ = tableBuilder_.build(); + } + } + result.typeCase_ = typeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.TransformationDetailsStorageConfig) { + return mergeFrom((com.google.privacy.dlp.v2.TransformationDetailsStorageConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationDetailsStorageConfig other) { + if (other == com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance()) return this; + switch (other.getTypeCase()) { + case TABLE: { + mergeTable(other.getTable()); + break; + } + case TYPE_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.TransformationDetailsStorageConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int typeCase_ = 0; + private java.lang.Object type_; + public TypeCase + getTypeCase() { + return TypeCase.forNumber( + typeCase_); + } + + public Builder clearType() { + typeCase_ = 0; + type_ = null; + onChanged(); + 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_; + /** + *
+     * The BigQuery table in which to store the output. This may be an existing
+     * table or in a new table in an existing dataset.
+     * If table_id is not set a new one will be generated for you with the
+     * following format:
+     * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+     * time zone will be used for generating the date details.
+     * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + * @return Whether the table field is set. + */ + @java.lang.Override + public boolean hasTable() { + return typeCase_ == 1; + } + /** + *
+     * The BigQuery table in which to store the output. This may be an existing
+     * table or in a new table in an existing dataset.
+     * If table_id is not set a new one will be generated for you with the
+     * following format:
+     * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+     * time zone will be used for generating the date details.
+     * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + * @return The table. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.BigQueryTable getTable() { + if (tableBuilder_ == null) { + if (typeCase_ == 1) { + return (com.google.privacy.dlp.v2.BigQueryTable) type_; + } + return com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance(); + } else { + if (typeCase_ == 1) { + return tableBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance(); + } + } + /** + *
+     * The BigQuery table in which to store the output. This may be an existing
+     * table or in a new table in an existing dataset.
+     * If table_id is not set a new one will be generated for you with the
+     * following format:
+     * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+     * time zone will be used for generating the date details.
+     * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + */ + public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) { + if (tableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + type_ = value; + onChanged(); + } else { + tableBuilder_.setMessage(value); + } + typeCase_ = 1; + return this; + } + /** + *
+     * The BigQuery table in which to store the output. This may be an existing
+     * table or in a new table in an existing dataset.
+     * If table_id is not set a new one will be generated for you with the
+     * following format:
+     * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+     * time zone will be used for generating the date details.
+     * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + */ + public Builder setTable( + com.google.privacy.dlp.v2.BigQueryTable.Builder builderForValue) { + if (tableBuilder_ == null) { + type_ = builderForValue.build(); + onChanged(); + } else { + tableBuilder_.setMessage(builderForValue.build()); + } + typeCase_ = 1; + return this; + } + /** + *
+     * The BigQuery table in which to store the output. This may be an existing
+     * table or in a new table in an existing dataset.
+     * If table_id is not set a new one will be generated for you with the
+     * following format:
+     * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+     * time zone will be used for generating the date details.
+     * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + */ + 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(); + } else { + type_ = value; + } + onChanged(); + } else { + if (typeCase_ == 1) { + tableBuilder_.mergeFrom(value); + } else { + tableBuilder_.setMessage(value); + } + } + typeCase_ = 1; + return this; + } + /** + *
+     * The BigQuery table in which to store the output. This may be an existing
+     * table or in a new table in an existing dataset.
+     * If table_id is not set a new one will be generated for you with the
+     * following format:
+     * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+     * time zone will be used for generating the date details.
+     * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + */ + public Builder clearTable() { + if (tableBuilder_ == null) { + if (typeCase_ == 1) { + typeCase_ = 0; + type_ = null; + onChanged(); + } + } else { + if (typeCase_ == 1) { + typeCase_ = 0; + type_ = null; + } + tableBuilder_.clear(); + } + return this; + } + /** + *
+     * The BigQuery table in which to store the output. This may be an existing
+     * table or in a new table in an existing dataset.
+     * If table_id is not set a new one will be generated for you with the
+     * following format:
+     * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+     * time zone will be used for generating the date details.
+     * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + */ + public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() { + return getTableFieldBuilder().getBuilder(); + } + /** + *
+     * The BigQuery table in which to store the output. This may be an existing
+     * table or in a new table in an existing dataset.
+     * If table_id is not set a new one will be generated for you with the
+     * following format:
+     * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+     * time zone will be used for generating the date details.
+     * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() { + if ((typeCase_ == 1) && (tableBuilder_ != null)) { + return tableBuilder_.getMessageOrBuilder(); + } else { + if (typeCase_ == 1) { + return (com.google.privacy.dlp.v2.BigQueryTable) type_; + } + return com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance(); + } + } + /** + *
+     * The BigQuery table in which to store the output. This may be an existing
+     * table or in a new table in an existing dataset.
+     * If table_id is not set a new one will be generated for you with the
+     * following format:
+     * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+     * time zone will be used for generating the date details.
+     * 
+ * + * .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> + 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()); + type_ = null; + } + typeCase_ = 1; + onChanged();; + return tableBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationDetailsStorageConfig) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationDetailsStorageConfig) + private static final com.google.privacy.dlp.v2.TransformationDetailsStorageConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationDetailsStorageConfig(); + } + + public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationDetailsStorageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationDetailsStorageConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfigOrBuilder.java new file mode 100644 index 00000000..4c06560d --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfigOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface TransformationDetailsStorageConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationDetailsStorageConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The BigQuery table in which to store the output. This may be an existing
+   * table or in a new table in an existing dataset.
+   * If table_id is not set a new one will be generated for you with the
+   * following format:
+   * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+   * time zone will be used for generating the date details.
+   * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + * @return Whether the table field is set. + */ + boolean hasTable(); + /** + *
+   * The BigQuery table in which to store the output. This may be an existing
+   * table or in a new table in an existing dataset.
+   * If table_id is not set a new one will be generated for you with the
+   * following format:
+   * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+   * time zone will be used for generating the date details.
+   * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + * @return The table. + */ + com.google.privacy.dlp.v2.BigQueryTable getTable(); + /** + *
+   * The BigQuery table in which to store the output. This may be an existing
+   * table or in a new table in an existing dataset.
+   * If table_id is not set a new one will be generated for you with the
+   * following format:
+   * dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific
+   * time zone will be used for generating the date details.
+   * 
+ * + * .google.privacy.dlp.v2.BigQueryTable table = 1; + */ + com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder(); + + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.TypeCase getTypeCase(); +} 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 62% 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 3137a387..715e5b5a 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,58 +59,41 @@ 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) {
@@ -134,64 +101,61 @@ private TransformationErrorHandling(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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) @@ -210,13 +174,13 @@ 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) { @@ -224,30 +188,27 @@ private ThrowError( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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; @@ -259,7 +220,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -277,13 +239,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; @@ -302,95 +263,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 @@ -400,49 +353,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(); @@ -450,16 +398,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 @@ -473,8 +419,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; } @@ -483,53 +428,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; @@ -549,9 +487,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) { @@ -560,7 +496,6 @@ public Builder mergeFrom( } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -573,32 +508,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; @@ -610,19 +543,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
@@ -632,29 +563,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)
@@ -673,13 +605,13 @@ 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) {
@@ -687,31 +619,27 @@ private LeaveUntransformed(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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;
@@ -723,7 +651,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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);
     }
 
@@ -741,14 +670,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;
@@ -766,101 +693,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
@@ -870,8 +784,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
@@ -881,42 +793,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();
@@ -924,22 +832,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);
         }
@@ -947,10 +852,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;
       }
@@ -959,54 +862,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;
@@ -1022,14 +917,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) {
@@ -1038,7 +930,6 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1051,33 +942,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;
@@ -1089,24 +977,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;
     }
@@ -1122,36 +1007,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 @@ -1159,26 +1038,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
    * 
@@ -1186,26 +1060,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 @@ -1213,50 +1081,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; @@ -1268,14 +1122,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); } @@ -1287,14 +1140,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; @@ -1304,21 +1155,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: @@ -1352,104 +1204,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
@@ -1463,23 +1307,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()
@@ -1487,15 +1329,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1505,9 +1348,9 @@ public Builder 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
@@ -1526,8 +1369,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_;
@@ -1551,39 +1393,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;
@@ -1591,23 +1432,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();
@@ -1628,8 +1465,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) {
@@ -1638,12 +1474,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() {
@@ -1653,20 +1489,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 @@ -1674,14 +1505,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 @@ -1690,27 +1518,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(); @@ -1724,8 +1547,6 @@ public Builder setThrowError( return this; } /** - * - * *
      * Throw an error
      * 
@@ -1744,26 +1565,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; } @@ -1779,8 +1592,6 @@ public Builder mergeThrowError( return this; } /** - * - * *
      * Throw an error
      * 
@@ -1804,21 +1615,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
      * 
@@ -1826,21 +1632,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
      * 
@@ -1848,47 +1650,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 @@ -1896,48 +1683,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(); @@ -1951,19 +1725,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(); @@ -1974,29 +1743,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; } @@ -2012,15 +1770,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) { @@ -2039,84 +1793,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); } @@ -2126,12 +1857,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(); } @@ -2140,16 +1871,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; @@ -2164,4 +1895,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/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocation.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocation.java new file mode 100644 index 00000000..ac07635a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocation.java @@ -0,0 +1,1144 @@ +// 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 a transformation.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.TransformationLocation} + */ +public final class TransformationLocation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationLocation) + TransformationLocationOrBuilder { +private static final long serialVersionUID = 0L; + // Use TransformationLocation.newBuilder() to construct. + private TransformationLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TransformationLocation() { + containerType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TransformationLocation(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TransformationLocation( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + locationTypeCase_ = 1; + locationType_ = s; + break; + } + case 18: { + com.google.privacy.dlp.v2.RecordTransformation.Builder subBuilder = null; + if (locationTypeCase_ == 2) { + subBuilder = ((com.google.privacy.dlp.v2.RecordTransformation) locationType_).toBuilder(); + } + locationType_ = + input.readMessage(com.google.privacy.dlp.v2.RecordTransformation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.RecordTransformation) locationType_); + locationType_ = subBuilder.buildPartial(); + } + locationTypeCase_ = 2; + break; + } + case 24: { + int rawValue = input.readEnum(); + + containerType_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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_TransformationLocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationLocation.class, com.google.privacy.dlp.v2.TransformationLocation.Builder.class); + } + + private int locationTypeCase_ = 0; + private java.lang.Object locationType_; + public enum LocationTypeCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + FINDING_ID(1), + RECORD_TRANSFORMATION(2), + LOCATIONTYPE_NOT_SET(0); + private final int value; + private LocationTypeCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LocationTypeCase valueOf(int value) { + return forNumber(value); + } + + public static LocationTypeCase forNumber(int value) { + switch (value) { + case 1: return FINDING_ID; + case 2: return RECORD_TRANSFORMATION; + case 0: return LOCATIONTYPE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public LocationTypeCase + getLocationTypeCase() { + return LocationTypeCase.forNumber( + locationTypeCase_); + } + + public static final int FINDING_ID_FIELD_NUMBER = 1; + /** + *
+   * For infotype transformations, link to the corresponding findings ID so
+   * that location information does not need to be duplicated. Each findings
+   * ID correlates to an entry in the findings output table, this table only
+   * gets created when users specify to save findings (add the save findings
+   * action to the request).
+   * 
+ * + * string finding_id = 1; + * @return Whether the findingId field is set. + */ + public boolean hasFindingId() { + return locationTypeCase_ == 1; + } + /** + *
+   * For infotype transformations, link to the corresponding findings ID so
+   * that location information does not need to be duplicated. Each findings
+   * ID correlates to an entry in the findings output table, this table only
+   * gets created when users specify to save findings (add the save findings
+   * action to the request).
+   * 
+ * + * string finding_id = 1; + * @return The findingId. + */ + public java.lang.String getFindingId() { + java.lang.Object ref = ""; + if (locationTypeCase_ == 1) { + ref = locationType_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (locationTypeCase_ == 1) { + locationType_ = s; + } + return s; + } + } + /** + *
+   * For infotype transformations, link to the corresponding findings ID so
+   * that location information does not need to be duplicated. Each findings
+   * ID correlates to an entry in the findings output table, this table only
+   * gets created when users specify to save findings (add the save findings
+   * action to the request).
+   * 
+ * + * string finding_id = 1; + * @return The bytes for findingId. + */ + public com.google.protobuf.ByteString + getFindingIdBytes() { + java.lang.Object ref = ""; + if (locationTypeCase_ == 1) { + ref = locationType_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (locationTypeCase_ == 1) { + locationType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RECORD_TRANSFORMATION_FIELD_NUMBER = 2; + /** + *
+   * For record transformations, provide a field and container information.
+   * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * @return Whether the recordTransformation field is set. + */ + @java.lang.Override + public boolean hasRecordTransformation() { + return locationTypeCase_ == 2; + } + /** + *
+   * For record transformations, provide a field and container information.
+   * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * @return The recordTransformation. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.RecordTransformation getRecordTransformation() { + if (locationTypeCase_ == 2) { + return (com.google.privacy.dlp.v2.RecordTransformation) locationType_; + } + return com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance(); + } + /** + *
+   * For record transformations, provide a field and container information.
+   * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.RecordTransformationOrBuilder getRecordTransformationOrBuilder() { + if (locationTypeCase_ == 2) { + return (com.google.privacy.dlp.v2.RecordTransformation) locationType_; + } + return com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance(); + } + + public static final int CONTAINER_TYPE_FIELD_NUMBER = 3; + private int containerType_; + /** + *
+   * Information about the functionality of the container where this finding
+   * occurred, if available.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * @return The enum numeric value on the wire for containerType. + */ + @java.lang.Override public int getContainerTypeValue() { + return containerType_; + } + /** + *
+   * Information about the functionality of the container where this finding
+   * occurred, if available.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * @return The containerType. + */ + @java.lang.Override public com.google.privacy.dlp.v2.TransformationContainerType getContainerType() { + @SuppressWarnings("deprecation") + com.google.privacy.dlp.v2.TransformationContainerType result = com.google.privacy.dlp.v2.TransformationContainerType.valueOf(containerType_); + return result == null ? com.google.privacy.dlp.v2.TransformationContainerType.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (locationTypeCase_ == 1) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, locationType_); + } + if (locationTypeCase_ == 2) { + output.writeMessage(2, (com.google.privacy.dlp.v2.RecordTransformation) locationType_); + } + if (containerType_ != com.google.privacy.dlp.v2.TransformationContainerType.TRANSFORM_UNKNOWN_CONTAINER.getNumber()) { + output.writeEnum(3, containerType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (locationTypeCase_ == 1) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, locationType_); + } + if (locationTypeCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.privacy.dlp.v2.RecordTransformation) locationType_); + } + if (containerType_ != com.google.privacy.dlp.v2.TransformationContainerType.TRANSFORM_UNKNOWN_CONTAINER.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, containerType_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.TransformationLocation)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.TransformationLocation other = (com.google.privacy.dlp.v2.TransformationLocation) obj; + + if (containerType_ != other.containerType_) return false; + if (!getLocationTypeCase().equals(other.getLocationTypeCase())) return false; + switch (locationTypeCase_) { + case 1: + if (!getFindingId() + .equals(other.getFindingId())) return false; + break; + case 2: + if (!getRecordTransformation() + .equals(other.getRecordTransformation())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CONTAINER_TYPE_FIELD_NUMBER; + hash = (53 * hash) + containerType_; + switch (locationTypeCase_) { + case 1: + hash = (37 * hash) + FINDING_ID_FIELD_NUMBER; + hash = (53 * hash) + getFindingId().hashCode(); + break; + case 2: + hash = (37 * hash) + RECORD_TRANSFORMATION_FIELD_NUMBER; + hash = (53 * hash) + getRecordTransformation().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationLocation 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.TransformationLocation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationLocation 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.TransformationLocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationLocation 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.TransformationLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationLocation parseDelimitedFrom( + java.io.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.TransformationLocation 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.TransformationLocation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationLocation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Specifies the location of a transformation.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.TransformationLocation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationLocation) + com.google.privacy.dlp.v2.TransformationLocationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationLocation.class, com.google.privacy.dlp.v2.TransformationLocation.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.TransformationLocation.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + containerType_ = 0; + + locationTypeCase_ = 0; + locationType_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationLocation getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationLocation build() { + com.google.privacy.dlp.v2.TransformationLocation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationLocation buildPartial() { + com.google.privacy.dlp.v2.TransformationLocation result = new com.google.privacy.dlp.v2.TransformationLocation(this); + if (locationTypeCase_ == 1) { + result.locationType_ = locationType_; + } + if (locationTypeCase_ == 2) { + if (recordTransformationBuilder_ == null) { + result.locationType_ = locationType_; + } else { + result.locationType_ = recordTransformationBuilder_.build(); + } + } + result.containerType_ = containerType_; + result.locationTypeCase_ = locationTypeCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.TransformationLocation) { + return mergeFrom((com.google.privacy.dlp.v2.TransformationLocation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationLocation other) { + if (other == com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance()) return this; + if (other.containerType_ != 0) { + setContainerTypeValue(other.getContainerTypeValue()); + } + switch (other.getLocationTypeCase()) { + case FINDING_ID: { + locationTypeCase_ = 1; + locationType_ = other.locationType_; + onChanged(); + break; + } + case RECORD_TRANSFORMATION: { + mergeRecordTransformation(other.getRecordTransformation()); + break; + } + case LOCATIONTYPE_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.TransformationLocation parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.TransformationLocation) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int locationTypeCase_ = 0; + private java.lang.Object locationType_; + public LocationTypeCase + getLocationTypeCase() { + return LocationTypeCase.forNumber( + locationTypeCase_); + } + + public Builder clearLocationType() { + locationTypeCase_ = 0; + locationType_ = null; + onChanged(); + return this; + } + + + /** + *
+     * For infotype transformations, link to the corresponding findings ID so
+     * that location information does not need to be duplicated. Each findings
+     * ID correlates to an entry in the findings output table, this table only
+     * gets created when users specify to save findings (add the save findings
+     * action to the request).
+     * 
+ * + * string finding_id = 1; + * @return Whether the findingId field is set. + */ + @java.lang.Override + public boolean hasFindingId() { + return locationTypeCase_ == 1; + } + /** + *
+     * For infotype transformations, link to the corresponding findings ID so
+     * that location information does not need to be duplicated. Each findings
+     * ID correlates to an entry in the findings output table, this table only
+     * gets created when users specify to save findings (add the save findings
+     * action to the request).
+     * 
+ * + * string finding_id = 1; + * @return The findingId. + */ + @java.lang.Override + public java.lang.String getFindingId() { + java.lang.Object ref = ""; + if (locationTypeCase_ == 1) { + ref = locationType_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (locationTypeCase_ == 1) { + locationType_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * For infotype transformations, link to the corresponding findings ID so
+     * that location information does not need to be duplicated. Each findings
+     * ID correlates to an entry in the findings output table, this table only
+     * gets created when users specify to save findings (add the save findings
+     * action to the request).
+     * 
+ * + * string finding_id = 1; + * @return The bytes for findingId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFindingIdBytes() { + java.lang.Object ref = ""; + if (locationTypeCase_ == 1) { + ref = locationType_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (locationTypeCase_ == 1) { + locationType_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * For infotype transformations, link to the corresponding findings ID so
+     * that location information does not need to be duplicated. Each findings
+     * ID correlates to an entry in the findings output table, this table only
+     * gets created when users specify to save findings (add the save findings
+     * action to the request).
+     * 
+ * + * string finding_id = 1; + * @param value The findingId to set. + * @return This builder for chaining. + */ + public Builder setFindingId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + locationTypeCase_ = 1; + locationType_ = value; + onChanged(); + return this; + } + /** + *
+     * For infotype transformations, link to the corresponding findings ID so
+     * that location information does not need to be duplicated. Each findings
+     * ID correlates to an entry in the findings output table, this table only
+     * gets created when users specify to save findings (add the save findings
+     * action to the request).
+     * 
+ * + * string finding_id = 1; + * @return This builder for chaining. + */ + public Builder clearFindingId() { + if (locationTypeCase_ == 1) { + locationTypeCase_ = 0; + locationType_ = null; + onChanged(); + } + return this; + } + /** + *
+     * For infotype transformations, link to the corresponding findings ID so
+     * that location information does not need to be duplicated. Each findings
+     * ID correlates to an entry in the findings output table, this table only
+     * gets created when users specify to save findings (add the save findings
+     * action to the request).
+     * 
+ * + * string finding_id = 1; + * @param value The bytes for findingId to set. + * @return This builder for chaining. + */ + public Builder setFindingIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + locationTypeCase_ = 1; + locationType_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordTransformation, com.google.privacy.dlp.v2.RecordTransformation.Builder, com.google.privacy.dlp.v2.RecordTransformationOrBuilder> recordTransformationBuilder_; + /** + *
+     * For record transformations, provide a field and container information.
+     * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * @return Whether the recordTransformation field is set. + */ + @java.lang.Override + public boolean hasRecordTransformation() { + return locationTypeCase_ == 2; + } + /** + *
+     * For record transformations, provide a field and container information.
+     * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * @return The recordTransformation. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.RecordTransformation getRecordTransformation() { + if (recordTransformationBuilder_ == null) { + if (locationTypeCase_ == 2) { + return (com.google.privacy.dlp.v2.RecordTransformation) locationType_; + } + return com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance(); + } else { + if (locationTypeCase_ == 2) { + return recordTransformationBuilder_.getMessage(); + } + return com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance(); + } + } + /** + *
+     * For record transformations, provide a field and container information.
+     * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + */ + public Builder setRecordTransformation(com.google.privacy.dlp.v2.RecordTransformation value) { + if (recordTransformationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + locationType_ = value; + onChanged(); + } else { + recordTransformationBuilder_.setMessage(value); + } + locationTypeCase_ = 2; + return this; + } + /** + *
+     * For record transformations, provide a field and container information.
+     * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + */ + public Builder setRecordTransformation( + com.google.privacy.dlp.v2.RecordTransformation.Builder builderForValue) { + if (recordTransformationBuilder_ == null) { + locationType_ = builderForValue.build(); + onChanged(); + } else { + recordTransformationBuilder_.setMessage(builderForValue.build()); + } + locationTypeCase_ = 2; + return this; + } + /** + *
+     * For record transformations, provide a field and container information.
+     * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + */ + public Builder mergeRecordTransformation(com.google.privacy.dlp.v2.RecordTransformation value) { + if (recordTransformationBuilder_ == null) { + if (locationTypeCase_ == 2 && + locationType_ != com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance()) { + locationType_ = com.google.privacy.dlp.v2.RecordTransformation.newBuilder((com.google.privacy.dlp.v2.RecordTransformation) locationType_) + .mergeFrom(value).buildPartial(); + } else { + locationType_ = value; + } + onChanged(); + } else { + if (locationTypeCase_ == 2) { + recordTransformationBuilder_.mergeFrom(value); + } else { + recordTransformationBuilder_.setMessage(value); + } + } + locationTypeCase_ = 2; + return this; + } + /** + *
+     * For record transformations, provide a field and container information.
+     * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + */ + public Builder clearRecordTransformation() { + if (recordTransformationBuilder_ == null) { + if (locationTypeCase_ == 2) { + locationTypeCase_ = 0; + locationType_ = null; + onChanged(); + } + } else { + if (locationTypeCase_ == 2) { + locationTypeCase_ = 0; + locationType_ = null; + } + recordTransformationBuilder_.clear(); + } + return this; + } + /** + *
+     * For record transformations, provide a field and container information.
+     * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + */ + public com.google.privacy.dlp.v2.RecordTransformation.Builder getRecordTransformationBuilder() { + return getRecordTransformationFieldBuilder().getBuilder(); + } + /** + *
+     * For record transformations, provide a field and container information.
+     * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + */ + @java.lang.Override + public com.google.privacy.dlp.v2.RecordTransformationOrBuilder getRecordTransformationOrBuilder() { + if ((locationTypeCase_ == 2) && (recordTransformationBuilder_ != null)) { + return recordTransformationBuilder_.getMessageOrBuilder(); + } else { + if (locationTypeCase_ == 2) { + return (com.google.privacy.dlp.v2.RecordTransformation) locationType_; + } + return com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance(); + } + } + /** + *
+     * For record transformations, provide a field and container information.
+     * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordTransformation, com.google.privacy.dlp.v2.RecordTransformation.Builder, com.google.privacy.dlp.v2.RecordTransformationOrBuilder> + getRecordTransformationFieldBuilder() { + if (recordTransformationBuilder_ == null) { + if (!(locationTypeCase_ == 2)) { + locationType_ = com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance(); + } + recordTransformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordTransformation, com.google.privacy.dlp.v2.RecordTransformation.Builder, com.google.privacy.dlp.v2.RecordTransformationOrBuilder>( + (com.google.privacy.dlp.v2.RecordTransformation) locationType_, + getParentForChildren(), + isClean()); + locationType_ = null; + } + locationTypeCase_ = 2; + onChanged();; + return recordTransformationBuilder_; + } + + private int containerType_ = 0; + /** + *
+     * Information about the functionality of the container where this finding
+     * occurred, if available.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * @return The enum numeric value on the wire for containerType. + */ + @java.lang.Override public int getContainerTypeValue() { + return containerType_; + } + /** + *
+     * Information about the functionality of the container where this finding
+     * occurred, if available.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * @param value The enum numeric value on the wire for containerType to set. + * @return This builder for chaining. + */ + public Builder setContainerTypeValue(int value) { + + containerType_ = value; + onChanged(); + return this; + } + /** + *
+     * Information about the functionality of the container where this finding
+     * occurred, if available.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * @return The containerType. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationContainerType getContainerType() { + @SuppressWarnings("deprecation") + com.google.privacy.dlp.v2.TransformationContainerType result = com.google.privacy.dlp.v2.TransformationContainerType.valueOf(containerType_); + return result == null ? com.google.privacy.dlp.v2.TransformationContainerType.UNRECOGNIZED : result; + } + /** + *
+     * Information about the functionality of the container where this finding
+     * occurred, if available.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * @param value The containerType to set. + * @return This builder for chaining. + */ + public Builder setContainerType(com.google.privacy.dlp.v2.TransformationContainerType value) { + if (value == null) { + throw new NullPointerException(); + } + + containerType_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Information about the functionality of the container where this finding
+     * occurred, if available.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * @return This builder for chaining. + */ + public Builder clearContainerType() { + + containerType_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationLocation) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationLocation) + private static final com.google.privacy.dlp.v2.TransformationLocation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationLocation(); + } + + public static com.google.privacy.dlp.v2.TransformationLocation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationLocation(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationLocation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocationOrBuilder.java new file mode 100644 index 00000000..d944788c --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocationOrBuilder.java @@ -0,0 +1,100 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface TransformationLocationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationLocation) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * For infotype transformations, link to the corresponding findings ID so
+   * that location information does not need to be duplicated. Each findings
+   * ID correlates to an entry in the findings output table, this table only
+   * gets created when users specify to save findings (add the save findings
+   * action to the request).
+   * 
+ * + * string finding_id = 1; + * @return Whether the findingId field is set. + */ + boolean hasFindingId(); + /** + *
+   * For infotype transformations, link to the corresponding findings ID so
+   * that location information does not need to be duplicated. Each findings
+   * ID correlates to an entry in the findings output table, this table only
+   * gets created when users specify to save findings (add the save findings
+   * action to the request).
+   * 
+ * + * string finding_id = 1; + * @return The findingId. + */ + java.lang.String getFindingId(); + /** + *
+   * For infotype transformations, link to the corresponding findings ID so
+   * that location information does not need to be duplicated. Each findings
+   * ID correlates to an entry in the findings output table, this table only
+   * gets created when users specify to save findings (add the save findings
+   * action to the request).
+   * 
+ * + * string finding_id = 1; + * @return The bytes for findingId. + */ + com.google.protobuf.ByteString + getFindingIdBytes(); + + /** + *
+   * For record transformations, provide a field and container information.
+   * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * @return Whether the recordTransformation field is set. + */ + boolean hasRecordTransformation(); + /** + *
+   * For record transformations, provide a field and container information.
+   * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * @return The recordTransformation. + */ + com.google.privacy.dlp.v2.RecordTransformation getRecordTransformation(); + /** + *
+   * For record transformations, provide a field and container information.
+   * 
+ * + * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + */ + com.google.privacy.dlp.v2.RecordTransformationOrBuilder getRecordTransformationOrBuilder(); + + /** + *
+   * Information about the functionality of the container where this finding
+   * occurred, if available.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * @return The enum numeric value on the wire for containerType. + */ + int getContainerTypeValue(); + /** + *
+   * Information about the functionality of the container where this finding
+   * occurred, if available.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * @return The containerType. + */ + com.google.privacy.dlp.v2.TransformationContainerType getContainerType(); + + public com.google.privacy.dlp.v2.TransformationLocation.LocationTypeCase getLocationTypeCase(); +} 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 0e18f851..687083d6 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,30 +54,27 @@ 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) { @@ -102,7 +82,8 @@ private TransformationOverview( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -111,33 +92,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 @@ -148,81 +123,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; @@ -234,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 (transformedBytes_ != 0L) { output.writeInt64(2, transformedBytes_); } @@ -251,12 +210,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; @@ -266,17 +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.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; } @@ -289,7 +248,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(); @@ -299,127 +259,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() @@ -427,17 +378,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(); @@ -453,9 +404,9 @@ public Builder 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 @@ -474,14 +425,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_; @@ -496,39 +445,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; @@ -536,8 +484,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()); } @@ -559,10 +506,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_); } @@ -596,19 +542,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 @@ -616,71 +558,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 { @@ -688,14 +614,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) { @@ -705,14 +628,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) { @@ -722,14 +642,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) { @@ -746,14 +663,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) { @@ -767,17 +681,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(); @@ -791,14 +701,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) { @@ -815,14 +722,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) { @@ -836,14 +740,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) { @@ -857,20 +758,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); @@ -878,14 +777,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) { @@ -898,14 +794,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) { @@ -918,49 +811,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 { @@ -968,61 +851,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(), @@ -1031,9 +898,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); } @@ -1043,12 +910,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(); } @@ -1057,16 +924,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; @@ -1081,4 +948,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/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatus.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatus.java new file mode 100644 index 00000000..14819525 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatus.java @@ -0,0 +1,788 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + * Protobuf type {@code google.privacy.dlp.v2.TransformationResultStatus} + */ +public final class TransformationResultStatus extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationResultStatus) + TransformationResultStatusOrBuilder { +private static final long serialVersionUID = 0L; + // Use TransformationResultStatus.newBuilder() to construct. + private TransformationResultStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TransformationResultStatus() { + resultStatusType_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TransformationResultStatus(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TransformationResultStatus( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + int rawValue = input.readEnum(); + + resultStatusType_ = rawValue; + break; + } + case 18: { + 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; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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_TransformationResultStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationResultStatus.class, com.google.privacy.dlp.v2.TransformationResultStatus.Builder.class); + } + + public static final int RESULT_STATUS_TYPE_FIELD_NUMBER = 1; + private int resultStatusType_; + /** + *
+   * Transformation result status type, this will be either SUCCESS, or it will
+   * be the reason for why the transformation was not completely successful.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * @return The enum numeric value on the wire for resultStatusType. + */ + @java.lang.Override public int getResultStatusTypeValue() { + return resultStatusType_; + } + /** + *
+   * Transformation result status type, this will be either SUCCESS, or it will
+   * be the reason for why the transformation was not completely successful.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * @return The resultStatusType. + */ + @java.lang.Override public com.google.privacy.dlp.v2.TransformationResultStatusType getResultStatusType() { + @SuppressWarnings("deprecation") + com.google.privacy.dlp.v2.TransformationResultStatusType result = com.google.privacy.dlp.v2.TransformationResultStatusType.valueOf(resultStatusType_); + return result == null ? com.google.privacy.dlp.v2.TransformationResultStatusType.UNRECOGNIZED : result; + } + + public static final int DETAILS_FIELD_NUMBER = 2; + private com.google.rpc.Status details_; + /** + *
+   * Detailed error codes and messages
+   * 
+ * + * .google.rpc.Status details = 2; + * @return Whether the details field is set. + */ + @java.lang.Override + public boolean hasDetails() { + return details_ != null; + } + /** + *
+   * Detailed error codes and messages
+   * 
+ * + * .google.rpc.Status details = 2; + * @return The details. + */ + @java.lang.Override + public com.google.rpc.Status getDetails() { + return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_; + } + /** + *
+   * Detailed error codes and messages
+   * 
+ * + * .google.rpc.Status details = 2; + */ + @java.lang.Override + public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() { + return getDetails(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (resultStatusType_ != com.google.privacy.dlp.v2.TransformationResultStatusType.STATE_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(1, resultStatusType_); + } + if (details_ != null) { + output.writeMessage(2, getDetails()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (resultStatusType_ != com.google.privacy.dlp.v2.TransformationResultStatusType.STATE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, resultStatusType_); + } + if (details_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDetails()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.TransformationResultStatus)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.TransformationResultStatus other = (com.google.privacy.dlp.v2.TransformationResultStatus) obj; + + if (resultStatusType_ != other.resultStatusType_) return false; + if (hasDetails() != other.hasDetails()) return false; + if (hasDetails()) { + if (!getDetails() + .equals(other.getDetails())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RESULT_STATUS_TYPE_FIELD_NUMBER; + hash = (53 * hash) + resultStatusType_; + if (hasDetails()) { + hash = (37 * hash) + DETAILS_FIELD_NUMBER; + hash = (53 * hash) + getDetails().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationResultStatus 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.TransformationResultStatus parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.TransformationResultStatus 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.TransformationResultStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationResultStatus 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.TransformationResultStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseDelimitedFrom( + java.io.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.TransformationResultStatus 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.TransformationResultStatus parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationResultStatus prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code google.privacy.dlp.v2.TransformationResultStatus} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationResultStatus) + com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.TransformationResultStatus.class, com.google.privacy.dlp.v2.TransformationResultStatus.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.TransformationResultStatus.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + resultStatusType_ = 0; + + if (detailsBuilder_ == null) { + details_ = null; + } else { + details_ = null; + detailsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationResultStatus getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationResultStatus build() { + com.google.privacy.dlp.v2.TransformationResultStatus result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationResultStatus buildPartial() { + com.google.privacy.dlp.v2.TransformationResultStatus result = new com.google.privacy.dlp.v2.TransformationResultStatus(this); + result.resultStatusType_ = resultStatusType_; + if (detailsBuilder_ == null) { + result.details_ = details_; + } else { + result.details_ = detailsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.TransformationResultStatus) { + return mergeFrom((com.google.privacy.dlp.v2.TransformationResultStatus)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationResultStatus other) { + if (other == com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance()) return this; + if (other.resultStatusType_ != 0) { + setResultStatusTypeValue(other.getResultStatusTypeValue()); + } + if (other.hasDetails()) { + mergeDetails(other.getDetails()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.TransformationResultStatus parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.TransformationResultStatus) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int resultStatusType_ = 0; + /** + *
+     * Transformation result status type, this will be either SUCCESS, or it will
+     * be the reason for why the transformation was not completely successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * @return The enum numeric value on the wire for resultStatusType. + */ + @java.lang.Override public int getResultStatusTypeValue() { + return resultStatusType_; + } + /** + *
+     * Transformation result status type, this will be either SUCCESS, or it will
+     * be the reason for why the transformation was not completely successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * @param value The enum numeric value on the wire for resultStatusType to set. + * @return This builder for chaining. + */ + public Builder setResultStatusTypeValue(int value) { + + resultStatusType_ = value; + onChanged(); + return this; + } + /** + *
+     * Transformation result status type, this will be either SUCCESS, or it will
+     * be the reason for why the transformation was not completely successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * @return The resultStatusType. + */ + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationResultStatusType getResultStatusType() { + @SuppressWarnings("deprecation") + com.google.privacy.dlp.v2.TransformationResultStatusType result = com.google.privacy.dlp.v2.TransformationResultStatusType.valueOf(resultStatusType_); + return result == null ? com.google.privacy.dlp.v2.TransformationResultStatusType.UNRECOGNIZED : result; + } + /** + *
+     * Transformation result status type, this will be either SUCCESS, or it will
+     * be the reason for why the transformation was not completely successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * @param value The resultStatusType to set. + * @return This builder for chaining. + */ + public Builder setResultStatusType(com.google.privacy.dlp.v2.TransformationResultStatusType value) { + if (value == null) { + throw new NullPointerException(); + } + + resultStatusType_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Transformation result status type, this will be either SUCCESS, or it will
+     * be the reason for why the transformation was not completely successful.
+     * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * @return This builder for chaining. + */ + public Builder clearResultStatusType() { + + resultStatusType_ = 0; + onChanged(); + return this; + } + + 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_; + /** + *
+     * Detailed error codes and messages
+     * 
+ * + * .google.rpc.Status details = 2; + * @return Whether the details field is set. + */ + public boolean hasDetails() { + return detailsBuilder_ != null || details_ != null; + } + /** + *
+     * Detailed error codes and messages
+     * 
+ * + * .google.rpc.Status details = 2; + * @return The details. + */ + public com.google.rpc.Status getDetails() { + if (detailsBuilder_ == null) { + return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_; + } else { + return detailsBuilder_.getMessage(); + } + } + /** + *
+     * Detailed error codes and messages
+     * 
+ * + * .google.rpc.Status details = 2; + */ + public Builder setDetails(com.google.rpc.Status value) { + if (detailsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + details_ = value; + onChanged(); + } else { + detailsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Detailed error codes and messages
+     * 
+ * + * .google.rpc.Status details = 2; + */ + public Builder setDetails( + com.google.rpc.Status.Builder builderForValue) { + if (detailsBuilder_ == null) { + details_ = builderForValue.build(); + onChanged(); + } else { + detailsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Detailed error codes and messages
+     * 
+ * + * .google.rpc.Status details = 2; + */ + public Builder mergeDetails(com.google.rpc.Status value) { + if (detailsBuilder_ == null) { + if (details_ != null) { + details_ = + com.google.rpc.Status.newBuilder(details_).mergeFrom(value).buildPartial(); + } else { + details_ = value; + } + onChanged(); + } else { + detailsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Detailed error codes and messages
+     * 
+ * + * .google.rpc.Status details = 2; + */ + public Builder clearDetails() { + if (detailsBuilder_ == null) { + details_ = null; + onChanged(); + } else { + details_ = null; + detailsBuilder_ = null; + } + + return this; + } + /** + *
+     * Detailed error codes and messages
+     * 
+ * + * .google.rpc.Status details = 2; + */ + public com.google.rpc.Status.Builder getDetailsBuilder() { + + onChanged(); + return getDetailsFieldBuilder().getBuilder(); + } + /** + *
+     * Detailed error codes and messages
+     * 
+ * + * .google.rpc.Status details = 2; + */ + public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() { + if (detailsBuilder_ != null) { + return detailsBuilder_.getMessageOrBuilder(); + } else { + return details_ == null ? + com.google.rpc.Status.getDefaultInstance() : details_; + } + } + /** + *
+     * Detailed error codes and messages
+     * 
+ * + * .google.rpc.Status details = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + 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()); + details_ = null; + } + return detailsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationResultStatus) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationResultStatus) + private static final com.google.privacy.dlp.v2.TransformationResultStatus DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationResultStatus(); + } + + public static com.google.privacy.dlp.v2.TransformationResultStatus getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationResultStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationResultStatus(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationResultStatus getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusOrBuilder.java new file mode 100644 index 00000000..6cab1b0a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusOrBuilder.java @@ -0,0 +1,57 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface TransformationResultStatusOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationResultStatus) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Transformation result status type, this will be either SUCCESS, or it will
+   * be the reason for why the transformation was not completely successful.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * @return The enum numeric value on the wire for resultStatusType. + */ + int getResultStatusTypeValue(); + /** + *
+   * Transformation result status type, this will be either SUCCESS, or it will
+   * be the reason for why the transformation was not completely successful.
+   * 
+ * + * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * @return The resultStatusType. + */ + com.google.privacy.dlp.v2.TransformationResultStatusType getResultStatusType(); + + /** + *
+   * Detailed error codes and messages
+   * 
+ * + * .google.rpc.Status details = 2; + * @return Whether the details field is set. + */ + boolean hasDetails(); + /** + *
+   * Detailed error codes and messages
+   * 
+ * + * .google.rpc.Status details = 2; + * @return The details. + */ + com.google.rpc.Status getDetails(); + /** + *
+   * Detailed error codes and messages
+   * 
+ * + * .google.rpc.Status details = 2; + */ + com.google.rpc.StatusOrBuilder getDetailsOrBuilder(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusType.java new file mode 100644 index 00000000..9c1eb3be --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusType.java @@ -0,0 +1,188 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + *
+ * Enum of possible outcomes of transformations. SUCCESS if transformation and
+ * storing of transformation was successful, otherwise, reason for not
+ * transforming.
+ * 
+ * + * Protobuf enum {@code google.privacy.dlp.v2.TransformationResultStatusType} + */ +public enum TransformationResultStatusType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * STATE_TYPE_UNSPECIFIED = 0; + */ + STATE_TYPE_UNSPECIFIED(0), + /** + *
+   * This will be set when a finding could not be transformed (i.e. outside user
+   * set bucket range).
+   * 
+ * + * INVALID_TRANSFORM = 1; + */ + INVALID_TRANSFORM(1), + /** + *
+   * This will be set when a BigQuery transformation was successful but could
+   * not be stored back in BigQuery because the transformed row exceeds
+   * BigQuery's max row size.
+   * 
+ * + * BIGQUERY_MAX_ROW_SIZE_EXCEEDED = 2; + */ + BIGQUERY_MAX_ROW_SIZE_EXCEEDED(2), + /** + *
+   * This will be set when there is a finding in the custom metadata of a file,
+   * but at the write time of the transformed file, this key / value pair is
+   * unretrievable.
+   * 
+ * + * METADATA_UNRETRIEVABLE = 3; + */ + METADATA_UNRETRIEVABLE(3), + /** + *
+   * This will be set when the transformation and storing of it is successful.
+   * 
+ * + * SUCCESS = 4; + */ + SUCCESS(4), + UNRECOGNIZED(-1), + ; + + /** + * STATE_TYPE_UNSPECIFIED = 0; + */ + public static final int STATE_TYPE_UNSPECIFIED_VALUE = 0; + /** + *
+   * This will be set when a finding could not be transformed (i.e. outside user
+   * set bucket range).
+   * 
+ * + * INVALID_TRANSFORM = 1; + */ + public static final int INVALID_TRANSFORM_VALUE = 1; + /** + *
+   * This will be set when a BigQuery transformation was successful but could
+   * not be stored back in BigQuery because the transformed row exceeds
+   * BigQuery's max row size.
+   * 
+ * + * BIGQUERY_MAX_ROW_SIZE_EXCEEDED = 2; + */ + public static final int BIGQUERY_MAX_ROW_SIZE_EXCEEDED_VALUE = 2; + /** + *
+   * This will be set when there is a finding in the custom metadata of a file,
+   * but at the write time of the transformed file, this key / value pair is
+   * unretrievable.
+   * 
+ * + * METADATA_UNRETRIEVABLE = 3; + */ + public static final int METADATA_UNRETRIEVABLE_VALUE = 3; + /** + *
+   * This will be set when the transformation and storing of it is successful.
+   * 
+ * + * SUCCESS = 4; + */ + public static final int SUCCESS_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TransformationResultStatusType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static TransformationResultStatusType forNumber(int value) { + switch (value) { + case 0: return STATE_TYPE_UNSPECIFIED; + case 1: return INVALID_TRANSFORM; + case 2: return BIGQUERY_MAX_ROW_SIZE_EXCEEDED; + case 3: return METADATA_UNRETRIEVABLE; + case 4: return SUCCESS; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + TransformationResultStatusType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransformationResultStatusType findValueByNumber(int number) { + return TransformationResultStatusType.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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(0); + } + + private static final TransformationResultStatusType[] VALUES = values(); + + public static TransformationResultStatusType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private TransformationResultStatusType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.TransformationResultStatusType) +} + 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 45c02c92..f11a0d0a 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,107 +57,88 @@ 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) {
@@ -182,7 +146,8 @@ private TransformationSummary(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -194,35 +159,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
      * 
@@ -231,8 +190,6 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess */ TRANSFORMATION_RESULT_CODE_UNSPECIFIED(0), /** - * - * *
      * Transformation completed without an error.
      * 
@@ -241,8 +198,6 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess */ SUCCESS(1), /** - * - * *
      * Transformation had an error.
      * 
@@ -254,8 +209,6 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess ; /** - * - * *
      * Unused
      * 
@@ -264,8 +217,6 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess */ public static final int TRANSFORMATION_RESULT_CODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Transformation completed without an error.
      * 
@@ -274,8 +225,6 @@ public enum TransformationResultCode implements com.google.protobuf.ProtocolMess */ public static final int SUCCESS_VALUE = 1; /** - * - * *
      * Transformation had an error.
      * 
@@ -284,6 +233,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( @@ -308,14 +258,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; } } @@ -323,28 +269,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); } @@ -353,7 +299,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; @@ -370,79 +317,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.
@@ -450,16 +380,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_ = "";
@@ -467,15 +396,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)
@@ -494,32 +424,30 @@ 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) {
@@ -527,39 +455,34 @@ private SummaryResult(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            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 @@ -570,53 +493,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 @@ -625,30 +534,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 { @@ -657,7 +566,6 @@ public com.google.protobuf.ByteString getDetailsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -669,14 +577,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_)) { @@ -692,13 +598,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_); @@ -711,17 +616,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; } @@ -734,7 +640,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; @@ -745,94 +652,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 @@ -842,8 +742,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A collection that informs the user the number of times a particular
      * `TransformationResultCode` and error details occurred.
@@ -851,24 +749,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()
@@ -876,15 +771,16 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -898,14 +794,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();
       }
 
@@ -920,8 +815,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_;
@@ -933,52 +827,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());
         }
@@ -1008,9 +896,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) {
@@ -1020,16 +906,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 @@ -1037,36 +920,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; @@ -1074,98 +951,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; @@ -1173,21 +1025,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; @@ -1196,22 +1046,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 { @@ -1219,69 +1068,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) { @@ -1294,32 +1135,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; @@ -1331,23 +1170,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 @@ -1355,14 +1191,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 @@ -1370,8 +1203,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.
    * 
@@ -1386,14 +1217,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 @@ -1401,14 +1229,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 @@ -1416,8 +1241,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.
    * 
@@ -1432,14 +1255,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 @@ -1447,25 +1267,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.
    * 
@@ -1480,8 +1293,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,
@@ -1491,13 +1302,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,
@@ -1507,13 +1315,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,
@@ -1527,8 +1333,6 @@ public int getFieldTransformationsCount() {
     return fieldTransformations_.size();
   }
   /**
-   *
-   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1542,8 +1346,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,
@@ -1561,14 +1363,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 @@ -1576,25 +1375,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.
    * 
@@ -1609,8 +1401,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.
    * 
@@ -1618,13 +1408,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.
    * 
@@ -1632,14 +1419,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.
    * 
@@ -1651,8 +1435,6 @@ public int getResultsCount() { return results_.size(); } /** - * - * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1664,8 +1446,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.
    * 
@@ -1681,14 +1461,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 @@ -1697,7 +1474,6 @@ public long getTransformedBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1709,7 +1485,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -1741,26 +1518,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; @@ -1770,33 +1553,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; } @@ -1833,110 +1622,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'
@@ -1945,23 +1728,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()
@@ -1969,18 +1750,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();
@@ -2026,9 +1807,9 @@ public Builder 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
@@ -2047,8 +1828,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_;
@@ -2097,39 +1877,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;
@@ -2137,8 +1916,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());
       }
@@ -2166,10 +1944,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_);
           }
@@ -2196,10 +1973,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_);
           }
@@ -2236,52 +2012,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.
      * 
@@ -2302,15 +2064,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(); @@ -2321,8 +2082,6 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType.Builder builderFor return this; } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2333,9 +2092,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; } @@ -2347,8 +2104,6 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2367,8 +2122,6 @@ public Builder clearInfoType() { return this; } /** - * - * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2376,13 +2129,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.
      * 
@@ -2393,14 +2144,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.
      * 
@@ -2408,17 +2156,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_; @@ -2426,33 +2171,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() { @@ -2463,8 +2199,6 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2485,15 +2219,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(); @@ -2504,8 +2237,6 @@ public Builder setField(com.google.privacy.dlp.v2.FieldId.Builder builderForValu return this; } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2516,7 +2247,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; } @@ -2528,8 +2259,6 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2548,8 +2277,6 @@ public Builder clearField() { return this; } /** - * - * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2557,13 +2284,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.
      * 
@@ -2574,12 +2299,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.
      * 
@@ -2587,17 +2311,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_; @@ -2605,47 +2326,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.
      * 
@@ -2666,8 +2374,6 @@ public Builder setTransformation(com.google.privacy.dlp.v2.PrimitiveTransformati return this; } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2686,8 +2392,6 @@ public Builder setTransformation( return this; } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2698,9 +2402,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; } @@ -2712,8 +2414,6 @@ public Builder mergeTransformation(com.google.privacy.dlp.v2.PrimitiveTransforma return this; } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2732,8 +2432,6 @@ public Builder clearTransformation() { return this; } /** - * - * *
      * The specific transformation these stats apply to.
      * 
@@ -2741,13 +2439,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.
      * 
@@ -2758,14 +2454,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.
      * 
@@ -2773,43 +2466,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,
@@ -2818,8 +2500,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 {
@@ -2827,8 +2508,6 @@ private void ensureFieldTransformationsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2845,8 +2524,6 @@ public int getFieldTransformationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2863,8 +2540,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,
@@ -2888,8 +2563,6 @@ public Builder setFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2910,8 +2583,6 @@ public Builder setFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2934,8 +2605,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,
@@ -2959,8 +2628,6 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2981,8 +2648,6 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3003,8 +2668,6 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3017,7 +2680,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);
@@ -3025,8 +2689,6 @@ public Builder addAllFieldTransformations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3046,8 +2708,6 @@ public Builder clearFieldTransformations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3067,8 +2727,6 @@ public Builder removeFieldTransformations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -3082,8 +2740,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,
@@ -3095,14 +2751,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,
@@ -3111,8 +2764,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 {
@@ -3120,8 +2773,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,
@@ -3131,12 +2782,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,
@@ -3147,12 +2796,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,
@@ -3161,22 +2808,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(),
@@ -3188,47 +2829,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.
      * 
@@ -3249,8 +2877,6 @@ public Builder setRecordSuppress(com.google.privacy.dlp.v2.RecordSuppression val return this; } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3269,8 +2895,6 @@ public Builder setRecordSuppress( return this; } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3281,9 +2905,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; } @@ -3295,8 +2917,6 @@ public Builder mergeRecordSuppress(com.google.privacy.dlp.v2.RecordSuppression v return this; } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3315,8 +2935,6 @@ public Builder clearRecordSuppress() { return this; } /** - * - * *
      * The specific suppression option these stats apply to.
      * 
@@ -3324,13 +2942,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.
      * 
@@ -3341,14 +2957,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.
      * 
@@ -3356,51 +2969,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 { @@ -3408,8 +3009,6 @@ private void ensureResultsIsMutable() { } } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3424,8 +3023,6 @@ public int getResultsCount() { } } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3440,8 +3037,6 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getResults( } } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3463,8 +3058,6 @@ public Builder setResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3472,8 +3065,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()); @@ -3484,8 +3076,6 @@ public Builder setResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3506,8 +3096,6 @@ public Builder addResults(com.google.privacy.dlp.v2.TransformationSummary.Summar return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3529,8 +3117,6 @@ public Builder addResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3549,8 +3135,6 @@ public Builder addResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3558,8 +3142,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()); @@ -3570,8 +3153,6 @@ public Builder addResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3579,11 +3160,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); @@ -3591,8 +3172,6 @@ public Builder addAllResults( return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3610,8 +3189,6 @@ public Builder clearResults() { return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3629,8 +3206,6 @@ public Builder removeResults(int index) { return this; } /** - * - * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3642,34 +3217,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 { @@ -3677,23 +3246,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.
      * 
@@ -3702,52 +3265,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 @@ -3755,43 +3308,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); } @@ -3801,12 +3348,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(); } @@ -3815,16 +3362,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; @@ -3839,4 +3386,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/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationType.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationType.java new file mode 100644 index 00000000..d9e523ca --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationType.java @@ -0,0 +1,356 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + *
+ * An enum of rules that can be used to transform a value. Can be a
+ * record suppression, or one of the transformation rules specified under
+ * `PrimitiveTransformation`.
+ * 
+ * + * Protobuf enum {@code google.privacy.dlp.v2.TransformationType} + */ +public enum TransformationType + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+   * Unused
+   * 
+ * + * TRANSFORMATION_TYPE_UNSPECIFIED = 0; + */ + TRANSFORMATION_TYPE_UNSPECIFIED(0), + /** + *
+   * Record suppression
+   * 
+ * + * RECORD_SUPPRESSION = 1; + */ + RECORD_SUPPRESSION(1), + /** + *
+   * Replace value
+   * 
+ * + * REPLACE_VALUE = 2; + */ + REPLACE_VALUE(2), + /** + *
+   * Replace value using a dictionary.
+   * 
+ * + * REPLACE_DICTIONARY = 15; + */ + REPLACE_DICTIONARY(15), + /** + *
+   * Redact
+   * 
+ * + * REDACT = 3; + */ + REDACT(3), + /** + *
+   * Character mask
+   * 
+ * + * CHARACTER_MASK = 4; + */ + CHARACTER_MASK(4), + /** + *
+   * FFX-FPE
+   * 
+ * + * CRYPTO_REPLACE_FFX_FPE = 5; + */ + CRYPTO_REPLACE_FFX_FPE(5), + /** + *
+   * Fixed size bucketing
+   * 
+ * + * FIXED_SIZE_BUCKETING = 6; + */ + FIXED_SIZE_BUCKETING(6), + /** + *
+   * Bucketing
+   * 
+ * + * BUCKETING = 7; + */ + BUCKETING(7), + /** + *
+   * Replace with info type
+   * 
+ * + * REPLACE_WITH_INFO_TYPE = 8; + */ + REPLACE_WITH_INFO_TYPE(8), + /** + *
+   * Time part
+   * 
+ * + * TIME_PART = 9; + */ + TIME_PART(9), + /** + *
+   * Crypto hash
+   * 
+ * + * CRYPTO_HASH = 10; + */ + CRYPTO_HASH(10), + /** + *
+   * Date shift
+   * 
+ * + * DATE_SHIFT = 12; + */ + DATE_SHIFT(12), + /** + *
+   * Deterministic crypto
+   * 
+ * + * CRYPTO_DETERMINISTIC_CONFIG = 13; + */ + CRYPTO_DETERMINISTIC_CONFIG(13), + /** + *
+   * Redact image
+   * 
+ * + * REDACT_IMAGE = 14; + */ + REDACT_IMAGE(14), + UNRECOGNIZED(-1), + ; + + /** + *
+   * Unused
+   * 
+ * + * TRANSFORMATION_TYPE_UNSPECIFIED = 0; + */ + public static final int TRANSFORMATION_TYPE_UNSPECIFIED_VALUE = 0; + /** + *
+   * Record suppression
+   * 
+ * + * RECORD_SUPPRESSION = 1; + */ + public static final int RECORD_SUPPRESSION_VALUE = 1; + /** + *
+   * Replace value
+   * 
+ * + * REPLACE_VALUE = 2; + */ + public static final int REPLACE_VALUE_VALUE = 2; + /** + *
+   * Replace value using a dictionary.
+   * 
+ * + * REPLACE_DICTIONARY = 15; + */ + public static final int REPLACE_DICTIONARY_VALUE = 15; + /** + *
+   * Redact
+   * 
+ * + * REDACT = 3; + */ + public static final int REDACT_VALUE = 3; + /** + *
+   * Character mask
+   * 
+ * + * CHARACTER_MASK = 4; + */ + public static final int CHARACTER_MASK_VALUE = 4; + /** + *
+   * FFX-FPE
+   * 
+ * + * CRYPTO_REPLACE_FFX_FPE = 5; + */ + public static final int CRYPTO_REPLACE_FFX_FPE_VALUE = 5; + /** + *
+   * Fixed size bucketing
+   * 
+ * + * FIXED_SIZE_BUCKETING = 6; + */ + public static final int FIXED_SIZE_BUCKETING_VALUE = 6; + /** + *
+   * Bucketing
+   * 
+ * + * BUCKETING = 7; + */ + public static final int BUCKETING_VALUE = 7; + /** + *
+   * Replace with info type
+   * 
+ * + * REPLACE_WITH_INFO_TYPE = 8; + */ + public static final int REPLACE_WITH_INFO_TYPE_VALUE = 8; + /** + *
+   * Time part
+   * 
+ * + * TIME_PART = 9; + */ + public static final int TIME_PART_VALUE = 9; + /** + *
+   * Crypto hash
+   * 
+ * + * CRYPTO_HASH = 10; + */ + public static final int CRYPTO_HASH_VALUE = 10; + /** + *
+   * Date shift
+   * 
+ * + * DATE_SHIFT = 12; + */ + public static final int DATE_SHIFT_VALUE = 12; + /** + *
+   * Deterministic crypto
+   * 
+ * + * CRYPTO_DETERMINISTIC_CONFIG = 13; + */ + public static final int CRYPTO_DETERMINISTIC_CONFIG_VALUE = 13; + /** + *
+   * Redact image
+   * 
+ * + * REDACT_IMAGE = 14; + */ + public static final int REDACT_IMAGE_VALUE = 14; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TransformationType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static TransformationType forNumber(int value) { + switch (value) { + case 0: return TRANSFORMATION_TYPE_UNSPECIFIED; + case 1: return RECORD_SUPPRESSION; + case 2: return REPLACE_VALUE; + case 15: return REPLACE_DICTIONARY; + case 3: return REDACT; + case 4: return CHARACTER_MASK; + case 5: return CRYPTO_REPLACE_FFX_FPE; + case 6: return FIXED_SIZE_BUCKETING; + case 7: return BUCKETING; + case 8: return REPLACE_WITH_INFO_TYPE; + case 9: return TIME_PART; + case 10: return CRYPTO_HASH; + case 12: return DATE_SHIFT; + case 13: return CRYPTO_DETERMINISTIC_CONFIG; + case 14: return REDACT_IMAGE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + TransformationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TransformationType findValueByNumber(int number) { + return TransformationType.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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.getDescriptor().getEnumTypes().get(2); + } + + private static final TransformationType[] VALUES = values(); + + public static TransformationType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private TransformationType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.TransformationType) +} + 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 3261d961..59900aa0 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,20 +54,19 @@ 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) {
@@ -92,33 +74,29 @@ private TransientCryptoKey(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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.
@@ -129,7 +107,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -138,15 +115,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.
@@ -157,15 +133,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 { @@ -174,7 +151,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +162,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -210,15 +187,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; } @@ -237,104 +214,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.
@@ -342,23 +312,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()
@@ -366,15 +334,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -384,9 +353,9 @@ public Builder 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
@@ -405,8 +374,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;
@@ -416,39 +384,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;
@@ -492,8 +459,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -504,13 +469,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; @@ -519,8 +484,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -531,14 +494,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 { @@ -546,8 +510,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -558,22 +520,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.
@@ -584,18 +544,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.
@@ -606,23 +563,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); } @@ -632,12 +589,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(); } @@ -646,16 +603,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; @@ -670,4 +627,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 9682ff0e..0c2c1a2f 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,18 +54,18 @@ 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) {
@@ -90,39 +73,34 @@ private UnwrappedCryptoKey(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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 @@ -131,7 +109,6 @@ public com.google.protobuf.ByteString getKey() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +120,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -157,7 +135,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; @@ -167,15 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -194,104 +173,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.
@@ -299,23 +271,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()
@@ -323,15 +293,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       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 +312,9 @@ public Builder 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
@@ -362,8 +333,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;
@@ -373,39 +343,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;
@@ -448,14 +417,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 @@ -463,46 +429,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); } @@ -512,12 +472,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(); } @@ -526,16 +486,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; @@ -550,4 +510,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 9567d1ef..22f6ee82 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,51 +53,45 @@ 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) { @@ -123,43 +99,36 @@ private UpdateDeidentifyTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -168,33 +137,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 { @@ -205,14 +172,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 @@ -220,25 +184,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.
    * 
@@ -253,14 +210,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 @@ -268,14 +222,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 @@ -283,8 +234,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Mask to control which fields get updated.
    * 
@@ -297,7 +246,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -332,10 +281,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; @@ -345,22 +296,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; @@ -389,127 +342,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() @@ -517,15 +460,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -547,9 +491,9 @@ public Builder 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 @@ -568,8 +512,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_; @@ -589,39 +532,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; @@ -629,8 +571,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(); @@ -660,8 +601,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) { @@ -673,24 +613,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; @@ -699,25 +635,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 { @@ -725,73 +658,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; @@ -799,47 +719,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.
      * 
@@ -860,8 +767,6 @@ public Builder setDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTemplat return this; } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -880,8 +785,6 @@ public Builder setDeidentifyTemplate( return this; } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -892,9 +795,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; } @@ -906,8 +807,6 @@ public Builder mergeDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTempl return this; } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -926,8 +825,6 @@ public Builder clearDeidentifyTemplate() { return this; } /** - * - * *
      * New DeidentifyTemplate value.
      * 
@@ -935,13 +832,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.
      * 
@@ -952,14 +847,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.
      * 
@@ -967,17 +859,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_; @@ -985,47 +874,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.
      * 
@@ -1046,15 +922,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(); @@ -1065,8 +940,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1077,7 +950,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; } @@ -1089,8 +962,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1109,8 +980,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1118,13 +987,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.
      * 
@@ -1135,14 +1002,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.
      * 
@@ -1150,24 +1014,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); } @@ -1177,12 +1038,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(); } @@ -1191,16 +1052,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; @@ -1215,4 +1076,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 69% 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 be5665fe..c5cd9a70 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,51 +53,45 @@ 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) { @@ -122,43 +99,36 @@ private UpdateInspectTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -167,33 +137,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 { @@ -204,14 +172,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 @@ -219,25 +184,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.
    * 
@@ -252,14 +210,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 @@ -267,14 +222,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 @@ -282,8 +234,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Mask to control which fields get updated.
    * 
@@ -296,7 +246,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -331,10 +281,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; @@ -344,22 +296,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; @@ -388,127 +342,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() @@ -516,15 +460,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -546,9 +491,9 @@ public Builder 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 @@ -567,8 +512,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_; @@ -588,39 +532,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; @@ -628,8 +571,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(); @@ -659,8 +601,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) { @@ -672,24 +613,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; @@ -698,25 +635,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 { @@ -724,73 +658,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; @@ -798,47 +719,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.
      * 
@@ -859,8 +767,6 @@ public Builder setInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate valu return this; } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -879,8 +785,6 @@ public Builder setInspectTemplate( return this; } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -891,9 +795,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; } @@ -905,8 +807,6 @@ public Builder mergeInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate va return this; } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -925,8 +825,6 @@ public Builder clearInspectTemplate() { return this; } /** - * - * *
      * New InspectTemplate value.
      * 
@@ -934,13 +832,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.
      * 
@@ -951,14 +847,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.
      * 
@@ -966,17 +859,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_; @@ -984,47 +874,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.
      * 
@@ -1045,15 +922,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(); @@ -1064,8 +940,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1076,7 +950,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; } @@ -1088,8 +962,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1108,8 +980,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1117,13 +987,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.
      * 
@@ -1134,14 +1002,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.
      * 
@@ -1149,24 +1014,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); } @@ -1176,12 +1038,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(); } @@ -1190,16 +1052,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; @@ -1214,4 +1076,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 73755889..ecd13ab8 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,51 +53,45 @@ 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) { @@ -122,42 +99,35 @@ private UpdateJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -166,32 +136,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 { @@ -202,14 +170,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 @@ -217,25 +182,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.
    * 
@@ -250,14 +208,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 @@ -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 (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; @@ -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.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; @@ -386,126 +340,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() @@ -513,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(); @@ -543,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_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 @@ -564,8 +510,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_; @@ -585,39 +530,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; @@ -625,8 +569,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(); @@ -656,8 +599,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) { @@ -669,23 +611,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; @@ -694,24 +632,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 { @@ -719,70 +654,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; @@ -790,47 +712,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.
      * 
@@ -851,15 +760,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(); @@ -870,8 +778,6 @@ public Builder setJobTrigger(com.google.privacy.dlp.v2.JobTrigger.Builder builde return this; } /** - * - * *
      * New JobTrigger value.
      * 
@@ -882,9 +788,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; } @@ -896,8 +800,6 @@ public Builder mergeJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** - * - * *
      * New JobTrigger value.
      * 
@@ -916,8 +818,6 @@ public Builder clearJobTrigger() { return this; } /** - * - * *
      * New JobTrigger value.
      * 
@@ -925,13 +825,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.
      * 
@@ -942,14 +840,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.
      * 
@@ -957,17 +852,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_; @@ -975,47 +867,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.
      * 
@@ -1036,15 +915,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(); @@ -1055,8 +933,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1067,7 +943,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; } @@ -1079,8 +955,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1099,8 +973,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1108,13 +980,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.
      * 
@@ -1125,14 +995,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.
      * 
@@ -1140,24 +1007,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); } @@ -1167,12 +1031,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(); } @@ -1181,16 +1045,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; @@ -1205,4 +1069,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 70% 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 eed1f449..33f80bab 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,51 +53,45 @@ 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) { @@ -122,43 +99,36 @@ private UpdateStoredInfoTypeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -167,33 +137,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 { @@ -204,8 +172,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
@@ -213,7 +179,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; - * * @return Whether the config field is set. */ @java.lang.Override @@ -221,8 +186,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
@@ -230,18 +193,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
@@ -258,14 +216,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 @@ -273,14 +228,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 @@ -288,8 +240,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Mask to control which fields get updated.
    * 
@@ -302,7 +252,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,7 +263,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -337,10 +287,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; @@ -350,22 +302,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; @@ -394,127 +348,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() @@ -522,15 +466,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -552,9 +497,9 @@ public Builder 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 @@ -573,8 +518,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_; @@ -594,39 +538,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; @@ -634,8 +577,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(); @@ -665,8 +607,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) { @@ -678,24 +619,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; @@ -704,25 +641,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 { @@ -730,73 +664,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; @@ -804,13 +725,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
@@ -818,15 +734,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
@@ -834,21 +747,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
@@ -871,8 +779,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
@@ -893,8 +799,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
@@ -907,9 +811,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;
         }
@@ -921,8 +823,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
@@ -943,8 +843,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
@@ -954,13 +852,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
@@ -973,14 +869,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
@@ -990,17 +883,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_;
@@ -1008,47 +898,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.
      * 
@@ -1069,15 +946,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(); @@ -1088,8 +964,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1100,7 +974,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; } @@ -1112,8 +986,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1132,8 +1004,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Mask to control which fields get updated.
      * 
@@ -1141,13 +1011,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.
      * 
@@ -1158,14 +1026,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.
      * 
@@ -1173,24 +1038,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); } @@ -1200,12 +1062,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(); } @@ -1214,16 +1076,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; @@ -1238,4 +1100,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 cd39a50d..1dcea998 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,87 +57,82 @@ private Value(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              type_ = input.readInt64();
-              typeCase_ = 1;
-              break;
-            }
-          case 17:
-            {
-              type_ = input.readDouble();
-              typeCase_ = 2;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              typeCase_ = 3;
-              type_ = s;
-              break;
+          case 8: {
+            type_ = input.readInt64();
+            typeCase_ = 1;
+            break;
+          }
+          case 17: {
+            type_ = input.readDouble();
+            typeCase_ = 2;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            typeCase_ = 3;
+            type_ = s;
+            break;
+          }
+          case 32: {
+            type_ = input.readBool();
+            typeCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (typeCase_ == 5) {
+              subBuilder = ((com.google.protobuf.Timestamp) type_).toBuilder();
             }
-          case 32:
-            {
-              type_ = input.readBool();
-              typeCase_ = 4;
-              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) {
@@ -161,33 +140,30 @@ private Value(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          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),
@@ -199,7 +175,6 @@ public enum TypeCase
     DAY_OF_WEEK_VALUE(8),
     TYPE_NOT_SET(0);
     private final int value;
-
     private TypeCase(int value) {
       this.value = value;
     }
@@ -215,48 +190,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 @@ -264,14 +227,11 @@ public boolean hasIntegerValue() { return typeCase_ == 1; } /** - * - * *
    * integer
    * 
* * int64 integer_value = 1; - * * @return The integerValue. */ @java.lang.Override @@ -284,14 +244,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 @@ -299,14 +256,11 @@ public boolean hasFloatValue() { return typeCase_ == 2; } /** - * - * *
    * float
    * 
* * double float_value = 2; - * * @return The floatValue. */ @java.lang.Override @@ -319,28 +273,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() { @@ -351,7 +299,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; @@ -360,24 +309,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; } @@ -389,14 +337,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 @@ -404,14 +349,11 @@ public boolean hasBooleanValue() { return typeCase_ == 4; } /** - * - * *
    * boolean
    * 
* * bool boolean_value = 4; - * * @return The booleanValue. */ @java.lang.Override @@ -424,14 +366,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 @@ -439,26 +378,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
    * 
@@ -468,21 +402,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 @@ -490,26 +421,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
    * 
@@ -519,21 +445,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 @@ -541,26 +464,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
    * 
@@ -570,35 +488,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() { @@ -608,28 +520,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; @@ -641,18 +549,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_); @@ -676,39 +588,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; @@ -718,7 +629,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); @@ -728,29 +639,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: @@ -769,14 +688,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; @@ -784,7 +702,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; @@ -810,103 +729,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
@@ -918,20 +831,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);
     }
@@ -941,15 +853,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -959,9 +872,9 @@ public Builder 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
@@ -1026,39 +939,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;
@@ -1068,52 +980,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();
@@ -1143,12 +1046,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() {
@@ -1158,29 +1061,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() { @@ -1190,14 +1088,11 @@ public long getIntegerValue() { return 0L; } /** - * - * *
      * integer
      * 
* * int64 integer_value = 1; - * * @param value The integerValue to set. * @return This builder for chaining. */ @@ -1208,14 +1103,11 @@ public Builder setIntegerValue(long value) { return this; } /** - * - * *
      * integer
      * 
* * int64 integer_value = 1; - * * @return This builder for chaining. */ public Builder clearIntegerValue() { @@ -1228,28 +1120,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() { @@ -1259,14 +1145,11 @@ public double getFloatValue() { return 0D; } /** - * - * *
      * float
      * 
* * double float_value = 2; - * * @param value The floatValue to set. * @return This builder for chaining. */ @@ -1277,14 +1160,11 @@ public Builder setFloatValue(double value) { return this; } /** - * - * *
      * float
      * 
* * double float_value = 2; - * * @return This builder for chaining. */ public Builder clearFloatValue() { @@ -1297,14 +1177,11 @@ public Builder clearFloatValue() { } /** - * - * *
      * string
      * 
* * string string_value = 3; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1312,14 +1189,11 @@ public boolean hasStringValue() { return typeCase_ == 3; } /** - * - * *
      * string
      * 
* * string string_value = 3; - * * @return The stringValue. */ @java.lang.Override @@ -1329,7 +1203,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; @@ -1340,25 +1215,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; } @@ -1368,35 +1242,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() { @@ -1408,22 +1277,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(); @@ -1431,28 +1298,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() { @@ -1462,14 +1323,11 @@ public boolean getBooleanValue() { return false; } /** - * - * *
      * boolean
      * 
* * bool boolean_value = 4; - * * @param value The booleanValue to set. * @return This builder for chaining. */ @@ -1480,14 +1338,11 @@ public Builder setBooleanValue(boolean value) { return this; } /** - * - * *
      * boolean
      * 
* * bool boolean_value = 4; - * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1500,19 +1355,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 @@ -1520,14 +1369,11 @@ public boolean hasTimestampValue() { return typeCase_ == 5; } /** - * - * *
      * timestamp
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; - * * @return The timestampValue. */ @java.lang.Override @@ -1545,8 +1391,6 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** - * - * *
      * timestamp
      * 
@@ -1567,15 +1411,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(); @@ -1586,8 +1429,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * timestamp
      * 
@@ -1596,11 +1437,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; } @@ -1616,8 +1456,6 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * timestamp
      * 
@@ -1641,8 +1479,6 @@ public Builder clearTimestampValue() { return this; } /** - * - * *
      * timestamp
      * 
@@ -1653,8 +1489,6 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** - * - * *
      * timestamp
      * 
@@ -1673,8 +1507,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** - * - * *
      * timestamp
      * 
@@ -1682,42 +1514,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 @@ -1725,14 +1547,11 @@ public boolean hasTimeValue() { return typeCase_ == 6; } /** - * - * *
      * time of day
      * 
* * .google.type.TimeOfDay time_value = 6; - * * @return The timeValue. */ @java.lang.Override @@ -1750,8 +1569,6 @@ public com.google.type.TimeOfDay getTimeValue() { } } /** - * - * *
      * time of day
      * 
@@ -1772,15 +1589,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(); @@ -1791,8 +1607,6 @@ public Builder setTimeValue(com.google.type.TimeOfDay.Builder builderForValue) { return this; } /** - * - * *
      * time of day
      * 
@@ -1801,11 +1615,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; } @@ -1821,8 +1634,6 @@ public Builder mergeTimeValue(com.google.type.TimeOfDay value) { return this; } /** - * - * *
      * time of day
      * 
@@ -1846,8 +1657,6 @@ public Builder clearTimeValue() { return this; } /** - * - * *
      * time of day
      * 
@@ -1858,8 +1667,6 @@ public com.google.type.TimeOfDay.Builder getTimeValueBuilder() { return getTimeValueFieldBuilder().getBuilder(); } /** - * - * *
      * time of day
      * 
@@ -1878,8 +1685,6 @@ public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() { } } /** - * - * *
      * time of day
      * 
@@ -1887,40 +1692,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 @@ -1928,14 +1725,11 @@ public boolean hasDateValue() { return typeCase_ == 7; } /** - * - * *
      * date
      * 
* * .google.type.Date date_value = 7; - * * @return The dateValue. */ @java.lang.Override @@ -1953,8 +1747,6 @@ public com.google.type.Date getDateValue() { } } /** - * - * *
      * date
      * 
@@ -1975,15 +1767,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(); @@ -1994,8 +1785,6 @@ public Builder setDateValue(com.google.type.Date.Builder builderForValue) { return this; } /** - * - * *
      * date
      * 
@@ -2004,11 +1793,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; } @@ -2024,8 +1812,6 @@ public Builder mergeDateValue(com.google.type.Date value) { return this; } /** - * - * *
      * date
      * 
@@ -2049,8 +1835,6 @@ public Builder clearDateValue() { return this; } /** - * - * *
      * date
      * 
@@ -2061,8 +1845,6 @@ public com.google.type.Date.Builder getDateValueBuilder() { return getDateValueFieldBuilder().getBuilder(); } /** - * - * *
      * date
      * 
@@ -2081,8 +1863,6 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { } } /** - * - * *
      * date
      * 
@@ -2090,33 +1870,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 @@ -2124,14 +1901,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 @@ -2142,14 +1916,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. */ @@ -2160,35 +1931,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. */ @@ -2202,14 +1967,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() { @@ -2220,9 +1982,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); } @@ -2232,12 +1994,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(); } @@ -2246,16 +2008,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; @@ -2270,4 +2032,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 1034e999..f80ced7b 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,33 +52,31 @@ 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) { @@ -102,39 +84,34 @@ private ValueFrequency( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + 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 @@ -142,14 +119,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 @@ -157,8 +131,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.
    * 
@@ -173,14 +145,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 @@ -189,7 +158,6 @@ public long getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -218,10 +187,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; @@ -231,7 +202,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); @@ -240,9 +211,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; } @@ -259,133 +232,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() @@ -393,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(); @@ -417,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_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 @@ -438,8 +404,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 { @@ -454,39 +419,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; @@ -532,33 +496,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() { @@ -569,8 +524,6 @@ public com.google.privacy.dlp.v2.Value getValue() { } } /** - * - * *
      * A value contained in the field in question.
      * 
@@ -591,15 +544,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(); @@ -610,8 +562,6 @@ public Builder setValue(com.google.privacy.dlp.v2.Value.Builder builderForValue) return this; } /** - * - * *
      * A value contained in the field in question.
      * 
@@ -622,7 +572,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; } @@ -634,8 +584,6 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { return this; } /** - * - * *
      * A value contained in the field in question.
      * 
@@ -654,8 +602,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * A value contained in the field in question.
      * 
@@ -663,13 +609,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.
      * 
@@ -680,12 +624,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.
      * 
@@ -693,32 +636,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 @@ -726,43 +663,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); } @@ -772,12 +703,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(); } @@ -786,16 +717,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; @@ -810,4 +741,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/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescription.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescription.java new file mode 100644 index 00000000..9b080232 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescription.java @@ -0,0 +1,761 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +/** + *
+ * Details about each available version for an infotype.
+ * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.VersionDescription} + */ +public final class VersionDescription extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.VersionDescription) + VersionDescriptionOrBuilder { +private static final long serialVersionUID = 0L; + // Use VersionDescription.newBuilder() to construct. + private VersionDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private VersionDescription() { + version_ = ""; + description_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new VersionDescription(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private VersionDescription( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + 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_VersionDescription_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_VersionDescription_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.VersionDescription.class, com.google.privacy.dlp.v2.VersionDescription.Builder.class); + } + + public static final int VERSION_FIELD_NUMBER = 1; + private volatile java.lang.Object version_; + /** + *
+   * Name of the version
+   * 
+ * + * string version = 1; + * @return The version. + */ + @java.lang.Override + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } + } + /** + *
+   * Name of the version
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + @java.lang.Override + 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); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 2; + private volatile java.lang.Object description_; + /** + *
+   * Description of the version.
+   * 
+ * + * string description = 2; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+   * Description of the version.
+   * 
+ * + * string description = 2; + * @return The bytes for description. + */ + @java.lang.Override + 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); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.privacy.dlp.v2.VersionDescription)) { + return super.equals(obj); + } + com.google.privacy.dlp.v2.VersionDescription other = (com.google.privacy.dlp.v2.VersionDescription) obj; + + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.privacy.dlp.v2.VersionDescription parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.VersionDescription 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.VersionDescription parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.VersionDescription parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.privacy.dlp.v2.VersionDescription parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.privacy.dlp.v2.VersionDescription 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.VersionDescription parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.VersionDescription 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.VersionDescription parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.privacy.dlp.v2.VersionDescription parseDelimitedFrom( + java.io.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.VersionDescription 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.VersionDescription parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.privacy.dlp.v2.VersionDescription prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Details about each available version for an infotype.
+   * 
+ * + * Protobuf type {@code google.privacy.dlp.v2.VersionDescription} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.VersionDescription) + com.google.privacy.dlp.v2.VersionDescriptionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_VersionDescription_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_VersionDescription_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.privacy.dlp.v2.VersionDescription.class, com.google.privacy.dlp.v2.VersionDescription.Builder.class); + } + + // Construct using com.google.privacy.dlp.v2.VersionDescription.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + version_ = ""; + + description_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_VersionDescription_descriptor; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.VersionDescription getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.VersionDescription.getDefaultInstance(); + } + + @java.lang.Override + public com.google.privacy.dlp.v2.VersionDescription build() { + com.google.privacy.dlp.v2.VersionDescription result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.VersionDescription buildPartial() { + com.google.privacy.dlp.v2.VersionDescription result = new com.google.privacy.dlp.v2.VersionDescription(this); + result.version_ = version_; + result.description_ = description_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.privacy.dlp.v2.VersionDescription) { + return mergeFrom((com.google.privacy.dlp.v2.VersionDescription)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.privacy.dlp.v2.VersionDescription other) { + if (other == com.google.privacy.dlp.v2.VersionDescription.getDefaultInstance()) return this; + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.privacy.dlp.v2.VersionDescription parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.privacy.dlp.v2.VersionDescription) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object version_ = ""; + /** + *
+     * Name of the version
+     * 
+ * + * string version = 1; + * @return The version. + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Name of the version
+     * 
+ * + * string version = 1; + * @return The bytes for version. + */ + 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); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Name of the version
+     * 
+ * + * string version = 1; + * @param value The version to set. + * @return This builder for chaining. + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + version_ = value; + onChanged(); + return this; + } + /** + *
+     * Name of the version
+     * 
+ * + * string version = 1; + * @return This builder for chaining. + */ + public Builder clearVersion() { + + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + *
+     * Name of the version
+     * 
+ * + * string version = 1; + * @param value The bytes for version to set. + * @return This builder for chaining. + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + version_ = value; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + *
+     * Description of the version.
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Description of the version.
+     * 
+ * + * string description = 2; + * @return The bytes for description. + */ + 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); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Description of the version.
+     * 
+ * + * string description = 2; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + description_ = value; + onChanged(); + return this; + } + /** + *
+     * Description of the version.
+     * 
+ * + * string description = 2; + * @return This builder for chaining. + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + *
+     * Description of the version.
+     * 
+ * + * string description = 2; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.VersionDescription) + } + + // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.VersionDescription) + private static final com.google.privacy.dlp.v2.VersionDescription DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.VersionDescription(); + } + + public static com.google.privacy.dlp.v2.VersionDescription getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VersionDescription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VersionDescription(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.privacy.dlp.v2.VersionDescription getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescriptionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescriptionOrBuilder.java new file mode 100644 index 00000000..744cf81c --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescriptionOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/privacy/dlp/v2/dlp.proto + +package com.google.privacy.dlp.v2; + +public interface VersionDescriptionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.VersionDescription) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Name of the version
+   * 
+ * + * string version = 1; + * @return The version. + */ + java.lang.String getVersion(); + /** + *
+   * Name of the version
+   * 
+ * + * string version = 1; + * @return The bytes for version. + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + *
+   * Description of the version.
+   * 
+ * + * string description = 2; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+   * Description of the version.
+   * 
+ * + * string description = 2; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); +} 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 89% 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 866a5748..4dc3a386 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 @@ -133,7 +133,7 @@ service DlpService { }; } - // Returns a list of the sensitive information types that the DLP API + // Returns a list of the sensitive information types that DLP API // supports. See https://cloud.google.com/dlp/docs/infotypes-reference to // learn more. rpc ListInfoTypes(ListInfoTypesRequest) returns (ListInfoTypesResponse) { @@ -146,7 +146,7 @@ service DlpService { option (google.api.method_signature) = "parent"; } - // Creates an InspectTemplate for re-using frequently used configuration + // Creates an InspectTemplate for reusing frequently used configuration // for inspecting content, images, and storage. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. rpc CreateInspectTemplate(CreateInspectTemplateRequest) returns (InspectTemplate) { @@ -245,7 +245,7 @@ service DlpService { option (google.api.method_signature) = "name"; } - // Creates a DeidentifyTemplate for re-using frequently used configuration + // Creates a DeidentifyTemplate for reusing frequently used configuration // for de-identifying content, images, and storage. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. @@ -505,7 +505,7 @@ service DlpService { } // 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 + // no longer interested in the DlpJob result. The job will be canceled if // possible. // See https://cloud.google.com/dlp/docs/inspecting-storage and // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. @@ -660,7 +660,7 @@ service DlpService { } } -// List of exclude infoTypes. +// List of excluded infoTypes. message ExcludeInfoTypes { // InfoType list in ExclusionRule rule drops a finding when it overlaps or // contained within with a finding of an infoType from this list. For @@ -721,6 +721,12 @@ message InspectionRuleSet { message InspectConfig { // Configuration to control the number of findings returned for inspection. // This is not used for de-identification or data profiling. + // + // When redacting sensitive data from images, finding limits don't apply. They + // can cause unexpected or inconsistent results, where only some data is + // redacted. Don't include finding limits in + // [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage] + // requests. Otherwise, Cloud DLP returns an error. message FindingLimits { // Max findings configuration per infoType, per content item or long // running DlpJob. @@ -770,6 +776,12 @@ message InspectConfig { // Configuration to control the number of findings returned. // This is not used for data profiling. + // + // When redacting sensitive data from images, finding limits don't apply. They + // can cause unexpected or inconsistent results, where only some data is + // redacted. Don't include finding limits in + // [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage] + // requests. Otherwise, Cloud DLP returns an error. FindingLimits limits = 3; // When true, a contextual quote from the data that triggered a finding is @@ -1006,7 +1018,7 @@ message ContentLocation { // * Datastore namespace: {namespace} // // Nested names could be absent if the embedded object has no string - // identifier (for an example an image contained within a document). + // identifier (for example, an image contained within a document). string container_name = 1; // Type of the container within the file with location of the finding. @@ -1024,14 +1036,14 @@ message ContentLocation { MetadataLocation metadata_location = 8; } - // Findings container modification timestamp, if applicable. - // For Google Cloud Storage contains last file modification timestamp. - // For BigQuery table contains last_modified_time property. - // For Datastore - not populated. + // Finding container modification timestamp, if applicable. For Cloud Storage, + // this field contains the last file modification timestamp. For a BigQuery + // table, this field contains the last_modified_time property. For Datastore, + // this field isn't populated. google.protobuf.Timestamp container_timestamp = 6; - // Findings container version, if available - // ("generation" for Google Cloud Storage). + // Finding container version, if available + // ("generation" for Cloud Storage). string container_version = 7; } @@ -1086,7 +1098,7 @@ message TableLocation { // Represents a container that may contain DLP findings. // Examples of a container include a file, table, or database record. message Container { - // Container type, for example BigQuery or Google Cloud Storage. + // Container type, for example BigQuery or Cloud Storage. string type = 1; // Project where the finding was found. @@ -1096,33 +1108,35 @@ message Container { // A string representation of the full container name. // Examples: // - BigQuery: 'Project:DataSetId.TableId' - // - Google Cloud Storage: 'gs://Bucket/folders/filename.txt' + // - Cloud Storage: 'gs://Bucket/folders/filename.txt' string full_path = 3; // The root of the container. // Examples: + // // - For BigQuery table `project_id:dataset_id.table_id`, the root is // `dataset_id` - // - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root + // - For Cloud Storage file `gs://bucket/folder/filename.txt`, the root // is `gs://bucket` string root_path = 4; // The rest of the path after the root. // Examples: + // // - For BigQuery table `project_id:dataset_id.table_id`, the relative path is // `table_id` - // - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative + // - For Cloud Storage file `gs://bucket/folder/filename.txt`, the relative // path is `folder/filename.txt` string relative_path = 5; - // Findings container modification timestamp, if applicable. - // For Google Cloud Storage contains last file modification timestamp. - // For BigQuery table contains last_modified_time property. - // For Datastore - not populated. + // Findings container modification timestamp, if applicable. For Cloud + // Storage, this field contains the last file modification timestamp. For a + // BigQuery table, this field contains the last_modified_time property. For + // Datastore, this field isn't populated. google.protobuf.Timestamp update_time = 6; // Findings container version, if available - // ("generation" for Google Cloud Storage). + // ("generation" for Cloud Storage). string version = 7; } @@ -1242,7 +1256,7 @@ message RedactImageResponse { InspectResult inspect_result = 3; } -// Request to de-identify a list of items. +// Request to de-identify a ContentItem. message DeidentifyContentRequest { // Parent resource name. // @@ -1367,7 +1381,7 @@ message ReidentifyContentRequest { string location_id = 7; } -// Results of re-identifying a item. +// Results of re-identifying an item. message ReidentifyContentResponse { // The re-identified item. ContentItem item = 1; @@ -1434,7 +1448,7 @@ message OutputStorageConfig { // `timestamp`. BASIC_COLUMNS = 1; - // Schema tailored to findings from scanning Google Cloud Storage. + // Schema tailored to findings from scanning Cloud Storage. GCS_COLUMNS = 2; // Schema tailored to findings from scanning Google Datastore. @@ -1452,8 +1466,8 @@ message OutputStorageConfig { // 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 // for you with the following format: - // dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for - // generating the date details. + // dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used + // for generating the date details. // // For Inspect, each column in an existing output table must have the same // name, type, and mode of a field in the `Finding` object. @@ -1555,6 +1569,9 @@ message InfoTypeDescription { // request. string description = 4; + // A list of available versions for the infotype. + repeated VersionDescription versions = 9; + // The category of the infoType. repeated InfoTypeCategory categories = 10; } @@ -1751,6 +1768,15 @@ message InfoTypeCategory { } } +// Details about each available version for an infotype. +message VersionDescription { + // Name of the version + string version = 1; + + // Description of the version. + string description = 2; +} + // Request for the list of infoTypes. message ListInfoTypesRequest { // The parent resource name. @@ -2202,10 +2228,10 @@ message AnalyzeDataSourceRiskDetails { repeated Value quasi_ids_values = 1; // The estimated probability that a given individual sharing these - // quasi-identifier values is in the dataset. This value, typically called - // δ, is the ratio between the number of records in the dataset with these - // quasi-identifier values, and the total number of individuals (inside - // *and* outside the dataset) with these quasi-identifier values. + // quasi-identifier values is in the dataset. This value, typically + // called δ, is the ratio between the number of records in the dataset + // with these quasi-identifier values, and the total number of individuals + // (inside *and* outside the dataset) with these quasi-identifier values. // For example, if there are 15 individuals in the dataset who share the // same quasi-identifier values, and an estimated 100 people in the entire // population with these values, then δ is 0.15. @@ -2375,6 +2401,9 @@ message DeidentifyConfig { // specific locations within structured datasets, such as transforming // a column within a table. RecordTransformations record_transformations = 2; + + // Treat the dataset as an image and redact. + ImageTransformations image_transformations = 4; } // Mode for handling transformation errors. If left unspecified, the default @@ -2382,6 +2411,49 @@ message DeidentifyConfig { TransformationErrorHandling transformation_error_handling = 3; } +// A type of transformation that is applied over images. +message ImageTransformations { + // Configuration for determining how redaction of images should occur. + message ImageTransformation { + // Apply transformation to the selected info_types. + message SelectedInfoTypes { + // Required. InfoTypes to apply the transformation to. Required. Provided InfoType + // must be unique within the ImageTransformations message. + repeated InfoType info_types = 5 [(google.api.field_behavior) = REQUIRED]; + } + + // Apply transformation to all findings. + message AllInfoTypes { + + } + + // Apply to all text. + message AllText { + + } + + oneof target { + // Apply transformation to the selected info_types. + SelectedInfoTypes selected_info_types = 4; + + // Apply transformation to all findings not specified in other + // ImageTransformation's selected_info_types. Only one instance is allowed + // within the ImageTransformations message. + AllInfoTypes all_info_types = 5; + + // Apply transformation to all text that doesn't match an infoType. Only + // one instance is allowed within the ImageTransformations message. + AllText all_text = 6; + } + + // The color to use when redacting content from an image. If not + // specified, the default is black. + Color redaction_color = 3; + } + + repeated ImageTransformation transforms = 2; +} + // How to handle transformation errors during de-identification. A // transformation error occurs when the requested transformation is incompatible // with the data. For example, trying to de-identify an IP address using a @@ -2558,7 +2630,7 @@ message CryptoDeterministicConfig { // plaintext would be used as is for encryption. // // Note that case (1) is expected when an `InfoTypeTransformation` is - // applied to both structured and non-structured `ContentItem`s. + // applied to both structured and unstructured `ContentItem`s. FieldId context = 3; } @@ -2593,7 +2665,7 @@ message RedactConfig { // Characters to skip when doing deidentification of a value. These will be left // alone and skipped. message CharsToIgnore { - // Convenience enum for indication common characters to not transform. + // Convenience enum for indicating common characters to not transform. enum CommonCharsToIgnore { // Unused. COMMON_CHARS_TO_IGNORE_UNSPECIFIED = 0; @@ -2639,6 +2711,21 @@ message CharacterMaskConfig { // Number of characters to mask. If not set, all matching chars will be // masked. Skipped characters do not count towards this tally. + // + // If `number_to_mask` is negative, this denotes inverse masking. Cloud DLP + // masks all but a number of characters. + // For example, suppose you have the following values: + // + // - `masking_character` is `*` + // - `number_to_mask` is `-4` + // - `reverse_order` is `false` + // - `CharsToIgnore` includes `-` + // - Input string is `1234-5678-9012-3456` + // + // The resulting de-identified string is + // `****-****-****-3456`. Cloud DLP masks all but the last four characters. + // If `reverse_order` is `true`, all but the first four characters are masked + // as `1234-****-****-****`. int32 number_to_mask = 2; // Mask characters in reverse order. For example, if `masking_character` is @@ -2732,7 +2819,7 @@ message BucketingConfig { message CryptoReplaceFfxFpeConfig { // These are commonly used subsets of the alphabet that the FFX mode // natively supports. In the algorithm, the alphabet is selected using - // the "radix". Therefore each corresponds to particular radix. + // the "radix". Therefore each corresponds to a particular radix. enum FfxCommonNativeAlphabet { // Unused. FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED = 0; @@ -2765,7 +2852,7 @@ message CryptoReplaceFfxFpeConfig { // a default tweak will be used. // // Note that case (1) is expected when an `InfoTypeTransformation` is - // applied to both structured and non-structured `ContentItem`s. + // applied to both structured and unstructured `ContentItem`s. // Currently, the referenced field may be of value type integer or string. // // The tweak is constructed as a sequence of bytes in big endian byte order @@ -3021,7 +3108,7 @@ message RecordCondition { repeated Condition conditions = 1; } - // An expression, consisting or an operator and conditions. + // An expression, consisting of an operator and conditions. message Expressions { // Logical operators for conditional checks. enum LogicalOperator { @@ -3110,10 +3197,209 @@ message TransformationSummary { int64 transformed_bytes = 7; } +// A flattened description of a `PrimitiveTransformation` or +// `RecordSuppression`. +message TransformationDescription { + // The transformation type. + TransformationType type = 1; + + // A description of the transformation. This is empty for a + // RECORD_SUPPRESSION, or is the output of calling toString() on the + // `PrimitiveTransformation` protocol buffer message for any other type of + // transformation. + string description = 2; + + // A human-readable string representation of the `RecordCondition` + // corresponding to this transformation. Set if a `RecordCondition` was used + // to determine whether or not to apply this transformation. + // + // Examples: + // * (age_field > 85) + // * (age_field <= 18) + // * (zip_field exists) + // * (zip_field == 01234) && (city_field != "Springville") + // * (zip_field == 01234) && (age_field <= 18) && (city_field exists) + string condition = 3; + + // Set if the transformation was limited to a specific `InfoType`. + InfoType info_type = 4; +} + +// Details about a single transformation. This object contains a description of +// the transformation, information about whether the transformation was +// successfully applied, and the precise location where the transformation +// occurred. These details are stored in a user-specified BigQuery table. +message TransformationDetails { + // The name of the job that completed the transformation. + string resource_name = 1; + + // The top level name of the container where the transformation is located + // (this will be the source file name or table name). + string container_name = 2; + + // Description of transformation. This would only contain more than one + // element if there were multiple matching transformations and which one to + // apply was ambiguous. Not set for states that contain no transformation, + // currently only state that contains no transformation is + // TransformationResultStateType.METADATA_UNRETRIEVABLE. + repeated TransformationDescription transformation = 3; + + // Status of the transformation, if transformation was not successful, this + // will specify what caused it to fail, otherwise it will show that the + // transformation was successful. + TransformationResultStatus status_details = 4; + + // The number of bytes that were transformed. If transformation was + // unsuccessful or did not take place because there was no content to + // transform, this will be zero. + int64 transformed_bytes = 5; + + // The precise location of the transformed content in the original container. + TransformationLocation transformation_location = 6; +} + +// Specifies the location of a transformation. +message TransformationLocation { + oneof location_type { + // For infotype transformations, link to the corresponding findings ID so + // that location information does not need to be duplicated. Each findings + // ID correlates to an entry in the findings output table, this table only + // gets created when users specify to save findings (add the save findings + // action to the request). + string finding_id = 1; + + // For record transformations, provide a field and container information. + RecordTransformation record_transformation = 2; + } + + // Information about the functionality of the container where this finding + // occurred, if available. + TransformationContainerType container_type = 3; +} + +message RecordTransformation { + // For record transformations, provide a field. + FieldId field_id = 1; + + // Findings container modification timestamp, if applicable. + google.protobuf.Timestamp container_timestamp = 2; + + // Container version, if available ("generation" for Cloud Storage). + string container_version = 3; +} + +message TransformationResultStatus { + // Transformation result status type, this will be either SUCCESS, or it will + // be the reason for why the transformation was not completely successful. + TransformationResultStatusType result_status_type = 1; + + // Detailed error codes and messages + google.rpc.Status details = 2; +} + +// Enum of possible outcomes of transformations. SUCCESS if transformation and +// storing of transformation was successful, otherwise, reason for not +// transforming. +enum TransformationResultStatusType { + STATE_TYPE_UNSPECIFIED = 0; + + // This will be set when a finding could not be transformed (i.e. outside user + // set bucket range). + INVALID_TRANSFORM = 1; + + // This will be set when a BigQuery transformation was successful but could + // not be stored back in BigQuery because the transformed row exceeds + // BigQuery's max row size. + BIGQUERY_MAX_ROW_SIZE_EXCEEDED = 2; + + // This will be set when there is a finding in the custom metadata of a file, + // but at the write time of the transformed file, this key / value pair is + // unretrievable. + METADATA_UNRETRIEVABLE = 3; + + // This will be set when the transformation and storing of it is successful. + SUCCESS = 4; +} + +// Describes functionality of a given container in its original format. +enum TransformationContainerType { + TRANSFORM_UNKNOWN_CONTAINER = 0; + + TRANSFORM_BODY = 1; + + TRANSFORM_METADATA = 2; + + TRANSFORM_TABLE = 3; +} + +// An enum of rules that can be used to transform a value. Can be a +// record suppression, or one of the transformation rules specified under +// `PrimitiveTransformation`. +enum TransformationType { + // Unused + TRANSFORMATION_TYPE_UNSPECIFIED = 0; + + // Record suppression + RECORD_SUPPRESSION = 1; + + // Replace value + REPLACE_VALUE = 2; + + // Replace value using a dictionary. + REPLACE_DICTIONARY = 15; + + // Redact + REDACT = 3; + + // Character mask + CHARACTER_MASK = 4; + + // FFX-FPE + CRYPTO_REPLACE_FFX_FPE = 5; + + // Fixed size bucketing + FIXED_SIZE_BUCKETING = 6; + + // Bucketing + BUCKETING = 7; + + // Replace with info type + REPLACE_WITH_INFO_TYPE = 8; + + // Time part + TIME_PART = 9; + + // Crypto hash + CRYPTO_HASH = 10; + + // Date shift + DATE_SHIFT = 12; + + // Deterministic crypto + CRYPTO_DETERMINISTIC_CONFIG = 13; + + // Redact image + REDACT_IMAGE = 14; +} + +// Config for storing transformation details. +message TransformationDetailsStorageConfig { + // Location to store the transformation summary. + oneof type { + // The BigQuery table in which to store the output. This may be an existing + // table or in a new table in an existing dataset. + // If table_id is not set a new one will be generated for you with the + // following format: + // dlp_googleapis_transformation_details_yyyy_mm_dd_[dlp_job_id]. Pacific + // time zone will be used for generating the date details. + BigQueryTable table = 1; + } +} + // Schedule for inspect job triggers. message Schedule { oneof option { - // With this option a job is started a regular periodic basis. For + // With this option a job is started on a regular periodic basis. For // example: every day (86400 seconds). // // A scheduled start time will be skipped if the previous @@ -3302,7 +3588,7 @@ message Action { OutputStorageConfig output_config = 1; } - // Publish a message into given Pub/Sub topic when DlpJob has completed. The + // Publish a message into a given Pub/Sub topic when DlpJob has completed. The // message contains a single field, `DlpJobName`, which is equal to the // finished job's // [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob). @@ -3320,31 +3606,88 @@ message Action { // This action is only available for projects which are parts of // an organization and whitelisted for the alpha Cloud Security Command // Center. - // The action will publish count of finding instances and their info types. - // The summary of findings will be persisted in CSCC and are governed by CSCC - // service-specific policy, see https://cloud.google.com/terms/service-terms - // Only a single instance of this action can be specified. - // Compatible with: Inspect + // The action will publish the count of finding instances and their info + // types. The summary of findings will be persisted in CSCC and are governed + // by CSCC service-specific policy, see + // https://cloud.google.com/terms/service-terms Only a single instance of this + // action can be specified. Compatible with: Inspect message PublishSummaryToCscc { } - // 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 - // in Data Catalog. Any labels previously written by another DlpJob will - // be deleted. InfoType naming patterns are strictly enforced when using this - // feature. Note that the findings will be persisted in Data Catalog - // storage and are governed by Data Catalog service-specific policy, see - // https://cloud.google.com/terms/service-terms - // Only a single instance of this action can be specified and only allowed if - // all resources being scanned are BigQuery tables. + // Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag + // templates are applied to the resource that Cloud DLP scanned. Data + // Catalog tag templates are stored in the same project and region where the + // BigQuery table exists. For Cloud DLP to create and apply the tag template, + // the Cloud DLP service agent must have the + // `roles/datacatalog.tagTemplateOwner` permission on the project. The tag + // template contains fields summarizing the results of the DlpJob. Any field + // values previously written by another DlpJob are deleted. [InfoType naming + // patterns][google.privacy.dlp.v2.InfoType] are strictly enforced when using + // this feature. + // + // Findings are persisted in Data Catalog storage and are governed by + // service-specific policies for Data Catalog. For more information, see + // [Service Specific Terms](https://cloud.google.com/terms/service-terms). + // + // Only a single instance of this action can be specified. This action is + // allowed only if all resources being scanned are BigQuery tables. // Compatible with: Inspect message PublishFindingsToCloudDataCatalog { } - // Enable email notification to project owners and editors on jobs's - // completion/failure. + // Create a de-identified copy of the requested table or files. + // + // A TransformationDetail will be created for each transformation. + // + // If any rows in BigQuery are skipped during de-identification + // (transformation errors or row size exceeds BigQuery insert API limits) they + // are placed in the failure output table. If the original row exceeds + // the BigQuery insert API limit it will be truncated when written to the + // failure output table. The failure output table can be set in the + // action.deidentify.output.big_query_output.deidentified_failure_output_table + // field, if no table is set, a table will be automatically created in the + // same project and dataset as the original table. + // + // Compatible with: Inspect + message Deidentify { + // User specified deidentify templates and configs for structured, + // unstructured, and image files. + TransformationConfig transformation_config = 7; + + // Config for storing transformation details. This is separate from the + // de-identified content, and contains metadata about the successful + // transformations and/or failures that occurred while de-identifying. This + // needs to be set in order for users to access information about the status + // of each transformation (see + // [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] + // message for more information about what is noted). + TransformationDetailsStorageConfig transformation_details_storage_config = 3; + + oneof output { + // Required. User settable Cloud Storage bucket and folders to store de-identified + // files. This field must be set for cloud storage deidentification. The + // output Cloud Storage bucket must be different from the input bucket. + // De-identified files will overwrite files in the output path. + // + // Form of: gs://bucket/folder/ or gs://bucket + string cloud_storage_output = 9 [(google.api.field_behavior) = REQUIRED]; + } + + // List of user-specified file type groups to transform. If specified, only + // the files with these filetypes will be transformed. If empty, all + // supported files will be transformed. Supported types may be automatically + // added over time. If a file type is set in this field that isn't supported + // by the Deidentify action then the job will fail and will not be + // successfully created/started. Currently the only filetypes supported are: + // IMAGES, TEXT_FILES, CSV, TSV. + repeated FileType file_types_to_transform = 8; + } + + // Sends an email when the job completes. The email goes to IAM project owners + // and technical [Essential + // Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). message JobNotificationEmails { } @@ -3361,7 +3704,7 @@ message Action { // Save resulting findings in a provided location. SaveFindings save_findings = 1; - // Publish a notification to a pubsub topic. + // Publish a notification to a Pub/Sub topic. PublishToPubSub pub_sub = 2; // Publish summary to Cloud Security Command Center (Alpha). @@ -3370,6 +3713,9 @@ message Action { // Publish findings to Cloud Datahub. PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + // Create a de-identified copy of the input data. + Deidentify deidentify = 7; + // Enable email notification for project owners and editors on job's // completion/failure. JobNotificationEmails job_notification_emails = 8; @@ -3379,6 +3725,34 @@ message Action { } } +// User specified templates and configs for how to deidentify structured, +// unstructures, and image files. User must provide either a unstructured +// deidentify template or at least one redact image config. +message TransformationConfig { + // De-identify template. + // If this template is specified, it will serve as the default de-identify + // template. This template cannot contain `record_transformations` since it + // can be used for unstructured content such as free-form text files. If this + // template is not set, a default `ReplaceWithInfoTypeConfig` will be used to + // de-identify unstructured content. + string deidentify_template = 1; + + // Structured de-identify template. + // If this template is specified, it will serve as the de-identify template + // for structured content such as delimited files and tables. If this template + // is not set but the `deidentify_template` is set, then `deidentify_template` + // will also apply to the structured content. If neither template is set, a + // default `ReplaceWithInfoTypeConfig` will be used to de-identify structured + // content. + string structured_deidentify_template = 2; + + // Image redact template. + // If this template is specified, it will serve as the de-identify template + // for images. If this template is not set, all findings in the image will be + // redacted with a black box. + string image_redact_template = 4; +} + // Request message for CreateInspectTemplate. message CreateInspectTemplateRequest { // Required. Parent resource name. @@ -3486,7 +3860,7 @@ message ListInspectTemplatesRequest { // to `ListInspectTemplates`. string page_token = 2; - // Size of the page, can be limited by server. If zero server returns + // Size of the page, can be limited by the server. If zero server returns // a page of max size 100. int32 page_size = 3; @@ -3499,10 +3873,10 @@ message ListInspectTemplatesRequest { // // Supported fields are: // - // - `create_time`: corresponds to time the template was created. - // - `update_time`: corresponds to time the template was last updated. - // - `name`: corresponds to template's name. - // - `display_name`: corresponds to template's display name. + // - `create_time`: corresponds to the time the template was created. + // - `update_time`: corresponds to the time the template was last updated. + // - `name`: corresponds to the template's name. + // - `display_name`: corresponds to the template's display name. string order_by = 4; // Deprecated. This field has no effect. @@ -3701,11 +4075,11 @@ message ListJobTriggersRequest { // // Supported fields are: // - // - `create_time`: corresponds to time the JobTrigger was created. - // - `update_time`: corresponds to time the JobTrigger was last updated. + // - `create_time`: corresponds to the time the JobTrigger was created. + // - `update_time`: corresponds to the time the JobTrigger was last updated. // - `last_run_time`: corresponds to the last time the JobTrigger ran. - // - `name`: corresponds to JobTrigger's name. - // - `display_name`: corresponds to JobTrigger's display name. + // - `name`: corresponds to the JobTrigger's name. + // - `display_name`: corresponds to the JobTrigger's display name. // - `status`: corresponds to JobTrigger's status. string order_by = 4; @@ -3932,7 +4306,7 @@ message DlpJob { // The job is no longer running. DONE = 3; - // The job was canceled before it could complete. + // The job was canceled before it could be completed. CANCELED = 4; // The job had an error and did not complete. @@ -3940,7 +4314,7 @@ message DlpJob { // The job is currently accepting findings via hybridInspect. // A hybrid job in ACTIVE state may continue to have findings added to it - // through calling of hybridInspect. After the job has finished no more + // through the calling of hybridInspect. After the job has finished no more // calls to hybridInspect may be made. ACTIVE jobs can transition to DONE. ACTIVE = 6; } @@ -4026,13 +4400,13 @@ message ListDlpJobsRequest { // * Supported fields/values for inspect jobs: // - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED // - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - // - `trigger_name` - The resource name of the trigger that created job. - // - 'end_time` - Corresponds to time the job finished. - // - 'start_time` - Corresponds to time the job finished. + // - `trigger_name` - The name of the trigger that created the job. + // - 'end_time` - Corresponds to the time the job finished. + // - 'start_time` - Corresponds to the time the job finished. // * Supported fields for risk analysis jobs: // - `state` - RUNNING|CANCELED|FINISHED|FAILED - // - 'end_time` - Corresponds to time the job finished. - // - 'start_time` - Corresponds to time the job finished. + // - 'end_time` - Corresponds to the time the job finished. + // - 'start_time` - Corresponds to the time the job finished. // * The operator must be `=` or `!=`. // // Examples: @@ -4063,9 +4437,9 @@ message ListDlpJobsRequest { // // Supported fields are: // - // - `create_time`: corresponds to time the job was created. - // - `end_time`: corresponds to time the job ended. - // - `name`: corresponds to job's name. + // - `create_time`: corresponds to the time the job was created. + // - `end_time`: corresponds to the time the job ended. + // - `name`: corresponds to the job's name. // - `state`: corresponds to `state` string order_by = 6; @@ -4222,7 +4596,7 @@ message ListDeidentifyTemplatesRequest { // to `ListDeidentifyTemplates`. string page_token = 2; - // Size of the page, can be limited by server. If zero server returns + // Size of the page, can be limited by the server. If zero server returns // a page of max size 100. int32 page_size = 3; @@ -4235,10 +4609,10 @@ message ListDeidentifyTemplatesRequest { // // Supported fields are: // - // - `create_time`: corresponds to time the template was created. - // - `update_time`: corresponds to time the template was last updated. - // - `name`: corresponds to template's name. - // - `display_name`: corresponds to template's display name. + // - `create_time`: corresponds to the time the template was created. + // - `update_time`: corresponds to the time the template was last updated. + // - `name`: corresponds to the template's name. + // - `display_name`: corresponds to the template's display name. string order_by = 4; // Deprecated. This field has no effect. @@ -4272,11 +4646,11 @@ message DeleteDeidentifyTemplateRequest { // Configuration for a custom dictionary created from a data source of any size // up to the maximum size defined in the // [limits](https://cloud.google.com/dlp/limits) page. The artifacts of -// dictionary creation are stored in the specified Google Cloud Storage +// dictionary creation are stored in the specified Cloud Storage // location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries // that satisfy the size requirements. message LargeCustomDictionaryConfig { - // Location to store dictionary artifacts in Google Cloud Storage. These files + // Location to store dictionary artifacts in Cloud Storage. These files // will only be accessible by project owners and the DLP API. If any of these // artifacts are modified, the dictionary is considered invalid and can no // longer be used. @@ -4349,7 +4723,7 @@ message StoredInfoTypeVersion { // appearing first. // // For example, some of the data for stored custom dictionaries is put in - // the user's Google Cloud Storage bucket, and if this data is modified or + // the user's Cloud Storage bucket, and if this data is modified or // deleted by the user or another system, the dictionary becomes invalid. // // If any errors occur, fix the problem indicated by the error message and @@ -4472,10 +4846,6 @@ message ListStoredInfoTypesRequest { // `projects/`PROJECT_ID`/locations/`LOCATION_ID // + Projects scope, no location specified (defaults to global):
// `projects/`PROJECT_ID - // + Organizations scope, location specified:
- // `organizations/`ORG_ID`/locations/`LOCATION_ID - // + Organizations scope, no location specified (defaults to global):
- // `organizations/`ORG_ID // // The following example `parent` string specifies a parent project with the // identifier `example-project`, and specifies the `europe-west3` location @@ -4493,7 +4863,7 @@ message ListStoredInfoTypesRequest { // to `ListStoredInfoTypes`. string page_token = 2; - // Size of the page, can be limited by server. If zero server returns + // Size of the page, can be limited by the server. If zero server returns // a page of max size 100. int32 page_size = 3; @@ -4506,7 +4876,7 @@ message ListStoredInfoTypesRequest { // // Supported fields are: // - // - `create_time`: corresponds to time the most recent version of the + // - `create_time`: corresponds to the time the most recent version of the // resource was created. // - `state`: corresponds to the state of the resource. // - `name`: corresponds to resource name. @@ -4750,33 +5120,7 @@ enum StoredInfoTypeState { } // Score is a summary of all elements in the data profile. -// A higher number means more sensitive. -message SensitivityScore { - // Various score levels for resources. - enum SensitivityScoreLevel { - // Unused. - SENSITIVITY_SCORE_UNSPECIFIED = 0; - - // No sensitive information detected. Limited access. - SENSITIVITY_LOW = 10; - - // Medium risk - PII, potentially sensitive data, or fields with free-text - // data that are at higher risk of having intermittent sensitive data. - // Consider limiting access. - SENSITIVITY_MODERATE = 20; - - // High risk – SPII may be present. Exfiltration of data may lead to user - // data loss. Re-identification of users may be possible. Consider limiting - // usage and or removing SPII. - SENSITIVITY_HIGH = 30; - } - - // The score applied to the resource. - SensitivityScoreLevel score = 1; -} - -// Score is a summary of all elements in the data profile. -// A higher number means more risky. +// A higher number means more risk. message DataRiskLevel { // Various score levels for resources. enum DataRiskLevelScore { @@ -4789,8 +5133,8 @@ message DataRiskLevel { RISK_LOW = 10; // Medium risk - Sensitive data may be present but additional access or fine - // grain access restrictions appears to be present. Consider limiting - // access even further or transforming data to mask. + // grain access restrictions appear to be present. Consider limiting + // access even further or transform data to mask. RISK_MODERATE = 20; // High risk – SPII may be present. Access controls may include public @@ -4947,15 +5291,23 @@ enum EncryptionStatus { message InfoTypeSummary { // The infoType. InfoType info_type = 1; + + // Approximate percentage of non-null rows that contained data detected by + // this infotype. + int32 estimated_prevalence = 2; } // Infotype details for other infoTypes found within a column. message OtherInfoTypeSummary { // The other infoType. InfoType info_type = 1; + + // Approximate percentage of non-null rows that contained data detected by + // this infotype. + int32 estimated_prevalence = 2; } -// A condition for determining whether a PubSub should be triggered. +// A condition for determining whether a Pub/Sub should be triggered. message DataProfilePubSubCondition { // Various score levels for resources. enum ProfileScoreBucket { @@ -5006,10 +5358,9 @@ message DataProfilePubSubCondition { PubSubExpressions expressions = 1; } -// The message that will be published to a Pub/Sub topic. +// Pub/Sub topic message for a DataProfileAction.PubSubNotification event. // To receive a message of protocol buffer schema type, convert the message data // to an object of this proto class. -// https://cloud.google.com/pubsub/docs/samples/pubsub-subscribe-proto-messages message DataProfilePubSubMessage { // If `DetailLevel` is `TABLE_PROFILE` this will be fully populated. // Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and 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 94% 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 a0002b33..7709f546 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 @@ -16,6 +16,7 @@ syntax = "proto3"; package google.privacy.dlp.v2; +import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Dlp.V2"; @@ -39,6 +40,32 @@ message InfoType { string version = 2; } +// Score is a summary of all elements in the data profile. +// A higher number means more sensitive. +message SensitivityScore { + // Various score levels for resources. + enum SensitivityScoreLevel { + // Unused. + SENSITIVITY_SCORE_UNSPECIFIED = 0; + + // No sensitive information detected. Limited access. + SENSITIVITY_LOW = 10; + + // Medium risk - PII, potentially sensitive data, or fields with free-text + // data that are at higher risk of having intermittent sensitive data. + // Consider limiting access. + SENSITIVITY_MODERATE = 20; + + // High risk – SPII may be present. Exfiltration of data may lead to user + // data loss. Re-identification of users may be possible. Consider limiting + // usage and or removing SPII. + SENSITIVITY_HIGH = 30; + } + + // The score applied to the resource. + SensitivityScoreLevel score = 1; +} + // 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 { @@ -411,7 +438,7 @@ message CloudStorageRegexFileSet { repeated string exclude_regex = 3; } -// Options defining a file or a set of files within a Google Cloud Storage +// Options defining a file or a set of files within a Cloud Storage // bucket. message CloudStorageOptions { // Set of files to scan. @@ -547,7 +574,7 @@ message BigQueryOptions { // Shared message indicating Cloud storage type. message StorageConfig { // Configuration of the timespan of the items to include in scanning. - // Currently only supported when inspecting Google Cloud Storage and BigQuery. + // Currently only supported when inspecting Cloud Storage and BigQuery. message TimespanConfig { // Exclude files, tables, or rows older than this value. // If not set, no lower time limit is applied. @@ -560,7 +587,8 @@ message StorageConfig { // Specification of the field containing the timestamp of scanned items. // Used for data sources like Datastore and BigQuery. // - // For BigQuery: + // For BigQuery + // // If this value is not specified and the table was modified between the // given start and end times, the entire table will be scanned. If this // value is specified, then rows are filtered based on the given start and @@ -569,17 +597,34 @@ message StorageConfig { // Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, // `TIMESTAMP`, and `DATETIME`. // - // For Datastore: + // If your BigQuery table is [partitioned at ingestion + // time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), + // you can use any of the following pseudo-columns as your timestamp field. + // When used with Cloud DLP, these pseudo-column names are case sensitive. + // + //
    + //
  • _PARTITIONTIME
  • + //
  • _PARTITIONDATE
  • + //
  • _PARTITION_LOAD_TIME
  • + //
+ // + // For Datastore + // // If this value is specified, then entities are filtered based on the given // start and end times. If an entity does not contain the provided timestamp // property or contains empty or invalid values, then it is included. // Valid data types of the provided timestamp property are: `TIMESTAMP`. + // + // See the + // [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan) + // related to this operation. FieldId timestamp_field = 3; // 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 // since the last time the JobTrigger executed. This will be based on the - // time of the execution of the last run of the JobTrigger. + // time of the execution of the last run of the JobTrigger or the timespan + // end_time used in the last run of the JobTrigger. bool enable_auto_population_of_timespan_config = 4; } @@ -587,7 +632,7 @@ message StorageConfig { // Google Cloud Datastore options. DatastoreOptions datastore_options = 2; - // Google Cloud Storage options. + // Cloud Storage options. CloudStorageOptions cloud_storage_options = 3; // BigQuery options. diff --git a/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 deleted file mode 100644 index cf357f4e..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/Action.java +++ /dev/null @@ -1,5764 +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; - -/** - * - * - *
- * A task to execute on the completion of a job.
- * See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
- * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action} - */ -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; - // Use Action.newBuilder() to construct. - private Action(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Action() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Action(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Action( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 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(); - } - 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 (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Action.class, com.google.privacy.dlp.v2.Action.Builder.class); - } - - 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.
-     * 
- * - * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - */ - 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
-   * specified.
-   * Compatible with: Inspect, Risk
-   * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.SaveFindings} - */ - 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; - // Use SaveFindings.newBuilder() to construct. - private SaveFindings(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private SaveFindings() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SaveFindings(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private SaveFindings( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 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; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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 - 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_; - } - /** - * - * - *
-     * Location to store findings outside of DLP.
-     * 
- * - * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - */ - @java.lang.Override - public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrBuilder() { - return getOutputConfig(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (outputConfig_ != null) { - output.writeMessage(1, getOutputConfig()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (outputConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOutputConfig()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.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; - - if (hasOutputConfig() != other.hasOutputConfig()) return false; - if (hasOutputConfig()) { - if (!getOutputConfig().equals(other.getOutputConfig())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasOutputConfig()) { - hash = (37 * hash) + OUTPUT_CONFIG_FIELD_NUMBER; - hash = (53 * hash) + getOutputConfig().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - 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) - 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) - 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); - } - - public static com.google.privacy.dlp.v2.Action.SaveFindings 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.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) - throws java.io.IOException { - 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); - } - - 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); - } - - @java.lang.Override - 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); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * If set, the detailed findings will be persisted to the specified
-     * OutputStorageConfig. Only a single instance of this action can be
-     * specified.
-     * Compatible with: Inspect, Risk
-     * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.SaveFindings} - */ - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (outputConfigBuilder_ == null) { - outputConfig_ = null; - } else { - outputConfig_ = null; - outputConfigBuilder_ = null; - } - return this; - } - - @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; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.SaveFindings getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.SaveFindings build() { - com.google.privacy.dlp.v2.Action.SaveFindings result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @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); - if (outputConfigBuilder_ == null) { - result.outputConfig_ = outputConfig_; - } else { - result.outputConfig_ = outputConfigBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.Action.SaveFindings) { - return mergeFrom((com.google.privacy.dlp.v2.Action.SaveFindings) other); - } else { - super.mergeFrom(other); - return this; - } - } - - 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.hasOutputConfig()) { - mergeOutputConfig(other.getOutputConfig()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.privacy.dlp.v2.Action.SaveFindings parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.Action.SaveFindings) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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_; - /** - * - * - *
-       * 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_; - } else { - return outputConfigBuilder_.getMessage(); - } - } - /** - * - * - *
-       * Location to store findings outside of DLP.
-       * 
- * - * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - */ - public Builder setOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig value) { - if (outputConfigBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - outputConfig_ = value; - onChanged(); - } else { - outputConfigBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-       * Location to store findings outside of DLP.
-       * 
- * - * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - */ - public Builder setOutputConfig( - com.google.privacy.dlp.v2.OutputStorageConfig.Builder builderForValue) { - if (outputConfigBuilder_ == null) { - outputConfig_ = builderForValue.build(); - onChanged(); - } else { - outputConfigBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-       * Location to store findings outside of DLP.
-       * 
- * - * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - */ - public Builder mergeOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig value) { - if (outputConfigBuilder_ == null) { - if (outputConfig_ != null) { - outputConfig_ = - com.google.privacy.dlp.v2.OutputStorageConfig.newBuilder(outputConfig_) - .mergeFrom(value) - .buildPartial(); - } else { - outputConfig_ = value; - } - onChanged(); - } else { - outputConfigBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-       * Location to store findings outside of DLP.
-       * 
- * - * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - */ - public Builder clearOutputConfig() { - if (outputConfigBuilder_ == null) { - outputConfig_ = null; - onChanged(); - } else { - outputConfig_ = null; - outputConfigBuilder_ = null; - } - - return this; - } - /** - * - * - *
-       * Location to store findings outside of DLP.
-       * 
- * - * .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.
-       * 
- * - * .google.privacy.dlp.v2.OutputStorageConfig output_config = 1; - */ - public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrBuilder() { - if (outputConfigBuilder_ != null) { - return outputConfigBuilder_.getMessageOrBuilder(); - } else { - return outputConfig_ == null - ? com.google.privacy.dlp.v2.OutputStorageConfig.getDefaultInstance() - : outputConfig_; - } - } - /** - * - * - *
-       * Location to store findings outside of DLP.
-       * 
- * - * .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> - 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()); - outputConfig_ = null; - } - return outputConfigBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.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(); - } - - 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); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.SaveFindings getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - 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
-     * the long running DlpJob sending the notifications.
-     * Format is projects/{project}/topics/{topic}.
-     * 
- * - * 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
-     * the long running DlpJob sending the notifications.
-     * Format is projects/{project}/topics/{topic}.
-     * 
- * - * string topic = 1; - * - * @return The bytes for topic. - */ - 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
-   * finished job's
-   * [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
-   * Compatible with: Inspect, Risk
-   * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToPubSub} - */ - 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; - // 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) { - return new PublishToPubSub(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private PublishToPubSub( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - topic_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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
-     * the long running DlpJob sending the notifications.
-     * Format is projects/{project}/topics/{topic}.
-     * 
- * - * string topic = 1; - * - * @return The topic. - */ - @java.lang.Override - public java.lang.String getTopic() { - java.lang.Object ref = topic_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - 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
-     * the long running DlpJob sending the notifications.
-     * Format is projects/{project}/topics/{topic}.
-     * 
- * - * string topic = 1; - * - * @return The bytes for topic. - */ - @java.lang.Override - 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); - topic_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.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; - - if (!getTopic().equals(other.getTopic())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TOPIC_FIELD_NUMBER; - hash = (53 * hash) + getTopic().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.privacy.dlp.v2.Action.PublishToPubSub parseFrom( - 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) - 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) - 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, 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.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) - throws java.io.IOException { - 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); - } - - 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); - } - - @java.lang.Override - 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); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - 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
-     * finished job's
-     * [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
-     * Compatible with: Inspect, Risk
-     * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToPubSub} - */ - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - topic_ = ""; - - return this; - } - - @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; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToPubSub getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToPubSub build() { - com.google.privacy.dlp.v2.Action.PublishToPubSub result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @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); - result.topic_ = topic_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.Action.PublishToPubSub) { - return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToPubSub) other); - } else { - super.mergeFrom(other); - return this; - } - } - - 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.getTopic().isEmpty()) { - topic_ = other.topic_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.privacy.dlp.v2.Action.PublishToPubSub parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.Action.PublishToPubSub) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - 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
-       * the long running DlpJob sending the notifications.
-       * Format is projects/{project}/topics/{topic}.
-       * 
- * - * 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; - java.lang.String s = bs.toStringUtf8(); - topic_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Cloud Pub/Sub topic to send notifications to. The topic must have given
-       * publishing access rights to the DLP API service account executing
-       * the long running DlpJob sending the notifications.
-       * Format is projects/{project}/topics/{topic}.
-       * 
- * - * string topic = 1; - * - * @return The bytes for topic. - */ - 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); - topic_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Cloud Pub/Sub topic to send notifications to. The topic must have given
-       * publishing access rights to the DLP API service account executing
-       * the long running DlpJob sending the notifications.
-       * Format is projects/{project}/topics/{topic}.
-       * 
- * - * string topic = 1; - * - * @param value The topic to set. - * @return This builder for chaining. - */ - public Builder setTopic(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - - 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
-       * the long running DlpJob sending the notifications.
-       * Format is projects/{project}/topics/{topic}.
-       * 
- * - * 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
-       * the long running DlpJob sending the notifications.
-       * Format is projects/{project}/topics/{topic}.
-       * 
- * - * string topic = 1; - * - * @param value The bytes for topic to set. - * @return This builder for chaining. - */ - public Builder setTopicBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - - topic_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.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(); - } - - public static com.google.privacy.dlp.v2.Action.PublishToPubSub getDefaultInstance() { - 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); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToPubSub getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface PublishSummaryToCsccOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishSummaryToCscc) - com.google.protobuf.MessageOrBuilder {} - /** - * - * - *
-   * Publish the result summary of a DlpJob to the Cloud Security
-   * Command Center (CSCC Alpha).
-   * This action is only available for projects which are parts of
-   * an organization and whitelisted for the alpha Cloud Security Command
-   * Center.
-   * The action will publish count of finding instances and their info types.
-   * The summary of findings will be persisted in CSCC and are governed by CSCC
-   * service-specific policy, see https://cloud.google.com/terms/service-terms
-   * Only a single instance of this action can be specified.
-   * Compatible with: Inspect
-   * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.PublishSummaryToCscc} - */ - 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; - // Use PublishSummaryToCscc.newBuilder() to construct. - private PublishSummaryToCscc(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PublishSummaryToCscc() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PublishSummaryToCscc(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private PublishSummaryToCscc( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.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; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parseFrom( - 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) - 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) - 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, 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.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) - throws java.io.IOException { - 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); - } - - 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); - } - - @java.lang.Override - 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) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Publish the result summary of a DlpJob to the Cloud Security
-     * Command Center (CSCC Alpha).
-     * This action is only available for projects which are parts of
-     * an organization and whitelisted for the alpha Cloud Security Command
-     * Center.
-     * The action will publish count of finding instances and their info types.
-     * The summary of findings will be persisted in CSCC and are governed by CSCC
-     * service-specific policy, see https://cloud.google.com/terms/service-terms
-     * Only a single instance of this action can be specified.
-     * Compatible with: Inspect
-     * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.PublishSummaryToCscc} - */ - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @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; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc build() { - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @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); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) { - return mergeFrom((com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishSummaryToCscc other) { - if (other == com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance()) - return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.privacy.dlp.v2.Action.PublishSummaryToCscc parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.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(); - } - - public static com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultInstance() { - 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); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishSummaryToCscc getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface PublishFindingsToCloudDataCatalogOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) - 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
-   * in Data Catalog. Any labels previously written by another DlpJob will
-   * be deleted. InfoType naming patterns are strictly enforced when using this
-   * feature. Note that the findings will be persisted in Data Catalog
-   * storage and are governed by Data Catalog service-specific policy, see
-   * https://cloud.google.com/terms/service-terms
-   * Only a single instance of this action can be specified and only allowed if
-   * all resources being scanned are BigQuery tables.
-   * Compatible with: Inspect
-   * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog} - */ - 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; - // Use PublishFindingsToCloudDataCatalog.newBuilder() to construct. - private PublishFindingsToCloudDataCatalog( - com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PublishFindingsToCloudDataCatalog() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PublishFindingsToCloudDataCatalog(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private PublishFindingsToCloudDataCatalog( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.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; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parseFrom( - 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) - 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 { - return PARSER.parseFrom(data); - } - - public static com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog 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.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) - throws java.io.IOException { - 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, 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); - } - - 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); - } - - @java.lang.Override - 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) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * 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
-     * in Data Catalog. Any labels previously written by another DlpJob will
-     * be deleted. InfoType naming patterns are strictly enforced when using this
-     * feature. Note that the findings will be persisted in Data Catalog
-     * storage and are governed by Data Catalog service-specific policy, see
-     * https://cloud.google.com/terms/service-terms
-     * Only a single instance of this action can be specified and only allowed if
-     * all resources being scanned are BigQuery tables.
-     * Compatible with: Inspect
-     * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog} - */ - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @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; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog build() { - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @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); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) { - 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; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) - e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.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; - - static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog(); - } - - 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); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface JobNotificationEmailsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.JobNotificationEmails) - com.google.protobuf.MessageOrBuilder {} - /** - * - * - *
-   * Enable email notification to project owners and editors on jobs's
-   * completion/failure.
-   * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails} - */ - 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; - // Use JobNotificationEmails.newBuilder() to construct. - private JobNotificationEmails(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private JobNotificationEmails() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new JobNotificationEmails(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private JobNotificationEmails( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.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; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.privacy.dlp.v2.Action.JobNotificationEmails parseFrom( - 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) - 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) - 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, 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.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) - throws java.io.IOException { - 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); - } - - 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); - } - - @java.lang.Override - 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) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Enable email notification to project owners and editors on jobs's
-     * completion/failure.
-     * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.JobNotificationEmails} - */ - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @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; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.JobNotificationEmails build() { - com.google.privacy.dlp.v2.Action.JobNotificationEmails result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @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); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.Action.JobNotificationEmails) { - return mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.privacy.dlp.v2.Action.JobNotificationEmails other) { - if (other == com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance()) - return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.privacy.dlp.v2.Action.JobNotificationEmails parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.Action.JobNotificationEmails) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.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(); - } - - public static com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstance() { - 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); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.JobNotificationEmails getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface PublishToStackdriverOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.PublishToStackdriver) - 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
-   * how many findings were found for it. CustomDetectors will be bucketed
-   * as 'Custom' under the Stackdriver label 'info_type'.
-   * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToStackdriver} - */ - 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; - // Use PublishToStackdriver.newBuilder() to construct. - private PublishToStackdriver(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PublishToStackdriver() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PublishToStackdriver(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private PublishToStackdriver( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.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; - - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.privacy.dlp.v2.Action.PublishToStackdriver parseFrom( - 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) - 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) - 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, 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.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) - throws java.io.IOException { - 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); - } - - 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); - } - - @java.lang.Override - 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) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Enable Stackdriver metric dlp.googleapis.com/finding_count. This
-     * will publish a metric to stack driver on each infotype requested and
-     * how many findings were found for it. CustomDetectors will be bucketed
-     * as 'Custom' under the Stackdriver label 'info_type'.
-     * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action.PublishToStackdriver} - */ - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - 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() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @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; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToStackdriver build() { - com.google.privacy.dlp.v2.Action.PublishToStackdriver result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @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); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.Action.PublishToStackdriver) { - return mergeFrom((com.google.privacy.dlp.v2.Action.PublishToStackdriver) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.privacy.dlp.v2.Action.PublishToStackdriver other) { - if (other == com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance()) - return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.privacy.dlp.v2.Action.PublishToStackdriver parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.privacy.dlp.v2.Action.PublishToStackdriver) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.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(); - } - - public static com.google.privacy.dlp.v2.Action.PublishToStackdriver getDefaultInstance() { - 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); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.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, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - SAVE_FINDINGS(1), - PUB_SUB(2), - PUBLISH_SUMMARY_TO_CSCC(3), - PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG(5), - JOB_NOTIFICATION_EMAILS(8), - PUBLISH_TO_STACKDRIVER(9), - ACTION_NOT_SET(0); - private final int value; - - private ActionCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static ActionCase valueOf(int value) { - return forNumber(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; - } - } - - public int getNumber() { - return this.value; - } - }; - - 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 - 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.getDefaultInstance(); - } - /** - * - * - *
-   * Save resulting findings in a provided location.
-   * 
- * - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - */ - @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.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 - 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.getDefaultInstance(); - } - /** - * - * - *
-   * Publish a notification to a pubsub topic.
-   * 
- * - * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - */ - @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.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 - 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.getDefaultInstance(); - } - /** - * - * - *
-   * Publish summary to Cloud Security Command Center (Alpha).
-   * 
- * - * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - */ - @java.lang.Override - 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.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; - * - * - * @return Whether the publishFindingsToCloudDataCatalog field is set. - */ - @java.lang.Override - public boolean hasPublishFindingsToCloudDataCatalog() { - return actionCase_ == 5; - } - /** - * - * - *
-   * Publish findings to Cloud Datahub.
-   * 
- * - * - * .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() { - if (actionCase_ == 5) { - 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; - * - */ - @java.lang.Override - 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.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 - 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.getDefaultInstance(); - } - /** - * - * - *
-   * Enable email notification for project owners and editors on job's
-   * completion/failure.
-   * 
- * - * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - */ - @java.lang.Override - 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.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 - 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.getDefaultInstance(); - } - /** - * - * - *
-   * Enable Stackdriver metric dlp.googleapis.com/finding_count.
-   * 
- * - * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; - */ - @java.lang.Override - 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.getDefaultInstance(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (actionCase_ == 1) { - output.writeMessage(1, (com.google.privacy.dlp.v2.Action.SaveFindings) action_); - } - if (actionCase_ == 2) { - output.writeMessage(2, (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_); - } - if (actionCase_ == 3) { - 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_); - } - if (actionCase_ == 8) { - output.writeMessage(8, (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_); - } - if (actionCase_ == 9) { - output.writeMessage(9, (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (actionCase_ == 1) { - 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_); - } - if (actionCase_ == 3) { - 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_); - } - if (actionCase_ == 8) { - 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 += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.privacy.dlp.v2.Action)) { - return super.equals(obj); - } - com.google.privacy.dlp.v2.Action other = (com.google.privacy.dlp.v2.Action) obj; - - if (!getActionCase().equals(other.getActionCase())) return false; - switch (actionCase_) { - case 1: - if (!getSaveFindings().equals(other.getSaveFindings())) return false; - break; - case 2: - if (!getPubSub().equals(other.getPubSub())) return false; - break; - case 3: - 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; - break; - case 9: - if (!getPublishToStackdriver().equals(other.getPublishToStackdriver())) return false; - break; - case 0: - default: - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (actionCase_) { - case 1: - hash = (37 * hash) + SAVE_FINDINGS_FIELD_NUMBER; - hash = (53 * hash) + getSaveFindings().hashCode(); - break; - case 2: - hash = (37 * hash) + PUB_SUB_FIELD_NUMBER; - hash = (53 * hash) + getPubSub().hashCode(); - break; - case 3: - hash = (37 * hash) + PUBLISH_SUMMARY_TO_CSCC_FIELD_NUMBER; - hash = (53 * hash) + getPublishSummaryToCscc().hashCode(); - break; - case 5: - hash = (37 * hash) + PUBLISH_FINDINGS_TO_CLOUD_DATA_CATALOG_FIELD_NUMBER; - hash = (53 * hash) + getPublishFindingsToCloudDataCatalog().hashCode(); - break; - case 8: - hash = (37 * hash) + JOB_NOTIFICATION_EMAILS_FIELD_NUMBER; - hash = (53 * hash) + getJobNotificationEmails().hashCode(); - break; - case 9: - hash = (37 * hash) + PUBLISH_TO_STACKDRIVER_FIELD_NUMBER; - hash = (53 * hash) + getPublishToStackdriver().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - 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) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - 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) - 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); - } - - public static com.google.privacy.dlp.v2.Action 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.Action 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 parseDelimitedFrom( - java.io.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 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.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); - } - - @java.lang.Override - 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); - } - - @java.lang.Override - 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.
-   * 
- * - * Protobuf type {@code google.privacy.dlp.v2.Action} - */ - 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; - } - - @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 - .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.Action.class, - com.google.privacy.dlp.v2.Action.Builder.class); - } - - // Construct using com.google.privacy.dlp.v2.Action.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} - } - - @java.lang.Override - public Builder clear() { - super.clear(); - actionCase_ = 0; - action_ = null; - return this; - } - - @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; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.Action.getDefaultInstance(); - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action build() { - com.google.privacy.dlp.v2.Action result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action buildPartial() { - com.google.privacy.dlp.v2.Action result = new com.google.privacy.dlp.v2.Action(this); - if (actionCase_ == 1) { - if (saveFindingsBuilder_ == null) { - result.action_ = action_; - } else { - result.action_ = saveFindingsBuilder_.build(); - } - } - if (actionCase_ == 2) { - if (pubSubBuilder_ == null) { - result.action_ = action_; - } else { - result.action_ = pubSubBuilder_.build(); - } - } - if (actionCase_ == 3) { - if (publishSummaryToCsccBuilder_ == null) { - result.action_ = action_; - } else { - result.action_ = publishSummaryToCsccBuilder_.build(); - } - } - if (actionCase_ == 5) { - if (publishFindingsToCloudDataCatalogBuilder_ == null) { - result.action_ = action_; - } else { - result.action_ = publishFindingsToCloudDataCatalogBuilder_.build(); - } - } - if (actionCase_ == 8) { - if (jobNotificationEmailsBuilder_ == null) { - result.action_ = action_; - } else { - result.action_ = jobNotificationEmailsBuilder_.build(); - } - } - if (actionCase_ == 9) { - if (publishToStackdriverBuilder_ == null) { - result.action_ = action_; - } else { - result.action_ = publishToStackdriverBuilder_.build(); - } - } - result.actionCase_ = actionCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.Action) { - return mergeFrom((com.google.privacy.dlp.v2.Action) other); - } else { - super.mergeFrom(other); - return this; - } - } - - 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; - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - com.google.privacy.dlp.v2.Action parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.Action) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int actionCase_ = 0; - private java.lang.Object action_; - - public ActionCase getActionCase() { - return ActionCase.forNumber(actionCase_); - } - - public Builder clearAction() { - actionCase_ = 0; - action_ = null; - onChanged(); - 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_; - /** - * - * - *
-     * 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 - 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 (saveFindingsBuilder_ == null) { - if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.Action.SaveFindings) action_; - } - return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); - } else { - if (actionCase_ == 1) { - return saveFindingsBuilder_.getMessage(); - } - return com.google.privacy.dlp.v2.Action.SaveFindings.getDefaultInstance(); - } - } - /** - * - * - *
-     * Save resulting findings in a provided location.
-     * 
- * - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - */ - public Builder setSaveFindings(com.google.privacy.dlp.v2.Action.SaveFindings value) { - if (saveFindingsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - action_ = value; - onChanged(); - } else { - saveFindingsBuilder_.setMessage(value); - } - actionCase_ = 1; - return this; - } - /** - * - * - *
-     * Save resulting findings in a provided location.
-     * 
- * - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - */ - public Builder setSaveFindings( - com.google.privacy.dlp.v2.Action.SaveFindings.Builder builderForValue) { - if (saveFindingsBuilder_ == null) { - action_ = builderForValue.build(); - onChanged(); - } else { - saveFindingsBuilder_.setMessage(builderForValue.build()); - } - actionCase_ = 1; - return this; - } - /** - * - * - *
-     * Save resulting findings in a provided location.
-     * 
- * - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - */ - 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(); - } else { - action_ = value; - } - onChanged(); - } else { - if (actionCase_ == 1) { - saveFindingsBuilder_.mergeFrom(value); - } else { - saveFindingsBuilder_.setMessage(value); - } - } - actionCase_ = 1; - return this; - } - /** - * - * - *
-     * Save resulting findings in a provided location.
-     * 
- * - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - */ - public Builder clearSaveFindings() { - if (saveFindingsBuilder_ == null) { - if (actionCase_ == 1) { - actionCase_ = 0; - action_ = null; - onChanged(); - } - } else { - if (actionCase_ == 1) { - actionCase_ = 0; - action_ = null; - } - saveFindingsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Save resulting findings in a provided location.
-     * 
- * - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - */ - public com.google.privacy.dlp.v2.Action.SaveFindings.Builder getSaveFindingsBuilder() { - return getSaveFindingsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Save resulting findings in a provided location.
-     * 
- * - * .google.privacy.dlp.v2.Action.SaveFindings save_findings = 1; - */ - @java.lang.Override - public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrBuilder() { - if ((actionCase_ == 1) && (saveFindingsBuilder_ != null)) { - return saveFindingsBuilder_.getMessageOrBuilder(); - } else { - if (actionCase_ == 1) { - 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.
-     * 
- * - * .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> - 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>( - (com.google.privacy.dlp.v2.Action.SaveFindings) action_, - getParentForChildren(), - isClean()); - action_ = null; - } - actionCase_ = 1; - 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_; - /** - * - * - *
-     * 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 - 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 (pubSubBuilder_ == null) { - if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_; - } - return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); - } else { - if (actionCase_ == 2) { - return pubSubBuilder_.getMessage(); - } - return com.google.privacy.dlp.v2.Action.PublishToPubSub.getDefaultInstance(); - } - } - /** - * - * - *
-     * Publish a notification to a pubsub topic.
-     * 
- * - * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - */ - public Builder setPubSub(com.google.privacy.dlp.v2.Action.PublishToPubSub value) { - if (pubSubBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - action_ = value; - onChanged(); - } else { - pubSubBuilder_.setMessage(value); - } - actionCase_ = 2; - return this; - } - /** - * - * - *
-     * Publish a notification to a pubsub topic.
-     * 
- * - * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - */ - public Builder setPubSub( - com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder builderForValue) { - if (pubSubBuilder_ == null) { - action_ = builderForValue.build(); - onChanged(); - } else { - pubSubBuilder_.setMessage(builderForValue.build()); - } - actionCase_ = 2; - return this; - } - /** - * - * - *
-     * Publish a notification to a pubsub topic.
-     * 
- * - * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - */ - 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(); - } else { - action_ = value; - } - onChanged(); - } else { - if (actionCase_ == 2) { - pubSubBuilder_.mergeFrom(value); - } else { - pubSubBuilder_.setMessage(value); - } - } - actionCase_ = 2; - return this; - } - /** - * - * - *
-     * Publish a notification to a pubsub topic.
-     * 
- * - * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - */ - public Builder clearPubSub() { - if (pubSubBuilder_ == null) { - if (actionCase_ == 2) { - actionCase_ = 0; - action_ = null; - onChanged(); - } - } else { - if (actionCase_ == 2) { - actionCase_ = 0; - action_ = null; - } - pubSubBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Publish a notification to a pubsub topic.
-     * 
- * - * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - */ - public com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder getPubSubBuilder() { - return getPubSubFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Publish a notification to a pubsub topic.
-     * 
- * - * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; - */ - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuilder() { - if ((actionCase_ == 2) && (pubSubBuilder_ != null)) { - return pubSubBuilder_.getMessageOrBuilder(); - } else { - if (actionCase_ == 2) { - 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.
-     * 
- * - * .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> - 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>( - (com.google.privacy.dlp.v2.Action.PublishToPubSub) action_, - getParentForChildren(), - isClean()); - action_ = null; - } - actionCase_ = 2; - 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_; - /** - * - * - *
-     * 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 - 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 (publishSummaryToCsccBuilder_ == null) { - if (actionCase_ == 3) { - return (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_; - } - return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); - } else { - if (actionCase_ == 3) { - return publishSummaryToCsccBuilder_.getMessage(); - } - return com.google.privacy.dlp.v2.Action.PublishSummaryToCscc.getDefaultInstance(); - } - } - /** - * - * - *
-     * 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) { - if (publishSummaryToCsccBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - action_ = value; - onChanged(); - } else { - publishSummaryToCsccBuilder_.setMessage(value); - } - actionCase_ = 3; - return this; - } - /** - * - * - *
-     * 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.Builder builderForValue) { - if (publishSummaryToCsccBuilder_ == null) { - action_ = builderForValue.build(); - onChanged(); - } else { - publishSummaryToCsccBuilder_.setMessage(builderForValue.build()); - } - actionCase_ = 3; - 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) { - 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(); - } else { - action_ = value; - } - onChanged(); - } else { - if (actionCase_ == 3) { - publishSummaryToCsccBuilder_.mergeFrom(value); - } else { - publishSummaryToCsccBuilder_.setMessage(value); - } - } - actionCase_ = 3; - return this; - } - /** - * - * - *
-     * Publish summary to Cloud Security Command Center (Alpha).
-     * 
- * - * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - */ - public Builder clearPublishSummaryToCscc() { - if (publishSummaryToCsccBuilder_ == null) { - if (actionCase_ == 3) { - actionCase_ = 0; - action_ = null; - onChanged(); - } - } else { - if (actionCase_ == 3) { - actionCase_ = 0; - action_ = null; - } - publishSummaryToCsccBuilder_.clear(); - } - 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() { - return getPublishSummaryToCsccFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Publish summary to Cloud Security Command Center (Alpha).
-     * 
- * - * .google.privacy.dlp.v2.Action.PublishSummaryToCscc publish_summary_to_cscc = 3; - */ - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder - getPublishSummaryToCsccOrBuilder() { - if ((actionCase_ == 3) && (publishSummaryToCsccBuilder_ != null)) { - return publishSummaryToCsccBuilder_.getMessageOrBuilder(); - } else { - if (actionCase_ == 3) { - 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).
-     * 
- * - * .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> - 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>( - (com.google.privacy.dlp.v2.Action.PublishSummaryToCscc) action_, - getParentForChildren(), - isClean()); - action_ = null; - } - actionCase_ = 3; - 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_; - /** - * - * - *
-     * Publish findings to Cloud Datahub.
-     * 
- * - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - * - * @return Whether the publishFindingsToCloudDataCatalog field is set. - */ - @java.lang.Override - public boolean hasPublishFindingsToCloudDataCatalog() { - return actionCase_ == 5; - } - /** - * - * - *
-     * Publish findings to Cloud Datahub.
-     * 
- * - * - * .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() { - if (publishFindingsToCloudDataCatalogBuilder_ == null) { - if (actionCase_ == 5) { - return (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_; - } - 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(); - } - } - /** - * - * - *
-     * Publish findings to Cloud Datahub.
-     * 
- * - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - */ - public Builder setPublishFindingsToCloudDataCatalog( - com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog value) { - if (publishFindingsToCloudDataCatalogBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - action_ = value; - onChanged(); - } else { - publishFindingsToCloudDataCatalogBuilder_.setMessage(value); - } - actionCase_ = 5; - return this; - } - /** - * - * - *
-     * Publish findings to Cloud Datahub.
-     * 
- * - * - * .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) { - if (publishFindingsToCloudDataCatalogBuilder_ == null) { - action_ = builderForValue.build(); - onChanged(); - } else { - publishFindingsToCloudDataCatalogBuilder_.setMessage(builderForValue.build()); - } - actionCase_ = 5; - return this; - } - /** - * - * - *
-     * Publish findings to Cloud Datahub.
-     * 
- * - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - */ - 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(); - } else { - action_ = value; - } - onChanged(); - } else { - if (actionCase_ == 5) { - publishFindingsToCloudDataCatalogBuilder_.mergeFrom(value); - } else { - publishFindingsToCloudDataCatalogBuilder_.setMessage(value); - } - } - actionCase_ = 5; - return this; - } - /** - * - * - *
-     * Publish findings to Cloud Datahub.
-     * 
- * - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - */ - public Builder clearPublishFindingsToCloudDataCatalog() { - if (publishFindingsToCloudDataCatalogBuilder_ == null) { - if (actionCase_ == 5) { - actionCase_ = 0; - action_ = null; - onChanged(); - } - } else { - if (actionCase_ == 5) { - actionCase_ = 0; - action_ = null; - } - publishFindingsToCloudDataCatalogBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Publish findings to Cloud Datahub.
-     * 
- * - * - * .google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; - * - */ - 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; - * - */ - @java.lang.Override - 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(); - } - } - /** - * - * - *
-     * Publish findings to Cloud Datahub.
-     * 
- * - * - * .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> - getPublishFindingsToCloudDataCatalogFieldBuilder() { - if (publishFindingsToCloudDataCatalogBuilder_ == null) { - if (!(actionCase_ == 5)) { - 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>( - (com.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) action_, - getParentForChildren(), - isClean()); - action_ = null; - } - actionCase_ = 5; - 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_; - /** - * - * - *
-     * 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 - 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 (jobNotificationEmailsBuilder_ == null) { - if (actionCase_ == 8) { - return (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_; - } - return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); - } else { - if (actionCase_ == 8) { - return jobNotificationEmailsBuilder_.getMessage(); - } - return com.google.privacy.dlp.v2.Action.JobNotificationEmails.getDefaultInstance(); - } - } - /** - * - * - *
-     * Enable email notification for project owners and editors on job's
-     * completion/failure.
-     * 
- * - * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - */ - public Builder setJobNotificationEmails( - com.google.privacy.dlp.v2.Action.JobNotificationEmails value) { - if (jobNotificationEmailsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - action_ = value; - onChanged(); - } else { - jobNotificationEmailsBuilder_.setMessage(value); - } - actionCase_ = 8; - return this; - } - /** - * - * - *
-     * Enable email notification for project owners and editors on job's
-     * completion/failure.
-     * 
- * - * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - */ - public Builder setJobNotificationEmails( - com.google.privacy.dlp.v2.Action.JobNotificationEmails.Builder builderForValue) { - if (jobNotificationEmailsBuilder_ == null) { - action_ = builderForValue.build(); - onChanged(); - } else { - jobNotificationEmailsBuilder_.setMessage(builderForValue.build()); - } - actionCase_ = 8; - return this; - } - /** - * - * - *
-     * Enable email notification for project owners and editors on job's
-     * completion/failure.
-     * 
- * - * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - */ - 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(); - } else { - action_ = value; - } - onChanged(); - } else { - if (actionCase_ == 8) { - jobNotificationEmailsBuilder_.mergeFrom(value); - } else { - jobNotificationEmailsBuilder_.setMessage(value); - } - } - actionCase_ = 8; - return this; - } - /** - * - * - *
-     * Enable email notification for project owners and editors on job's
-     * completion/failure.
-     * 
- * - * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - */ - public Builder clearJobNotificationEmails() { - if (jobNotificationEmailsBuilder_ == null) { - if (actionCase_ == 8) { - actionCase_ = 0; - action_ = null; - onChanged(); - } - } else { - if (actionCase_ == 8) { - actionCase_ = 0; - action_ = null; - } - jobNotificationEmailsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Enable email notification for project owners and editors on job's
-     * completion/failure.
-     * 
- * - * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - */ - 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.
-     * 
- * - * .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; - */ - @java.lang.Override - public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder - getJobNotificationEmailsOrBuilder() { - if ((actionCase_ == 8) && (jobNotificationEmailsBuilder_ != null)) { - return jobNotificationEmailsBuilder_.getMessageOrBuilder(); - } else { - if (actionCase_ == 8) { - 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.
-     * 
- * - * .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> - 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>( - (com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_, - getParentForChildren(), - isClean()); - action_ = null; - } - actionCase_ = 8; - 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_; - /** - * - * - *
-     * 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 - 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 (publishToStackdriverBuilder_ == null) { - if (actionCase_ == 9) { - return (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_; - } - return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); - } else { - if (actionCase_ == 9) { - return publishToStackdriverBuilder_.getMessage(); - } - return com.google.privacy.dlp.v2.Action.PublishToStackdriver.getDefaultInstance(); - } - } - /** - * - * - *
-     * 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) { - if (publishToStackdriverBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - action_ = value; - onChanged(); - } else { - publishToStackdriverBuilder_.setMessage(value); - } - actionCase_ = 9; - return this; - } - /** - * - * - *
-     * 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.Builder builderForValue) { - if (publishToStackdriverBuilder_ == null) { - action_ = builderForValue.build(); - onChanged(); - } else { - publishToStackdriverBuilder_.setMessage(builderForValue.build()); - } - actionCase_ = 9; - 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) { - 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(); - } else { - action_ = value; - } - onChanged(); - } else { - if (actionCase_ == 9) { - publishToStackdriverBuilder_.mergeFrom(value); - } else { - publishToStackdriverBuilder_.setMessage(value); - } - } - actionCase_ = 9; - return this; - } - /** - * - * - *
-     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
-     * 
- * - * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; - */ - public Builder clearPublishToStackdriver() { - if (publishToStackdriverBuilder_ == null) { - if (actionCase_ == 9) { - actionCase_ = 0; - action_ = null; - onChanged(); - } - } else { - if (actionCase_ == 9) { - actionCase_ = 0; - action_ = null; - } - publishToStackdriverBuilder_.clear(); - } - 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() { - return getPublishToStackdriverFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Enable Stackdriver metric dlp.googleapis.com/finding_count.
-     * 
- * - * .google.privacy.dlp.v2.Action.PublishToStackdriver publish_to_stackdriver = 9; - */ - @java.lang.Override - public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder - getPublishToStackdriverOrBuilder() { - if ((actionCase_ == 9) && (publishToStackdriverBuilder_ != null)) { - return publishToStackdriverBuilder_.getMessageOrBuilder(); - } else { - if (actionCase_ == 9) { - 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.
-     * 
- * - * .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> - 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>( - (com.google.privacy.dlp.v2.Action.PublishToStackdriver) action_, - getParentForChildren(), - isClean()); - action_ = null; - } - actionCase_ = 9; - onChanged(); - ; - return publishToStackdriverBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.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(); - } - - 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); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.privacy.dlp.v2.Action 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 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 9e114030..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java +++ /dev/null @@ -1,3831 +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_InfoTypeCategory_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeCategory_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_DataProfileAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileLocation_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; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_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\"\315\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\022;\n\ncategories\030\n \003(\0132\'.google.privacy" - + ".dlp.v2.InfoTypeCategory\"\330\010\n\020InfoTypeCat" - + "egory\022U\n\021location_category\030\001 \001(\01628.googl" - + "e.privacy.dlp.v2.InfoTypeCategory.Locati" - + "onCategoryH\000\022U\n\021industry_category\030\002 \001(\0162" - + "8.google.privacy.dlp.v2.InfoTypeCategory" - + ".IndustryCategoryH\000\022M\n\rtype_category\030\003 \001" - + "(\01624.google.privacy.dlp.v2.InfoTypeCateg" - + "ory.TypeCategoryH\000\"\303\004\n\020LocationCategory\022" - + "\030\n\024LOCATION_UNSPECIFIED\020\000\022\n\n\006GLOBAL\020\001\022\r\n" - + "\tARGENTINA\020\002\022\r\n\tAUSTRALIA\020\003\022\013\n\007BELGIUM\020\004" - + "\022\n\n\006BRAZIL\020\005\022\n\n\006CANADA\020\006\022\t\n\005CHILE\020\007\022\t\n\005C" - + "HINA\020\010\022\014\n\010COLOMBIA\020\t\022\013\n\007DENMARK\020\n\022\n\n\006FRA" - + "NCE\020\013\022\013\n\007FINLAND\020\014\022\013\n\007GERMANY\020\r\022\r\n\tHONG_" - + "KONG\020\016\022\t\n\005INDIA\020\017\022\r\n\tINDONESIA\020\020\022\013\n\007IREL" - + "AND\020\021\022\n\n\006ISRAEL\020\022\022\t\n\005ITALY\020\023\022\t\n\005JAPAN\020\024\022" - + "\t\n\005KOREA\020\025\022\n\n\006MEXICO\020\026\022\023\n\017THE_NETHERLAND" - + "S\020\027\022\n\n\006NORWAY\020\030\022\014\n\010PARAGUAY\020\031\022\010\n\004PERU\020\032\022" - + "\n\n\006POLAND\020\033\022\014\n\010PORTUGAL\020\034\022\r\n\tSINGAPORE\020\035" - + "\022\020\n\014SOUTH_AFRICA\020\036\022\t\n\005SPAIN\020\037\022\n\n\006SWEDEN\020" - + " \022\n\n\006TAIWAN\020!\022\014\n\010THAILAND\020\"\022\n\n\006TURKEY\020#\022" - + "\022\n\016UNITED_KINGDOM\020$\022\021\n\rUNITED_STATES\020%\022\013" - + "\n\007URUGUAY\020&\022\r\n\tVENEZUELA\020\'\022\014\n\010INTERNAL\020(" - + "\"]\n\020IndustryCategory\022\030\n\024INDUSTRY_UNSPECI" - + "FIED\020\000\022\013\n\007FINANCE\020\001\022\n\n\006HEALTH\020\002\022\026\n\022TELEC" - + "OMMUNICATIONS\020\003\"\225\001\n\014TypeCategory\022\024\n\020TYPE" - + "_UNSPECIFIED\020\000\022\007\n\003PII\020\001\022\010\n\004SPII\020\002\022\017\n\013DEM" - + "OGRAPHIC\020\003\022\016\n\nCREDENTIAL\020\004\022\021\n\rGOVERNMENT" - + "_ID\020\005\022\014\n\010DOCUMENT\020\006\022\032\n\026CONTEXTUAL_INFORM" - + "ATION\020\007B\n\n\010category\"b\n\024ListInfoTypesRequ" - + "est\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\025ListInfoTypesResponse\022>\n\ninfo_types\030\001" - + " \003(\0132*.google.privacy.dlp.v2.InfoTypeDes" - + "cription\"\301\001\n\025RiskAnalysisJobConfig\022<\n\016pr" - + "ivacy_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\007" - + "actions\030\003 \003(\0132\035.google.privacy.dlp.v2.Ac" - + "tion\"\274\001\n\007QuasiId\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\"\276\002\n\020" - + "StatisticalTable\0228\n\005table\030\003 \001(\0132$.google" - + ".privacy.dlp.v2.BigQueryTableB\003\340A\002\022T\n\tqu" - + "asi_ids\030\001 \003(\0132<.google.privacy.dlp.v2.St" - + "atisticalTable.QuasiIdentifierFieldB\003\340A\002" - + "\022?\n\022relative_frequency\030\002 \001(\0132\036.google.pr" - + "ivacy.dlp.v2.FieldIdB\003\340A\002\032Y\n\024QuasiIdenti" - + "fierField\022-\n\005field\030\001 \001(\0132\036.google.privac" - + "y.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.PrivacyMe" - + "tric.NumericalStatsConfigH\000\022_\n\030categoric" - + "al_stats_config\030\002 \001(\0132;.google.privacy.d" - + "lp.v2.PrivacyMetric.CategoricalStatsConf" - + "igH\000\022S\n\022k_anonymity_config\030\003 \001(\01325.googl" - + "e.privacy.dlp.v2.PrivacyMetric.KAnonymit" - + "yConfigH\000\022S\n\022l_diversity_config\030\004 \001(\01325." - + "google.privacy.dlp.v2.PrivacyMetric.LDiv" - + "ersityConfigH\000\022\\\n\027k_map_estimation_confi" - + "g\030\005 \001(\01329.google.privacy.dlp.v2.PrivacyM" - + "etric.KMapEstimationConfigH\000\022n\n delta_pr" - + "esence_estimation_config\030\006 \001(\0132B.google." - + "privacy.dlp.v2.PrivacyMetric.DeltaPresen" - + "ceEstimationConfigH\000\032E\n\024NumericalStatsCo" - + "nfig\022-\n\005field\030\001 \001(\0132\036.google.privacy.dlp" - + ".v2.FieldId\032G\n\026CategoricalStatsConfig\022-\n" - + "\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fie" - + "ldId\032y\n\020KAnonymityConfig\0221\n\tquasi_ids\030\001 " - + "\003(\0132\036.google.privacy.dlp.v2.FieldId\0222\n\te" - + "ntity_id\030\002 \001(\0132\037.google.privacy.dlp.v2.E" - + "ntityId\032\202\001\n\020LDiversityConfig\0221\n\tquasi_id" - + "s\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId\022" - + ";\n\023sensitive_attribute\030\002 \001(\0132\036.google.pr" - + "ivacy.dlp.v2.FieldId\032\201\006\n\024KMapEstimationC" - + "onfig\022]\n\tquasi_ids\030\001 \003(\0132E.google.privac" - + "y.dlp.v2.PrivacyMetric.KMapEstimationCon" - + "fig.TaggedFieldB\003\340A\002\022\023\n\013region_code\030\002 \001(" - + "\t\022b\n\020auxiliary_tables\030\003 \003(\0132H.google.pri" - + "vacy.dlp.v2.PrivacyMetric.KMapEstimation" - + "Config.AuxiliaryTable\032\300\001\n\013TaggedField\0222\n" - + "\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fie" - + "ldIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google.pr" - + "ivacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003 " - + "\001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protobu" - + "f.EmptyH\000B\005\n\003tag\032\315\002\n\016AuxiliaryTable\0228\n\005t" - + "able\030\003 \001(\0132$.google.privacy.dlp.v2.BigQu" - + "eryTableB\003\340A\002\022m\n\tquasi_ids\030\001 \003(\0132U.googl" - + "e.privacy.dlp.v2.PrivacyMetric.KMapEstim" - + "ationConfig.AuxiliaryTable.QuasiIdFieldB" - + "\003\340A\002\022?\n\022relative_frequency\030\002 \001(\0132\036.googl" - + "e.privacy.dlp.v2.FieldIdB\003\340A\002\032Q\n\014QuasiId" - + "Field\022-\n\005field\030\001 \001(\0132\036.google.privacy.dl" - + "p.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\257\001\n\035Del" - + "taPresenceEstimationConfig\0226\n\tquasi_ids\030" - + "\001 \003(\0132\036.google.privacy.dlp.v2.QuasiIdB\003\340" - + "A\002\022\023\n\013region_code\030\002 \001(\t\022A\n\020auxiliary_tab" - + "les\030\003 \003(\0132\'.google.privacy.dlp.v2.Statis" - + "ticalTableB\006\n\004type\"\301\037\n\034AnalyzeDataSource" - + "RiskDetails\022F\n\030requested_privacy_metric\030" - + "\001 \001(\0132$.google.privacy.dlp.v2.PrivacyMet" - + "ric\022D\n\026requested_source_table\030\002 \001(\0132$.go" - + "ogle.privacy.dlp.v2.BigQueryTable\022j\n\026num" - + "erical_stats_result\030\003 \001(\0132H.google.priva" - + "cy.dlp.v2.AnalyzeDataSourceRiskDetails.N" - + "umericalStatsResultH\000\022n\n\030categorical_sta" - + "ts_result\030\004 \001(\0132J.google.privacy.dlp.v2." - + "AnalyzeDataSourceRiskDetails.Categorical" - + "StatsResultH\000\022b\n\022k_anonymity_result\030\005 \001(" - + "\0132D.google.privacy.dlp.v2.AnalyzeDataSou" - + "rceRiskDetails.KAnonymityResultH\000\022b\n\022l_d" - + "iversity_result\030\006 \001(\0132D.google.privacy.d" - + "lp.v2.AnalyzeDataSourceRiskDetails.LDive" - + "rsityResultH\000\022k\n\027k_map_estimation_result" - + "\030\007 \001(\0132H.google.privacy.dlp.v2.AnalyzeDa" - + "taSourceRiskDetails.KMapEstimationResult" - + "H\000\022}\n delta_presence_estimation_result\030\t" - + " \001(\0132Q.google.privacy.dlp.v2.AnalyzeData" - + "SourceRiskDetails.DeltaPresenceEstimatio" - + "nResultH\000\022k\n\021requested_options\030\n \001(\0132P.g" - + "oogle.privacy.dlp.v2.AnalyzeDataSourceRi" - + "skDetails.RequestedRiskAnalysisOptions\032\257" - + "\001\n\024NumericalStatsResult\022/\n\tmin_value\030\001 \001" - + "(\0132\034.google.privacy.dlp.v2.Value\022/\n\tmax_" - + "value\030\002 \001(\0132\034.google.privacy.dlp.v2.Valu" - + "e\0225\n\017quantile_values\030\004 \003(\0132\034.google.priv" - + "acy.dlp.v2.Value\032\215\003\n\026CategoricalStatsRes" - + "ult\022\225\001\n!value_frequency_histogram_bucket" - + "s\030\005 \003(\0132j.google.privacy.dlp.v2.AnalyzeD" - + "ataSourceRiskDetails.CategoricalStatsRes" - + "ult.CategoricalStatsHistogramBucket\032\332\001\n\037" - + "CategoricalStatsHistogramBucket\022#\n\033value" - + "_frequency_lower_bound\030\001 \001(\003\022#\n\033value_fr" - + "equency_upper_bound\030\002 \001(\003\022\023\n\013bucket_size" - + "\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.google.p" - + "rivacy.dlp.v2.ValueFrequency\022\032\n\022bucket_v" - + "alue_count\030\005 \001(\003\032\265\004\n\020KAnonymityResult\022\213\001" - + "\n#equivalence_class_histogram_buckets\030\005 " - + "\003(\0132^.google.privacy.dlp.v2.AnalyzeDataS" - + "ourceRiskDetails.KAnonymityResult.KAnony" - + "mityHistogramBucket\032t\n\032KAnonymityEquival" - + "enceClass\0226\n\020quasi_ids_values\030\001 \003(\0132\034.go" - + "ogle.privacy.dlp.v2.Value\022\036\n\026equivalence" - + "_class_size\030\002 \001(\003\032\234\002\n\031KAnonymityHistogra" - + "mBucket\022*\n\"equivalence_class_size_lower_" - + "bound\030\001 \001(\003\022*\n\"equivalence_class_size_up" - + "per_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n\r" - + "bucket_values\030\004 \003(\0132_.google.privacy.dlp" - + ".v2.AnalyzeDataSourceRiskDetails.KAnonym" - + "ityResult.KAnonymityEquivalenceClass\022\032\n\022" - + "bucket_value_count\030\005 \001(\003\032\260\005\n\020LDiversityR" - + "esult\022\223\001\n+sensitive_value_frequency_hist" - + "ogram_buckets\030\005 \003(\0132^.google.privacy.dlp" - + ".v2.AnalyzeDataSourceRiskDetails.LDivers" - + "ityResult.LDiversityHistogramBucket\032\340\001\n\032" - + "LDiversityEquivalenceClass\0226\n\020quasi_ids_" - + "values\030\001 \003(\0132\034.google.privacy.dlp.v2.Val" - + "ue\022\036\n\026equivalence_class_size\030\002 \001(\003\022%\n\035nu" - + "m_distinct_sensitive_values\030\003 \001(\003\022C\n\024top" - + "_sensitive_values\030\004 \003(\0132%.google.privacy" - + ".dlp.v2.ValueFrequency\032\242\002\n\031LDiversityHis" - + "togramBucket\022-\n%sensitive_value_frequenc" - + "y_lower_bound\030\001 \001(\003\022-\n%sensitive_value_f" - + "requency_upper_bound\030\002 \001(\003\022\023\n\013bucket_siz" - + "e\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.google." - + "privacy.dlp.v2.AnalyzeDataSourceRiskDeta" - + "ils.LDiversityResult.LDiversityEquivalen" - + "ceClass\022\032\n\022bucket_value_count\030\005 \001(\003\032\225\004\n\024" - + "KMapEstimationResult\022\212\001\n\032k_map_estimatio" - + "n_histogram\030\001 \003(\0132f.google.privacy.dlp.v" - + "2.AnalyzeDataSourceRiskDetails.KMapEstim" - + "ationResult.KMapEstimationHistogramBucke" - + "t\032r\n\033KMapEstimationQuasiIdValues\0226\n\020quas" - + "i_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\035KMapEstimationHistogramBucket\022\025\n\rmin_a" - + "nonymity\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.dlp.v2.AnalyzeDataSou" - + "rceRiskDetails.KMapEstimationResult.KMap" - + "EstimationQuasiIdValues\022\032\n\022bucket_value_" - + "count\030\007 \001(\003\032\344\004\n\035DeltaPresenceEstimationR" - + "esult\022\245\001\n#delta_presence_estimation_hist" - + "ogram\030\001 \003(\0132x.google.privacy.dlp.v2.Anal" - + "yzeDataSourceRiskDetails.DeltaPresenceEs" - + "timationResult.DeltaPresenceEstimationHi" - + "stogramBucket\032}\n$DeltaPresenceEstimation" - + "QuasiIdValues\0226\n\020quasi_ids_values\030\001 \003(\0132" - + "\034.google.privacy.dlp.v2.Value\022\035\n\025estimat" - + "ed_probability\030\002 \001(\001\032\233\002\n&DeltaPresenceEs" - + "timationHistogramBucket\022\027\n\017min_probabili" - + "ty\030\001 \001(\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n\013buc" - + "ket_size\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003(\0132v" - + ".google.privacy.dlp.v2.AnalyzeDataSource" - + "RiskDetails.DeltaPresenceEstimationResul" - + "t.DeltaPresenceEstimationQuasiIdValues\022\032" - + "\n\022bucket_value_count\030\007 \001(\003\032`\n\034RequestedR" - + "iskAnalysisOptions\022@\n\njob_config\030\001 \001(\0132," - + ".google.privacy.dlp.v2.RiskAnalysisJobCo", - "nfigB\010\n\006result\"L\n\016ValueFrequency\022+\n\005valu" - + "e\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\022" - + "5\n\017timestamp_value\030\005 \001(\0132\032.google.protob" - + "uf.TimestampH\000\022,\n\ntime_value\030\006 \001(\0132\026.goo" - + "gle.type.TimeOfDayH\000\022\'\n\ndate_value\030\007 \001(\013" - + "2\021.google.type.DateH\000\0223\n\021day_of_week_val" - + "ue\030\010 \001(\0162\026.google.type.DayOfWeekH\000B\006\n\004ty" - + "pe\"Q\n\tQuoteInfo\0224\n\tdate_time\030\002 \001(\0132\037.goo" - + "gle.privacy.dlp.v2.DateTimeH\000B\016\n\014parsed_" - + "quote\"\337\001\n\010DateTime\022\037\n\004date\030\001 \001(\0132\021.googl" - + "e.type.Date\022+\n\013day_of_week\030\002 \001(\0162\026.googl" - + "e.type.DayOfWeek\022$\n\004time\030\003 \001(\0132\026.google." - + "type.TimeOfDay\022;\n\ttime_zone\030\004 \001(\0132(.goog" - + "le.privacy.dlp.v2.DateTime.TimeZone\032\"\n\010T" - + "imeZone\022\026\n\016offset_minutes\030\001 \001(\005\"\244\002\n\020Deid" - + "entifyConfig\022S\n\031info_type_transformation" - + "s\030\001 \001(\0132..google.privacy.dlp.v2.InfoType" - + "TransformationsH\000\022N\n\026record_transformati" - + "ons\030\002 \001(\0132,.google.privacy.dlp.v2.Record" - + "TransformationsH\000\022Y\n\035transformation_erro" - + "r_handling\030\003 \001(\01322.google.privacy.dlp.v2" - + ".TransformationErrorHandlingB\020\n\016transfor" - + "mation\"\205\002\n\033TransformationErrorHandling\022T" - + "\n\013throw_error\030\001 \001(\0132=.google.privacy.dlp" - + ".v2.TransformationErrorHandling.ThrowErr" - + "orH\000\022d\n\023leave_untransformed\030\002 \001(\0132E.goog" - + "le.privacy.dlp.v2.TransformationErrorHan" - + "dling.LeaveUntransformedH\000\032\014\n\nThrowError" - + "\032\024\n\022LeaveUntransformedB\006\n\004mode\"\312\007\n\027Primi" - + "tiveTransformation\022C\n\016replace_config\030\001 \001" - + "(\0132).google.privacy.dlp.v2.ReplaceValueC" - + "onfigH\000\022<\n\rredact_config\030\002 \001(\0132#.google." - + "privacy.dlp.v2.RedactConfigH\000\022K\n\025charact" - + "er_mask_config\030\003 \001(\0132*.google.privacy.dl" - + "p.v2.CharacterMaskConfigH\000\022Y\n\035crypto_rep" - + "lace_ffx_fpe_config\030\004 \001(\01320.google.priva" - + "cy.dlp.v2.CryptoReplaceFfxFpeConfigH\000\022V\n" - + "\033fixed_size_bucketing_config\030\005 \001(\0132/.goo" - + "gle.privacy.dlp.v2.FixedSizeBucketingCon" - + "figH\000\022B\n\020bucketing_config\030\006 \001(\0132&.google" - + ".privacy.dlp.v2.BucketingConfigH\000\022Y\n\035rep" - + "lace_with_info_type_config\030\007 \001(\01320.googl" - + "e.privacy.dlp.v2.ReplaceWithInfoTypeConf" - + "igH\000\022A\n\020time_part_config\030\010 \001(\0132%.google." - + "privacy.dlp.v2.TimePartConfigH\000\022E\n\022crypt" - + "o_hash_config\030\t \001(\0132\'.google.privacy.dlp" - + ".v2.CryptoHashConfigH\000\022C\n\021date_shift_con" - + "fig\030\013 \001(\0132&.google.privacy.dlp.v2.DateSh" - + "iftConfigH\000\022W\n\033crypto_deterministic_conf" - + "ig\030\014 \001(\01320.google.privacy.dlp.v2.CryptoD" - + "eterministicConfigH\000\022S\n\031replace_dictiona" - + "ry_config\030\r \001(\0132..google.privacy.dlp.v2." - + "ReplaceDictionaryConfigH\000B\020\n\016transformat" - + "ion\"\334\001\n\016TimePartConfig\022G\n\017part_to_extrac" - + "t\030\001 \001(\0162..google.privacy.dlp.v2.TimePart" - + "Config.TimePart\"\200\001\n\010TimePart\022\031\n\025TIME_PAR" - + "T_UNSPECIFIED\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\020\n\014" - + "DAY_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\020CryptoHash" - + "Config\0224\n\ncrypto_key\030\001 \001(\0132 .google.priv" - + "acy.dlp.v2.CryptoKey\"\300\001\n\031CryptoDetermini" - + "sticConfig\0224\n\ncrypto_key\030\001 \001(\0132 .google." - + "privacy.dlp.v2.CryptoKey\022<\n\023surrogate_in" - + "fo_type\030\002 \001(\0132\037.google.privacy.dlp.v2.In" - + "foType\022/\n\007context\030\003 \001(\0132\036.google.privacy" - + ".dlp.v2.FieldId\"E\n\022ReplaceValueConfig\022/\n" - + "\tnew_value\030\001 \001(\0132\034.google.privacy.dlp.v2" - + ".Value\"q\n\027ReplaceDictionaryConfig\022N\n\twor" - + "d_list\030\001 \001(\01329.google.privacy.dlp.v2.Cus" - + "tomInfoType.Dictionary.WordListH\000B\006\n\004typ" - + "e\"\033\n\031ReplaceWithInfoTypeConfig\"\016\n\014Redact" - + "Config\"\266\002\n\rCharsToIgnore\022\034\n\022characters_t" - + "o_skip\030\001 \001(\tH\000\022_\n\033common_characters_to_i" - + "gnore\030\002 \001(\01628.google.privacy.dlp.v2.Char" - + "sToIgnore.CommonCharsToIgnoreH\000\"\227\001\n\023Comm" - + "onCharsToIgnore\022&\n\"COMMON_CHARS_TO_IGNOR" - + "E_UNSPECIFIED\020\000\022\013\n\007NUMERIC\020\001\022\024\n\020ALPHA_UP" - + "PER_CASE\020\002\022\024\n\020ALPHA_LOWER_CASE\020\003\022\017\n\013PUNC" - + "TUATION\020\004\022\016\n\nWHITESPACE\020\005B\014\n\ncharacters\"" - + "\243\001\n\023CharacterMaskConfig\022\031\n\021masking_chara" - + "cter\030\001 \001(\t\022\026\n\016number_to_mask\030\002 \001(\005\022\025\n\rre" - + "verse_order\030\003 \001(\010\022B\n\024characters_to_ignor" - + "e\030\004 \003(\0132$.google.privacy.dlp.v2.CharsToI" - + "gnore\"\244\001\n\030FixedSizeBucketingConfig\0226\n\013lo" - + "wer_bound\030\001 \001(\0132\034.google.privacy.dlp.v2." - + "ValueB\003\340A\002\0226\n\013upper_bound\030\002 \001(\0132\034.google" - + ".privacy.dlp.v2.ValueB\003\340A\002\022\030\n\013bucket_siz" - + "e\030\003 \001(\001B\003\340A\002\"\360\001\n\017BucketingConfig\022>\n\007buck" - + "ets\030\001 \003(\0132-.google.privacy.dlp.v2.Bucket" - + "ingConfig.Bucket\032\234\001\n\006Bucket\022)\n\003min\030\001 \001(\013" - + "2\034.google.privacy.dlp.v2.Value\022)\n\003max\030\002 " - + "\001(\0132\034.google.privacy.dlp.v2.Value\022<\n\021rep" - + "lacement_value\030\003 \001(\0132\034.google.privacy.dl" - + "p.v2.ValueB\003\340A\002\"\371\003\n\031CryptoReplaceFfxFpeC" - + "onfig\0229\n\ncrypto_key\030\001 \001(\0132 .google.priva" - + "cy.dlp.v2.CryptoKeyB\003\340A\002\022/\n\007context\030\002 \001(" - + "\0132\036.google.privacy.dlp.v2.FieldId\022c\n\017com" - + "mon_alphabet\030\004 \001(\0162H.google.privacy.dlp." - + "v2.CryptoReplaceFfxFpeConfig.FfxCommonNa" - + "tiveAlphabetH\000\022\031\n\017custom_alphabet\030\005 \001(\tH" - + "\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023surrogate_info_typ" - + "e\030\010 \001(\0132\037.google.privacy.dlp.v2.InfoType" - + "\"\224\001\n\027FfxCommonNativeAlphabet\022*\n&FFX_COMM" - + "ON_NATIVE_ALPHABET_UNSPECIFIED\020\000\022\013\n\007NUME" - + "RIC\020\001\022\017\n\013HEXADECIMAL\020\002\022\034\n\030UPPER_CASE_ALP" - + "HA_NUMERIC\020\003\022\021\n\rALPHA_NUMERIC\020\004B\n\n\010alpha" - + "bet\"\330\001\n\tCryptoKey\022>\n\ttransient\030\001 \001(\0132).g" - + "oogle.privacy.dlp.v2.TransientCryptoKeyH" - + "\000\022>\n\tunwrapped\030\002 \001(\0132).google.privacy.dl" - + "p.v2.UnwrappedCryptoKeyH\000\022A\n\013kms_wrapped" - + "\030\003 \001(\0132*.google.privacy.dlp.v2.KmsWrappe" - + "dCryptoKeyH\000B\010\n\006source\"\'\n\022TransientCrypt" - + "oKey\022\021\n\004name\030\001 \001(\tB\003\340A\002\"&\n\022UnwrappedCryp" - + "toKey\022\020\n\003key\030\001 \001(\014B\003\340A\002\"M\n\023KmsWrappedCry" - + "ptoKey\022\030\n\013wrapped_key\030\001 \001(\014B\003\340A\002\022\034\n\017cryp" - + "to_key_name\030\002 \001(\tB\003\340A\002\"\302\001\n\017DateShiftConf" - + "ig\022\035\n\020upper_bound_days\030\001 \001(\005B\003\340A\002\022\035\n\020low" - + "er_bound_days\030\002 \001(\005B\003\340A\002\022/\n\007context\030\003 \001(" - + "\0132\036.google.privacy.dlp.v2.FieldId\0226\n\ncry" - + "pto_key\030\004 \001(\0132 .google.privacy.dlp.v2.Cr" - + "yptoKeyH\000B\010\n\006method\"\245\002\n\027InfoTypeTransfor" - + "mations\022c\n\017transformations\030\001 \003(\0132E.googl" - + "e.privacy.dlp.v2.InfoTypeTransformations" - + ".InfoTypeTransformationB\003\340A\002\032\244\001\n\026InfoTyp" - + "eTransformation\0223\n\ninfo_types\030\001 \003(\0132\037.go" - + "ogle.privacy.dlp.v2.InfoType\022U\n\030primitiv" - + "e_transformation\030\002 \001(\0132..google.privacy." - + "dlp.v2.PrimitiveTransformationB\003\340A\002\"\300\002\n\023" - + "FieldTransformation\0223\n\006fields\030\001 \003(\0132\036.go" - + "ogle.privacy.dlp.v2.FieldIdB\003\340A\002\0229\n\tcond" - + "ition\030\003 \001(\0132&.google.privacy.dlp.v2.Reco" - + "rdCondition\022R\n\030primitive_transformation\030" - + "\004 \001(\0132..google.privacy.dlp.v2.PrimitiveT" - + "ransformationH\000\022S\n\031info_type_transformat" - + "ions\030\005 \001(\0132..google.privacy.dlp.v2.InfoT" - + "ypeTransformationsH\000B\020\n\016transformation\"\251" - + "\001\n\025RecordTransformations\022I\n\025field_transf" - + "ormations\030\001 \003(\0132*.google.privacy.dlp.v2." - + "FieldTransformation\022E\n\023record_suppressio" - + "ns\030\002 \003(\0132(.google.privacy.dlp.v2.RecordS" - + "uppression\"N\n\021RecordSuppression\0229\n\tcondi" - + "tion\030\001 \001(\0132&.google.privacy.dlp.v2.Recor" - + "dCondition\"\334\004\n\017RecordCondition\022G\n\013expres" - + "sions\030\003 \001(\01322.google.privacy.dlp.v2.Reco" - + "rdCondition.Expressions\032\256\001\n\tCondition\0222\n" - + "\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fie" - + "ldIdB\003\340A\002\022@\n\010operator\030\003 \001(\0162).google.pri" - + "vacy.dlp.v2.RelationalOperatorB\003\340A\002\022+\n\005v" - + "alue\030\004 \001(\0132\034.google.privacy.dlp.v2.Value" - + "\032R\n\nConditions\022D\n\nconditions\030\001 \003(\01320.goo" - + "gle.privacy.dlp.v2.RecordCondition.Condi" - + "tion\032\372\001\n\013Expressions\022\\\n\020logical_operator" - + "\030\001 \001(\0162B.google.privacy.dlp.v2.RecordCon" - + "dition.Expressions.LogicalOperator\022G\n\nco" - + "nditions\030\003 \001(\01321.google.privacy.dlp.v2.R" - + "ecordCondition.ConditionsH\000\"<\n\017LogicalOp" - + "erator\022 \n\034LOGICAL_OPERATOR_UNSPECIFIED\020\000" - + "\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026TransformationOver" - + "view\022\031\n\021transformed_bytes\030\002 \001(\003\022N\n\030trans" - + "formation_summaries\030\003 \003(\0132,.google.priva" - + "cy.dlp.v2.TransformationSummary\"\237\005\n\025Tran" - + "sformationSummary\0222\n\tinfo_type\030\001 \001(\0132\037.g" - + "oogle.privacy.dlp.v2.InfoType\022-\n\005field\030\002" - + " \001(\0132\036.google.privacy.dlp.v2.FieldId\022F\n\016" - + "transformation\030\003 \001(\0132..google.privacy.dl" - + "p.v2.PrimitiveTransformation\022I\n\025field_tr" - + "ansformations\030\005 \003(\0132*.google.privacy.dlp" - + ".v2.FieldTransformation\022A\n\017record_suppre" - + "ss\030\006 \001(\0132(.google.privacy.dlp.v2.RecordS" - + "uppression\022K\n\007results\030\004 \003(\0132:.google.pri" - + "vacy.dlp.v2.TransformationSummary.Summar" - + "yResult\022\031\n\021transformed_bytes\030\007 \001(\003\032\204\001\n\rS" - + "ummaryResult\022\r\n\005count\030\001 \001(\003\022S\n\004code\030\002 \001(" - + "\0162E.google.privacy.dlp.v2.Transformation" - + "Summary.TransformationResultCode\022\017\n\007deta" - + "ils\030\003 \001(\t\"^\n\030TransformationResultCode\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_period_duration\030\001 \001(\0132\031.goog" - + "le.protobuf.DurationH\000B\010\n\006option\"\010\n\006Manu" - + "al\"\302\004\n\017InspectTemplate\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.proto" - + "buf.TimestampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\022<\n\016insp" - + "ect_config\030\006 \001(\0132$.google.privacy.dlp.v2" - + ".InspectConfig:\306\002\352A\302\002\n\"dlp.googleapis.co" - + "m/InspectTemplate\022@organizations/{organi" - + "zation}/inspectTemplates/{inspect_templa" - + "te}\0226projects/{project}/inspectTemplates" - + "/{inspect_template}\022Uorganizations/{orga" - + "nization}/locations/{location}/inspectTe" - + "mplates/{inspect_template}\022Kprojects/{pr" - + "oject}/locations/{location}/inspectTempl" - + "ates/{inspect_template}\"\346\004\n\022DeidentifyTe" - + "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\022B\n\021deidentify_config\030\006 " - + "\001(\0132\'.google.privacy.dlp.v2.DeidentifyCo" - + "nfig:\341\002\352A\335\002\n%dlp.googleapis.com/Deidenti" - + "fyTemplate\022Forganizations/{organization}" - + "/deidentifyTemplates/{deidentify_templat" - + "e}\022\n\013inspect_job\030\004 \001(\0132\'.google.pri" - + "vacy.dlp.v2.InspectJobConfigH\000\022;\n\010trigge" - + "rs\030\005 \003(\0132).google.privacy.dlp.v2.JobTrig" - + "ger.Trigger\0221\n\006errors\030\006 \003(\0132\034.google.pri" - + "vacy.dlp.v2.ErrorB\003\340A\003\0224\n\013create_time\030\007 " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" - + "update_time\030\010 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0226\n\rlast_run_time\030\t \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022=\n\006status\030\n \001" - + "(\0162(.google.privacy.dlp.v2.JobTrigger.St" - + "atusB\003\340A\002\032z\n\007Trigger\0223\n\010schedule\030\001 \001(\0132\037" - + ".google.privacy.dlp.v2.ScheduleH\000\022/\n\006man" - + "ual\030\002 \001(\0132\035.google.privacy.dlp.v2.Manual" - + "H\000B\t\n\007trigger\"H\n\006Status\022\026\n\022STATUS_UNSPEC" - + "IFIED\020\000\022\013\n\007HEALTHY\020\001\022\n\n\006PAUSED\020\002\022\r\n\tCANC" - + "ELLED\020\003:\224\001\352A\220\001\n\035dlp.googleapis.com/JobTr" - + "igger\022,projects/{project}/jobTriggers/{j" - + "ob_trigger}\022Aprojects/{project}/location" - + "s/{location}/jobTriggers/{job_trigger}B\005" - + "\n\003job\"\364\005\n\006Action\022C\n\rsave_findings\030\001 \001(\0132" - + "*.google.privacy.dlp.v2.Action.SaveFindi" - + "ngsH\000\022@\n\007pub_sub\030\002 \001(\0132-.google.privacy." - + "dlp.v2.Action.PublishToPubSubH\000\022U\n\027publi" - + "sh_summary_to_cscc\030\003 \001(\01322.google.privac" - + "y.dlp.v2.Action.PublishSummaryToCsccH\000\022q" - + "\n&publish_findings_to_cloud_data_catalog" - + "\030\005 \001(\0132?.google.privacy.dlp.v2.Action.Pu" - + "blishFindingsToCloudDataCatalogH\000\022V\n\027job" - + "_notification_emails\030\010 \001(\01323.google.priv" - + "acy.dlp.v2.Action.JobNotificationEmailsH" - + "\000\022T\n\026publish_to_stackdriver\030\t \001(\01322.goog" - + "le.privacy.dlp.v2.Action.PublishToStackd" - + "riverH\000\032Q\n\014SaveFindings\022A\n\routput_config" - + "\030\001 \001(\0132*.google.privacy.dlp.v2.OutputSto" - + "rageConfig\032 \n\017PublishToPubSub\022\r\n\005topic\030\001" - + " \001(\t\032\026\n\024PublishSummaryToCscc\032#\n!PublishF" - + "indingsToCloudDataCatalog\032\027\n\025JobNotifica" - + "tionEmails\032\026\n\024PublishToStackdriverB\010\n\006ac" - + "tion\"\313\001\n\034CreateInspectTemplateRequest\022:\n" - + "\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.googleapis.co" - + "m/InspectTemplate\022E\n\020inspect_template\030\002 " - + "\001(\0132&.google.privacy.dlp.v2.InspectTempl" - + "ateB\003\340A\002\022\023\n\013template_id\030\003 \001(\t\022\023\n\013locatio" - + "n_id\030\004 \001(\t\"\313\001\n\034UpdateInspectTemplateRequ" - + "est\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googleapi" - + "s.com/InspectTemplate\022@\n\020inspect_templat" - + "e\030\002 \001(\0132&.google.privacy.dlp.v2.InspectT" - + "emplate\022/\n\013update_mask\030\003 \001(\0132\032.google.pr" - + "otobuf.FieldMask\"U\n\031GetInspectTemplateRe" - + "quest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googlea" - + "pis.com/InspectTemplate\"\247\001\n\033ListInspectT" - + "emplatesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022" - + "\"dlp.googleapis.com/InspectTemplate\022\022\n\np" - + "age_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010or" - + "der_by\030\004 \001(\t\022\023\n\013location_id\030\005 \001(\t\"z\n\034Lis" - + "tInspectTemplatesResponse\022A\n\021inspect_tem" - + "plates\030\001 \003(\0132&.google.privacy.dlp.v2.Ins" - + "pectTemplate\022\027\n\017next_page_token\030\002 \001(\t\"X\n" - + "\034DeleteInspectTemplateRequest\0228\n\004name\030\001 " - + "\001(\tB*\340A\002\372A$\n\"dlp.googleapis.com/InspectT" - + "emplate\"\266\001\n\027CreateJobTriggerRequest\0225\n\006p" - + "arent\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.googleapis.com/" - + "JobTrigger\022;\n\013job_trigger\030\002 \001(\0132!.google" - + ".privacy.dlp.v2.JobTriggerB\003\340A\002\022\022\n\ntrigg" - + "er_id\030\003 \001(\t\022\023\n\013location_id\030\004 \001(\t\"P\n\031Acti" - + "vateJobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002" - + "\372A\037\n\035dlp.googleapis.com/JobTrigger\"\267\001\n\027U" - + "pdateJobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A" - + "\002\372A\037\n\035dlp.googleapis.com/JobTrigger\0226\n\013j" - + "ob_trigger\030\002 \001(\0132!.google.privacy.dlp.v2" - + ".JobTrigger\022/\n\013update_mask\030\003 \001(\0132\032.googl" - + "e.protobuf.FieldMask\"K\n\024GetJobTriggerReq" - + "uest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleap" - + "is.com/JobTrigger\"\366\001\n\023CreateDlpJobReques" - + "t\0221\n\006parent\030\001 \001(\tB!\340A\002\372A\033\022\031dlp.googleapi" - + "s.com/DlpJob\022>\n\013inspect_job\030\002 \001(\0132\'.goog" - + "le.privacy.dlp.v2.InspectJobConfigH\000\022@\n\010" - + "risk_job\030\003 \001(\0132,.google.privacy.dlp.v2.R" - + "iskAnalysisJobConfigH\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\026ListJobTr" - + "iggersRequest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035d" - + "lp.googleapis.com/JobTrigger\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\016\n\006filter\030\005 \001(\t\022/\n\004type\030\006 \001(\0162!.go" - + "ogle.privacy.dlp.v2.DlpJobType\022\023\n\013locati" - + "on_id\030\007 \001(\t\"k\n\027ListJobTriggersResponse\0227" - + "\n\014job_triggers\030\001 \003(\0132!.google.privacy.dl" - + "p.v2.JobTrigger\022\027\n\017next_page_token\030\002 \001(\t" - + "\"N\n\027DeleteJobTriggerRequest\0223\n\004name\030\001 \001(" - + "\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobTrigger" - + "\"\335\001\n\020InspectJobConfig\022<\n\016storage_config\030" - + "\001 \001(\0132$.google.privacy.dlp.v2.StorageCon" - + "fig\022<\n\016inspect_config\030\002 \001(\0132$.google.pri" - + "vacy.dlp.v2.InspectConfig\022\035\n\025inspect_tem" - + "plate_name\030\003 \001(\t\022.\n\007actions\030\004 \003(\0132\035.goog" - + "le.privacy.dlp.v2.Action\"\355\005\n\021DataProfile" - + "Action\022F\n\013export_data\030\001 \001(\0132/.google.pri" - + "vacy.dlp.v2.DataProfileAction.ExportH\000\022[" - + "\n\024pub_sub_notification\030\002 \001(\0132;.google.pr" - + "ivacy.dlp.v2.DataProfileAction.PubSubNot" - + "ificationH\000\032E\n\006Export\022;\n\rprofile_table\030\001" - + " \001(\0132$.google.privacy.dlp.v2.BigQueryTab" - + "le\032\352\002\n\022PubSubNotification\022\r\n\005topic\030\001 \001(\t" - + "\022A\n\005event\030\002 \001(\01622.google.privacy.dlp.v2." - + "DataProfileAction.EventType\022K\n\020pubsub_co" - + "ndition\030\003 \001(\01321.google.privacy.dlp.v2.Da" - + "taProfilePubSubCondition\022b\n\021detail_of_me" - + "ssage\030\004 \001(\0162G.google.privacy.dlp.v2.Data" - + "ProfileAction.PubSubNotification.DetailL" - + "evel\"Q\n\013DetailLevel\022\034\n\030DETAIL_LEVEL_UNSP" - + "ECIFIED\020\000\022\021\n\rTABLE_PROFILE\020\001\022\021\n\rRESOURCE" - + "_NAME\020\002\"u\n\tEventType\022\032\n\026EVENT_TYPE_UNSPE" - + "CIFIED\020\000\022\017\n\013NEW_PROFILE\020\001\022\023\n\017CHANGED_PRO" - + "FILE\020\002\022\023\n\017SCORE_INCREASED\020\003\022\021\n\rERROR_CHA" - + "NGED\020\004B\010\n\006action\"\313\001\n\024DataProfileJobConfi" - + "g\022<\n\010location\030\001 \001(\0132*.google.privacy.dlp" - + ".v2.DataProfileLocation\022\022\n\nproject_id\030\005 " - + "\001(\t\022\031\n\021inspect_templates\030\007 \003(\t\022F\n\024data_p" - + "rofile_actions\030\006 \003(\0132(.google.privacy.dl" - + "p.v2.DataProfileAction\"Q\n\023DataProfileLoc" - + "ation\022\031\n\017organization_id\030\001 \001(\003H\000\022\023\n\tfold" - + "er_id\030\002 \001(\003H\000B\n\n\010location\"\353\005\n\006DlpJob\022\014\n\004" - + "name\030\001 \001(\t\022/\n\004type\030\002 \001(\0162!.google.privac" - + "y.dlp.v2.DlpJobType\0225\n\005state\030\003 \001(\0162&.goo" - + "gle.privacy.dlp.v2.DlpJob.JobState\022K\n\014ri" - + "sk_details\030\004 \001(\01323.google.privacy.dlp.v2" - + ".AnalyzeDataSourceRiskDetailsH\000\022J\n\017inspe" - + "ct_details\030\005 \001(\0132/.google.privacy.dlp.v2" - + ".InspectDataSourceDetailsH\000\022/\n\013create_ti" - + "me\030\006 \001(\0132\032.google.protobuf.Timestamp\022.\n\n" - + "start_time\030\007 \001(\0132\032.google.protobuf.Times" - + "tamp\022,\n\010end_time\030\010 \001(\0132\032.google.protobuf" - + ".Timestamp\022\030\n\020job_trigger_name\030\n \001(\t\022,\n\006" - + "errors\030\013 \003(\0132\034.google.privacy.dlp.v2.Err" - + "or\"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\006FAILED\020\005\022\n\n\006ACTIVE\020\006:\177\352A|" - + "\n\031dlp.googleapis.com/DlpJob\022$projects/{p" - + "roject}/dlpJobs/{dlp_job}\0229projects/{pro" - + "ject}/locations/{location}/dlpJobs/{dlp_" - + "job}B\t\n\007details\"C\n\020GetDlpJobRequest\022/\n\004n" - + "ame\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/Dl" - + "pJob\"\326\001\n\022ListDlpJobsRequest\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\npag" - + "e_token\030\003 \001(\t\022/\n\004type\030\005 \001(\0162!.google.pri" - + "vacy.dlp.v2.DlpJobType\022\020\n\010order_by\030\006 \001(\t" - + "\022\023\n\013location_id\030\007 \001(\t\"[\n\023ListDlpJobsResp" - + "onse\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\023Ca" - + "ncelDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n" - + "\031dlp.googleapis.com/DlpJob\"F\n\023FinishDlpJ" - + "obRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.goo" - + "gleapis.com/DlpJob\"F\n\023DeleteDlpJobReques" - + "t\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis." - + "com/DlpJob\"\327\001\n\037CreateDeidentifyTemplateR" - + "equest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%dlp.goog" - + "leapis.com/DeidentifyTemplate\022K\n\023deident" - + "ify_template\030\002 \001(\0132).google.privacy.dlp." - + "v2.DeidentifyTemplateB\003\340A\002\022\023\n\013template_i" - + "d\030\003 \001(\t\022\023\n\013location_id\030\004 \001(\t\"\327\001\n\037UpdateD" - + "eidentifyTemplateRequest\022;\n\004name\030\001 \001(\tB-" - + "\340A\002\372A\'\n%dlp.googleapis.com/DeidentifyTem" - + "plate\022F\n\023deidentify_template\030\002 \001(\0132).goo" - + "gle.privacy.dlp.v2.DeidentifyTemplate\022/\n" - + "\013update_mask\030\003 \001(\0132\032.google.protobuf.Fie" - + "ldMask\"[\n\034GetDeidentifyTemplateRequest\022;" - + "\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis.com" - + "/DeidentifyTemplate\"\255\001\n\036ListDeidentifyTe" - + "mplatesRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%" - + "dlp.googleapis.com/DeidentifyTemplate\022\022\n" - + "\npage_token\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\020\n\010" - + "order_by\030\004 \001(\t\022\023\n\013location_id\030\005 \001(\t\"\203\001\n\037" - + "ListDeidentifyTemplatesResponse\022G\n\024deide" - + "ntify_templates\030\001 \003(\0132).google.privacy.d" - + "lp.v2.DeidentifyTemplate\022\027\n\017next_page_to" - + "ken\030\002 \001(\t\"^\n\037DeleteDeidentifyTemplateReq" - + "uest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleap" - + "is.com/DeidentifyTemplate\"\364\001\n\033LargeCusto" - + "mDictionaryConfig\022<\n\013output_path\030\001 \001(\0132\'" - + ".google.privacy.dlp.v2.CloudStoragePath\022" - + "L\n\026cloud_storage_file_set\030\002 \001(\0132*.google" - + ".privacy.dlp.v2.CloudStorageFileSetH\000\022?\n", - "\017big_query_field\030\003 \001(\0132$.google.privacy." - + "dlp.v2.BigQueryFieldH\000B\010\n\006source\"8\n\032Larg" - + "eCustomDictionaryStats\022\032\n\022approx_num_phr" - + "ases\030\001 \001(\003\"\246\002\n\024StoredInfoTypeConfig\022\024\n\014d" - + "isplay_name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022U" - + "\n\027large_custom_dictionary\030\003 \001(\01322.google" - + ".privacy.dlp.v2.LargeCustomDictionaryCon" - + "figH\000\022F\n\ndictionary\030\004 \001(\01320.google.priva" - + "cy.dlp.v2.CustomInfoType.DictionaryH\000\022<\n" - + "\005regex\030\005 \001(\0132+.google.privacy.dlp.v2.Cus" - + "tomInfoType.RegexH\000B\006\n\004type\"s\n\023StoredInf" - + "oTypeStats\022T\n\027large_custom_dictionary\030\001 " - + "\001(\01321.google.privacy.dlp.v2.LargeCustomD" - + "ictionaryStatsH\000B\006\n\004type\"\251\002\n\025StoredInfoT" - + "ypeVersion\022;\n\006config\030\001 \001(\0132+.google.priv" - + "acy.dlp.v2.StoredInfoTypeConfig\022/\n\013creat" - + "e_time\030\002 \001(\0132\032.google.protobuf.Timestamp" - + "\0229\n\005state\030\003 \001(\0162*.google.privacy.dlp.v2." - + "StoredInfoTypeState\022,\n\006errors\030\004 \003(\0132\034.go" - + "ogle.privacy.dlp.v2.Error\0229\n\005stats\030\005 \001(\013" - + "2*.google.privacy.dlp.v2.StoredInfoTypeS" - + "tats\"\361\003\n\016StoredInfoType\022\014\n\004name\030\001 \001(\t\022E\n" - + "\017current_version\030\002 \001(\0132,.google.privacy." - + "dlp.v2.StoredInfoTypeVersion\022F\n\020pending_" - + "versions\030\003 \003(\0132,.google.privacy.dlp.v2.S" - + "toredInfoTypeVersion:\301\002\352A\275\002\n!dlp.googlea" - + "pis.com/StoredInfoType\022?organizations/{o" - + "rganization}/storedInfoTypes/{stored_inf" - + "o_type}\0225projects/{project}/storedInfoTy" - + "pes/{stored_info_type}\022Torganizations/{o" - + "rganization}/locations/{location}/stored" - + "InfoTypes/{stored_info_type}\022Jprojects/{" - + "project}/locations/{location}/storedInfo" - + "Types/{stored_info_type}\"\314\001\n\033CreateStore" - + "dInfoTypeRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#" - + "\022!dlp.googleapis.com/StoredInfoType\022@\n\006c" - + "onfig\030\002 \001(\0132+.google.privacy.dlp.v2.Stor" - + "edInfoTypeConfigB\003\340A\002\022\033\n\023stored_info_typ" - + "e_id\030\003 \001(\t\022\023\n\013location_id\030\004 \001(\t\"\304\001\n\033Upda" - + "teStoredInfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340" - + "A\002\372A#\n!dlp.googleapis.com/StoredInfoType" - + "\022;\n\006config\030\002 \001(\0132+.google.privacy.dlp.v2" - + ".StoredInfoTypeConfig\022/\n\013update_mask\030\003 \001" - + "(\0132\032.google.protobuf.FieldMask\"S\n\030GetSto" - + "redInfoTypeRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" - + "\n!dlp.googleapis.com/StoredInfoType\"\245\001\n\032" - + "ListStoredInfoTypesRequest\0229\n\006parent\030\001 \001" - + "(\tB)\340A\002\372A#\022!dlp.googleapis.com/StoredInf" - + "oType\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\033ListStoredInfoTypesResponse\022@\n\021st" - + "ored_info_types\030\001 \003(\0132%.google.privacy.d" - + "lp.v2.StoredInfoType\022\027\n\017next_page_token\030" - + "\002 \001(\t\"V\n\033DeleteStoredInfoTypeRequest\0227\n\004" - + "name\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis.com/S" - + "toredInfoType\"\224\001\n\036HybridInspectJobTrigge" - + "rRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.goog" - + "leapis.com/JobTrigger\022=\n\013hybrid_item\030\003 \001" - + "(\0132(.google.privacy.dlp.v2.HybridContent" - + "Item\"\214\001\n\032HybridInspectDlpJobRequest\022/\n\004n" - + "ame\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googleapis.com/Dl" - + "pJob\022=\n\013hybrid_item\030\003 \001(\0132(.google.priva" - + "cy.dlp.v2.HybridContentItem\"\213\001\n\021HybridCo" - + "ntentItem\0220\n\004item\030\001 \001(\0132\".google.privacy" - + ".dlp.v2.ContentItem\022D\n\017finding_details\030\002" - + " \001(\0132+.google.privacy.dlp.v2.HybridFindi" - + "ngDetails\"\260\002\n\024HybridFindingDetails\022;\n\021co" - + "ntainer_details\030\001 \001(\0132 .google.privacy.d" - + "lp.v2.Container\022\023\n\013file_offset\030\002 \001(\003\022\022\n\n" - + "row_offset\030\003 \001(\003\022:\n\rtable_options\030\004 \001(\0132" - + "#.google.privacy.dlp.v2.TableOptions\022G\n\006" - + "labels\030\005 \003(\01327.google.privacy.dlp.v2.Hyb" - + "ridFindingDetails.LabelsEntry\032-\n\013LabelsE" - + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\027\n\025" - + "HybridInspectResponse\"\341\001\n\020SensitivitySco" - + "re\022L\n\005score\030\001 \001(\0162=.google.privacy.dlp.v" - + "2.SensitivityScore.SensitivityScoreLevel" - + "\"\177\n\025SensitivityScoreLevel\022!\n\035SENSITIVITY" - + "_SCORE_UNSPECIFIED\020\000\022\023\n\017SENSITIVITY_LOW\020" - + "\n\022\030\n\024SENSITIVITY_MODERATE\020\024\022\024\n\020SENSITIVI" - + "TY_HIGH\020\036\"\271\001\n\rDataRiskLevel\022F\n\005score\030\001 \001" - + "(\01627.google.privacy.dlp.v2.DataRiskLevel" - + ".DataRiskLevelScore\"`\n\022DataRiskLevelScor" - + "e\022\032\n\026RISK_SCORE_UNSPECIFIED\020\000\022\014\n\010RISK_LO" - + "W\020\n\022\021\n\rRISK_MODERATE\020\024\022\r\n\tRISK_HIGH\020\036\"\240\001" - + "\n\031DataProfileConfigSnapshot\022<\n\016inspect_c" - + "onfig\030\002 \001(\0132$.google.privacy.dlp.v2.Insp" - + "ectConfig\022E\n\020data_profile_job\030\003 \001(\0132+.go" - + "ogle.privacy.dlp.v2.DataProfileJobConfig" - + "\"\232\n\n\020TableDataProfile\022\014\n\004name\030\001 \001(\t\022\034\n\024p" - + "roject_data_profile\030\002 \001(\t\022\032\n\022dataset_pro" - + "ject_id\030\030 \001(\t\022\030\n\020dataset_location\030\035 \001(\t\022" - + "\022\n\ndataset_id\030\031 \001(\t\022\020\n\010table_id\030\032 \001(\t\022\025\n" - + "\rfull_resource\030\003 \001(\t\022<\n\016profile_status\030\025" - + " \001(\0132$.google.privacy.dlp.v2.ProfileStat" - + "us\022<\n\005state\030\026 \001(\0162-.google.privacy.dlp.v" - + "2.TableDataProfile.State\022B\n\021sensitivity_" - + "score\030\005 \001(\0132\'.google.privacy.dlp.v2.Sens" - + "itivityScore\022=\n\017data_risk_level\030\006 \001(\0132$." - + "google.privacy.dlp.v2.DataRiskLevel\022D\n\024p" - + "redicted_info_types\030\033 \003(\0132&.google.priva" - + "cy.dlp.v2.InfoTypeSummary\022E\n\020other_info_" - + "types\030\034 \003(\0132+.google.privacy.dlp.v2.Othe" - + "rInfoTypeSummary\022I\n\017config_snapshot\030\007 \001(" - + "\01320.google.privacy.dlp.v2.DataProfileCon" - + "figSnapshot\0226\n\022last_modified_time\030\010 \001(\0132" - + "\032.google.protobuf.Timestamp\0223\n\017expiratio" - + "n_time\030\t \001(\0132\032.google.protobuf.Timestamp" - + "\022\034\n\024scanned_column_count\030\n \001(\003\022\033\n\023failed" - + "_column_count\030\013 \001(\003\022\030\n\020table_size_bytes\030" - + "\014 \001(\003\022\021\n\trow_count\030\r \001(\003\022B\n\021encryption_s" - + "tatus\030\016 \001(\0162\'.google.privacy.dlp.v2.Encr" - + "yptionStatus\022F\n\023resource_visibility\030\017 \001(" - + "\0162).google.privacy.dlp.v2.ResourceVisibi" - + "lity\022:\n\026profile_last_generated\030\020 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022T\n\017resource_lab" - + "els\030\021 \003(\0132;.google.privacy.dlp.v2.TableD" - + "ataProfile.ResourceLabelsEntry\022/\n\013create" - + "_time\030\027 \001(\0132\032.google.protobuf.Timestamp\032" - + "5\n\023ResourceLabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001\"5\n\005State\022\025\n\021STATE_UNSPECI" - + "FIED\020\000\022\013\n\007RUNNING\020\001\022\010\n\004DONE\020\002\"b\n\rProfile" - + "Status\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Stat" - + "us\022-\n\ttimestamp\030\003 \001(\0132\032.google.protobuf." - + "Timestamp\"E\n\017InfoTypeSummary\0222\n\tinfo_typ" - + "e\030\001 \001(\0132\037.google.privacy.dlp.v2.InfoType" - + "\"J\n\024OtherInfoTypeSummary\0222\n\tinfo_type\030\001 " - + "\001(\0132\037.google.privacy.dlp.v2.InfoType\"\352\005\n" - + "\032DataProfilePubSubCondition\022X\n\013expressio" - + "ns\030\001 \001(\0132C.google.privacy.dlp.v2.DataPro" - + "filePubSubCondition.PubSubExpressions\032\351\001" - + "\n\017PubSubCondition\022b\n\022minimum_risk_score\030" - + "\001 \001(\0162D.google.privacy.dlp.v2.DataProfil" - + "ePubSubCondition.ProfileScoreBucketH\000\022i\n" - + "\031minimum_sensitivity_score\030\002 \001(\0162D.googl" - + "e.privacy.dlp.v2.DataProfilePubSubCondit" - + "ion.ProfileScoreBucketH\000B\007\n\005value\032\253\002\n\021Pu" - + "bSubExpressions\022s\n\020logical_operator\030\001 \001(" - + "\0162Y.google.privacy.dlp.v2.DataProfilePub" - + "SubCondition.PubSubExpressions.PubSubLog" - + "icalOperator\022U\n\nconditions\030\002 \003(\0132A.googl" - + "e.privacy.dlp.v2.DataProfilePubSubCondit" - + "ion.PubSubCondition\"J\n\025PubSubLogicalOper" - + "ator\022 \n\034LOGICAL_OPERATOR_UNSPECIFIED\020\000\022\006" - + "\n\002OR\020\001\022\007\n\003AND\020\002\"X\n\022ProfileScoreBucket\022$\n" - + " PROFILE_SCORE_BUCKET_UNSPECIFIED\020\000\022\010\n\004H" - + "IGH\020\001\022\022\n\016MEDIUM_OR_HIGH\020\002\"\227\001\n\030DataProfil" - + "ePubSubMessage\0228\n\007profile\030\001 \001(\0132\'.google" - + ".privacy.dlp.v2.TableDataProfile\022A\n\005even" - + "t\030\002 \001(\01622.google.privacy.dlp.v2.DataProf" - + "ileAction.EventType*\273\001\n\022RelationalOperat" - + "or\022#\n\037RELATIONAL_OPERATOR_UNSPECIFIED\020\000\022" - + "\014\n\010EQUAL_TO\020\001\022\020\n\014NOT_EQUAL_TO\020\002\022\020\n\014GREAT" - + "ER_THAN\020\003\022\r\n\tLESS_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\014MatchingType\022\035\n\031MATCHING_T" - + "YPE_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_INVERSE_MATCH\020\003*M\n\rCon" - + "tentOption\022\027\n\023CONTENT_UNSPECIFIED\020\000\022\020\n\014C" - + "ONTENT_TEXT\020\001\022\021\n\rCONTENT_IMAGE\020\002*B\n\014Meta" - + "dataType\022\034\n\030METADATATYPE_UNSPECIFIED\020\000\022\024" - + "\n\020STORAGE_METADATA\020\002*P\n\023InfoTypeSupporte" - + "dBy\022\031\n\025ENUM_TYPE_UNSPECIFIED\020\000\022\013\n\007INSPEC" - + "T\020\001\022\021\n\rRISK_ANALYSIS\020\002*R\n\nDlpJobType\022\034\n\030" - + "DLP_JOB_TYPE_UNSPECIFIED\020\000\022\017\n\013INSPECT_JO" - + "B\020\001\022\025\n\021RISK_ANALYSIS_JOB\020\002*n\n\023StoredInfo" - + "TypeState\022&\n\"STORED_INFO_TYPE_STATE_UNSP" - + "ECIFIED\020\000\022\013\n\007PENDING\020\001\022\t\n\005READY\020\002\022\n\n\006FAI" - + "LED\020\003\022\013\n\007INVALID\020\004*}\n\022ResourceVisibility" - + "\022#\n\037RESOURCE_VISIBILITY_UNSPECIFIED\020\000\022\036\n" - + "\032RESOURCE_VISIBILITY_PUBLIC\020\n\022\"\n\036RESOURC" - + "E_VISIBILITY_RESTRICTED\020\024*u\n\020EncryptionS" - + "tatus\022!\n\035ENCRYPTION_STATUS_UNSPECIFIED\020\000" - + "\022\035\n\031ENCRYPTION_GOOGLE_MANAGED\020\001\022\037\n\033ENCRY" - + "PTION_CUSTOMER_MANAGED\020\0022\240L\n\nDlpService\022" - + "\333\001\n\016InspectContent\022,.google.privacy.dlp." - + "v2.InspectContentRequest\032-.google.privac" - + "y.dlp.v2.InspectContentResponse\"l\202\323\344\223\002f\"" - + "\'/v2/{parent=projects/*}/content:inspect" - + ":\001*Z8\"3/v2/{parent=projects/*/locations/" - + "*}/content:inspect:\001*\022\314\001\n\013RedactImage\022)." - + "google.privacy.dlp.v2.RedactImageRequest" - + "\032*.google.privacy.dlp.v2.RedactImageResp" - + "onse\"f\202\323\344\223\002`\"$/v2/{parent=projects/*}/im" - + "age:redact:\001*Z5\"0/v2/{parent=projects/*/" - + "locations/*}/image:redact:\001*\022\352\001\n\021Deident" - + "ifyContent\022/.google.privacy.dlp.v2.Deide" - + "ntifyContentRequest\0320.google.privacy.dlp" - + ".v2.DeidentifyContentResponse\"r\202\323\344\223\002l\"*/" - + "v2/{parent=projects/*}/content:deidentif" - + "y:\001*Z;\"6/v2/{parent=projects/*/locations" - + "/*}/content:deidentify:\001*\022\352\001\n\021Reidentify" - + "Content\022/.google.privacy.dlp.v2.Reidenti" - + "fyContentRequest\0320.google.privacy.dlp.v2" - + ".ReidentifyContentResponse\"r\202\323\344\223\002l\"*/v2/" - + "{parent=projects/*}/content:reidentify:\001" - + "*Z;\"6/v2/{parent=projects/*/locations/*}" - + "/content:reidentify:\001*\022\260\001\n\rListInfoTypes" - + "\022+.google.privacy.dlp.v2.ListInfoTypesRe" - + "quest\032,.google.privacy.dlp.v2.ListInfoTy" - + "pesResponse\"D\202\323\344\223\0025\022\r/v2/infoTypesZ$\022\"/v" - + "2/{parent=locations/*}/infoTypes\332A\006paren" - + "t\022\364\002\n\025CreateInspectTemplate\0223.google.pri" - + "vacy.dlp.v2.CreateInspectTemplateRequest" - + "\032&.google.privacy.dlp.v2.InspectTemplate" - + "\"\375\001\202\323\344\223\002\334\001\"-/v2/{parent=organizations/*}" - + "/inspectTemplates:\001*Z>\"9/v2/{parent=orga" - + "nizations/*/locations/*}/inspectTemplate" - + "s:\001*Z-\"(/v2/{parent=projects/*}/inspectT" - + "emplates:\001*Z9\"4/v2/{parent=projects/*/lo" - + "cations/*}/inspectTemplates:\001*\332A\027parent," - + "inspect_template\022\376\002\n\025UpdateInspectTempla" - + "te\0223.google.privacy.dlp.v2.UpdateInspect" - + "TemplateRequest\032&.google.privacy.dlp.v2." - + "InspectTemplate\"\207\002\202\323\344\223\002\334\0012-/v2/{name=org" - + "anizations/*/inspectTemplates/*}:\001*Z>29/" - + "v2/{name=organizations/*/locations/*/ins" - + "pectTemplates/*}:\001*Z-2(/v2/{name=project" - + "s/*/inspectTemplates/*}:\001*Z924/v2/{name=" - + "projects/*/locations/*/inspectTemplates/" - + "*}:\001*\332A!name,inspect_template,update_mas" - + "k\022\317\002\n\022GetInspectTemplate\0220.google.privac" - + "y.dlp.v2.GetInspectTemplateRequest\032&.goo" - + "gle.privacy.dlp.v2.InspectTemplate\"\336\001\202\323\344" - + "\223\002\320\001\022-/v2/{name=organizations/*/inspectT" - + "emplates/*}Z;\0229/v2/{name=organizations/*" - + "/locations/*/inspectTemplates/*}Z*\022(/v2/" - + "{name=projects/*/inspectTemplates/*}Z6\0224" - + "/v2/{name=projects/*/locations/*/inspect" - + "Templates/*}\332A\004name\022\342\002\n\024ListInspectTempl" - + "ates\0222.google.privacy.dlp.v2.ListInspect" - + "TemplatesRequest\0323.google.privacy.dlp.v2" - + ".ListInspectTemplatesResponse\"\340\001\202\323\344\223\002\320\001\022" - + "-/v2/{parent=organizations/*}/inspectTem" - + "platesZ;\0229/v2/{parent=organizations/*/lo" - + "cations/*}/inspectTemplatesZ*\022(/v2/{pare" - + "nt=projects/*}/inspectTemplatesZ6\0224/v2/{" - + "parent=projects/*/locations/*}/inspectTe" - + "mplates\332A\006parent\022\305\002\n\025DeleteInspectTempla" - + "te\0223.google.privacy.dlp.v2.DeleteInspect" - + "TemplateRequest\032\026.google.protobuf.Empty\"" - + "\336\001\202\323\344\223\002\320\001*-/v2/{name=organizations/*/ins" - + "pectTemplates/*}Z;*9/v2/{name=organizati" - + "ons/*/locations/*/inspectTemplates/*}Z**" - + "(/v2/{name=projects/*/inspectTemplates/*" - + "}Z6*4/v2/{name=projects/*/locations/*/in" - + "spectTemplates/*}\332A\004name\022\214\003\n\030CreateDeide" - + "ntifyTemplate\0226.google.privacy.dlp.v2.Cr" - + "eateDeidentifyTemplateRequest\032).google.p" - + "rivacy.dlp.v2.DeidentifyTemplate\"\214\002\202\323\344\223\002" - + "\350\001\"0/v2/{parent=organizations/*}/deident" - + "ifyTemplates:\001*ZA\"\022\022*\"9/v2/{name=projects/*" - + "/locations/*/dlpJobs/*}:hybridInspect:\001*" - + "\332A\004name\022\221\001\n\014FinishDlpJob\022*.google.privac" - + "y.dlp.v2.FinishDlpJobRequest\032\026.google.pr" - + "otobuf.Empty\"=\202\323\344\223\0027\"2/v2/{name=projects" - + "/*/locations/*/dlpJobs/*}:finish:\001*\032F\312A\022" - + "dlp.googleapis.com\322A.https://www.googlea" - + "pis.com/auth/cloud-platformB\372\002\n\031com.goog" - + "le.privacy.dlp.v2B\010DlpProtoP\001Z8google.go" - + "lang.org/genproto/googleapis/privacy/dlp" - + "/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\C" - + "loud\\Dlp\\V2\352\002\026Google::Cloud::Dlp::V2\352Ar\n" - + "\035dlp.googleapis.com/DlpContent\022\035projects" - + "/{project}/dlpContent\0222projects/{project" - + "}/locations/{location}/dlpContent\352A\\\n\'dl" - + "p.googleapis.com/OrganizationLocation\0221o" - + "rganizations/{organization}/locations/{l" - + "ocation}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", "Categories", - }); - internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor, - new java.lang.String[] { - "LocationCategory", "IndustryCategory", "TypeCategory", "Category", - }); - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - 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(37); - 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(38); - 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(39); - 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(40); - 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(41); - 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(42); - 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(43); - 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(44); - 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(45); - 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(46); - 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(47); - 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(48); - 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(49); - 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(50); - 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(51); - 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(52); - 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(53); - 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(54); - 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(55); - 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(56); - 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(57); - 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(58); - 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(59); - 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(60); - 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(61); - 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(62); - 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(63); - 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(64); - 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(65); - 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(66); - 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(67); - 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(68); - 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(69); - 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(70); - 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(71); - 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(72); - 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(73); - 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(74); - 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(75); - 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(76); - 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(77); - 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(78); - 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(79); - 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(80); - 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(81); - 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(82); - 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(83); - 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(84); - 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(85); - 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(86); - 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(87); - 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(88); - 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(89); - 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(90); - 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(91); - 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(92); - 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(93); - 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(94); - 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(95); - 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_DataProfileAction_descriptor = - getDescriptor().getMessageTypes().get(96); - internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor, - new java.lang.String[] { - "ExportData", "PubSubNotification", "Action", - }); - internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor = - internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor, - new java.lang.String[] { - "ProfileTable", - }); - internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor = - internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor, - new java.lang.String[] { - "Topic", "Event", "PubsubCondition", "DetailOfMessage", - }); - internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor = - getDescriptor().getMessageTypes().get(97); - internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor, - new java.lang.String[] { - "Location", "ProjectId", "InspectTemplates", "DataProfileActions", - }); - internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor = - getDescriptor().getMessageTypes().get(98); - internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor, - new java.lang.String[] { - "OrganizationId", "FolderId", "Location", - }); - internal_static_google_privacy_dlp_v2_DlpJob_descriptor = - getDescriptor().getMessageTypes().get(99); - 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(100); - 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(101); - 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(102); - 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(103); - 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(104); - 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(105); - 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(106); - 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(107); - 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(108); - 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(109); - 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(110); - 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(111); - 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(112); - 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(113); - 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(114); - 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(115); - 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(116); - 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(117); - 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(118); - 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(119); - 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(120); - 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(121); - 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(122); - 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(123); - 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(124); - 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(125); - 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(126); - 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(127); - 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(128); - 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[] {}); - internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor = - getDescriptor().getMessageTypes().get(129); - internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor, - new java.lang.String[] { - "Score", - }); - internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor = - getDescriptor().getMessageTypes().get(130); - internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor, - new java.lang.String[] { - "Score", - }); - internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor = - getDescriptor().getMessageTypes().get(131); - internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor, - new java.lang.String[] { - "InspectConfig", "DataProfileJob", - }); - internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor = - getDescriptor().getMessageTypes().get(132); - internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor, - new java.lang.String[] { - "Name", - "ProjectDataProfile", - "DatasetProjectId", - "DatasetLocation", - "DatasetId", - "TableId", - "FullResource", - "ProfileStatus", - "State", - "SensitivityScore", - "DataRiskLevel", - "PredictedInfoTypes", - "OtherInfoTypes", - "ConfigSnapshot", - "LastModifiedTime", - "ExpirationTime", - "ScannedColumnCount", - "FailedColumnCount", - "TableSizeBytes", - "RowCount", - "EncryptionStatus", - "ResourceVisibility", - "ProfileLastGenerated", - "ResourceLabels", - "CreateTime", - }); - internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor = - internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor = - getDescriptor().getMessageTypes().get(133); - internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor, - new java.lang.String[] { - "Status", "Timestamp", - }); - internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor = - getDescriptor().getMessageTypes().get(134); - internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor, - new java.lang.String[] { - "InfoType", - }); - internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor = - getDescriptor().getMessageTypes().get(135); - internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor, - new java.lang.String[] { - "InfoType", - }); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor = - getDescriptor().getMessageTypes().get(136); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor, - new java.lang.String[] { - "Expressions", - }); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor = - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor - .getNestedTypes() - .get(0); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor, - new java.lang.String[] { - "MinimumRiskScore", "MinimumSensitivityScore", "Value", - }); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor = - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor - .getNestedTypes() - .get(1); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor, - new java.lang.String[] { - "LogicalOperator", "Conditions", - }); - internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor = - getDescriptor().getMessageTypes().get(137); - internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor, - new java.lang.String[] { - "Profile", "Event", - }); - 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 deleted file mode 100644 index 1240a04e..00000000 --- a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java +++ /dev/null @@ -1,621 +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\037google/protobuf/ti" - + "mestamp.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\013create_time\030\002 \001(\0132\032.google.proto" - + "buf.Timestamp\"\310\013\n\016CustomInfoType\0222\n\tinfo" - + "_type\030\001 \001(\0132\037.google.privacy.dlp.v2.Info" - + "Type\0225\n\nlikelihood\030\006 \001(\0162!.google.privac" - + "y.dlp.v2.Likelihood\022F\n\ndictionary\030\002 \001(\0132" - + "0.google.privacy.dlp.v2.CustomInfoType.D" - + "ictionaryH\000\022<\n\005regex\030\003 \001(\0132+.google.priv" - + "acy.dlp.v2.CustomInfoType.RegexH\000\022M\n\016sur" - + "rogate_type\030\004 \001(\01323.google.privacy.dlp.v" - + "2.CustomInfoType.SurrogateTypeH\000\0228\n\013stor" - + "ed_type\030\005 \001(\0132!.google.privacy.dlp.v2.St" - + "oredTypeH\000\022L\n\017detection_rules\030\007 \003(\01323.go" - + "ogle.privacy.dlp.v2.CustomInfoType.Detec" - + "tionRule\022K\n\016exclusion_type\030\010 \001(\01623.googl" - + "e.privacy.dlp.v2.CustomInfoType.Exclusio" - + "nType\032\310\001\n\nDictionary\022N\n\tword_list\030\001 \001(\0132" - + "9.google.privacy.dlp.v2.CustomInfoType.D" - + "ictionary.WordListH\000\022E\n\022cloud_storage_pa" - + "th\030\003 \001(\0132\'.google.privacy.dlp.v2.CloudSt" - + "oragePathH\000\032\031\n\010WordList\022\r\n\005words\030\001 \003(\tB\010" - + "\n\006source\032/\n\005Regex\022\017\n\007pattern\030\001 \001(\t\022\025\n\rgr" - + "oup_indexes\030\002 \003(\005\032\017\n\rSurrogateType\032\276\004\n\rD" - + "etectionRule\022W\n\014hotword_rule\030\001 \001(\0132?.goo" - + "gle.privacy.dlp.v2.CustomInfoType.Detect" - + "ionRule.HotwordRuleH\000\0328\n\tProximity\022\025\n\rwi" - + "ndow_before\030\001 \001(\005\022\024\n\014window_after\030\002 \001(\005\032" - + "\202\001\n\024LikelihoodAdjustment\022=\n\020fixed_likeli" - + "hood\030\001 \001(\0162!.google.privacy.dlp.v2.Likel" - + "ihoodH\000\022\035\n\023relative_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.Cust" - + "omInfoType.Regex\022P\n\tproximity\030\002 \001(\0132=.go" - + "ogle.privacy.dlp.v2.CustomInfoType.Detec" - + "tionRule.Proximity\022g\n\025likelihood_adjustm" - + "ent\030\003 \001(\0132H.google.privacy.dlp.v2.Custom" - + "InfoType.DetectionRule.LikelihoodAdjustm" - + "entB\006\n\004type\"K\n\rExclusionType\022\036\n\032EXCLUSIO" - + "N_TYPE_UNSPECIFIED\020\000\022\032\n\026EXCLUSION_TYPE_E" - + "XCLUDE\020\001B\006\n\004type\"\027\n\007FieldId\022\014\n\004name\030\001 \001(" - + "\t\"7\n\013PartitionId\022\022\n\nproject_id\030\002 \001(\t\022\024\n\014" - + "namespace_id\030\004 \001(\t\"\036\n\016KindExpression\022\014\n\004" - + "name\030\001 \001(\t\"\201\001\n\020DatastoreOptions\0228\n\014parti" - + "tion_id\030\001 \001(\0132\".google.privacy.dlp.v2.Pa" - + "rtitionId\0223\n\004kind\030\002 \001(\0132%.google.privacy" - + ".dlp.v2.KindExpression\"]\n\030CloudStorageRe" - + "gexFileSet\022\023\n\013bucket_name\030\001 \001(\t\022\025\n\rinclu" - + "de_regex\030\002 \003(\t\022\025\n\rexclude_regex\030\003 \003(\t\"\354\003" - + "\n\023CloudStorageOptions\022D\n\010file_set\030\001 \001(\0132" - + "2.google.privacy.dlp.v2.CloudStorageOpti" - + "ons.FileSet\022\034\n\024bytes_limit_per_file\030\004 \001(" - + "\003\022$\n\034bytes_limit_per_file_percent\030\010 \001(\005\022" - + "3\n\nfile_types\030\005 \003(\0162\037.google.privacy.dlp" - + ".v2.FileType\022N\n\rsample_method\030\006 \001(\01627.go" - + "ogle.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/.google.privacy.dlp.v2.CloudS" - + "torageRegexFileSet\"H\n\014SampleMethod\022\035\n\031SA" - + "MPLE_METHOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022\020\n\014RA" - + "NDOM_START\020\002\"\"\n\023CloudStorageFileSet\022\013\n\003u" - + "rl\030\001 \001(\t\" \n\020CloudStoragePath\022\014\n\004path\030\001 \001" - + "(\t\"\304\003\n\017BigQueryOptions\022=\n\017table_referenc" - + "e\030\001 \001(\0132$.google.privacy.dlp.v2.BigQuery" - + "Table\022:\n\022identifying_fields\030\002 \003(\0132\036.goog" - + "le.privacy.dlp.v2.FieldId\022\022\n\nrows_limit\030" - + "\003 \001(\003\022\032\n\022rows_limit_percent\030\006 \001(\005\022J\n\rsam" - + "ple_method\030\004 \001(\01623.google.privacy.dlp.v2" - + ".BigQueryOptions.SampleMethod\0227\n\017exclude" - + "d_fields\030\005 \003(\0132\036.google.privacy.dlp.v2.F" - + "ieldId\0227\n\017included_fields\030\007 \003(\0132\036.google" - + ".privacy.dlp.v2.FieldId\"H\n\014SampleMethod\022" - + "\035\n\031SAMPLE_METHOD_UNSPECIFIED\020\000\022\007\n\003TOP\020\001\022" - + "\020\n\014RANDOM_START\020\002\"\332\004\n\rStorageConfig\022D\n\021d" - + "atastore_options\030\002 \001(\0132\'.google.privacy." - + "dlp.v2.DatastoreOptionsH\000\022K\n\025cloud_stora" - + "ge_options\030\003 \001(\0132*.google.privacy.dlp.v2" - + ".CloudStorageOptionsH\000\022C\n\021big_query_opti" - + "ons\030\004 \001(\0132&.google.privacy.dlp.v2.BigQue" - + "ryOptionsH\000\022>\n\016hybrid_options\030\t \001(\0132$.go" - + "ogle.privacy.dlp.v2.HybridOptionsH\000\022L\n\017t" - + "imespan_config\030\006 \001(\01323.google.privacy.dl" - + "p.v2.StorageConfig.TimespanConfig\032\332\001\n\016Ti" - + "mespanConfig\022.\n\nstart_time\030\001 \001(\0132\032.googl" - + "e.protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032" - + ".google.protobuf.Timestamp\0227\n\017timestamp_" - + "field\030\003 \001(\0132\036.google.privacy.dlp.v2.Fiel" - + "dId\0221\n)enable_auto_population_of_timespa" - + "n_config\030\004 \001(\010B\006\n\004type\"\366\001\n\rHybridOptions" - + "\022\023\n\013description\030\001 \001(\t\022#\n\033required_findin" - + "g_label_keys\030\002 \003(\t\022@\n\006labels\030\003 \003(\01320.goo" - + "gle.privacy.dlp.v2.HybridOptions.LabelsE" - + "ntry\022:\n\rtable_options\030\004 \001(\0132#.google.pri" - + "vacy.dlp.v2.TableOptions\032-\n\013LabelsEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`\n\013BigQu" - + "eryKey\022=\n\017table_reference\030\001 \001(\0132$.google" - + ".privacy.dlp.v2.BigQueryTable\022\022\n\nrow_num" - + "ber\030\002 \001(\003\">\n\014DatastoreKey\022.\n\nentity_key\030" - + "\001 \001(\0132\032.google.privacy.dlp.v2.Key\"\273\001\n\003Ke" - + "y\0228\n\014partition_id\030\001 \001(\0132\".google.privacy" - + ".dlp.v2.PartitionId\0224\n\004path\030\002 \003(\0132&.goog" - + "le.privacy.dlp.v2.Key.PathElement\032D\n\013Pat" - + "hElement\022\014\n\004kind\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004" - + "name\030\003 \001(\tH\000B\t\n\007id_type\"\241\001\n\tRecordKey\022<\n" - + "\rdatastore_key\030\002 \001(\0132#.google.privacy.dl" - + "p.v2.DatastoreKeyH\000\022;\n\rbig_query_key\030\003 \001" - + "(\0132\".google.privacy.dlp.v2.BigQueryKeyH\000" - + "\022\021\n\tid_values\030\005 \003(\tB\006\n\004type\"I\n\rBigQueryT" - + "able\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\022" - + "3\n\005table\030\001 \001(\0132$.google.privacy.dlp.v2.B" - + "igQueryTable\022-\n\005field\030\002 \001(\0132\036.google.pri" - + "vacy.dlp.v2.FieldId\"9\n\010EntityId\022-\n\005field" - + "\030\001 \001(\0132\036.google.privacy.dlp.v2.FieldId\"J" - + "\n\014TableOptions\022:\n\022identifying_fields\030\001 \003" - + "(\0132\036.google.privacy.dlp.v2.FieldId*t\n\nLi" - + "kelihood\022\032\n\026LIKELIHOOD_UNSPECIFIED\020\000\022\021\n\r" - + "VERY_UNLIKELY\020\001\022\014\n\010UNLIKELY\020\002\022\014\n\010POSSIBL" - + "E\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_LIKELY\020\005*\232\001\n\010Fil" - + "eType\022\031\n\025FILE_TYPE_UNSPECIFIED\020\000\022\017\n\013BINA" - + "RY_FILE\020\001\022\r\n\tTEXT_FILE\020\002\022\t\n\005IMAGE\020\003\022\010\n\004W" - + "ORD\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\nPOWERPOINT\020\013\022\t\n\005EXCEL\020\014B\250\001\n\031com.go" - + "ogle.privacy.dlp.v2B\nDlpStorageP\001Z8googl" - + "e.golang.org/genproto/googleapis/privacy" - + "/dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Goog" - + "le\\Cloud\\Dlp\\V2\352\002\026Google::Cloud::Dlp::V2" - + "b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - 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.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 d561ddede364c75f96e8cd73c10a04ac5f450bd9 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 3 Sep 2022 02:53:55 +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 - .../HttpJsonDlpServiceCallableFactory.java | 0 .../dlp/v2/stub/HttpJsonDlpServiceStub.java | 0 .../dlp/v2/DlpServiceClientHttpJsonTest.java | 0 .../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 | 3641 ----- .../com/google/privacy/dlp/v2/DlpStorage.java | 560 - .../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 - .../dlp/v2/ImageTransformationsOrBuilder.java | 33 - .../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 | 3545 ++-- .../privacy/dlp/v2/ActionOrBuilder.java | 95 +- .../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 +- .../privacy/dlp/v2/DataProfileAction.java | 1676 +- .../dlp/v2/DataProfileActionOrBuilder.java | 46 +- .../dlp/v2/DataProfileConfigSnapshot.java | 433 +- .../DataProfileConfigSnapshotOrBuilder.java | 34 +- .../privacy/dlp/v2/DataProfileJobConfig.java | 642 +- .../dlp/v2/DataProfileJobConfigOrBuilder.java | 71 +- .../privacy/dlp/v2/DataProfileLocation.java | 371 +- .../dlp/v2/DataProfileLocationOrBuilder.java | 30 +- .../dlp/v2/DataProfilePubSubCondition.java | 1851 ++- .../DataProfilePubSubConditionOrBuilder.java | 38 +- .../dlp/v2/DataProfilePubSubMessage.java | 407 +- .../v2/DataProfilePubSubMessageOrBuilder.java | 32 +- .../google/privacy/dlp/v2/DataRiskLevel.java | 357 +- .../dlp/v2/DataRiskLevelOrBuilder.java | 24 +- .../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 | 787 +- .../dlp/v2/DeidentifyConfigOrBuilder.java | 62 +- .../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 | 4075 +++++ .../com/google/privacy/dlp/v2/DlpStorage.java | 641 + .../privacy/dlp/v2/DocumentLocation.java | 262 +- .../dlp/v2/DocumentLocationOrBuilder.java | 39 + .../privacy/dlp/v2/EncryptionStatus.java | 82 +- .../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 | 149 +- .../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 | 71 +- .../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 | 84 +- .../google/privacy/dlp/v2/ImageLocation.java | 366 +- .../dlp/v2/ImageLocationOrBuilder.java | 36 +- .../privacy/dlp/v2/ImageTransformations.java | 2938 ++-- .../dlp/v2/ImageTransformationsOrBuilder.java | 55 + .../com/google/privacy/dlp/v2/InfoType.java | 373 +- .../privacy/dlp/v2/InfoTypeCategory.java | 992 +- .../dlp/v2/InfoTypeCategoryOrBuilder.java | 45 +- .../privacy/dlp/v2/InfoTypeDescription.java | 888 +- .../dlp/v2/InfoTypeDescriptionOrBuilder.java | 99 +- .../privacy/dlp/v2/InfoTypeOrBuilder.java | 36 +- .../google/privacy/dlp/v2/InfoTypeStats.java | 355 +- .../dlp/v2/InfoTypeStatsOrBuilder.java | 29 +- .../privacy/dlp/v2/InfoTypeSummary.java | 355 +- .../dlp/v2/InfoTypeSummaryOrBuilder.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/OtherInfoTypeSummary.java | 355 +- .../dlp/v2/OtherInfoTypeSummaryOrBuilder.java | 29 +- .../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/ProfileStatus.java | 401 +- .../dlp/v2/ProfileStatusOrBuilder.java | 34 +- .../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/RecordTransformation.java | 497 +- .../dlp/v2/RecordTransformationOrBuilder.java | 43 +- .../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/ResourceVisibility.java | 80 +- .../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/SensitivityScore.java | 365 +- .../dlp/v2/SensitivityScoreOrBuilder.java | 24 +- .../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 +- .../privacy/dlp/v2/TableDataProfile.java | 2485 ++- .../dlp/v2/TableDataProfileOrBuilder.java | 242 +- .../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 +- .../privacy/dlp/v2/TransformationConfig.java | 466 +- .../dlp/v2/TransformationConfigOrBuilder.java | 45 +- .../dlp/v2/TransformationContainerType.java | 100 +- .../dlp/v2/TransformationDescription.java | 550 +- .../TransformationDescriptionOrBuilder.java | 50 +- .../privacy/dlp/v2/TransformationDetails.java | 772 +- .../v2/TransformationDetailsOrBuilder.java | 70 +- .../TransformationDetailsStorageConfig.java | 399 +- ...ormationDetailsStorageConfigOrBuilder.java | 26 +- .../dlp/v2/TransformationErrorHandling.java | 1209 +- .../TransformationErrorHandlingOrBuilder.java | 52 +- .../dlp/v2/TransformationLocation.java | 551 +- .../v2/TransformationLocationOrBuilder.java | 44 +- .../dlp/v2/TransformationOverview.java | 499 +- .../v2/TransformationOverviewOrBuilder.java | 51 +- .../dlp/v2/TransformationResultStatus.java | 394 +- .../TransformationResultStatusOrBuilder.java | 32 +- .../v2/TransformationResultStatusType.java | 95 +- .../privacy/dlp/v2/TransformationSummary.java | 1465 +- .../v2/TransformationSummaryOrBuilder.java | 83 +- .../privacy/dlp/v2/TransformationType.java | 162 +- .../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 +- .../privacy/dlp/v2/VersionDescription.java | 380 +- .../dlp/v2/VersionDescriptionOrBuilder.java | 36 +- .../proto/google/privacy/dlp/v2/dlp.proto | 0 .../proto/google/privacy/dlp/v2/storage.proto | 0 410 files changed, 102013 insertions(+), 58873 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/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceCallableFactory.java (100%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceStub.java (100%) rename {owl-bot-staging/v2/google-cloud-dlp => google-cloud-dlp}/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientHttpJsonTest.java (100%) 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/ImageTransformationsOrBuilder.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 (73%) 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 (80%) 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 (70%) 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 (81%) 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 (83%) 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 (69%) 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 (74%) 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/DataProfileAction.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/DataProfileActionOrBuilder.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/DataProfileConfigSnapshot.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/DataProfileConfigSnapshotOrBuilder.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/DataProfileJobConfig.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/DataProfileJobConfigOrBuilder.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/DataProfileLocation.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/DataProfileLocationOrBuilder.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/DataProfilePubSubCondition.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/DataProfilePubSubConditionOrBuilder.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/DataProfilePubSubMessage.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/DataProfilePubSubMessageOrBuilder.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/DataRiskLevel.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/DataRiskLevelOrBuilder.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/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 (70%) 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 (71%) 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 (81%) 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 (66%) 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/EncryptionStatus.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/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 (65%) 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 (75%) 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/ImageTransformations.java (60%) create mode 100644 proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformationsOrBuilder.java 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 (72%) rename {owl-bot-staging/v2/proto-google-cloud-dlp-v2 => proto-google-cloud-dlp-v2}/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.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/InfoTypeCategoryOrBuilder.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/InfoTypeDescription.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/InfoTypeDescriptionOrBuilder.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/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/InfoTypeSummary.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/InfoTypeSummaryOrBuilder.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 (78%) 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 (89%) 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 (76%) 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 (68%) 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 (75%) 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 (75%) 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 (77%) 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 (71%) 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/OtherInfoTypeSummary.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/OtherInfoTypeSummaryOrBuilder.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/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 (71%) 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/ProfileStatus.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/ProfileStatusOrBuilder.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/RecordTransformation.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/RecordTransformationOrBuilder.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/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 (68%) 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/ResourceVisibility.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/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 (74%) 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/SensitivityScore.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/SensitivityScoreOrBuilder.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/StatisticalTable.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/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 (78%) 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/TableDataProfile.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/TableDataProfileOrBuilder.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/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/TransformationConfig.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/TransformationConfigOrBuilder.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/TransformationContainerType.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/TransformationDescription.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/TransformationDescriptionOrBuilder.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/TransformationDetails.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/TransformationDetailsOrBuilder.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/TransformationDetailsStorageConfig.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/TransformationDetailsStorageConfigOrBuilder.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/TransformationErrorHandling.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/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/TransformationLocation.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/TransformationLocationOrBuilder.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/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/TransformationResultStatus.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/TransformationResultStatusOrBuilder.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/TransformationResultStatusType.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/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/TransformationType.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/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 (69%) 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 (70%) 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/java/com/google/privacy/dlp/v2/VersionDescription.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/VersionDescriptionOrBuilder.java (52%) 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 0dcb903b..a257231c 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 @@ -132,13 +132,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. *
* @@ -5465,8 +5465,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 @@ -5487,7 +5490,9 @@ private ListInspectTemplatesPagedResponse(ListInspectTemplatesPage page) { public static class ListInspectTemplatesPage extends AbstractPage< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, InspectTemplate, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, + InspectTemplate, ListInspectTemplatesPage> { private ListInspectTemplatesPage( @@ -5520,8 +5525,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) { @@ -5541,8 +5549,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< @@ -5564,7 +5575,9 @@ private ListDeidentifyTemplatesPagedResponse(ListDeidentifyTemplatesPage page) { public static class ListDeidentifyTemplatesPage extends AbstractPage< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, + DeidentifyTemplate, ListDeidentifyTemplatesPage> { private ListDeidentifyTemplatesPage( @@ -5600,8 +5613,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) { @@ -5621,7 +5637,10 @@ protected ListDeidentifyTemplatesFixedSizeCollection createCollection( public static class ListJobTriggersPagedResponse extends AbstractPagedListResponse< - ListJobTriggersRequest, ListJobTriggersResponse, JobTrigger, ListJobTriggersPage, + ListJobTriggersRequest, + ListJobTriggersResponse, + JobTrigger, + ListJobTriggersPage, ListJobTriggersFixedSizeCollection> { public static ApiFuture createAsync( @@ -5671,7 +5690,10 @@ public ApiFuture createPageAsync( public static class ListJobTriggersFixedSizeCollection extends AbstractFixedSizeCollection< - ListJobTriggersRequest, ListJobTriggersResponse, JobTrigger, ListJobTriggersPage, + ListJobTriggersRequest, + ListJobTriggersResponse, + JobTrigger, + ListJobTriggersPage, ListJobTriggersFixedSizeCollection> { private ListJobTriggersFixedSizeCollection( @@ -5692,7 +5714,10 @@ protected ListJobTriggersFixedSizeCollection createCollection( public static class ListDlpJobsPagedResponse extends AbstractPagedListResponse< - ListDlpJobsRequest, ListDlpJobsResponse, DlpJob, ListDlpJobsPage, + ListDlpJobsRequest, + ListDlpJobsResponse, + DlpJob, + ListDlpJobsPage, ListDlpJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -5739,7 +5764,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) { @@ -5759,8 +5787,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 @@ -5781,7 +5812,9 @@ private ListStoredInfoTypesPagedResponse(ListStoredInfoTypesPage page) { public static class ListStoredInfoTypesPage extends AbstractPage< - ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, StoredInfoType, + ListStoredInfoTypesRequest, + ListStoredInfoTypesResponse, + StoredInfoType, ListStoredInfoTypesPage> { private ListStoredInfoTypesPage( @@ -5814,8 +5847,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 179b7a8a..e5574d63 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 @@ -32,7 +32,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; @@ -98,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 @@ -174,7 +173,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(); @@ -205,7 +205,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(); @@ -485,7 +486,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(); @@ -517,7 +519,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(); @@ -617,7 +620,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 2536c4c1..da9bfec3 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 @@ -114,9 +114,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 @@ -162,7 +162,8 @@ public class DlpServiceStubSettings extends StubSettings private final UnaryCallSettings getInspectTemplateSettings; private final PagedCallSettings< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings; private final UnaryCallSettings @@ -174,7 +175,8 @@ public class DlpServiceStubSettings extends StubSettings private final UnaryCallSettings getDeidentifyTemplateSettings; private final PagedCallSettings< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings; private final UnaryCallSettings @@ -254,7 +256,8 @@ public Iterable extractResources( ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, DeidentifyTemplate> LIST_DEIDENTIFY_TEMPLATES_PAGE_STR_DESC = new PagedListDescriptor< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, DeidentifyTemplate>() { @Override public String emptyToken() { @@ -410,11 +413,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( @@ -432,11 +437,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( @@ -446,7 +453,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, DeidentifyTemplate> pageContext = PageContext.create( @@ -493,7 +501,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( @@ -556,7 +565,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; @@ -587,7 +597,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; @@ -865,7 +876,8 @@ public static class Builder extends StubSettings.Builder getInspectTemplateSettings; private final PagedCallSettings.Builder< - ListInspectTemplatesRequest, ListInspectTemplatesResponse, + ListInspectTemplatesRequest, + ListInspectTemplatesResponse, ListInspectTemplatesPagedResponse> listInspectTemplatesSettings; private final UnaryCallSettings.Builder @@ -877,7 +889,8 @@ public static class Builder extends StubSettings.Builder getDeidentifyTemplateSettings; private final PagedCallSettings.Builder< - ListDeidentifyTemplatesRequest, ListDeidentifyTemplatesResponse, + ListDeidentifyTemplatesRequest, + ListDeidentifyTemplatesResponse, ListDeidentifyTemplatesPagedResponse> listDeidentifyTemplatesSettings; private final UnaryCallSettings.Builder @@ -910,7 +923,8 @@ public static class Builder extends StubSettings.Builder getStoredInfoTypeSettings; private final PagedCallSettings.Builder< - ListStoredInfoTypesRequest, ListStoredInfoTypesResponse, + ListStoredInfoTypesRequest, + ListStoredInfoTypesResponse, ListStoredInfoTypesPagedResponse> listStoredInfoTypesSettings; private final UnaryCallSettings.Builder @@ -1386,7 +1400,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; @@ -1418,7 +1433,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; @@ -1518,7 +1534,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 d50ba9f2..573b2204 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/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceCallableFactory.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceCallableFactory.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceCallableFactory.java rename to google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceCallableFactory.java diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceStub.java b/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceStub.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceStub.java rename to google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/HttpJsonDlpServiceStub.java diff --git a/owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientHttpJsonTest.java b/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v2/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientHttpJsonTest.java rename to google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/DlpServiceClientHttpJsonTest.java 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..d5f3bc09 --- /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 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 reusing 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 reusing 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 canceled 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 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 reusing 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 reusing 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 canceled 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 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 reusing 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 reusing 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 canceled 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 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 reusing 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 reusing 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 canceled 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 b513b785..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 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 reusing 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 reusing 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 canceled 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 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 reusing 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 reusing 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 canceled 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 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 reusing 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 reusing 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 canceled 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 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 reusing 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 reusing 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 canceled 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 9b76576e..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java +++ /dev/null @@ -1,3641 +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_InfoTypeCategory_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_VersionDescription_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_VersionDescription_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_ImageTransformations_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_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_TransformationDescription_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_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_Deidentify_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_Action_Deidentify_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_TransformationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TransformationConfig_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_DataProfileAction_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileLocation_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; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_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\"\212\002\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\022;\n\010versions\030\t \003(\0132).google.privacy.d" + - "lp.v2.VersionDescription\022;\n\ncategories\030\n" + - " \003(\0132\'.google.privacy.dlp.v2.InfoTypeCat" + - "egory\"\330\010\n\020InfoTypeCategory\022U\n\021location_c" + - "ategory\030\001 \001(\01628.google.privacy.dlp.v2.In" + - "foTypeCategory.LocationCategoryH\000\022U\n\021ind" + - "ustry_category\030\002 \001(\01628.google.privacy.dl" + - "p.v2.InfoTypeCategory.IndustryCategoryH\000" + - "\022M\n\rtype_category\030\003 \001(\01624.google.privacy" + - ".dlp.v2.InfoTypeCategory.TypeCategoryH\000\"" + - "\303\004\n\020LocationCategory\022\030\n\024LOCATION_UNSPECI" + - "FIED\020\000\022\n\n\006GLOBAL\020\001\022\r\n\tARGENTINA\020\002\022\r\n\tAUS" + - "TRALIA\020\003\022\013\n\007BELGIUM\020\004\022\n\n\006BRAZIL\020\005\022\n\n\006CAN" + - "ADA\020\006\022\t\n\005CHILE\020\007\022\t\n\005CHINA\020\010\022\014\n\010COLOMBIA\020" + - "\t\022\013\n\007DENMARK\020\n\022\n\n\006FRANCE\020\013\022\013\n\007FINLAND\020\014\022" + - "\013\n\007GERMANY\020\r\022\r\n\tHONG_KONG\020\016\022\t\n\005INDIA\020\017\022\r" + - "\n\tINDONESIA\020\020\022\013\n\007IRELAND\020\021\022\n\n\006ISRAEL\020\022\022\t" + - "\n\005ITALY\020\023\022\t\n\005JAPAN\020\024\022\t\n\005KOREA\020\025\022\n\n\006MEXIC" + - "O\020\026\022\023\n\017THE_NETHERLANDS\020\027\022\n\n\006NORWAY\020\030\022\014\n\010" + - "PARAGUAY\020\031\022\010\n\004PERU\020\032\022\n\n\006POLAND\020\033\022\014\n\010PORT" + - "UGAL\020\034\022\r\n\tSINGAPORE\020\035\022\020\n\014SOUTH_AFRICA\020\036\022" + - "\t\n\005SPAIN\020\037\022\n\n\006SWEDEN\020 \022\n\n\006TAIWAN\020!\022\014\n\010TH" + - "AILAND\020\"\022\n\n\006TURKEY\020#\022\022\n\016UNITED_KINGDOM\020$" + - "\022\021\n\rUNITED_STATES\020%\022\013\n\007URUGUAY\020&\022\r\n\tVENE" + - "ZUELA\020\'\022\014\n\010INTERNAL\020(\"]\n\020IndustryCategor" + - "y\022\030\n\024INDUSTRY_UNSPECIFIED\020\000\022\013\n\007FINANCE\020\001" + - "\022\n\n\006HEALTH\020\002\022\026\n\022TELECOMMUNICATIONS\020\003\"\225\001\n" + - "\014TypeCategory\022\024\n\020TYPE_UNSPECIFIED\020\000\022\007\n\003P" + - "II\020\001\022\010\n\004SPII\020\002\022\017\n\013DEMOGRAPHIC\020\003\022\016\n\nCREDE" + - "NTIAL\020\004\022\021\n\rGOVERNMENT_ID\020\005\022\014\n\010DOCUMENT\020\006" + - "\022\032\n\026CONTEXTUAL_INFORMATION\020\007B\n\n\010category" + - "\":\n\022VersionDescription\022\017\n\007version\030\001 \001(\t\022" + - "\023\n\013description\030\002 \001(\t\"b\n\024ListInfoTypesReq" + - "uest\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\025ListInfoTypesResponse\022>\n\ninfo_types\030" + - "\001 \003(\0132*.google.privacy.dlp.v2.InfoTypeDe" + - "scription\"\301\001\n\025RiskAnalysisJobConfig\022<\n\016p" + - "rivacy_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.A" + - "ction\"\274\001\n\007QuasiId\0222\n\005field\030\001 \001(\0132\036.googl" + - "e.privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinfo_ty" + - "pe\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoTyp" + - "eH\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\005table\030\003 \001(\0132$.googl" + - "e.privacy.dlp.v2.BigQueryTableB\003\340A\002\022T\n\tq" + - "uasi_ids\030\001 \003(\0132<.google.privacy.dlp.v2.S" + - "tatisticalTable.QuasiIdentifierFieldB\003\340A" + - "\002\022?\n\022relative_frequency\030\002 \001(\0132\036.google.p" + - "rivacy.dlp.v2.FieldIdB\003\340A\002\032Y\n\024QuasiIdent" + - "ifierField\022-\n\005field\030\001 \001(\0132\036.google.priva" + - "cy.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\"\223\017" + - "\n\rPrivacyMetric\022[\n\026numerical_stats_confi" + - "g\030\001 \001(\01329.google.privacy.dlp.v2.PrivacyM" + - "etric.NumericalStatsConfigH\000\022_\n\030categori" + - "cal_stats_config\030\002 \001(\0132;.google.privacy." + - "dlp.v2.PrivacyMetric.CategoricalStatsCon" + - "figH\000\022S\n\022k_anonymity_config\030\003 \001(\01325.goog" + - "le.privacy.dlp.v2.PrivacyMetric.KAnonymi" + - "tyConfigH\000\022S\n\022l_diversity_config\030\004 \001(\01325" + - ".google.privacy.dlp.v2.PrivacyMetric.LDi" + - "versityConfigH\000\022\\\n\027k_map_estimation_conf" + - "ig\030\005 \001(\01329.google.privacy.dlp.v2.Privacy" + - "Metric.KMapEstimationConfigH\000\022n\n delta_p" + - "resence_estimation_config\030\006 \001(\0132B.google" + - ".privacy.dlp.v2.PrivacyMetric.DeltaPrese" + - "nceEstimationConfigH\000\032E\n\024NumericalStatsC" + - "onfig\022-\n\005field\030\001 \001(\0132\036.google.privacy.dl" + - "p.v2.FieldId\032G\n\026CategoricalStatsConfig\022-" + - "\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fi" + - "eldId\032y\n\020KAnonymityConfig\0221\n\tquasi_ids\030\001" + - " \003(\0132\036.google.privacy.dlp.v2.FieldId\0222\n\t" + - "entity_id\030\002 \001(\0132\037.google.privacy.dlp.v2." + - "EntityId\032\202\001\n\020LDiversityConfig\0221\n\tquasi_i" + - "ds\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId" + - "\022;\n\023sensitive_attribute\030\002 \001(\0132\036.google.p" + - "rivacy.dlp.v2.FieldId\032\201\006\n\024KMapEstimation" + - "Config\022]\n\tquasi_ids\030\001 \003(\0132E.google.priva" + - "cy.dlp.v2.PrivacyMetric.KMapEstimationCo" + - "nfig.TaggedFieldB\003\340A\002\022\023\n\013region_code\030\002 \001" + - "(\t\022b\n\020auxiliary_tables\030\003 \003(\0132H.google.pr" + - "ivacy.dlp.v2.PrivacyMetric.KMapEstimatio" + - "nConfig.AuxiliaryTable\032\300\001\n\013TaggedField\0222" + - "\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fi" + - "eldIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google.p" + - "rivacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003" + - " \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protob" + - "uf.EmptyH\000B\005\n\003tag\032\315\002\n\016AuxiliaryTable\0228\n\005" + - "table\030\003 \001(\0132$.google.privacy.dlp.v2.BigQ" + - "ueryTableB\003\340A\002\022m\n\tquasi_ids\030\001 \003(\0132U.goog" + - "le.privacy.dlp.v2.PrivacyMetric.KMapEsti" + - "mationConfig.AuxiliaryTable.QuasiIdField" + - "B\003\340A\002\022?\n\022relative_frequency\030\002 \001(\0132\036.goog" + - "le.privacy.dlp.v2.FieldIdB\003\340A\002\032Q\n\014QuasiI" + - "dField\022-\n\005field\030\001 \001(\0132\036.google.privacy.d" + - "lp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\257\001\n\035De" + - "ltaPresenceEstimationConfig\0226\n\tquasi_ids" + - "\030\001 \003(\0132\036.google.privacy.dlp.v2.QuasiIdB\003" + - "\340A\002\022\023\n\013region_code\030\002 \001(\t\022A\n\020auxiliary_ta" + - "bles\030\003 \003(\0132\'.google.privacy.dlp.v2.Stati" + - "sticalTableB\006\n\004type\"\301\037\n\034AnalyzeDataSourc" + - "eRiskDetails\022F\n\030requested_privacy_metric" + - "\030\001 \001(\0132$.google.privacy.dlp.v2.PrivacyMe" + - "tric\022D\n\026requested_source_table\030\002 \001(\0132$.g" + - "oogle.privacy.dlp.v2.BigQueryTable\022j\n\026nu" + - "merical_stats_result\030\003 \001(\0132H.google.priv" + - "acy.dlp.v2.AnalyzeDataSourceRiskDetails." + - "NumericalStatsResultH\000\022n\n\030categorical_st" + - "ats_result\030\004 \001(\0132J.google.privacy.dlp.v2" + - ".AnalyzeDataSourceRiskDetails.Categorica" + - "lStatsResultH\000\022b\n\022k_anonymity_result\030\005 \001" + - "(\0132D.google.privacy.dlp.v2.AnalyzeDataSo" + - "urceRiskDetails.KAnonymityResultH\000\022b\n\022l_" + - "diversity_result\030\006 \001(\0132D.google.privacy." + - "dlp.v2.AnalyzeDataSourceRiskDetails.LDiv" + - "ersityResultH\000\022k\n\027k_map_estimation_resul" + - "t\030\007 \001(\0132H.google.privacy.dlp.v2.AnalyzeD" + - "ataSourceRiskDetails.KMapEstimationResul" + - "tH\000\022}\n delta_presence_estimation_result\030" + - "\t \001(\0132Q.google.privacy.dlp.v2.AnalyzeDat" + - "aSourceRiskDetails.DeltaPresenceEstimati" + - "onResultH\000\022k\n\021requested_options\030\n \001(\0132P." + - "google.privacy.dlp.v2.AnalyzeDataSourceR" + - "iskDetails.RequestedRiskAnalysisOptions\032" + - "\257\001\n\024NumericalStatsResult\022/\n\tmin_value\030\001 " + - "\001(\0132\034.google.privacy.dlp.v2.Value\022/\n\tmax" + - "_value\030\002 \001(\0132\034.google.privacy.dlp.v2.Val" + - "ue\0225\n\017quantile_values\030\004 \003(\0132\034.google.pri" + - "vacy.dlp.v2.Value\032\215\003\n\026CategoricalStatsRe" + - "sult\022\225\001\n!value_frequency_histogram_bucke" + - "ts\030\005 \003(\0132j.google.privacy.dlp.v2.Analyze" + - "DataSourceRiskDetails.CategoricalStatsRe" + - "sult.CategoricalStatsHistogramBucket\032\332\001\n" + - "\037CategoricalStatsHistogramBucket\022#\n\033valu" + - "e_frequency_lower_bound\030\001 \001(\003\022#\n\033value_f" + - "requency_upper_bound\030\002 \001(\003\022\023\n\013bucket_siz" + - "e\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.google." + - "privacy.dlp.v2.ValueFrequency\022\032\n\022bucket_" + - "value_count\030\005 \001(\003\032\265\004\n\020KAnonymityResult\022\213" + - "\001\n#equivalence_class_histogram_buckets\030\005" + - " \003(\0132^.google.privacy.dlp.v2.AnalyzeData" + - "SourceRiskDetails.KAnonymityResult.KAnon" + - "ymityHistogramBucket\032t\n\032KAnonymityEquiva" + - "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\032\234\002\n\031KAnonymityHistogr" + - "amBucket\022*\n\"equivalence_class_size_lower" + - "_bound\030\001 \001(\003\022*\n\"equivalence_class_size_u" + - "pper_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n" + - "\rbucket_values\030\004 \003(\0132_.google.privacy.dl" + - "p.v2.AnalyzeDataSourceRiskDetails.KAnony" + - "mityResult.KAnonymityEquivalenceClass\022\032\n" + - "\022bucket_value_count\030\005 \001(\003\032\260\005\n\020LDiversity" + - "Result\022\223\001\n+sensitive_value_frequency_his" + - "togram_buckets\030\005 \003(\0132^.google.privacy.dl" + - "p.v2.AnalyzeDataSourceRiskDetails.LDiver" + - "sityResult.LDiversityHistogramBucket\032\340\001\n" + - "\032LDiversityEquivalenceClass\0226\n\020quasi_ids" + - "_values\030\001 \003(\0132\034.google.privacy.dlp.v2.Va" + - "lue\022\036\n\026equivalence_class_size\030\002 \001(\003\022%\n\035n" + - "um_distinct_sensitive_values\030\003 \001(\003\022C\n\024to" + - "p_sensitive_values\030\004 \003(\0132%.google.privac" + - "y.dlp.v2.ValueFrequency\032\242\002\n\031LDiversityHi" + - "stogramBucket\022-\n%sensitive_value_frequen" + - "cy_lower_bound\030\001 \001(\003\022-\n%sensitive_value_" + - "frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket_si" + - "ze\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.google" + - ".privacy.dlp.v2.AnalyzeDataSourceRiskDet" + - "ails.LDiversityResult.LDiversityEquivale" + - "nceClass\022\032\n\022bucket_value_count\030\005 \001(\003\032\225\004\n" + - "\024KMapEstimationResult\022\212\001\n\032k_map_estimati" + - "on_histogram\030\001 \003(\0132f.google.privacy.dlp." + - "v2.AnalyzeDataSourceRiskDetails.KMapEsti" + - "mationResult.KMapEstimationHistogramBuck" + - "et\032r\n\033KMapEstimationQuasiIdValues\0226\n\020qua" + - "si_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\035KMapEstimationHistogramBucket\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.dlp.v2.AnalyzeDataSo" + - "urceRiskDetails.KMapEstimationResult.KMa" + - "pEstimationQuasiIdValues\022\032\n\022bucket_value" + - "_count\030\007 \001(\003\032\344\004\n\035DeltaPresenceEstimation" + - "Result\022\245\001\n#delta_presence_estimation_his" + - "togram\030\001 \003(\0132x.google.privacy.dlp.v2.Ana" + - "lyzeDataSourceRiskDetails.DeltaPresenceE" + - "stimationResult.DeltaPresenceEstimationH" + - "istogramBucket\032}\n$DeltaPresenceEstimatio" + - "nQuasiIdValues\0226\n\020quasi_ids_values\030\001 \003(\013" + - "2\034.google.privacy.dlp.v2.Value\022\035\n\025estima" + - "ted_probability\030\002 \001(\001\032\233\002\n&DeltaPresenceE" + - "stimationHistogramBucket\022\027\n\017min_probabil" + - "ity\030\001 \001(\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n\013bu" + - "cket_size\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003(\0132" + - "v.google.privacy.dlp.v2.AnalyzeDataSourc" + - "eRiskDetails.DeltaPresenceEstimationResu" + - "lt.DeltaPresenceEstimationQuasiIdValues\022", - "\032\n\022bucket_value_count\030\007 \001(\003\032`\n\034Requested" + - "RiskAnalysisOptions\022@\n\njob_config\030\001 \001(\0132" + - ",.google.privacy.dlp.v2.RiskAnalysisJobC" + - "onfigB\010\n\006result\"L\n\016ValueFrequency\022+\n\005val" + - "ue\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\014strin" + - "g_value\030\003 \001(\tH\000\022\027\n\rboolean_value\030\004 \001(\010H\000" + - "\0225\n\017timestamp_value\030\005 \001(\0132\032.google.proto" + - "buf.TimestampH\000\022,\n\ntime_value\030\006 \001(\0132\026.go" + - "ogle.type.TimeOfDayH\000\022\'\n\ndate_value\030\007 \001(" + - "\0132\021.google.type.DateH\000\0223\n\021day_of_week_va" + - "lue\030\010 \001(\0162\026.google.type.DayOfWeekH\000B\006\n\004t" + - "ype\"Q\n\tQuoteInfo\0224\n\tdate_time\030\002 \001(\0132\037.go" + - "ogle.privacy.dlp.v2.DateTimeH\000B\016\n\014parsed" + - "_quote\"\337\001\n\010DateTime\022\037\n\004date\030\001 \001(\0132\021.goog" + - "le.type.Date\022+\n\013day_of_week\030\002 \001(\0162\026.goog" + - "le.type.DayOfWeek\022$\n\004time\030\003 \001(\0132\026.google" + - ".type.TimeOfDay\022;\n\ttime_zone\030\004 \001(\0132(.goo" + - "gle.privacy.dlp.v2.DateTime.TimeZone\032\"\n\010" + - "TimeZone\022\026\n\016offset_minutes\030\001 \001(\005\"\362\002\n\020Dei" + - "dentifyConfig\022S\n\031info_type_transformatio" + - "ns\030\001 \001(\0132..google.privacy.dlp.v2.InfoTyp" + - "eTransformationsH\000\022N\n\026record_transformat" + - "ions\030\002 \001(\0132,.google.privacy.dlp.v2.Recor" + - "dTransformationsH\000\022L\n\025image_transformati" + - "ons\030\004 \001(\0132+.google.privacy.dlp.v2.ImageT" + - "ransformationsH\000\022Y\n\035transformation_error" + - "_handling\030\003 \001(\01322.google.privacy.dlp.v2." + - "TransformationErrorHandlingB\020\n\016transform" + - "ation\"\345\004\n\024ImageTransformations\022S\n\ntransf" + - "orms\030\002 \003(\0132?.google.privacy.dlp.v2.Image" + - "Transformations.ImageTransformation\032\367\003\n\023" + - "ImageTransformation\022p\n\023selected_info_typ" + - "es\030\004 \001(\0132Q.google.privacy.dlp.v2.ImageTr" + - "ansformations.ImageTransformation.Select" + - "edInfoTypesH\000\022f\n\016all_info_types\030\005 \001(\0132L." + - "google.privacy.dlp.v2.ImageTransformatio" + - "ns.ImageTransformation.AllInfoTypesH\000\022[\n" + - "\010all_text\030\006 \001(\0132G.google.privacy.dlp.v2." + - "ImageTransformations.ImageTransformation" + - ".AllTextH\000\0225\n\017redaction_color\030\003 \001(\0132\034.go" + - "ogle.privacy.dlp.v2.Color\032M\n\021SelectedInf" + - "oTypes\0228\n\ninfo_types\030\005 \003(\0132\037.google.priv" + - "acy.dlp.v2.InfoTypeB\003\340A\002\032\016\n\014AllInfoTypes" + - "\032\t\n\007AllTextB\010\n\006target\"\205\002\n\033Transformation" + - "ErrorHandling\022T\n\013throw_error\030\001 \001(\0132=.goo" + - "gle.privacy.dlp.v2.TransformationErrorHa" + - "ndling.ThrowErrorH\000\022d\n\023leave_untransform" + - "ed\030\002 \001(\0132E.google.privacy.dlp.v2.Transfo" + - "rmationErrorHandling.LeaveUntransformedH" + - "\000\032\014\n\nThrowError\032\024\n\022LeaveUntransformedB\006\n" + - "\004mode\"\312\007\n\027PrimitiveTransformation\022C\n\016rep" + - "lace_config\030\001 \001(\0132).google.privacy.dlp.v" + - "2.ReplaceValueConfigH\000\022<\n\rredact_config\030" + - "\002 \001(\0132#.google.privacy.dlp.v2.RedactConf" + - "igH\000\022K\n\025character_mask_config\030\003 \001(\0132*.go" + - "ogle.privacy.dlp.v2.CharacterMaskConfigH" + - "\000\022Y\n\035crypto_replace_ffx_fpe_config\030\004 \001(\013" + - "20.google.privacy.dlp.v2.CryptoReplaceFf" + - "xFpeConfigH\000\022V\n\033fixed_size_bucketing_con" + - "fig\030\005 \001(\0132/.google.privacy.dlp.v2.FixedS" + - "izeBucketingConfigH\000\022B\n\020bucketing_config" + - "\030\006 \001(\0132&.google.privacy.dlp.v2.Bucketing" + - "ConfigH\000\022Y\n\035replace_with_info_type_confi" + - "g\030\007 \001(\01320.google.privacy.dlp.v2.ReplaceW" + - "ithInfoTypeConfigH\000\022A\n\020time_part_config\030" + - "\010 \001(\0132%.google.privacy.dlp.v2.TimePartCo" + - "nfigH\000\022E\n\022crypto_hash_config\030\t \001(\0132\'.goo" + - "gle.privacy.dlp.v2.CryptoHashConfigH\000\022C\n" + - "\021date_shift_config\030\013 \001(\0132&.google.privac" + - "y.dlp.v2.DateShiftConfigH\000\022W\n\033crypto_det" + - "erministic_config\030\014 \001(\01320.google.privacy" + - ".dlp.v2.CryptoDeterministicConfigH\000\022S\n\031r" + - "eplace_dictionary_config\030\r \001(\0132..google." + - "privacy.dlp.v2.ReplaceDictionaryConfigH\000" + - "B\020\n\016transformation\"\334\001\n\016TimePartConfig\022G\n" + - "\017part_to_extract\030\001 \001(\0162..google.privacy." + - "dlp.v2.TimePartConfig.TimePart\"\200\001\n\010TimeP" + - "art\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\013HOUR_OF_DAY\020" + - "\006\"H\n\020CryptoHashConfig\0224\n\ncrypto_key\030\001 \001(" + - "\0132 .google.privacy.dlp.v2.CryptoKey\"\300\001\n\031" + - "CryptoDeterministicConfig\0224\n\ncrypto_key\030" + - "\001 \001(\0132 .google.privacy.dlp.v2.CryptoKey\022" + - "<\n\023surrogate_info_type\030\002 \001(\0132\037.google.pr" + - "ivacy.dlp.v2.InfoType\022/\n\007context\030\003 \001(\0132\036" + - ".google.privacy.dlp.v2.FieldId\"E\n\022Replac" + - "eValueConfig\022/\n\tnew_value\030\001 \001(\0132\034.google" + - ".privacy.dlp.v2.Value\"q\n\027ReplaceDictiona" + - "ryConfig\022N\n\tword_list\030\001 \001(\01329.google.pri" + - "vacy.dlp.v2.CustomInfoType.Dictionary.Wo" + - "rdListH\000B\006\n\004type\"\033\n\031ReplaceWithInfoTypeC" + - "onfig\"\016\n\014RedactConfig\"\266\002\n\rCharsToIgnore\022" + - "\034\n\022characters_to_skip\030\001 \001(\tH\000\022_\n\033common_" + - "characters_to_ignore\030\002 \001(\01628.google.priv" + - "acy.dlp.v2.CharsToIgnore.CommonCharsToIg" + - "noreH\000\"\227\001\n\023CommonCharsToIgnore\022&\n\"COMMON" + - "_CHARS_TO_IGNORE_UNSPECIFIED\020\000\022\013\n\007NUMERI" + - "C\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020ALPHA_LOWER" + - "_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHITESPACE\020\005" + - "B\014\n\ncharacters\"\243\001\n\023CharacterMaskConfig\022\031" + - "\n\021masking_character\030\001 \001(\t\022\026\n\016number_to_m" + - "ask\030\002 \001(\005\022\025\n\rreverse_order\030\003 \001(\010\022B\n\024char" + - "acters_to_ignore\030\004 \003(\0132$.google.privacy." + - "dlp.v2.CharsToIgnore\"\244\001\n\030FixedSizeBucket" + - "ingConfig\0226\n\013lower_bound\030\001 \001(\0132\034.google." + - "privacy.dlp.v2.ValueB\003\340A\002\0226\n\013upper_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\017Bucketin" + - "gConfig\022>\n\007buckets\030\001 \003(\0132-.google.privac" + - "y.dlp.v2.BucketingConfig.Bucket\032\234\001\n\006Buck" + - "et\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.go" + - "ogle.privacy.dlp.v2.ValueB\003\340A\002\"\371\003\n\031Crypt" + - "oReplaceFfxFpeConfig\0229\n\ncrypto_key\030\001 \001(\013" + - "2 .google.privacy.dlp.v2.CryptoKeyB\003\340A\002\022" + - "/\n\007context\030\002 \001(\0132\036.google.privacy.dlp.v2" + - ".FieldId\022c\n\017common_alphabet\030\004 \001(\0162H.goog" + - "le.privacy.dlp.v2.CryptoReplaceFfxFpeCon" + - "fig.FfxCommonNativeAlphabetH\000\022\031\n\017custom_" + - "alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023sur" + - "rogate_info_type\030\010 \001(\0132\037.google.privacy." + - "dlp.v2.InfoType\"\224\001\n\027FfxCommonNativeAlpha" + - "bet\022*\n&FFX_COMMON_NATIVE_ALPHABET_UNSPEC" + - "IFIED\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_NUM" + - "ERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKey\022>\n\ttran" + - "sient\030\001 \001(\0132).google.privacy.dlp.v2.Tran" + - "sientCryptoKeyH\000\022>\n\tunwrapped\030\002 \001(\0132).go" + - "ogle.privacy.dlp.v2.UnwrappedCryptoKeyH\000" + - "\022A\n\013kms_wrapped\030\003 \001(\0132*.google.privacy.d" + - "lp.v2.KmsWrappedCryptoKeyH\000B\010\n\006source\"\'\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\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_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.privacy.dlp.v2" + - ".FieldId\0226\n\ncrypto_key\030\004 \001(\0132 .google.pr" + - "ivacy.dlp.v2.CryptoKeyH\000B\010\n\006method\"\245\002\n\027I" + - "nfoTypeTransformations\022c\n\017transformation" + - "s\030\001 \003(\0132E.google.privacy.dlp.v2.InfoType" + - "Transformations.InfoTypeTransformationB\003" + - "\340A\002\032\244\001\n\026InfoTypeTransformation\0223\n\ninfo_t" + - "ypes\030\001 \003(\0132\037.google.privacy.dlp.v2.InfoT" + - "ype\022U\n\030primitive_transformation\030\002 \001(\0132.." + - "google.privacy.dlp.v2.PrimitiveTransform" + - "ationB\003\340A\002\"\300\002\n\023FieldTransformation\0223\n\006fi" + - "elds\030\001 \003(\0132\036.google.privacy.dlp.v2.Field" + - "IdB\003\340A\002\0229\n\tcondition\030\003 \001(\0132&.google.priv" + - "acy.dlp.v2.RecordCondition\022R\n\030primitive_" + - "transformation\030\004 \001(\0132..google.privacy.dl" + - "p.v2.PrimitiveTransformationH\000\022S\n\031info_t" + - "ype_transformations\030\005 \001(\0132..google.priva" + - "cy.dlp.v2.InfoTypeTransformationsH\000B\020\n\016t" + - "ransformation\"\251\001\n\025RecordTransformations\022" + - "I\n\025field_transformations\030\001 \003(\0132*.google." + - "privacy.dlp.v2.FieldTransformation\022E\n\023re" + - "cord_suppressions\030\002 \003(\0132(.google.privacy" + - ".dlp.v2.RecordSuppression\"N\n\021RecordSuppr" + - "ession\0229\n\tcondition\030\001 \001(\0132&.google.priva" + - "cy.dlp.v2.RecordCondition\"\334\004\n\017RecordCond" + - "ition\022G\n\013expressions\030\003 \001(\01322.google.priv" + - "acy.dlp.v2.RecordCondition.Expressions\032\256" + - "\001\n\tCondition\0222\n\005field\030\001 \001(\0132\036.google.pri" + - "vacy.dlp.v2.FieldIdB\003\340A\002\022@\n\010operator\030\003 \001" + - "(\0162).google.privacy.dlp.v2.RelationalOpe" + - "ratorB\003\340A\002\022+\n\005value\030\004 \001(\0132\034.google.priva" + - "cy.dlp.v2.Value\032R\n\nConditions\022D\n\nconditi" + - "ons\030\001 \003(\01320.google.privacy.dlp.v2.Record" + - "Condition.Condition\032\372\001\n\013Expressions\022\\\n\020l" + - "ogical_operator\030\001 \001(\0162B.google.privacy.d" + - "lp.v2.RecordCondition.Expressions.Logica" + - "lOperator\022G\n\nconditions\030\003 \001(\01321.google.p" + - "rivacy.dlp.v2.RecordCondition.Conditions" + - "H\000\"<\n\017LogicalOperator\022 \n\034LOGICAL_OPERATO" + - "R_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026Tra" + - "nsformationOverview\022\031\n\021transformed_bytes" + - "\030\002 \001(\003\022N\n\030transformation_summaries\030\003 \003(\013" + - "2,.google.privacy.dlp.v2.TransformationS" + - "ummary\"\237\005\n\025TransformationSummary\0222\n\tinfo" + - "_type\030\001 \001(\0132\037.google.privacy.dlp.v2.Info" + - "Type\022-\n\005field\030\002 \001(\0132\036.google.privacy.dlp" + - ".v2.FieldId\022F\n\016transformation\030\003 \001(\0132..go" + - "ogle.privacy.dlp.v2.PrimitiveTransformat" + - "ion\022I\n\025field_transformations\030\005 \003(\0132*.goo" + - "gle.privacy.dlp.v2.FieldTransformation\022A" + - "\n\017record_suppress\030\006 \001(\0132(.google.privacy" + - ".dlp.v2.RecordSuppression\022K\n\007results\030\004 \003" + - "(\0132:.google.privacy.dlp.v2.Transformatio" + - "nSummary.SummaryResult\022\031\n\021transformed_by" + - "tes\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.dlp.v2" + - ".TransformationSummary.TransformationRes" + - "ultCode\022\017\n\007details\030\003 \001(\t\"^\n\030Transformati" + - "onResultCode\022*\n&TRANSFORMATION_RESULT_CO" + - "DE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002" + - "\"\260\001\n\031TransformationDescription\0227\n\004type\030\001" + - " \001(\0162).google.privacy.dlp.v2.Transformat" + - "ionType\022\023\n\013description\030\002 \001(\t\022\021\n\tconditio" + - "n\030\003 \001(\t\0222\n\tinfo_type\030\004 \001(\0132\037.google.priv" + - "acy.dlp.v2.InfoType\"\306\002\n\025TransformationDe" + - "tails\022\025\n\rresource_name\030\001 \001(\t\022\026\n\016containe" + - "r_name\030\002 \001(\t\022H\n\016transformation\030\003 \003(\01320.g" + - "oogle.privacy.dlp.v2.TransformationDescr" + - "iption\022I\n\016status_details\030\004 \001(\01321.google." + - "privacy.dlp.v2.TransformationResultStatu" + - "s\022\031\n\021transformed_bytes\030\005 \001(\003\022N\n\027transfor" + - "mation_location\030\006 \001(\0132-.google.privacy.d" + - "lp.v2.TransformationLocation\"\331\001\n\026Transfo" + - "rmationLocation\022\024\n\nfinding_id\030\001 \001(\tH\000\022L\n" + - "\025record_transformation\030\002 \001(\0132+.google.pr" + - "ivacy.dlp.v2.RecordTransformationH\000\022J\n\016c" + - "ontainer_type\030\003 \001(\01622.google.privacy.dlp" + - ".v2.TransformationContainerTypeB\017\n\rlocat" + - "ion_type\"\234\001\n\024RecordTransformation\0220\n\010fie" + - "ld_id\030\001 \001(\0132\036.google.privacy.dlp.v2.Fiel" + - "dId\0227\n\023container_timestamp\030\002 \001(\0132\032.googl" + - "e.protobuf.Timestamp\022\031\n\021container_versio" + - "n\030\003 \001(\t\"\224\001\n\032TransformationResultStatus\022Q" + - "\n\022result_status_type\030\001 \001(\01625.google.priv" + - "acy.dlp.v2.TransformationResultStatusTyp" + - "e\022#\n\007details\030\002 \001(\0132\022.google.rpc.Status\"c" + - "\n\"TransformationDetailsStorageConfig\0225\n\005" + - "table\030\001 \001(\0132$.google.privacy.dlp.v2.BigQ" + - "ueryTableH\000B\006\n\004type\"U\n\010Schedule\022?\n\032recur" + - "rence_period_duration\030\001 \001(\0132\031.google.pro" + - "tobuf.DurationH\000B\010\n\006option\"\010\n\006Manual\"\302\004\n" + - "\017InspectTemplate\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014d" + - "isplay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224" + - "\n\013create_time\030\004 \001(\0132\032.google.protobuf.Ti" + - "mestampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.goog" + - "le.protobuf.TimestampB\003\340A\003\022<\n\016inspect_co" + - "nfig\030\006 \001(\0132$.google.privacy.dlp.v2.Inspe" + - "ctConfig:\306\002\352A\302\002\n\"dlp.googleapis.com/Insp" + - "ectTemplate\022@organizations/{organization" + - "}/inspectTemplates/{inspect_template}\0226p" + - "rojects/{project}/inspectTemplates/{insp" + - "ect_template}\022Uorganizations/{organizati" + - "on}/locations/{location}/inspectTemplate" + - "s/{inspect_template}\022Kprojects/{project}" + - "/locations/{location}/inspectTemplates/{" + - "inspect_template}\"\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\013description\030\003 \001(\t\0224\n\013create_time\030\004 " + - "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" + - "update_time\030\005 \001(\0132\032.google.protobuf.Time" + - "stampB\003\340A\003\022B\n\021deidentify_config\030\006 \001(\0132\'." + - "google.privacy.dlp.v2.DeidentifyConfig:\341" + - "\002\352A\335\002\n%dlp.googleapis.com/DeidentifyTemp" + - "late\022Forganizations/{organization}/deide" + - "ntifyTemplates/{deidentify_template}\022\n\013inspect_job\030\004 \001(\0132\'.google.privacy.d" + - "lp.v2.InspectJobConfigH\000\022;\n\010triggers\030\005 \003" + - "(\0132).google.privacy.dlp.v2.JobTrigger.Tr" + - "igger\0221\n\006errors\030\006 \003(\0132\034.google.privacy.d" + - "lp.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.google.protobuf.TimestampB" + - "\003\340A\003\0226\n\rlast_run_time\030\t \001(\0132\032.google.pro" + - "tobuf.TimestampB\003\340A\003\022=\n\006status\030\n \001(\0162(.g" + - "oogle.privacy.dlp.v2.JobTrigger.StatusB\003" + - "\340A\002\032z\n\007Trigger\0223\n\010schedule\030\001 \001(\0132\037.googl" + - "e.privacy.dlp.v2.ScheduleH\000\022/\n\006manual\030\002 " + - "\001(\0132\035.google.privacy.dlp.v2.ManualH\000B\t\n\007" + - "trigger\"H\n\006Status\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.googleapis.com/JobTrigger\022" + - ",projects/{project}/jobTriggers/{job_tri" + - "gger}\022Aprojects/{project}/locations/{loc" + - "ation}/jobTriggers/{job_trigger}B\005\n\003job\"" + - "\352\010\n\006Action\022C\n\rsave_findings\030\001 \001(\0132*.goog" + - "le.privacy.dlp.v2.Action.SaveFindingsH\000\022" + - "@\n\007pub_sub\030\002 \001(\0132-.google.privacy.dlp.v2" + - ".Action.PublishToPubSubH\000\022U\n\027publish_sum" + - "mary_to_cscc\030\003 \001(\01322.google.privacy.dlp." + - "v2.Action.PublishSummaryToCsccH\000\022q\n&publ" + - "ish_findings_to_cloud_data_catalog\030\005 \001(\013" + - "2?.google.privacy.dlp.v2.Action.PublishF" + - "indingsToCloudDataCatalogH\000\022>\n\ndeidentif" + - "y\030\007 \001(\0132(.google.privacy.dlp.v2.Action.D" + - "eidentifyH\000\022V\n\027job_notification_emails\030\010" + - " \001(\01323.google.privacy.dlp.v2.Action.JobN" + - "otificationEmailsH\000\022T\n\026publish_to_stackd" + - "river\030\t \001(\01322.google.privacy.dlp.v2.Acti" + - "on.PublishToStackdriverH\000\032Q\n\014SaveFinding" + - "s\022A\n\routput_config\030\001 \001(\0132*.google.privac" + - "y.dlp.v2.OutputStorageConfig\032 \n\017PublishT" + - "oPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishSummary" + - "ToCscc\032#\n!PublishFindingsToCloudDataCata" + - "log\032\263\002\n\nDeidentify\022J\n\025transformation_con" + - "fig\030\007 \001(\0132+.google.privacy.dlp.v2.Transf" + - "ormationConfig\022h\n%transformation_details" + - "_storage_config\030\003 \001(\01329.google.privacy.d" + - "lp.v2.TransformationDetailsStorageConfig" + - "\022#\n\024cloud_storage_output\030\t \001(\tB\003\340A\002H\000\022@\n" + - "\027file_types_to_transform\030\010 \003(\0162\037.google." + - "privacy.dlp.v2.FileTypeB\010\n\006output\032\027\n\025Job" + - "NotificationEmails\032\026\n\024PublishToStackdriv" + - "erB\010\n\006action\"z\n\024TransformationConfig\022\033\n\023" + - "deidentify_template\030\001 \001(\t\022&\n\036structured_" + - "deidentify_template\030\002 \001(\t\022\035\n\025image_redac" + - "t_template\030\004 \001(\t\"\313\001\n\034CreateInspectTempla" + - "teRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.g" + - "oogleapis.com/InspectTemplate\022E\n\020inspect" + - "_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\034UpdateInspect" + - "TemplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"d" + - "lp.googleapis.com/InspectTemplate\022@\n\020ins" + - "pect_template\030\002 \001(\0132&.google.privacy.dlp" + - ".v2.InspectTemplate\022/\n\013update_mask\030\003 \001(\013" + - "2\032.google.protobuf.FieldMask\"U\n\031GetInspe" + - "ctTemplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n" + - "\"dlp.googleapis.com/InspectTemplate\"\247\001\n\033" + - "ListInspectTemplatesRequest\022:\n\006parent\030\001 " + - "\001(\tB*\340A\002\372A$\022\"dlp.googleapis.com/InspectT" + - "emplate\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\"z\n\034ListInspectTemplatesResponse\022A\n" + - "\021inspect_templates\030\001 \003(\0132&.google.privac" + - "y.dlp.v2.InspectTemplate\022\027\n\017next_page_to" + - "ken\030\002 \001(\t\"X\n\034DeleteInspectTemplateReques" + - "t\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googleapis." + - "com/InspectTemplate\"\266\001\n\027CreateJobTrigger" + - "Request\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.goo" + - "gleapis.com/JobTrigger\022;\n\013job_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\013location_id\030\004" + - " \001(\t\"P\n\031ActivateJobTriggerRequest\0223\n\004nam" + - "e\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobT" + - "rigger\"\267\001\n\027UpdateJobTriggerRequest\0223\n\004na" + - "me\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/Job" + - "Trigger\0226\n\013job_trigger\030\002 \001(\0132!.google.pr" + - "ivacy.dlp.v2.JobTrigger\022/\n\013update_mask\030\003" + - " \001(\0132\032.google.protobuf.FieldMask\"K\n\024GetJ" + - "obTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035" + - "dlp.googleapis.com/JobTrigger\"\366\001\n\023Create" + - "DlpJobRequest\0221\n\006parent\030\001 \001(\tB!\340A\002\372A\033\022\031d" + - "lp.googleapis.com/DlpJob\022>\n\013inspect_job\030" + - "\002 \001(\0132\'.google.privacy.dlp.v2.InspectJob" + - "ConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.google.priv" + - "acy.dlp.v2.RiskAnalysisJobConfigH\000\022\016\n\006jo" + - "b_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.com/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\004typ" + - "e\030\006 \001(\0162!.google.privacy.dlp.v2.DlpJobTy" + - "pe\022\023\n\013location_id\030\007 \001(\t\"k\n\027ListJobTrigge" + - "rsResponse\0227\n\014job_triggers\030\001 \003(\0132!.googl" + - "e.privacy.dlp.v2.JobTrigger\022\027\n\017next_page" + - "_token\030\002 \001(\t\"N\n\027DeleteJobTriggerRequest\022" + - "3\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.co" + - "m/JobTrigger\"\335\001\n\020InspectJobConfig\022<\n\016sto" + - "rage_config\030\001 \001(\0132$.google.privacy.dlp.v" + - "2.StorageConfig\022<\n\016inspect_config\030\002 \001(\0132" + - "$.google.privacy.dlp.v2.InspectConfig\022\035\n" + - "\025inspect_template_name\030\003 \001(\t\022.\n\007actions\030" + - "\004 \003(\0132\035.google.privacy.dlp.v2.Action\"\355\005\n" + - "\021DataProfileAction\022F\n\013export_data\030\001 \001(\0132" + - "/.google.privacy.dlp.v2.DataProfileActio" + - "n.ExportH\000\022[\n\024pub_sub_notification\030\002 \001(\013" + - "2;.google.privacy.dlp.v2.DataProfileActi" + - "on.PubSubNotificationH\000\032E\n\006Export\022;\n\rpro" + - "file_table\030\001 \001(\0132$.google.privacy.dlp.v2" + - ".BigQueryTable\032\352\002\n\022PubSubNotification\022\r\n" + - "\005topic\030\001 \001(\t\022A\n\005event\030\002 \001(\01622.google.pri" + - "vacy.dlp.v2.DataProfileAction.EventType\022" + - "K\n\020pubsub_condition\030\003 \001(\01321.google.priva" + - "cy.dlp.v2.DataProfilePubSubCondition\022b\n\021" + - "detail_of_message\030\004 \001(\0162G.google.privacy" + - ".dlp.v2.DataProfileAction.PubSubNotifica" + - "tion.DetailLevel\"Q\n\013DetailLevel\022\034\n\030DETAI" + - "L_LEVEL_UNSPECIFIED\020\000\022\021\n\rTABLE_PROFILE\020\001" + - "\022\021\n\rRESOURCE_NAME\020\002\"u\n\tEventType\022\032\n\026EVEN" + - "T_TYPE_UNSPECIFIED\020\000\022\017\n\013NEW_PROFILE\020\001\022\023\n" + - "\017CHANGED_PROFILE\020\002\022\023\n\017SCORE_INCREASED\020\003\022" + - "\021\n\rERROR_CHANGED\020\004B\010\n\006action\"\313\001\n\024DataPro" + - "fileJobConfig\022<\n\010location\030\001 \001(\0132*.google" + - ".privacy.dlp.v2.DataProfileLocation\022\022\n\np" + - "roject_id\030\005 \001(\t\022\031\n\021inspect_templates\030\007 \003" + - "(\t\022F\n\024data_profile_actions\030\006 \003(\0132(.googl" + - "e.privacy.dlp.v2.DataProfileAction\"Q\n\023Da" + - "taProfileLocation\022\031\n\017organization_id\030\001 \001" + - "(\003H\000\022\023\n\tfolder_id\030\002 \001(\003H\000B\n\n\010location\"\353\005", - "\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 \001(\0162!.g" + - "oogle.privacy.dlp.v2.DlpJobType\0225\n\005state" + - "\030\003 \001(\0162&.google.privacy.dlp.v2.DlpJob.Jo" + - "bState\022K\n\014risk_details\030\004 \001(\01323.google.pr" + - "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail" + - "sH\000\022J\n\017inspect_details\030\005 \001(\0132/.google.pr" + - "ivacy.dlp.v2.InspectDataSourceDetailsH\000\022" + - "/\n\013create_time\030\006 \001(\0132\032.google.protobuf.T" + - "imestamp\022.\n\nstart_time\030\007 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022,\n\010end_time\030\010 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022\030\n\020job_trigger_na" + - "me\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.google.privac" + - "y.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\006FAILED\020\005\022\n\n\006A" + - "CTIVE\020\006:\177\352A|\n\031dlp.googleapis.com/DlpJob\022" + - "$projects/{project}/dlpJobs/{dlp_job}\0229p" + - "rojects/{project}/locations/{location}/d" + - "lpJobs/{dlp_job}B\t\n\007details\"C\n\020GetDlpJob" + - "Request\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googl" + - "eapis.com/DlpJob\"\326\001\n\022ListDlpJobsRequest\022" + - "1\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\004type\030\005 \001(\0162" + - "!.google.privacy.dlp.v2.DlpJobType\022\020\n\010or" + - "der_by\030\006 \001(\t\022\023\n\013location_id\030\007 \001(\t\"[\n\023Lis" + - "tDlpJobsResponse\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.com/DlpJob\"F" + - "\n\023FinishDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002" + - "\372A\033\n\031dlp.googleapis.com/DlpJob\"F\n\023Delete" + - "DlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp" + - ".googleapis.com/DlpJob\"\327\001\n\037CreateDeident" + - "ifyTemplateRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372" + - "A\'\022%dlp.googleapis.com/DeidentifyTemplat" + - "e\022K\n\023deidentify_template\030\002 \001(\0132).google." + - "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\037UpdateDeidentifyTemplateRequest\022;\n\004" + - "name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis.com/D" + - "eidentifyTemplate\022F\n\023deidentify_template" + - "\030\002 \001(\0132).google.privacy.dlp.v2.Deidentif" + - "yTemplate\022/\n\013update_mask\030\003 \001(\0132\032.google." + - "protobuf.FieldMask\"[\n\034GetDeidentifyTempl" + - "ateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.go" + - "ogleapis.com/DeidentifyTemplate\"\255\001\n\036List" + - "DeidentifyTemplatesRequest\022=\n\006parent\030\001 \001" + - "(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Deidentif" + - "yTemplate\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_si" + - "ze\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013location_i" + - "d\030\005 \001(\t\"\203\001\n\037ListDeidentifyTemplatesRespo" + - "nse\022G\n\024deidentify_templates\030\001 \003(\0132).goog" + - "le.privacy.dlp.v2.DeidentifyTemplate\022\027\n\017" + - "next_page_token\030\002 \001(\t\"^\n\037DeleteDeidentif" + - "yTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" + - "dlp.googleapis.com/DeidentifyTemplate\"\364\001" + - "\n\033LargeCustomDictionaryConfig\022<\n\013output_" + - "path\030\001 \001(\0132\'.google.privacy.dlp.v2.Cloud" + - "StoragePath\022L\n\026cloud_storage_file_set\030\002 " + - "\001(\0132*.google.privacy.dlp.v2.CloudStorage" + - "FileSetH\000\022?\n\017big_query_field\030\003 \001(\0132$.goo" + - "gle.privacy.dlp.v2.BigQueryFieldH\000B\010\n\006so" + - "urce\"8\n\032LargeCustomDictionaryStats\022\032\n\022ap" + - "prox_num_phrases\030\001 \001(\003\"\246\002\n\024StoredInfoTyp" + - "eConfig\022\024\n\014display_name\030\001 \001(\t\022\023\n\013descrip" + - "tion\030\002 \001(\t\022U\n\027large_custom_dictionary\030\003 " + - "\001(\01322.google.privacy.dlp.v2.LargeCustomD" + - "ictionaryConfigH\000\022F\n\ndictionary\030\004 \001(\01320." + - "google.privacy.dlp.v2.CustomInfoType.Dic" + - "tionaryH\000\022<\n\005regex\030\005 \001(\0132+.google.privac" + - "y.dlp.v2.CustomInfoType.RegexH\000B\006\n\004type\"" + - "s\n\023StoredInfoTypeStats\022T\n\027large_custom_d" + - "ictionary\030\001 \001(\01321.google.privacy.dlp.v2." + - "LargeCustomDictionaryStatsH\000B\006\n\004type\"\251\002\n" + - "\025StoredInfoTypeVersion\022;\n\006config\030\001 \001(\0132+" + - ".google.privacy.dlp.v2.StoredInfoTypeCon" + - "fig\022/\n\013create_time\030\002 \001(\0132\032.google.protob" + - "uf.Timestamp\0229\n\005state\030\003 \001(\0162*.google.pri" + - "vacy.dlp.v2.StoredInfoTypeState\022,\n\006error" + - "s\030\004 \003(\0132\034.google.privacy.dlp.v2.Error\0229\n" + - "\005stats\030\005 \001(\0132*.google.privacy.dlp.v2.Sto" + - "redInfoTypeStats\"\361\003\n\016StoredInfoType\022\014\n\004n" + - "ame\030\001 \001(\t\022E\n\017current_version\030\002 \001(\0132,.goo" + - "gle.privacy.dlp.v2.StoredInfoTypeVersion" + - "\022F\n\020pending_versions\030\003 \003(\0132,.google.priv" + - "acy.dlp.v2.StoredInfoTypeVersion:\301\002\352A\275\002\n" + - "!dlp.googleapis.com/StoredInfoType\022?orga" + - "nizations/{organization}/storedInfoTypes" + - "/{stored_info_type}\0225projects/{project}/" + - "storedInfoTypes/{stored_info_type}\022Torga" + - "nizations/{organization}/locations/{loca" + - "tion}/storedInfoTypes/{stored_info_type}" + - "\022Jprojects/{project}/locations/{location" + - "}/storedInfoTypes/{stored_info_type}\"\314\001\n" + - "\033CreateStoredInfoTypeRequest\0229\n\006parent\030\001" + - " \001(\tB)\340A\002\372A#\022!dlp.googleapis.com/StoredI" + - "nfoType\022@\n\006config\030\002 \001(\0132+.google.privacy" + - ".dlp.v2.StoredInfoTypeConfigB\003\340A\002\022\033\n\023sto" + - "red_info_type_id\030\003 \001(\t\022\023\n\013location_id\030\004 " + - "\001(\t\"\304\001\n\033UpdateStoredInfoTypeRequest\0227\n\004n" + - "ame\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis.com/St" + - "oredInfoType\022;\n\006config\030\002 \001(\0132+.google.pr" + - "ivacy.dlp.v2.StoredInfoTypeConfig\022/\n\013upd" + - "ate_mask\030\003 \001(\0132\032.google.protobuf.FieldMa" + - "sk\"S\n\030GetStoredInfoTypeRequest\0227\n\004name\030\001" + - " \001(\tB)\340A\002\372A#\n!dlp.googleapis.com/StoredI" + - "nfoType\"\245\001\n\032ListStoredInfoTypesRequest\0229" + - "\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis.c" + - "om/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\013lo" + - "cation_id\030\005 \001(\t\"x\n\033ListStoredInfoTypesRe" + - "sponse\022@\n\021stored_info_types\030\001 \003(\0132%.goog" + - "le.privacy.dlp.v2.StoredInfoType\022\027\n\017next" + - "_page_token\030\002 \001(\t\"V\n\033DeleteStoredInfoTyp" + - "eRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.goog" + - "leapis.com/StoredInfoType\"\224\001\n\036HybridInsp" + - "ectJobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372" + - "A\037\n\035dlp.googleapis.com/JobTrigger\022=\n\013hyb" + - "rid_item\030\003 \001(\0132(.google.privacy.dlp.v2.H" + - "ybridContentItem\"\214\001\n\032HybridInspectDlpJob" + - "Request\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googl" + - "eapis.com/DlpJob\022=\n\013hybrid_item\030\003 \001(\0132(." + - "google.privacy.dlp.v2.HybridContentItem\"" + - "\213\001\n\021HybridContentItem\0220\n\004item\030\001 \001(\0132\".go" + - "ogle.privacy.dlp.v2.ContentItem\022D\n\017findi" + - "ng_details\030\002 \001(\0132+.google.privacy.dlp.v2" + - ".HybridFindingDetails\"\260\002\n\024HybridFindingD" + - "etails\022;\n\021container_details\030\001 \001(\0132 .goog" + - "le.privacy.dlp.v2.Container\022\023\n\013file_offs" + - "et\030\002 \001(\003\022\022\n\nrow_offset\030\003 \001(\003\022:\n\rtable_op" + - "tions\030\004 \001(\0132#.google.privacy.dlp.v2.Tabl" + - "eOptions\022G\n\006labels\030\005 \003(\01327.google.privac" + - "y.dlp.v2.HybridFindingDetails.LabelsEntr" + - "y\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + - " \001(\t:\0028\001\"\027\n\025HybridInspectResponse\"\271\001\n\rDa" + - "taRiskLevel\022F\n\005score\030\001 \001(\01627.google.priv" + - "acy.dlp.v2.DataRiskLevel.DataRiskLevelSc" + - "ore\"`\n\022DataRiskLevelScore\022\032\n\026RISK_SCORE_" + - "UNSPECIFIED\020\000\022\014\n\010RISK_LOW\020\n\022\021\n\rRISK_MODE" + - "RATE\020\024\022\r\n\tRISK_HIGH\020\036\"\240\001\n\031DataProfileCon" + - "figSnapshot\022<\n\016inspect_config\030\002 \001(\0132$.go" + - "ogle.privacy.dlp.v2.InspectConfig\022E\n\020dat" + - "a_profile_job\030\003 \001(\0132+.google.privacy.dlp" + - ".v2.DataProfileJobConfig\"\232\n\n\020TableDataPr" + - "ofile\022\014\n\004name\030\001 \001(\t\022\034\n\024project_data_prof" + - "ile\030\002 \001(\t\022\032\n\022dataset_project_id\030\030 \001(\t\022\030\n" + - "\020dataset_location\030\035 \001(\t\022\022\n\ndataset_id\030\031 " + - "\001(\t\022\020\n\010table_id\030\032 \001(\t\022\025\n\rfull_resource\030\003" + - " \001(\t\022<\n\016profile_status\030\025 \001(\0132$.google.pr" + - "ivacy.dlp.v2.ProfileStatus\022<\n\005state\030\026 \001(" + - "\0162-.google.privacy.dlp.v2.TableDataProfi" + - "le.State\022B\n\021sensitivity_score\030\005 \001(\0132\'.go" + - "ogle.privacy.dlp.v2.SensitivityScore\022=\n\017" + - "data_risk_level\030\006 \001(\0132$.google.privacy.d" + - "lp.v2.DataRiskLevel\022D\n\024predicted_info_ty" + - "pes\030\033 \003(\0132&.google.privacy.dlp.v2.InfoTy" + - "peSummary\022E\n\020other_info_types\030\034 \003(\0132+.go" + - "ogle.privacy.dlp.v2.OtherInfoTypeSummary" + - "\022I\n\017config_snapshot\030\007 \001(\01320.google.priva" + - "cy.dlp.v2.DataProfileConfigSnapshot\0226\n\022l" + - "ast_modified_time\030\010 \001(\0132\032.google.protobu" + - "f.Timestamp\0223\n\017expiration_time\030\t \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022\034\n\024scanned_colu" + - "mn_count\030\n \001(\003\022\033\n\023failed_column_count\030\013 " + - "\001(\003\022\030\n\020table_size_bytes\030\014 \001(\003\022\021\n\trow_cou" + - "nt\030\r \001(\003\022B\n\021encryption_status\030\016 \001(\0162\'.go" + - "ogle.privacy.dlp.v2.EncryptionStatus\022F\n\023" + - "resource_visibility\030\017 \001(\0162).google.priva" + - "cy.dlp.v2.ResourceVisibility\022:\n\026profile_" + - "last_generated\030\020 \001(\0132\032.google.protobuf.T" + - "imestamp\022T\n\017resource_labels\030\021 \003(\0132;.goog" + - "le.privacy.dlp.v2.TableDataProfile.Resou" + - "rceLabelsEntry\022/\n\013create_time\030\027 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\0325\n\023ResourceLabel" + - "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"5" + - "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNIN" + - "G\020\001\022\010\n\004DONE\020\002\"b\n\rProfileStatus\022\"\n\006status" + - "\030\001 \001(\0132\022.google.rpc.Status\022-\n\ttimestamp\030" + - "\003 \001(\0132\032.google.protobuf.Timestamp\"c\n\017Inf" + - "oTypeSummary\0222\n\tinfo_type\030\001 \001(\0132\037.google" + - ".privacy.dlp.v2.InfoType\022\034\n\024estimated_pr" + - "evalence\030\002 \001(\005\"h\n\024OtherInfoTypeSummary\0222" + - "\n\tinfo_type\030\001 \001(\0132\037.google.privacy.dlp.v" + - "2.InfoType\022\034\n\024estimated_prevalence\030\002 \001(\005" + - "\"\352\005\n\032DataProfilePubSubCondition\022X\n\013expre" + - "ssions\030\001 \001(\0132C.google.privacy.dlp.v2.Dat" + - "aProfilePubSubCondition.PubSubExpression" + - "s\032\351\001\n\017PubSubCondition\022b\n\022minimum_risk_sc" + - "ore\030\001 \001(\0162D.google.privacy.dlp.v2.DataPr" + - "ofilePubSubCondition.ProfileScoreBucketH" + - "\000\022i\n\031minimum_sensitivity_score\030\002 \001(\0162D.g" + - "oogle.privacy.dlp.v2.DataProfilePubSubCo" + - "ndition.ProfileScoreBucketH\000B\007\n\005value\032\253\002" + - "\n\021PubSubExpressions\022s\n\020logical_operator\030" + - "\001 \001(\0162Y.google.privacy.dlp.v2.DataProfil" + - "ePubSubCondition.PubSubExpressions.PubSu" + - "bLogicalOperator\022U\n\nconditions\030\002 \003(\0132A.g" + - "oogle.privacy.dlp.v2.DataProfilePubSubCo" + - "ndition.PubSubCondition\"J\n\025PubSubLogical" + - "Operator\022 \n\034LOGICAL_OPERATOR_UNSPECIFIED" + - "\020\000\022\006\n\002OR\020\001\022\007\n\003AND\020\002\"X\n\022ProfileScoreBucke" + - "t\022$\n PROFILE_SCORE_BUCKET_UNSPECIFIED\020\000\022" + - "\010\n\004HIGH\020\001\022\022\n\016MEDIUM_OR_HIGH\020\002\"\227\001\n\030DataPr" + - "ofilePubSubMessage\0228\n\007profile\030\001 \001(\0132\'.go" + - "ogle.privacy.dlp.v2.TableDataProfile\022A\n\005" + - "event\030\002 \001(\01622.google.privacy.dlp.v2.Data" + - "ProfileAction.EventType*\240\001\n\036Transformati" + - "onResultStatusType\022\032\n\026STATE_TYPE_UNSPECI" + - "FIED\020\000\022\025\n\021INVALID_TRANSFORM\020\001\022\"\n\036BIGQUER" + - "Y_MAX_ROW_SIZE_EXCEEDED\020\002\022\032\n\026METADATA_UN" + - "RETRIEVABLE\020\003\022\013\n\007SUCCESS\020\004*\177\n\033Transforma" + - "tionContainerType\022\037\n\033TRANSFORM_UNKNOWN_C" + - "ONTAINER\020\000\022\022\n\016TRANSFORM_BODY\020\001\022\026\n\022TRANSF" + - "ORM_METADATA\020\002\022\023\n\017TRANSFORM_TABLE\020\003*\340\002\n\022" + - "TransformationType\022#\n\037TRANSFORMATION_TYP" + - "E_UNSPECIFIED\020\000\022\026\n\022RECORD_SUPPRESSION\020\001\022" + - "\021\n\rREPLACE_VALUE\020\002\022\026\n\022REPLACE_DICTIONARY" + - "\020\017\022\n\n\006REDACT\020\003\022\022\n\016CHARACTER_MASK\020\004\022\032\n\026CR" + - "YPTO_REPLACE_FFX_FPE\020\005\022\030\n\024FIXED_SIZE_BUC" + - "KETING\020\006\022\r\n\tBUCKETING\020\007\022\032\n\026REPLACE_WITH_" + - "INFO_TYPE\020\010\022\r\n\tTIME_PART\020\t\022\017\n\013CRYPTO_HAS" + - "H\020\n\022\016\n\nDATE_SHIFT\020\014\022\037\n\033CRYPTO_DETERMINIS" + - "TIC_CONFIG\020\r\022\020\n\014REDACT_IMAGE\020\016*\273\001\n\022Relat" + - "ionalOperator\022#\n\037RELATIONAL_OPERATOR_UNS" + - "PECIFIED\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_THAN\020\004\022\032\n\026G" + - "REATER_THAN_OR_EQUALS\020\005\022\027\n\023LESS_THAN_OR_" + - "EQUALS\020\006\022\n\n\006EXISTS\020\007*\215\001\n\014MatchingType\022\035\n" + - "\031MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n\030MATCHING" + - "_TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_TYPE_PART" + - "IAL_MATCH\020\002\022\037\n\033MATCHING_TYPE_INVERSE_MAT" + - "CH\020\003*M\n\rContentOption\022\027\n\023CONTENT_UNSPECI" + - "FIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021\n\rCONTENT_IMAG" + - "E\020\002*B\n\014MetadataType\022\034\n\030METADATATYPE_UNSP" + - "ECIFIED\020\000\022\024\n\020STORAGE_METADATA\020\002*P\n\023InfoT" + - "ypeSupportedBy\022\031\n\025ENUM_TYPE_UNSPECIFIED\020" + - "\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANALYSIS\020\002*R\n\nDlp" + - "JobType\022\034\n\030DLP_JOB_TYPE_UNSPECIFIED\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\005REA" + - "DY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALID\020\004*}\n\022Resourc" + - "eVisibility\022#\n\037RESOURCE_VISIBILITY_UNSPE" + - "CIFIED\020\000\022\036\n\032RESOURCE_VISIBILITY_PUBLIC\020\n" + - "\022\"\n\036RESOURCE_VISIBILITY_RESTRICTED\020\024*u\n\020" + - "EncryptionStatus\022!\n\035ENCRYPTION_STATUS_UN" + - "SPECIFIED\020\000\022\035\n\031ENCRYPTION_GOOGLE_MANAGED" + - "\020\001\022\037\n\033ENCRYPTION_CUSTOMER_MANAGED\020\0022\240L\n\n" + - "DlpService\022\333\001\n\016InspectContent\022,.google.p" + - "rivacy.dlp.v2.InspectContentRequest\032-.go" + - "ogle.privacy.dlp.v2.InspectContentRespon" + - "se\"l\202\323\344\223\002f\"\'/v2/{parent=projects/*}/cont" + - "ent:inspect:\001*Z8\"3/v2/{parent=projects/*" + - "/locations/*}/content:inspect:\001*\022\314\001\n\013Red" + - "actImage\022).google.privacy.dlp.v2.RedactI" + - "mageRequest\032*.google.privacy.dlp.v2.Reda" + - "ctImageResponse\"f\202\323\344\223\002`\"$/v2/{parent=pro" + - "jects/*}/image:redact:\001*Z5\"0/v2/{parent=" + - "projects/*/locations/*}/image:redact:\001*\022" + - "\352\001\n\021DeidentifyContent\022/.google.privacy.d" + - "lp.v2.DeidentifyContentRequest\0320.google." + - "privacy.dlp.v2.DeidentifyContentResponse" + - "\"r\202\323\344\223\002l\"*/v2/{parent=projects/*}/conten" + - "t:deidentify:\001*Z;\"6/v2/{parent=projects/" + - "*/locations/*}/content:deidentify:\001*\022\352\001\n" + - "\021ReidentifyContent\022/.google.privacy.dlp." + - "v2.ReidentifyContentRequest\0320.google.pri" + - "vacy.dlp.v2.ReidentifyContentResponse\"r\202" + - "\323\344\223\002l\"*/v2/{parent=projects/*}/content:r" + - "eidentify:\001*Z;\"6/v2/{parent=projects/*/l" + - "ocations/*}/content:reidentify:\001*\022\260\001\n\rLi" + - "stInfoTypes\022+.google.privacy.dlp.v2.List" + - "InfoTypesRequest\032,.google.privacy.dlp.v2" + - ".ListInfoTypesResponse\"D\202\323\344\223\0025\022\r/v2/info" + - "TypesZ$\022\"/v2/{parent=locations/*}/infoTy" + - "pes\332A\006parent\022\364\002\n\025CreateInspectTemplate\0223" + - ".google.privacy.dlp.v2.CreateInspectTemp" + - "lateRequest\032&.google.privacy.dlp.v2.Insp" + - "ectTemplate\"\375\001\202\323\344\223\002\334\001\"-/v2/{parent=organ" + - "izations/*}/inspectTemplates:\001*Z>\"9/v2/{" + - "parent=organizations/*/locations/*}/insp" + - "ectTemplates:\001*Z-\"(/v2/{parent=projects/" + - "*}/inspectTemplates:\001*Z9\"4/v2/{parent=pr" + - "ojects/*/locations/*}/inspectTemplates:\001" + - "*\332A\027parent,inspect_template\022\376\002\n\025UpdateIn" + - "spectTemplate\0223.google.privacy.dlp.v2.Up" + - "dateInspectTemplateRequest\032&.google.priv" + - "acy.dlp.v2.InspectTemplate\"\207\002\202\323\344\223\002\334\0012-/v" + - "2/{name=organizations/*/inspectTemplates" + - "/*}:\001*Z>29/v2/{name=organizations/*/loca" + - "tions/*/inspectTemplates/*}:\001*Z-2(/v2/{n" + - "ame=projects/*/inspectTemplates/*}:\001*Z92" + - "4/v2/{name=projects/*/locations/*/inspec" + - "tTemplates/*}:\001*\332A!name,inspect_template" + - ",update_mask\022\317\002\n\022GetInspectTemplate\0220.go" + - "ogle.privacy.dlp.v2.GetInspectTemplateRe" + - "quest\032&.google.privacy.dlp.v2.InspectTem" + - "plate\"\336\001\202\323\344\223\002\320\001\022-/v2/{name=organizations" + - "/*/inspectTemplates/*}Z;\0229/v2/{name=orga" + - "nizations/*/locations/*/inspectTemplates" + - "/*}Z*\022(/v2/{name=projects/*/inspectTempl" + - "ates/*}Z6\0224/v2/{name=projects/*/location" + - "s/*/inspectTemplates/*}\332A\004name\022\342\002\n\024ListI" + - "nspectTemplates\0222.google.privacy.dlp.v2." + - "ListInspectTemplatesRequest\0323.google.pri" + - "vacy.dlp.v2.ListInspectTemplatesResponse" + - "\"\340\001\202\323\344\223\002\320\001\022-/v2/{parent=organizations/*}" + - "/inspectTemplatesZ;\0229/v2/{parent=organiz" + - "ations/*/locations/*}/inspectTemplatesZ*" + - "\022(/v2/{parent=projects/*}/inspectTemplat" + - "esZ6\0224/v2/{parent=projects/*/locations/*" + - "}/inspectTemplates\332A\006parent\022\305\002\n\025DeleteIn" + - "spectTemplate\0223.google.privacy.dlp.v2.De" + - "leteInspectTemplateRequest\032\026.google.prot" + - "obuf.Empty\"\336\001\202\323\344\223\002\320\001*-/v2/{name=organiza" + - "tions/*/inspectTemplates/*}Z;*9/v2/{name" + - "=organizations/*/locations/*/inspectTemp" + - "lates/*}Z**(/v2/{name=projects/*/inspect" + - "Templates/*}Z6*4/v2/{name=projects/*/loc" + - "ations/*/inspectTemplates/*}\332A\004name\022\214\003\n\030" + - "CreateDeidentifyTemplate\0226.google.privac" + - "y.dlp.v2.CreateDeidentifyTemplateRequest" + - "\032).google.privacy.dlp.v2.DeidentifyTempl" + - "ate\"\214\002\202\323\344\223\002\350\001\"0/v2/{parent=organizations" + - "/*}/deidentifyTemplates:\001*ZA\"\022\022*\"9/v2/{name" + - "=projects/*/locations/*/dlpJobs/*}:hybri" + - "dInspect:\001*\332A\004name\022\221\001\n\014FinishDlpJob\022*.go" + - "ogle.privacy.dlp.v2.FinishDlpJobRequest\032" + - "\026.google.protobuf.Empty\"=\202\323\344\223\0027\"2/v2/{na" + - "me=projects/*/locations/*/dlpJobs/*}:fin" + - "ish:\001*\032F\312A\022dlp.googleapis.com\322A.https://" + - "www.googleapis.com/auth/cloud-platformB\372" + - "\002\n\031com.google.privacy.dlp.v2B\010DlpProtoP\001" + - "Z8google.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::V2\352Ar\n\035dlp.googleapis.com/DlpConten" + - "t\022\035projects/{project}/dlpContent\0222projec" + - "ts/{project}/locations/{location}/dlpCon" + - "tent\352A\\\n\'dlp.googleapis.com/Organization" + - "Location\0221organizations/{organization}/l" + - "ocations/{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", "Versions", "Categories", }); - internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor, - new java.lang.String[] { "LocationCategory", "IndustryCategory", "TypeCategory", "Category", }); - internal_static_google_privacy_dlp_v2_VersionDescription_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_privacy_dlp_v2_VersionDescription_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_VersionDescription_descriptor, - new java.lang.String[] { "Version", "Description", }); - internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - 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(38); - 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(39); - 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(40); - 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(41); - 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(42); - 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(43); - 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(44); - 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(45); - 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(46); - 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(47); - 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(48); - 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", "ImageTransformations", "TransformationErrorHandling", "Transformation", }); - internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor, - new java.lang.String[] { "Transforms", }); - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor = - internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor, - new java.lang.String[] { "SelectedInfoTypes", "AllInfoTypes", "AllText", "RedactionColor", "Target", }); - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor = - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor, - new java.lang.String[] { "InfoTypes", }); - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor = - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor = - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor.getNestedTypes().get(2); - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor, - new java.lang.String[] { }); - internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor = - getDescriptor().getMessageTypes().get(50); - 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(51); - 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(52); - 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(53); - 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(54); - 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(55); - 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(56); - 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(57); - 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(58); - 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(59); - 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(60); - 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(61); - 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(62); - 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(63); - 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(64); - 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(65); - 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(66); - 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(67); - 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(68); - 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(69); - 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(70); - 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(71); - 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(72); - 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(73); - 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(74); - 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(75); - 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_TransformationDescription_descriptor = - getDescriptor().getMessageTypes().get(76); - internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationDescription_descriptor, - new java.lang.String[] { "Type", "Description", "Condition", "InfoType", }); - internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor = - getDescriptor().getMessageTypes().get(77); - internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor, - new java.lang.String[] { "ResourceName", "ContainerName", "Transformation", "StatusDetails", "TransformedBytes", "TransformationLocation", }); - internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor = - getDescriptor().getMessageTypes().get(78); - internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor, - new java.lang.String[] { "FindingId", "RecordTransformation", "ContainerType", "LocationType", }); - internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor = - getDescriptor().getMessageTypes().get(79); - internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor, - new java.lang.String[] { "FieldId", "ContainerTimestamp", "ContainerVersion", }); - internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor = - getDescriptor().getMessageTypes().get(80); - internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor, - new java.lang.String[] { "ResultStatusType", "Details", }); - internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor = - getDescriptor().getMessageTypes().get(81); - internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor, - new java.lang.String[] { "Table", "Type", }); - internal_static_google_privacy_dlp_v2_Schedule_descriptor = - getDescriptor().getMessageTypes().get(82); - 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(83); - 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(84); - 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(85); - 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(86); - 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(87); - 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(88); - 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", "Deidentify", "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_Deidentify_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(4); - internal_static_google_privacy_dlp_v2_Action_Deidentify_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_Action_Deidentify_descriptor, - new java.lang.String[] { "TransformationConfig", "TransformationDetailsStorageConfig", "CloudStorageOutput", "FileTypesToTransform", "Output", }); - internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor = - internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(5); - 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(6); - 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_TransformationConfig_descriptor = - getDescriptor().getMessageTypes().get(89); - internal_static_google_privacy_dlp_v2_TransformationConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TransformationConfig_descriptor, - new java.lang.String[] { "DeidentifyTemplate", "StructuredDeidentifyTemplate", "ImageRedactTemplate", }); - internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(90); - 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(91); - 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(92); - 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(93); - 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(94); - 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(95); - 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(96); - 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(97); - 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(98); - 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(99); - 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(100); - 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(101); - 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(102); - 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(103); - 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(104); - 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_DataProfileAction_descriptor = - getDescriptor().getMessageTypes().get(105); - internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor, - new java.lang.String[] { "ExportData", "PubSubNotification", "Action", }); - internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor = - internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor, - new java.lang.String[] { "ProfileTable", }); - internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor = - internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor, - new java.lang.String[] { "Topic", "Event", "PubsubCondition", "DetailOfMessage", }); - internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor = - getDescriptor().getMessageTypes().get(106); - internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor, - new java.lang.String[] { "Location", "ProjectId", "InspectTemplates", "DataProfileActions", }); - internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor = - getDescriptor().getMessageTypes().get(107); - internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor, - new java.lang.String[] { "OrganizationId", "FolderId", "Location", }); - internal_static_google_privacy_dlp_v2_DlpJob_descriptor = - getDescriptor().getMessageTypes().get(108); - 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(109); - 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(110); - 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(111); - 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(112); - 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(113); - 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(114); - 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(115); - 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(116); - 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(117); - 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(118); - 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(119); - 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(120); - 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(121); - 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(122); - 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(123); - 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(124); - 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(125); - 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(126); - 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(127); - 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(128); - 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(129); - 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(130); - 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(131); - 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(132); - 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(133); - 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(134); - 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(135); - 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(136); - 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(137); - 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[] { }); - internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor = - getDescriptor().getMessageTypes().get(138); - internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor, - new java.lang.String[] { "Score", }); - internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor = - getDescriptor().getMessageTypes().get(139); - internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor, - new java.lang.String[] { "InspectConfig", "DataProfileJob", }); - internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor = - getDescriptor().getMessageTypes().get(140); - internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor, - new java.lang.String[] { "Name", "ProjectDataProfile", "DatasetProjectId", "DatasetLocation", "DatasetId", "TableId", "FullResource", "ProfileStatus", "State", "SensitivityScore", "DataRiskLevel", "PredictedInfoTypes", "OtherInfoTypes", "ConfigSnapshot", "LastModifiedTime", "ExpirationTime", "ScannedColumnCount", "FailedColumnCount", "TableSizeBytes", "RowCount", "EncryptionStatus", "ResourceVisibility", "ProfileLastGenerated", "ResourceLabels", "CreateTime", }); - internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor = - internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor = - getDescriptor().getMessageTypes().get(141); - internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor, - new java.lang.String[] { "Status", "Timestamp", }); - internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor = - getDescriptor().getMessageTypes().get(142); - internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor, - new java.lang.String[] { "InfoType", "EstimatedPrevalence", }); - internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor = - getDescriptor().getMessageTypes().get(143); - internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor, - new java.lang.String[] { "InfoType", "EstimatedPrevalence", }); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor = - getDescriptor().getMessageTypes().get(144); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor, - new java.lang.String[] { "Expressions", }); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor = - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor.getNestedTypes().get(0); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor, - new java.lang.String[] { "MinimumRiskScore", "MinimumSensitivityScore", "Value", }); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor = - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor.getNestedTypes().get(1); - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor, - new java.lang.String[] { "LogicalOperator", "Conditions", }); - internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor = - getDescriptor().getMessageTypes().get(145); - internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor, - new java.lang.String[] { "Profile", "Event", }); - 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 618d008b..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java +++ /dev/null @@ -1,560 +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_SensitivityScore_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_privacy_dlp_v2_SensitivityScore_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\"\341\001\n\020SensitivityScore\022L\n\005score\030\001 \001(\0162" + - "=.google.privacy.dlp.v2.SensitivityScore" + - ".SensitivityScoreLevel\"\177\n\025SensitivitySco" + - "reLevel\022!\n\035SENSITIVITY_SCORE_UNSPECIFIED" + - "\020\000\022\023\n\017SENSITIVITY_LOW\020\n\022\030\n\024SENSITIVITY_M" + - "ODERATE\020\024\022\024\n\020SENSITIVITY_HIGH\020\036\"K\n\nStore" + - "dType\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030\002 \001(\013" + - "2\032.google.protobuf.Timestamp\"\310\013\n\016CustomI" + - "nfoType\0222\n\tinfo_type\030\001 \001(\0132\037.google.priv" + - "acy.dlp.v2.InfoType\0225\n\nlikelihood\030\006 \001(\0162" + - "!.google.privacy.dlp.v2.Likelihood\022F\n\ndi" + - "ctionary\030\002 \001(\01320.google.privacy.dlp.v2.C" + - "ustomInfoType.DictionaryH\000\022<\n\005regex\030\003 \001(" + - "\0132+.google.privacy.dlp.v2.CustomInfoType" + - ".RegexH\000\022M\n\016surrogate_type\030\004 \001(\01323.googl" + - "e.privacy.dlp.v2.CustomInfoType.Surrogat" + - "eTypeH\000\0228\n\013stored_type\030\005 \001(\0132!.google.pr" + - "ivacy.dlp.v2.StoredTypeH\000\022L\n\017detection_r" + - "ules\030\007 \003(\01323.google.privacy.dlp.v2.Custo" + - "mInfoType.DetectionRule\022K\n\016exclusion_typ" + - "e\030\010 \001(\01623.google.privacy.dlp.v2.CustomIn" + - "foType.ExclusionType\032\310\001\n\nDictionary\022N\n\tw" + - "ord_list\030\001 \001(\01329.google.privacy.dlp.v2.C" + - "ustomInfoType.Dictionary.WordListH\000\022E\n\022c" + - "loud_storage_path\030\003 \001(\0132\'.google.privacy" + - ".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\007patt" + - "ern\030\001 \001(\t\022\025\n\rgroup_indexes\030\002 \003(\005\032\017\n\rSurr" + - "ogateType\032\276\004\n\rDetectionRule\022W\n\014hotword_r" + - "ule\030\001 \001(\0132?.google.privacy.dlp.v2.Custom" + - "InfoType.DetectionRule.HotwordRuleH\000\0328\n\t" + - "Proximity\022\025\n\rwindow_before\030\001 \001(\005\022\024\n\014wind" + - "ow_after\030\002 \001(\005\032\202\001\n\024LikelihoodAdjustment\022" + - "=\n\020fixed_likelihood\030\001 \001(\0162!.google.priva" + - "cy.dlp.v2.LikelihoodH\000\022\035\n\023relative_likel" + - "ihood\030\002 \001(\005H\000B\014\n\nadjustment\032\214\002\n\013HotwordR" + - "ule\022B\n\rhotword_regex\030\001 \001(\0132+.google.priv" + - "acy.dlp.v2.CustomInfoType.Regex\022P\n\tproxi" + - "mity\030\002 \001(\0132=.google.privacy.dlp.v2.Custo" + - "mInfoType.DetectionRule.Proximity\022g\n\025lik" + - "elihood_adjustment\030\003 \001(\0132H.google.privac" + - "y.dlp.v2.CustomInfoType.DetectionRule.Li" + - "kelihoodAdjustmentB\006\n\004type\"K\n\rExclusionT" + - "ype\022\036\n\032EXCLUSION_TYPE_UNSPECIFIED\020\000\022\032\n\026E" + - "XCLUSION_TYPE_EXCLUDE\020\001B\006\n\004type\"\027\n\007Field" + - "Id\022\014\n\004name\030\001 \001(\t\"7\n\013PartitionId\022\022\n\nproje" + - "ct_id\030\002 \001(\t\022\024\n\014namespace_id\030\004 \001(\t\"\036\n\016Kin" + - "dExpression\022\014\n\004name\030\001 \001(\t\"\201\001\n\020DatastoreO" + - "ptions\0228\n\014partition_id\030\001 \001(\0132\".google.pr" + - "ivacy.dlp.v2.PartitionId\0223\n\004kind\030\002 \001(\0132%" + - ".google.privacy.dlp.v2.KindExpression\"]\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\023CloudStorageOptions\022D\n\010" + - "file_set\030\001 \001(\01322.google.privacy.dlp.v2.C" + - "loudStorageOptions.FileSet\022\034\n\024bytes_limi" + - "t_per_file\030\004 \001(\003\022$\n\034bytes_limit_per_file" + - "_percent\030\010 \001(\005\0223\n\nfile_types\030\005 \003(\0162\037.goo" + - "gle.privacy.dlp.v2.FileType\022N\n\rsample_me" + - "thod\030\006 \001(\01627.google.privacy.dlp.v2.Cloud" + - "StorageOptions.SampleMethod\022\033\n\023files_lim" + - "it_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.privac" + - "y.dlp.v2.CloudStorageRegexFileSet\"H\n\014Sam" + - "pleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED\020\000" + - "\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\"\n\023CloudStor" + - "ageFileSet\022\013\n\003url\030\001 \001(\t\" \n\020CloudStorageP" + - "ath\022\014\n\004path\030\001 \001(\t\"\304\003\n\017BigQueryOptions\022=\n" + - "\017table_reference\030\001 \001(\0132$.google.privacy." + - "dlp.v2.BigQueryTable\022:\n\022identifying_fiel" + - "ds\030\002 \003(\0132\036.google.privacy.dlp.v2.FieldId" + - "\022\022\n\nrows_limit\030\003 \001(\003\022\032\n\022rows_limit_perce" + - "nt\030\006 \001(\005\022J\n\rsample_method\030\004 \001(\01623.google" + - ".privacy.dlp.v2.BigQueryOptions.SampleMe" + - "thod\0227\n\017excluded_fields\030\005 \003(\0132\036.google.p" + - "rivacy.dlp.v2.FieldId\0227\n\017included_fields" + - "\030\007 \003(\0132\036.google.privacy.dlp.v2.FieldId\"H" + - "\n\014SampleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIF" + - "IED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\332\004\n\rSto" + - "rageConfig\022D\n\021datastore_options\030\002 \001(\0132\'." + - "google.privacy.dlp.v2.DatastoreOptionsH\000" + - "\022K\n\025cloud_storage_options\030\003 \001(\0132*.google" + - ".privacy.dlp.v2.CloudStorageOptionsH\000\022C\n" + - "\021big_query_options\030\004 \001(\0132&.google.privac" + - "y.dlp.v2.BigQueryOptionsH\000\022>\n\016hybrid_opt" + - "ions\030\t \001(\0132$.google.privacy.dlp.v2.Hybri" + - "dOptionsH\000\022L\n\017timespan_config\030\006 \001(\01323.go" + - "ogle.privacy.dlp.v2.StorageConfig.Timesp" + - "anConfig\032\332\001\n\016TimespanConfig\022.\n\nstart_tim" + - "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + - "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam" + - "p\0227\n\017timestamp_field\030\003 \001(\0132\036.google.priv" + - "acy.dlp.v2.FieldId\0221\n)enable_auto_popula" + - "tion_of_timespan_config\030\004 \001(\010B\006\n\004type\"\366\001" + - "\n\rHybridOptions\022\023\n\013description\030\001 \001(\t\022#\n\033" + - "required_finding_label_keys\030\002 \003(\t\022@\n\006lab" + - "els\030\003 \003(\01320.google.privacy.dlp.v2.Hybrid" + - "Options.LabelsEntry\022:\n\rtable_options\030\004 \001" + - "(\0132#.google.privacy.dlp.v2.TableOptions\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_reference" + - "\030\001 \001(\0132$.google.privacy.dlp.v2.BigQueryT" + - "able\022\022\n\nrow_number\030\002 \001(\003\">\n\014DatastoreKey" + - "\022.\n\nentity_key\030\001 \001(\0132\032.google.privacy.dl" + - "p.v2.Key\"\273\001\n\003Key\0228\n\014partition_id\030\001 \001(\0132\"" + - ".google.privacy.dlp.v2.PartitionId\0224\n\004pa" + - "th\030\002 \003(\0132&.google.privacy.dlp.v2.Key.Pat" + - "hElement\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#.go" + - "ogle.privacy.dlp.v2.DatastoreKeyH\000\022;\n\rbi" + - "g_query_key\030\003 \001(\0132\".google.privacy.dlp.v" + - "2.BigQueryKeyH\000\022\021\n\tid_values\030\005 \003(\tB\006\n\004ty" + - "pe\"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.p" + - "rivacy.dlp.v2.BigQueryTable\022-\n\005field\030\002 \001" + - "(\0132\036.google.privacy.dlp.v2.FieldId\"9\n\010En" + - "tityId\022-\n\005field\030\001 \001(\0132\036.google.privacy.d" + - "lp.v2.FieldId\"J\n\014TableOptions\022:\n\022identif" + - "ying_fields\030\001 \003(\0132\036.google.privacy.dlp.v" + - "2.FieldId*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UN" + - "SPECIFIED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKE" + - "LY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_L" + - "IKELY\020\005*\232\001\n\010FileType\022\031\n\025FILE_TYPE_UNSPEC" + - "IFIED\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\t\022\016\n\nPOWERPOINT\020\013\022\t\n\005EXC" + - "EL\020\014B\250\001\n\031com.google.privacy.dlp.v2B\nDlpS" + - "torageP\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::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_SensitivityScore_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor, - new java.lang.String[] { "Score", }); - internal_static_google_privacy_dlp_v2_StoredType_descriptor = - getDescriptor().getMessageTypes().get(2); - 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(3); - 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(4); - 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(5); - 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(6); - 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(7); - 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(8); - 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(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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/ImageTransformationsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformationsOrBuilder.java deleted file mode 100644 index c07bc793..00000000 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformationsOrBuilder.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 ImageTransformationsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; - */ - java.util.List - getTransformsList(); - /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; - */ - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getTransforms(int index); - /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; - */ - int getTransformsCount(); - /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; - */ - java.util.List - getTransformsOrBuilderList(); - /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; - */ - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder getTransformsOrBuilder( - int index); -} 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 73% 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 65f4eeca..a53a5ea9 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,111 +69,140 @@ 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();
-            }
-            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 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;
             }
-            actionCase_ = 5;
-            break;
-          }
-          case 58: {
-            com.google.privacy.dlp.v2.Action.Deidentify.Builder subBuilder = null;
-            if (actionCase_ == 7) {
-              subBuilder = ((com.google.privacy.dlp.v2.Action.Deidentify) 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.Deidentify.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.Deidentify) 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_ = 7;
-            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 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.JobNotificationEmails.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.JobNotificationEmails) action_);
-              action_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.privacy.dlp.v2.Action.Deidentify.Builder subBuilder = null;
+              if (actionCase_ == 7) {
+                subBuilder = ((com.google.privacy.dlp.v2.Action.Deidentify) action_).toBuilder();
+              }
+              action_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.Action.Deidentify.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.privacy.dlp.v2.Action.Deidentify) action_);
+                action_ = subBuilder.buildPartial();
+              }
+              actionCase_ = 7;
+              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) {
@@ -165,49 +210,59 @@ private Action(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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.
      * 
@@ -217,6 +272,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
@@ -226,30 +283,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)
@@ -268,26 +324,29 @@ 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();
-              }
+            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;
-            }
-            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) {
@@ -295,34 +354,39 @@ private SaveFindings(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -330,18 +394,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.
      * 
@@ -354,6 +425,7 @@ public com.google.privacy.dlp.v2.OutputStorageConfigOrBuilder getOutputConfigOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,8 +437,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -380,8 +451,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; @@ -391,17 +461,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; @@ -423,88 +493,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 @@ -514,6 +590,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
@@ -523,21 +601,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()
@@ -545,16 +626,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();
@@ -568,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_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
@@ -589,7 +669,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 {
@@ -603,38 +684,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;
@@ -642,7 +726,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());
         }
@@ -677,34 +762,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.
        * 
@@ -725,6 +823,8 @@ public Builder setOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig val return this; } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -743,6 +843,8 @@ public Builder setOutputConfig( return this; } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -753,7 +855,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; } @@ -765,6 +869,8 @@ public Builder mergeOutputConfig(com.google.privacy.dlp.v2.OutputStorageConfig v return this; } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -783,6 +889,8 @@ public Builder clearOutputConfig() { return this; } /** + * + * *
        * Location to store findings outside of DLP.
        * 
@@ -790,11 +898,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.
        * 
@@ -805,11 +915,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.
        * 
@@ -817,18 +930,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) { @@ -841,12 +958,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(); } @@ -855,16 +972,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; @@ -879,14 +996,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
@@ -895,10 +1014,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
@@ -907,12 +1029,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 a given Pub/Sub topic when DlpJob has completed. The
    * message contains a single field, `DlpJobName`, which is equal to the
@@ -923,31 +1047,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)
@@ -966,19 +1090,20 @@ 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) {
@@ -986,29 +1111,33 @@ private PublishToPubSub(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -1017,6 +1146,7 @@ private PublishToPubSub(
      * 
* * string topic = 1; + * * @return The topic. */ @java.lang.Override @@ -1025,14 +1155,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
@@ -1041,16 +1172,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 { @@ -1059,6 +1189,7 @@ public java.lang.String getTopic() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1070,8 +1201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1095,15 +1225,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; } @@ -1123,87 +1253,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 @@ -1213,6 +1349,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Publish a message into a given Pub/Sub topic when DlpJob has completed. The
      * message contains a single field, `DlpJobName`, which is equal to the
@@ -1223,21 +1361,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()
@@ -1245,16 +1386,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();
@@ -1264,9 +1404,9 @@ public Builder 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
@@ -1285,7 +1425,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;
@@ -1295,38 +1436,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;
@@ -1334,7 +1478,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();
@@ -1358,7 +1503,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) {
@@ -1370,6 +1516,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
@@ -1378,13 +1526,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; @@ -1393,6 +1541,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
@@ -1401,15 +1551,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 { @@ -1417,6 +1566,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
@@ -1425,20 +1576,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
@@ -1447,15 +1600,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
@@ -1464,20 +1620,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) { @@ -1490,12 +1647,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(); } @@ -1504,16 +1661,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; @@ -1528,14 +1685,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).
@@ -1551,30 +1709,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)
@@ -1593,13 +1750,13 @@ 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) {
@@ -1607,27 +1764,30 @@ private PublishSummaryToCscc(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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;
@@ -1639,8 +1799,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       unknownFields.writeTo(output);
     }
 
@@ -1658,12 +1817,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;
@@ -1682,87 +1842,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
@@ -1772,6 +1939,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Publish the result summary of a DlpJob to the Cloud Security
      * Command Center (CSCC Alpha).
@@ -1787,21 +1956,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()
@@ -1809,16 +1981,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();
@@ -1826,9 +1997,9 @@ public Builder 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
@@ -1847,7 +2018,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;
       }
@@ -1856,38 +2028,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;
@@ -1895,7 +2070,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;
@@ -1915,7 +2091,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) {
@@ -1924,6 +2101,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1936,12 +2114,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();
     }
@@ -1950,16 +2128,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;
@@ -1974,14 +2152,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. In Data Catalog, tag
    * templates are applied to the resource that Cloud DLP scanned. Data
@@ -2003,30 +2182,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)
@@ -2045,13 +2225,13 @@ 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) {
@@ -2059,27 +2239,30 @@ private PublishFindingsToCloudDataCatalog(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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;
@@ -2091,8 +2274,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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);
     }
 
@@ -2110,12 +2292,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;
@@ -2134,87 +2317,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
@@ -2224,6 +2415,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag
      * templates are applied to the resource that Cloud DLP scanned. Data
@@ -2245,38 +2438,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();
@@ -2284,14 +2480,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
@@ -2305,7 +2503,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;
       }
@@ -2314,46 +2513,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;
@@ -2373,7 +2579,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) {
@@ -2382,6 +2590,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2394,30 +2603,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;
@@ -2429,37 +2640,46 @@ 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 DeidentifyOrBuilder extends
+  public interface DeidentifyOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.Action.Deidentify)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * User specified deidentify templates and configs for structured,
      * unstructured, and image files.
      * 
* * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * * @return Whether the transformationConfig field is set. */ boolean hasTransformationConfig(); /** + * + * *
      * User specified deidentify templates and configs for structured,
      * unstructured, and image files.
      * 
* * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * * @return The transformationConfig. */ com.google.privacy.dlp.v2.TransformationConfig getTransformationConfig(); /** + * + * *
      * User specified deidentify templates and configs for structured,
      * unstructured, and image files.
@@ -2470,6 +2690,8 @@ public interface DeidentifyOrBuilder extends
     com.google.privacy.dlp.v2.TransformationConfigOrBuilder getTransformationConfigOrBuilder();
 
     /**
+     *
+     *
      * 
      * Config for storing transformation details. This is separate from the
      * de-identified content, and contains metadata about the successful
@@ -2480,11 +2702,16 @@ public interface DeidentifyOrBuilder extends
      * message for more information about what is noted).
      * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * * @return Whether the transformationDetailsStorageConfig field is set. */ boolean hasTransformationDetailsStorageConfig(); /** + * + * *
      * Config for storing transformation details. This is separate from the
      * de-identified content, and contains metadata about the successful
@@ -2495,11 +2722,17 @@ public interface DeidentifyOrBuilder extends
      * message for more information about what is noted).
      * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * * @return The transformationDetailsStorageConfig. */ - com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getTransformationDetailsStorageConfig(); + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig + getTransformationDetailsStorageConfig(); /** + * + * *
      * Config for storing transformation details. This is separate from the
      * de-identified content, and contains metadata about the successful
@@ -2510,11 +2743,16 @@ public interface DeidentifyOrBuilder extends
      * message for more information about what is noted).
      * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * */ - com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder getTransformationDetailsStorageConfigOrBuilder(); + com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder + getTransformationDetailsStorageConfigOrBuilder(); /** + * + * *
      * Required. User settable Cloud Storage bucket and folders to store de-identified
      * files. This field must be set for cloud storage deidentification. The
@@ -2524,10 +2762,13 @@ public interface DeidentifyOrBuilder extends
      * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the cloudStorageOutput field is set. */ boolean hasCloudStorageOutput(); /** + * + * *
      * Required. User settable Cloud Storage bucket and folders to store de-identified
      * files. This field must be set for cloud storage deidentification. The
@@ -2537,10 +2778,13 @@ public interface DeidentifyOrBuilder extends
      * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cloudStorageOutput. */ java.lang.String getCloudStorageOutput(); /** + * + * *
      * Required. User settable Cloud Storage bucket and folders to store de-identified
      * files. This field must be set for cloud storage deidentification. The
@@ -2550,12 +2794,14 @@ public interface DeidentifyOrBuilder extends
      * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cloudStorageOutput. */ - com.google.protobuf.ByteString - getCloudStorageOutputBytes(); + com.google.protobuf.ByteString getCloudStorageOutputBytes(); /** + * + * *
      * List of user-specified file type groups to transform. If specified, only
      * the files with these filetypes will be transformed. If empty, all
@@ -2567,10 +2813,13 @@ public interface DeidentifyOrBuilder extends
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @return A list containing the fileTypesToTransform. */ java.util.List getFileTypesToTransformList(); /** + * + * *
      * List of user-specified file type groups to transform. If specified, only
      * the files with these filetypes will be transformed. If empty, all
@@ -2582,10 +2831,13 @@ public interface DeidentifyOrBuilder extends
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @return The count of fileTypesToTransform. */ int getFileTypesToTransformCount(); /** + * + * *
      * List of user-specified file type groups to transform. If specified, only
      * the files with these filetypes will be transformed. If empty, all
@@ -2597,11 +2849,14 @@ public interface DeidentifyOrBuilder extends
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param index The index of the element to return. * @return The fileTypesToTransform at the given index. */ com.google.privacy.dlp.v2.FileType getFileTypesToTransform(int index); /** + * + * *
      * List of user-specified file type groups to transform. If specified, only
      * the files with these filetypes will be transformed. If empty, all
@@ -2613,11 +2868,13 @@ public interface DeidentifyOrBuilder extends
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @return A list containing the enum numeric values on the wire for fileTypesToTransform. */ - java.util.List - getFileTypesToTransformValueList(); + java.util.List getFileTypesToTransformValueList(); /** + * + * *
      * List of user-specified file type groups to transform. If specified, only
      * the files with these filetypes will be transformed. If empty, all
@@ -2629,6 +2886,7 @@ public interface DeidentifyOrBuilder extends
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypesToTransform at the given index. */ @@ -2637,6 +2895,8 @@ public interface DeidentifyOrBuilder extends public com.google.privacy.dlp.v2.Action.Deidentify.OutputCase getOutputCase(); } /** + * + * *
    * Create a de-identified copy of the requested table or files.
    * A TransformationDetail will be created for each transformation.
@@ -2653,31 +2913,31 @@ public interface DeidentifyOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.Action.Deidentify}
    */
-  public static final class Deidentify extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Deidentify extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.Action.Deidentify)
       DeidentifyOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Deidentify.newBuilder() to construct.
     private Deidentify(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Deidentify() {
       fileTypesToTransform_ = 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 Deidentify();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Deidentify(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2697,68 +2957,79 @@ private Deidentify(
             case 0:
               done = true;
               break;
-            case 26: {
-              com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder subBuilder = null;
-              if (transformationDetailsStorageConfig_ != null) {
-                subBuilder = transformationDetailsStorageConfig_.toBuilder();
-              }
-              transformationDetailsStorageConfig_ = input.readMessage(com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(transformationDetailsStorageConfig_);
-                transformationDetailsStorageConfig_ = subBuilder.buildPartial();
-              }
+            case 26:
+              {
+                com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder subBuilder =
+                    null;
+                if (transformationDetailsStorageConfig_ != null) {
+                  subBuilder = transformationDetailsStorageConfig_.toBuilder();
+                }
+                transformationDetailsStorageConfig_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(transformationDetailsStorageConfig_);
+                  transformationDetailsStorageConfig_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 58: {
-              com.google.privacy.dlp.v2.TransformationConfig.Builder subBuilder = null;
-              if (transformationConfig_ != null) {
-                subBuilder = transformationConfig_.toBuilder();
-              }
-              transformationConfig_ = input.readMessage(com.google.privacy.dlp.v2.TransformationConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(transformationConfig_);
-                transformationConfig_ = subBuilder.buildPartial();
+                break;
               }
+            case 58:
+              {
+                com.google.privacy.dlp.v2.TransformationConfig.Builder subBuilder = null;
+                if (transformationConfig_ != null) {
+                  subBuilder = transformationConfig_.toBuilder();
+                }
+                transformationConfig_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.TransformationConfig.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(transformationConfig_);
+                  transformationConfig_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 64: {
-              int rawValue = input.readEnum();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                fileTypesToTransform_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+                break;
               }
-              fileTypesToTransform_.add(rawValue);
-              break;
-            }
-            case 66: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 64:
+              {
                 int rawValue = input.readEnum();
                 if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                   fileTypesToTransform_ = new java.util.ArrayList();
                   mutable_bitField0_ |= 0x00000001;
                 }
                 fileTypesToTransform_.add(rawValue);
+                break;
               }
-              input.popLimit(oldLimit);
-              break;
-            }
-            case 74: {
-              java.lang.String s = input.readStringRequireUtf8();
-              outputCase_ = 9;
-              output_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 66:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int rawValue = input.readEnum();
+                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                    fileTypesToTransform_ = new java.util.ArrayList();
+                    mutable_bitField0_ |= 0x00000001;
+                  }
+                  fileTypesToTransform_.add(rawValue);
+                }
+                input.popLimit(oldLimit);
+                break;
+              }
+            case 74:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                outputCase_ = 9;
+                output_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2766,8 +3037,7 @@ private Deidentify(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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)) {
           fileTypesToTransform_ = java.util.Collections.unmodifiableList(fileTypesToTransform_);
@@ -2776,27 +3046,33 @@ private Deidentify(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_Deidentify_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_Deidentify_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_Deidentify_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_Action_Deidentify_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.Action.Deidentify.class, com.google.privacy.dlp.v2.Action.Deidentify.Builder.class);
+              com.google.privacy.dlp.v2.Action.Deidentify.class,
+              com.google.privacy.dlp.v2.Action.Deidentify.Builder.class);
     }
 
     private int outputCase_ = 0;
     private java.lang.Object output_;
+
     public enum OutputCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       CLOUD_STORAGE_OUTPUT(9),
       OUTPUT_NOT_SET(0);
       private final int value;
+
       private OutputCase(int value) {
         this.value = value;
       }
@@ -2812,31 +3088,36 @@ public static OutputCase valueOf(int value) {
 
       public static OutputCase forNumber(int value) {
         switch (value) {
-          case 9: return CLOUD_STORAGE_OUTPUT;
-          case 0: return OUTPUT_NOT_SET;
-          default: return null;
+          case 9:
+            return CLOUD_STORAGE_OUTPUT;
+          case 0:
+            return OUTPUT_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public OutputCase
-    getOutputCase() {
-      return OutputCase.forNumber(
-          outputCase_);
+    public OutputCase getOutputCase() {
+      return OutputCase.forNumber(outputCase_);
     }
 
     public static final int TRANSFORMATION_CONFIG_FIELD_NUMBER = 7;
     private com.google.privacy.dlp.v2.TransformationConfig transformationConfig_;
     /**
+     *
+     *
      * 
      * User specified deidentify templates and configs for structured,
      * unstructured, and image files.
      * 
* * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * * @return Whether the transformationConfig field is set. */ @java.lang.Override @@ -2844,19 +3125,26 @@ public boolean hasTransformationConfig() { return transformationConfig_ != null; } /** + * + * *
      * User specified deidentify templates and configs for structured,
      * unstructured, and image files.
      * 
* * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * * @return The transformationConfig. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationConfig getTransformationConfig() { - return transformationConfig_ == null ? com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance() : transformationConfig_; + return transformationConfig_ == null + ? com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance() + : transformationConfig_; } /** + * + * *
      * User specified deidentify templates and configs for structured,
      * unstructured, and image files.
@@ -2865,13 +3153,17 @@ public com.google.privacy.dlp.v2.TransformationConfig getTransformationConfig()
      * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.TransformationConfigOrBuilder getTransformationConfigOrBuilder() {
+    public com.google.privacy.dlp.v2.TransformationConfigOrBuilder
+        getTransformationConfigOrBuilder() {
       return getTransformationConfig();
     }
 
     public static final int TRANSFORMATION_DETAILS_STORAGE_CONFIG_FIELD_NUMBER = 3;
-    private com.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformationDetailsStorageConfig_;
+    private com.google.privacy.dlp.v2.TransformationDetailsStorageConfig
+        transformationDetailsStorageConfig_;
     /**
+     *
+     *
      * 
      * Config for storing transformation details. This is separate from the
      * de-identified content, and contains metadata about the successful
@@ -2882,7 +3174,10 @@ public com.google.privacy.dlp.v2.TransformationConfigOrBuilder getTransformation
      * message for more information about what is noted).
      * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * * @return Whether the transformationDetailsStorageConfig field is set. */ @java.lang.Override @@ -2890,6 +3185,8 @@ public boolean hasTransformationDetailsStorageConfig() { return transformationDetailsStorageConfig_ != null; } /** + * + * *
      * Config for storing transformation details. This is separate from the
      * de-identified content, and contains metadata about the successful
@@ -2900,14 +3197,22 @@ public boolean hasTransformationDetailsStorageConfig() {
      * message for more information about what is noted).
      * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * * @return The transformationDetailsStorageConfig. */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getTransformationDetailsStorageConfig() { - return transformationDetailsStorageConfig_ == null ? com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance() : transformationDetailsStorageConfig_; + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig + getTransformationDetailsStorageConfig() { + return transformationDetailsStorageConfig_ == null + ? com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance() + : transformationDetailsStorageConfig_; } /** + * + * *
      * Config for storing transformation details. This is separate from the
      * de-identified content, and contains metadata about the successful
@@ -2918,15 +3223,20 @@ public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getTransform
      * message for more information about what is noted).
      * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder getTransformationDetailsStorageConfigOrBuilder() { + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder + getTransformationDetailsStorageConfigOrBuilder() { return getTransformationDetailsStorageConfig(); } public static final int CLOUD_STORAGE_OUTPUT_FIELD_NUMBER = 9; /** + * + * *
      * Required. User settable Cloud Storage bucket and folders to store de-identified
      * files. This field must be set for cloud storage deidentification. The
@@ -2936,12 +3246,15 @@ public com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder get
      * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the cloudStorageOutput field is set. */ public boolean hasCloudStorageOutput() { return outputCase_ == 9; } /** + * + * *
      * Required. User settable Cloud Storage bucket and folders to store de-identified
      * files. This field must be set for cloud storage deidentification. The
@@ -2951,6 +3264,7 @@ public boolean hasCloudStorageOutput() {
      * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cloudStorageOutput. */ public java.lang.String getCloudStorageOutput() { @@ -2961,8 +3275,7 @@ public java.lang.String getCloudStorageOutput() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.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 (outputCase_ == 9) { output_ = s; @@ -2971,6 +3284,8 @@ public java.lang.String getCloudStorageOutput() { } } /** + * + * *
      * Required. User settable Cloud Storage bucket and folders to store de-identified
      * files. This field must be set for cloud storage deidentification. The
@@ -2980,18 +3295,17 @@ public java.lang.String getCloudStorageOutput() {
      * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cloudStorageOutput. */ - public com.google.protobuf.ByteString - getCloudStorageOutputBytes() { + public com.google.protobuf.ByteString getCloudStorageOutputBytes() { java.lang.Object ref = ""; if (outputCase_ == 9) { ref = output_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (outputCase_ == 9) { output_ = b; } @@ -3004,16 +3318,20 @@ public java.lang.String getCloudStorageOutput() { public static final int FILE_TYPES_TO_TRANSFORM_FIELD_NUMBER = 8; private java.util.List fileTypesToTransform_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.privacy.dlp.v2.FileType> fileTypesToTransform_converter_ = + java.lang.Integer, com.google.privacy.dlp.v2.FileType> + fileTypesToTransform_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 user-specified file type groups to transform. If specified, only
      * the files with these filetypes will be transformed. If empty, all
@@ -3025,14 +3343,18 @@ public com.google.privacy.dlp.v2.FileType convert(java.lang.Integer from) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @return A list containing the fileTypesToTransform. */ @java.lang.Override public java.util.List getFileTypesToTransformList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.privacy.dlp.v2.FileType>(fileTypesToTransform_, fileTypesToTransform_converter_); + java.lang.Integer, com.google.privacy.dlp.v2.FileType>( + fileTypesToTransform_, fileTypesToTransform_converter_); } /** + * + * *
      * List of user-specified file type groups to transform. If specified, only
      * the files with these filetypes will be transformed. If empty, all
@@ -3044,6 +3366,7 @@ public java.util.List getFileTypesToTransfor
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @return The count of fileTypesToTransform. */ @java.lang.Override @@ -3051,6 +3374,8 @@ public int getFileTypesToTransformCount() { return fileTypesToTransform_.size(); } /** + * + * *
      * List of user-specified file type groups to transform. If specified, only
      * the files with these filetypes will be transformed. If empty, all
@@ -3062,6 +3387,7 @@ public int getFileTypesToTransformCount() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param index The index of the element to return. * @return The fileTypesToTransform at the given index. */ @@ -3070,6 +3396,8 @@ public com.google.privacy.dlp.v2.FileType getFileTypesToTransform(int index) { return fileTypesToTransform_converter_.convert(fileTypesToTransform_.get(index)); } /** + * + * *
      * List of user-specified file type groups to transform. If specified, only
      * the files with these filetypes will be transformed. If empty, all
@@ -3081,14 +3409,16 @@ public com.google.privacy.dlp.v2.FileType getFileTypesToTransform(int index) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @return A list containing the enum numeric values on the wire for fileTypesToTransform. */ @java.lang.Override - public java.util.List - getFileTypesToTransformValueList() { + public java.util.List getFileTypesToTransformValueList() { return fileTypesToTransform_; } /** + * + * *
      * List of user-specified file type groups to transform. If specified, only
      * the files with these filetypes will be transformed. If empty, all
@@ -3100,6 +3430,7 @@ public com.google.privacy.dlp.v2.FileType getFileTypesToTransform(int index) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypesToTransform at the given index. */ @@ -3107,9 +3438,11 @@ public com.google.privacy.dlp.v2.FileType getFileTypesToTransform(int index) { public int getFileTypesToTransformValue(int index) { return fileTypesToTransform_.get(index); } + private int fileTypesToTransformMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3121,8 +3454,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (transformationDetailsStorageConfig_ != null) { output.writeMessage(3, getTransformationDetailsStorageConfig()); @@ -3150,24 +3482,27 @@ public int getSerializedSize() { size = 0; if (transformationDetailsStorageConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTransformationDetailsStorageConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getTransformationDetailsStorageConfig()); } if (transformationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getTransformationConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTransformationConfig()); } { int dataSize = 0; for (int i = 0; i < fileTypesToTransform_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(fileTypesToTransform_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag( + fileTypesToTransform_.get(i)); } size += dataSize; - if (!getFileTypesToTransformList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }fileTypesToTransformMemoizedSerializedSize = dataSize; + if (!getFileTypesToTransformList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + fileTypesToTransformMemoizedSerializedSize = dataSize; } if (outputCase_ == 9) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, output_); @@ -3180,19 +3515,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.Action.Deidentify)) { return super.equals(obj); } - com.google.privacy.dlp.v2.Action.Deidentify other = (com.google.privacy.dlp.v2.Action.Deidentify) obj; + com.google.privacy.dlp.v2.Action.Deidentify other = + (com.google.privacy.dlp.v2.Action.Deidentify) obj; if (hasTransformationConfig() != other.hasTransformationConfig()) return false; if (hasTransformationConfig()) { - if (!getTransformationConfig() - .equals(other.getTransformationConfig())) return false; + if (!getTransformationConfig().equals(other.getTransformationConfig())) return false; } - if (hasTransformationDetailsStorageConfig() != other.hasTransformationDetailsStorageConfig()) return false; + if (hasTransformationDetailsStorageConfig() != other.hasTransformationDetailsStorageConfig()) + return false; if (hasTransformationDetailsStorageConfig()) { if (!getTransformationDetailsStorageConfig() .equals(other.getTransformationDetailsStorageConfig())) return false; @@ -3201,8 +3537,7 @@ public boolean equals(final java.lang.Object obj) { if (!getOutputCase().equals(other.getOutputCase())) return false; switch (outputCase_) { case 9: - if (!getCloudStorageOutput() - .equals(other.getCloudStorageOutput())) return false; + if (!getCloudStorageOutput().equals(other.getCloudStorageOutput())) return false; break; case 0: default: @@ -3243,88 +3578,94 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.Action.Deidentify parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.Action.Deidentify parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action.Deidentify parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.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.Deidentify parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action.Deidentify parseFrom( com.google.protobuf.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.Deidentify parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.Action.Deidentify parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Deidentify parseFrom(java.io.InputStream input) 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.Deidentify parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return 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.Deidentify 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.Deidentify 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.Deidentify parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return 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.Deidentify parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + 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.Deidentify parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { 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.Deidentify prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3334,6 +3675,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Create a de-identified copy of the requested table or files.
      * A TransformationDetail will be created for each transformation.
@@ -3350,21 +3693,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.Action.Deidentify}
      */
-    public static final class Builder extends
-        com.google.protobuf.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.Deidentify)
         com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_Action_Deidentify_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_Deidentify_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_Deidentify_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_Deidentify_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.Action.Deidentify.class, com.google.privacy.dlp.v2.Action.Deidentify.Builder.class);
+                com.google.privacy.dlp.v2.Action.Deidentify.class,
+                com.google.privacy.dlp.v2.Action.Deidentify.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.Action.Deidentify.newBuilder()
@@ -3372,16 +3718,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();
@@ -3405,9 +3750,9 @@ public Builder 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_Deidentify_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_Action_Deidentify_descriptor;
       }
 
       @java.lang.Override
@@ -3426,7 +3771,8 @@ public com.google.privacy.dlp.v2.Action.Deidentify build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.Action.Deidentify buildPartial() {
-        com.google.privacy.dlp.v2.Action.Deidentify result = new com.google.privacy.dlp.v2.Action.Deidentify(this);
+        com.google.privacy.dlp.v2.Action.Deidentify result =
+            new com.google.privacy.dlp.v2.Action.Deidentify(this);
         int from_bitField0_ = bitField0_;
         if (transformationConfigBuilder_ == null) {
           result.transformationConfig_ = transformationConfig_;
@@ -3436,7 +3782,8 @@ public com.google.privacy.dlp.v2.Action.Deidentify buildPartial() {
         if (transformationDetailsStorageConfigBuilder_ == null) {
           result.transformationDetailsStorageConfig_ = transformationDetailsStorageConfig_;
         } else {
-          result.transformationDetailsStorageConfig_ = transformationDetailsStorageConfigBuilder_.build();
+          result.transformationDetailsStorageConfig_ =
+              transformationDetailsStorageConfigBuilder_.build();
         }
         if (outputCase_ == 9) {
           result.output_ = output_;
@@ -3455,38 +3802,41 @@ public com.google.privacy.dlp.v2.Action.Deidentify buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         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.Deidentify) {
-          return mergeFrom((com.google.privacy.dlp.v2.Action.Deidentify)other);
+          return mergeFrom((com.google.privacy.dlp.v2.Action.Deidentify) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3512,15 +3862,17 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.Action.Deidentify other) {
           onChanged();
         }
         switch (other.getOutputCase()) {
-          case CLOUD_STORAGE_OUTPUT: {
-            outputCase_ = 9;
-            output_ = other.output_;
-            onChanged();
-            break;
-          }
-          case OUTPUT_NOT_SET: {
-            break;
-          }
+          case CLOUD_STORAGE_OUTPUT:
+            {
+              outputCase_ = 9;
+              output_ = other.output_;
+              onChanged();
+              break;
+            }
+          case OUTPUT_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -3550,12 +3902,12 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int outputCase_ = 0;
       private java.lang.Object output_;
-      public OutputCase
-          getOutputCase() {
-        return OutputCase.forNumber(
-            outputCase_);
+
+      public OutputCase getOutputCase() {
+        return OutputCase.forNumber(outputCase_);
       }
 
       public Builder clearOutput() {
@@ -3569,36 +3921,49 @@ public Builder clearOutput() {
 
       private com.google.privacy.dlp.v2.TransformationConfig transformationConfig_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.TransformationConfig, com.google.privacy.dlp.v2.TransformationConfig.Builder, com.google.privacy.dlp.v2.TransformationConfigOrBuilder> transformationConfigBuilder_;
+              com.google.privacy.dlp.v2.TransformationConfig,
+              com.google.privacy.dlp.v2.TransformationConfig.Builder,
+              com.google.privacy.dlp.v2.TransformationConfigOrBuilder>
+          transformationConfigBuilder_;
       /**
+       *
+       *
        * 
        * User specified deidentify templates and configs for structured,
        * unstructured, and image files.
        * 
* * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * * @return Whether the transformationConfig field is set. */ public boolean hasTransformationConfig() { return transformationConfigBuilder_ != null || transformationConfig_ != null; } /** + * + * *
        * User specified deidentify templates and configs for structured,
        * unstructured, and image files.
        * 
* * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7; + * * @return The transformationConfig. */ public com.google.privacy.dlp.v2.TransformationConfig getTransformationConfig() { if (transformationConfigBuilder_ == null) { - return transformationConfig_ == null ? com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance() : transformationConfig_; + return transformationConfig_ == null + ? com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance() + : transformationConfig_; } else { return transformationConfigBuilder_.getMessage(); } } /** + * + * *
        * User specified deidentify templates and configs for structured,
        * unstructured, and image files.
@@ -3620,6 +3985,8 @@ public Builder setTransformationConfig(com.google.privacy.dlp.v2.TransformationC
         return this;
       }
       /**
+       *
+       *
        * 
        * User specified deidentify templates and configs for structured,
        * unstructured, and image files.
@@ -3639,6 +4006,8 @@ public Builder setTransformationConfig(
         return this;
       }
       /**
+       *
+       *
        * 
        * User specified deidentify templates and configs for structured,
        * unstructured, and image files.
@@ -3646,11 +4015,14 @@ public Builder setTransformationConfig(
        *
        * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
        */
-      public Builder mergeTransformationConfig(com.google.privacy.dlp.v2.TransformationConfig value) {
+      public Builder mergeTransformationConfig(
+          com.google.privacy.dlp.v2.TransformationConfig value) {
         if (transformationConfigBuilder_ == null) {
           if (transformationConfig_ != null) {
             transformationConfig_ =
-              com.google.privacy.dlp.v2.TransformationConfig.newBuilder(transformationConfig_).mergeFrom(value).buildPartial();
+                com.google.privacy.dlp.v2.TransformationConfig.newBuilder(transformationConfig_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             transformationConfig_ = value;
           }
@@ -3662,6 +4034,8 @@ public Builder mergeTransformationConfig(com.google.privacy.dlp.v2.Transformatio
         return this;
       }
       /**
+       *
+       *
        * 
        * User specified deidentify templates and configs for structured,
        * unstructured, and image files.
@@ -3681,6 +4055,8 @@ public Builder clearTransformationConfig() {
         return this;
       }
       /**
+       *
+       *
        * 
        * User specified deidentify templates and configs for structured,
        * unstructured, and image files.
@@ -3688,12 +4064,15 @@ public Builder clearTransformationConfig() {
        *
        * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
        */
-      public com.google.privacy.dlp.v2.TransformationConfig.Builder getTransformationConfigBuilder() {
-        
+      public com.google.privacy.dlp.v2.TransformationConfig.Builder
+          getTransformationConfigBuilder() {
+
         onChanged();
         return getTransformationConfigFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * User specified deidentify templates and configs for structured,
        * unstructured, and image files.
@@ -3701,15 +4080,19 @@ public com.google.privacy.dlp.v2.TransformationConfig.Builder getTransformationC
        *
        * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
        */
-      public com.google.privacy.dlp.v2.TransformationConfigOrBuilder getTransformationConfigOrBuilder() {
+      public com.google.privacy.dlp.v2.TransformationConfigOrBuilder
+          getTransformationConfigOrBuilder() {
         if (transformationConfigBuilder_ != null) {
           return transformationConfigBuilder_.getMessageOrBuilder();
         } else {
-          return transformationConfig_ == null ?
-              com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance() : transformationConfig_;
+          return transformationConfig_ == null
+              ? com.google.privacy.dlp.v2.TransformationConfig.getDefaultInstance()
+              : transformationConfig_;
         }
       }
       /**
+       *
+       *
        * 
        * User specified deidentify templates and configs for structured,
        * unstructured, and image files.
@@ -3718,23 +4101,32 @@ public com.google.privacy.dlp.v2.TransformationConfigOrBuilder getTransformation
        * .google.privacy.dlp.v2.TransformationConfig transformation_config = 7;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.TransformationConfig, com.google.privacy.dlp.v2.TransformationConfig.Builder, com.google.privacy.dlp.v2.TransformationConfigOrBuilder> 
+              com.google.privacy.dlp.v2.TransformationConfig,
+              com.google.privacy.dlp.v2.TransformationConfig.Builder,
+              com.google.privacy.dlp.v2.TransformationConfigOrBuilder>
           getTransformationConfigFieldBuilder() {
         if (transformationConfigBuilder_ == null) {
-          transformationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.TransformationConfig, com.google.privacy.dlp.v2.TransformationConfig.Builder, com.google.privacy.dlp.v2.TransformationConfigOrBuilder>(
-                  getTransformationConfig(),
-                  getParentForChildren(),
-                  isClean());
+          transformationConfigBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.TransformationConfig,
+                  com.google.privacy.dlp.v2.TransformationConfig.Builder,
+                  com.google.privacy.dlp.v2.TransformationConfigOrBuilder>(
+                  getTransformationConfig(), getParentForChildren(), isClean());
           transformationConfig_ = null;
         }
         return transformationConfigBuilder_;
       }
 
-      private com.google.privacy.dlp.v2.TransformationDetailsStorageConfig transformationDetailsStorageConfig_;
+      private com.google.privacy.dlp.v2.TransformationDetailsStorageConfig
+          transformationDetailsStorageConfig_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.TransformationDetailsStorageConfig, com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder, com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder> transformationDetailsStorageConfigBuilder_;
+              com.google.privacy.dlp.v2.TransformationDetailsStorageConfig,
+              com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder,
+              com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder>
+          transformationDetailsStorageConfigBuilder_;
       /**
+       *
+       *
        * 
        * Config for storing transformation details. This is separate from the
        * de-identified content, and contains metadata about the successful
@@ -3745,13 +4137,19 @@ public com.google.privacy.dlp.v2.TransformationConfigOrBuilder getTransformation
        * message for more information about what is noted).
        * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * * @return Whether the transformationDetailsStorageConfig field is set. */ public boolean hasTransformationDetailsStorageConfig() { - return transformationDetailsStorageConfigBuilder_ != null || transformationDetailsStorageConfig_ != null; + return transformationDetailsStorageConfigBuilder_ != null + || transformationDetailsStorageConfig_ != null; } /** + * + * *
        * Config for storing transformation details. This is separate from the
        * de-identified content, and contains metadata about the successful
@@ -3762,17 +4160,25 @@ public boolean hasTransformationDetailsStorageConfig() {
        * message for more information about what is noted).
        * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * * @return The transformationDetailsStorageConfig. */ - public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getTransformationDetailsStorageConfig() { + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig + getTransformationDetailsStorageConfig() { if (transformationDetailsStorageConfigBuilder_ == null) { - return transformationDetailsStorageConfig_ == null ? com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance() : transformationDetailsStorageConfig_; + return transformationDetailsStorageConfig_ == null + ? com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance() + : transformationDetailsStorageConfig_; } else { return transformationDetailsStorageConfigBuilder_.getMessage(); } } /** + * + * *
        * Config for storing transformation details. This is separate from the
        * de-identified content, and contains metadata about the successful
@@ -3783,9 +4189,12 @@ public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getTransform
        * message for more information about what is noted).
        * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * */ - public Builder setTransformationDetailsStorageConfig(com.google.privacy.dlp.v2.TransformationDetailsStorageConfig value) { + public Builder setTransformationDetailsStorageConfig( + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig value) { if (transformationDetailsStorageConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3799,6 +4208,8 @@ public Builder setTransformationDetailsStorageConfig(com.google.privacy.dlp.v2.T return this; } /** + * + * *
        * Config for storing transformation details. This is separate from the
        * de-identified content, and contains metadata about the successful
@@ -3809,7 +4220,9 @@ public Builder setTransformationDetailsStorageConfig(com.google.privacy.dlp.v2.T
        * message for more information about what is noted).
        * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * */ public Builder setTransformationDetailsStorageConfig( com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder builderForValue) { @@ -3823,6 +4236,8 @@ public Builder setTransformationDetailsStorageConfig( return this; } /** + * + * *
        * Config for storing transformation details. This is separate from the
        * de-identified content, and contains metadata about the successful
@@ -3833,13 +4248,19 @@ public Builder setTransformationDetailsStorageConfig(
        * message for more information about what is noted).
        * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * */ - public Builder mergeTransformationDetailsStorageConfig(com.google.privacy.dlp.v2.TransformationDetailsStorageConfig value) { + public Builder mergeTransformationDetailsStorageConfig( + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig value) { if (transformationDetailsStorageConfigBuilder_ == null) { if (transformationDetailsStorageConfig_ != null) { transformationDetailsStorageConfig_ = - com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.newBuilder(transformationDetailsStorageConfig_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.newBuilder( + transformationDetailsStorageConfig_) + .mergeFrom(value) + .buildPartial(); } else { transformationDetailsStorageConfig_ = value; } @@ -3851,6 +4272,8 @@ public Builder mergeTransformationDetailsStorageConfig(com.google.privacy.dlp.v2 return this; } /** + * + * *
        * Config for storing transformation details. This is separate from the
        * de-identified content, and contains metadata about the successful
@@ -3861,7 +4284,9 @@ public Builder mergeTransformationDetailsStorageConfig(com.google.privacy.dlp.v2
        * message for more information about what is noted).
        * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * */ public Builder clearTransformationDetailsStorageConfig() { if (transformationDetailsStorageConfigBuilder_ == null) { @@ -3875,6 +4300,8 @@ public Builder clearTransformationDetailsStorageConfig() { return this; } /** + * + * *
        * Config for storing transformation details. This is separate from the
        * de-identified content, and contains metadata about the successful
@@ -3885,14 +4312,19 @@ public Builder clearTransformationDetailsStorageConfig() {
        * message for more information about what is noted).
        * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * */ - public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder getTransformationDetailsStorageConfigBuilder() { - + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder + getTransformationDetailsStorageConfigBuilder() { + onChanged(); return getTransformationDetailsStorageConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Config for storing transformation details. This is separate from the
        * de-identified content, and contains metadata about the successful
@@ -3903,17 +4335,23 @@ public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder getT
        * message for more information about what is noted).
        * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * */ - public com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder getTransformationDetailsStorageConfigOrBuilder() { + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder + getTransformationDetailsStorageConfigOrBuilder() { if (transformationDetailsStorageConfigBuilder_ != null) { return transformationDetailsStorageConfigBuilder_.getMessageOrBuilder(); } else { - return transformationDetailsStorageConfig_ == null ? - com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance() : transformationDetailsStorageConfig_; + return transformationDetailsStorageConfig_ == null + ? com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance() + : transformationDetailsStorageConfig_; } } /** + * + * *
        * Config for storing transformation details. This is separate from the
        * de-identified content, and contains metadata about the successful
@@ -3924,23 +4362,30 @@ public com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder get
        * message for more information about what is noted).
        * 
* - * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * + * .google.privacy.dlp.v2.TransformationDetailsStorageConfig transformation_details_storage_config = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationDetailsStorageConfig, com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder, com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder> + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig, + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder, + com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder> getTransformationDetailsStorageConfigFieldBuilder() { if (transformationDetailsStorageConfigBuilder_ == null) { - transformationDetailsStorageConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationDetailsStorageConfig, com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder, com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder>( - getTransformationDetailsStorageConfig(), - getParentForChildren(), - isClean()); + transformationDetailsStorageConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig, + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder, + com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder>( + getTransformationDetailsStorageConfig(), getParentForChildren(), isClean()); transformationDetailsStorageConfig_ = null; } return transformationDetailsStorageConfigBuilder_; } /** + * + * *
        * Required. User settable Cloud Storage bucket and folders to store de-identified
        * files. This field must be set for cloud storage deidentification. The
@@ -3950,6 +4395,7 @@ public com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder get
        * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the cloudStorageOutput field is set. */ @java.lang.Override @@ -3957,6 +4403,8 @@ public boolean hasCloudStorageOutput() { return outputCase_ == 9; } /** + * + * *
        * Required. User settable Cloud Storage bucket and folders to store de-identified
        * files. This field must be set for cloud storage deidentification. The
@@ -3966,6 +4414,7 @@ public boolean hasCloudStorageOutput() {
        * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cloudStorageOutput. */ @java.lang.Override @@ -3975,8 +4424,7 @@ public java.lang.String getCloudStorageOutput() { ref = output_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (outputCase_ == 9) { output_ = s; @@ -3987,6 +4435,8 @@ public java.lang.String getCloudStorageOutput() { } } /** + * + * *
        * Required. User settable Cloud Storage bucket and folders to store de-identified
        * files. This field must be set for cloud storage deidentification. The
@@ -3996,19 +4446,18 @@ public java.lang.String getCloudStorageOutput() {
        * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cloudStorageOutput. */ @java.lang.Override - public com.google.protobuf.ByteString - getCloudStorageOutputBytes() { + public com.google.protobuf.ByteString getCloudStorageOutputBytes() { java.lang.Object ref = ""; if (outputCase_ == 9) { ref = output_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (outputCase_ == 9) { output_ = b; } @@ -4018,6 +4467,8 @@ public java.lang.String getCloudStorageOutput() { } } /** + * + * *
        * Required. User settable Cloud Storage bucket and folders to store de-identified
        * files. This field must be set for cloud storage deidentification. The
@@ -4027,20 +4478,22 @@ public java.lang.String getCloudStorageOutput() {
        * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The cloudStorageOutput to set. * @return This builder for chaining. */ - public Builder setCloudStorageOutput( - java.lang.String value) { + public Builder setCloudStorageOutput(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - outputCase_ = 9; + throw new NullPointerException(); + } + outputCase_ = 9; output_ = value; onChanged(); return this; } /** + * + * *
        * Required. User settable Cloud Storage bucket and folders to store de-identified
        * files. This field must be set for cloud storage deidentification. The
@@ -4050,6 +4503,7 @@ public Builder setCloudStorageOutput(
        * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCloudStorageOutput() { @@ -4061,6 +4515,8 @@ public Builder clearCloudStorageOutput() { return this; } /** + * + * *
        * Required. User settable Cloud Storage bucket and folders to store de-identified
        * files. This field must be set for cloud storage deidentification. The
@@ -4070,15 +4526,15 @@ public Builder clearCloudStorageOutput() {
        * 
* * string cloud_storage_output = 9 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for cloudStorageOutput to set. * @return This builder for chaining. */ - public Builder setCloudStorageOutputBytes( - com.google.protobuf.ByteString value) { + public Builder setCloudStorageOutputBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); outputCase_ = 9; output_ = value; onChanged(); @@ -4086,7 +4542,8 @@ public Builder setCloudStorageOutputBytes( } private java.util.List fileTypesToTransform_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFileTypesToTransformIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fileTypesToTransform_ = new java.util.ArrayList(fileTypesToTransform_); @@ -4094,6 +4551,8 @@ private void ensureFileTypesToTransformIsMutable() { } } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4105,13 +4564,17 @@ private void ensureFileTypesToTransformIsMutable() {
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @return A list containing the fileTypesToTransform. */ public java.util.List getFileTypesToTransformList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.privacy.dlp.v2.FileType>(fileTypesToTransform_, fileTypesToTransform_converter_); + java.lang.Integer, com.google.privacy.dlp.v2.FileType>( + fileTypesToTransform_, fileTypesToTransform_converter_); } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4123,12 +4586,15 @@ public java.util.List getFileTypesToTransfor
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @return The count of fileTypesToTransform. */ public int getFileTypesToTransformCount() { return fileTypesToTransform_.size(); } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4140,6 +4606,7 @@ public int getFileTypesToTransformCount() {
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param index The index of the element to return. * @return The fileTypesToTransform at the given index. */ @@ -4147,6 +4614,8 @@ public com.google.privacy.dlp.v2.FileType getFileTypesToTransform(int index) { return fileTypesToTransform_converter_.convert(fileTypesToTransform_.get(index)); } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4158,12 +4627,12 @@ public com.google.privacy.dlp.v2.FileType getFileTypesToTransform(int index) {
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param index The index to set the value at. * @param value The fileTypesToTransform to set. * @return This builder for chaining. */ - public Builder setFileTypesToTransform( - int index, com.google.privacy.dlp.v2.FileType value) { + public Builder setFileTypesToTransform(int index, com.google.privacy.dlp.v2.FileType value) { if (value == null) { throw new NullPointerException(); } @@ -4173,6 +4642,8 @@ public Builder setFileTypesToTransform( return this; } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4184,6 +4655,7 @@ public Builder setFileTypesToTransform(
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param value The fileTypesToTransform to add. * @return This builder for chaining. */ @@ -4197,6 +4669,8 @@ public Builder addFileTypesToTransform(com.google.privacy.dlp.v2.FileType value) return this; } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4208,6 +4682,7 @@ public Builder addFileTypesToTransform(com.google.privacy.dlp.v2.FileType value)
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param values The fileTypesToTransform to add. * @return This builder for chaining. */ @@ -4221,6 +4696,8 @@ public Builder addAllFileTypesToTransform( return this; } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4232,6 +4709,7 @@ public Builder addAllFileTypesToTransform(
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @return This builder for chaining. */ public Builder clearFileTypesToTransform() { @@ -4241,6 +4719,8 @@ public Builder clearFileTypesToTransform() { return this; } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4252,13 +4732,15 @@ public Builder clearFileTypesToTransform() {
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @return A list containing the enum numeric values on the wire for fileTypesToTransform. */ - public java.util.List - getFileTypesToTransformValueList() { + public java.util.List getFileTypesToTransformValueList() { return java.util.Collections.unmodifiableList(fileTypesToTransform_); } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4270,6 +4752,7 @@ public Builder clearFileTypesToTransform() {
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of fileTypesToTransform at the given index. */ @@ -4277,6 +4760,8 @@ public int getFileTypesToTransformValue(int index) { return fileTypesToTransform_.get(index); } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4288,18 +4773,20 @@ public int getFileTypesToTransformValue(int index) {
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for fileTypesToTransform to set. * @return This builder for chaining. */ - public Builder setFileTypesToTransformValue( - int index, int value) { + public Builder setFileTypesToTransformValue(int index, int value) { ensureFileTypesToTransformIsMutable(); fileTypesToTransform_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4311,6 +4798,7 @@ public Builder setFileTypesToTransformValue(
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param value The enum numeric value on the wire for fileTypesToTransform to add. * @return This builder for chaining. */ @@ -4321,6 +4809,8 @@ public Builder addFileTypesToTransformValue(int value) { return this; } /** + * + * *
        * List of user-specified file type groups to transform. If specified, only
        * the files with these filetypes will be transformed. If empty, all
@@ -4332,11 +4822,11 @@ public Builder addFileTypesToTransformValue(int value) {
        * 
* * repeated .google.privacy.dlp.v2.FileType file_types_to_transform = 8; + * * @param values The enum numeric values on the wire for fileTypesToTransform to add. * @return This builder for chaining. */ - public Builder addAllFileTypesToTransformValue( - java.lang.Iterable values) { + public Builder addAllFileTypesToTransformValue(java.lang.Iterable values) { ensureFileTypesToTransformIsMutable(); for (int value : values) { fileTypesToTransform_.add(value); @@ -4344,6 +4834,7 @@ public Builder addAllFileTypesToTransformValue( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4356,12 +4847,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.Action.Deidentify) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.Deidentify) private static final com.google.privacy.dlp.v2.Action.Deidentify DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.Action.Deidentify(); } @@ -4370,16 +4861,16 @@ public static com.google.privacy.dlp.v2.Action.Deidentify getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Deidentify parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Deidentify(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Deidentify parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Deidentify(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4394,14 +4885,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.Action.Deidentify 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 {} /** + * + * *
    * Sends an email when the job completes. The email goes to IAM project owners
    * and technical [Essential
@@ -4410,30 +4902,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)
@@ -4452,13 +4943,13 @@ 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) {
@@ -4466,27 +4957,30 @@ private JobNotificationEmails(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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;
@@ -4498,8 +4992,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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);
     }
 
@@ -4517,12 +5010,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;
@@ -4541,87 +5035,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
@@ -4631,6 +5132,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Sends an email when the job completes. The email goes to IAM project owners
      * and technical [Essential
@@ -4639,21 +5142,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()
@@ -4661,16 +5167,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();
@@ -4678,9 +5183,9 @@ public Builder 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
@@ -4699,7 +5204,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;
       }
@@ -4708,38 +5214,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;
@@ -4747,7 +5256,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;
@@ -4767,7 +5277,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) {
@@ -4776,6 +5287,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4788,12 +5300,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();
     }
@@ -4802,16 +5314,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;
@@ -4826,14 +5338,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
@@ -4843,30 +5356,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)
@@ -4885,13 +5397,13 @@ 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) {
@@ -4899,27 +5411,30 @@ private PublishToStackdriver(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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;
@@ -4931,8 +5446,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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);
     }
 
@@ -4950,12 +5464,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;
@@ -4974,87 +5489,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
@@ -5064,6 +5586,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
@@ -5073,21 +5597,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()
@@ -5095,16 +5622,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();
@@ -5112,9 +5638,9 @@ public Builder 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
@@ -5133,7 +5659,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;
       }
@@ -5142,38 +5669,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;
@@ -5181,7 +5711,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;
@@ -5201,7 +5732,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) {
@@ -5210,6 +5742,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5222,12 +5755,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();
     }
@@ -5236,16 +5769,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;
@@ -5260,13 +5793,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),
@@ -5277,6 +5811,7 @@ public enum ActionCase
     PUBLISH_TO_STACKDRIVER(9),
     ACTION_NOT_SET(0);
     private final int value;
+
     private ActionCase(int value) {
       this.value = value;
     }
@@ -5292,35 +5827,46 @@ 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 7: return DEIDENTIFY;
-        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 7:
+          return DEIDENTIFY;
+        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 @@ -5328,21 +5874,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.
    * 
@@ -5352,18 +5903,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 Pub/Sub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * * @return Whether the pubSub field is set. */ @java.lang.Override @@ -5371,21 +5925,26 @@ public boolean hasPubSub() { return actionCase_ == 2; } /** + * + * *
    * Publish a notification to a Pub/Sub 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 Pub/Sub topic.
    * 
@@ -5395,18 +5954,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 @@ -5414,21 +5976,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).
    * 
@@ -5436,20 +6003,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 @@ -5457,42 +6030,56 @@ 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 DEIDENTIFY_FIELD_NUMBER = 7; /** + * + * *
    * Create a de-identified copy of the input data.
    * 
* * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * * @return Whether the deidentify field is set. */ @java.lang.Override @@ -5500,21 +6087,26 @@ public boolean hasDeidentify() { return actionCase_ == 7; } /** + * + * *
    * Create a de-identified copy of the input data.
    * 
* * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * * @return The deidentify. */ @java.lang.Override public com.google.privacy.dlp.v2.Action.Deidentify getDeidentify() { if (actionCase_ == 7) { - return (com.google.privacy.dlp.v2.Action.Deidentify) action_; + return (com.google.privacy.dlp.v2.Action.Deidentify) action_; } return com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance(); } /** + * + * *
    * Create a de-identified copy of the input data.
    * 
@@ -5524,19 +6116,22 @@ public com.google.privacy.dlp.v2.Action.Deidentify getDeidentify() { @java.lang.Override public com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuilder() { if (actionCase_ == 7) { - return (com.google.privacy.dlp.v2.Action.Deidentify) action_; + return (com.google.privacy.dlp.v2.Action.Deidentify) action_; } return com.google.privacy.dlp.v2.Action.Deidentify.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 @@ -5544,22 +6139,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.
@@ -5568,20 +6168,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 @@ -5589,21 +6193,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.
    * 
@@ -5611,14 +6220,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; @@ -5630,8 +6241,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -5642,7 +6252,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_ == 7) { output.writeMessage(7, (com.google.privacy.dlp.v2.Action.Deidentify) action_); @@ -5663,32 +6274,39 @@ 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_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.privacy.dlp.v2.Action.Deidentify) action_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.privacy.dlp.v2.Action.Deidentify) 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; @@ -5698,7 +6316,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); @@ -5708,32 +6326,26 @@ 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 7: - if (!getDeidentify() - .equals(other.getDeidentify())) return false; + if (!getDeidentify().equals(other.getDeidentify())) 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: @@ -5786,97 +6398,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.
@@ -5884,21 +6502,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()
@@ -5906,16 +6526,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();
@@ -5925,9 +6544,9 @@ public Builder 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
@@ -6005,38 +6624,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;
@@ -6046,37 +6666,45 @@ 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 DEIDENTIFY: {
-          mergeDeidentify(other.getDeidentify());
-          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 DEIDENTIFY:
+          {
+            mergeDeidentify(other.getDeidentify());
+            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();
@@ -6106,12 +6734,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() {
@@ -6121,15 +6749,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 @@ -6137,11 +6770,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 @@ -6159,6 +6795,8 @@ public com.google.privacy.dlp.v2.Action.SaveFindings getSaveFindings() { } } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -6179,6 +6817,8 @@ public Builder setSaveFindings(com.google.privacy.dlp.v2.Action.SaveFindings val return this; } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -6197,6 +6837,8 @@ public Builder setSaveFindings( return this; } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -6205,10 +6847,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; } @@ -6224,6 +6869,8 @@ public Builder mergeSaveFindings(com.google.privacy.dlp.v2.Action.SaveFindings v return this; } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -6247,6 +6894,8 @@ public Builder clearSaveFindings() { return this; } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -6257,6 +6906,8 @@ public com.google.privacy.dlp.v2.Action.SaveFindings.Builder getSaveFindingsBuil return getSaveFindingsFieldBuilder().getBuilder(); } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -6275,6 +6926,8 @@ public com.google.privacy.dlp.v2.Action.SaveFindingsOrBuilder getSaveFindingsOrB } } /** + * + * *
      * Save resulting findings in a provided location.
      * 
@@ -6282,32 +6935,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 Pub/Sub topic.
      * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * * @return Whether the pubSub field is set. */ @java.lang.Override @@ -6315,11 +6980,14 @@ public boolean hasPubSub() { return actionCase_ == 2; } /** + * + * *
      * Publish a notification to a Pub/Sub topic.
      * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * * @return The pubSub. */ @java.lang.Override @@ -6337,6 +7005,8 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub getPubSub() { } } /** + * + * *
      * Publish a notification to a Pub/Sub topic.
      * 
@@ -6357,6 +7027,8 @@ public Builder setPubSub(com.google.privacy.dlp.v2.Action.PublishToPubSub value) return this; } /** + * + * *
      * Publish a notification to a Pub/Sub topic.
      * 
@@ -6375,6 +7047,8 @@ public Builder setPubSub( return this; } /** + * + * *
      * Publish a notification to a Pub/Sub topic.
      * 
@@ -6383,10 +7057,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; } @@ -6402,6 +7079,8 @@ public Builder mergePubSub(com.google.privacy.dlp.v2.Action.PublishToPubSub valu return this; } /** + * + * *
      * Publish a notification to a Pub/Sub topic.
      * 
@@ -6425,6 +7104,8 @@ public Builder clearPubSub() { return this; } /** + * + * *
      * Publish a notification to a Pub/Sub topic.
      * 
@@ -6435,6 +7116,8 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSub.Builder getPubSubBuilder return getPubSubFieldBuilder().getBuilder(); } /** + * + * *
      * Publish a notification to a Pub/Sub topic.
      * 
@@ -6453,6 +7136,8 @@ public com.google.privacy.dlp.v2.Action.PublishToPubSubOrBuilder getPubSubOrBuil } } /** + * + * *
      * Publish a notification to a Pub/Sub topic.
      * 
@@ -6460,32 +7145,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 @@ -6493,11 +7190,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 @@ -6515,13 +7215,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(); @@ -6535,6 +7238,8 @@ public Builder setPublishSummaryToCscc(com.google.privacy.dlp.v2.Action.PublishS return this; } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -6553,18 +7258,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; } @@ -6580,6 +7292,8 @@ public Builder mergePublishSummaryToCscc(com.google.privacy.dlp.v2.Action.Publis return this; } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -6603,16 +7317,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).
      * 
@@ -6620,7 +7339,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 { @@ -6631,6 +7351,8 @@ public com.google.privacy.dlp.v2.Action.PublishSummaryToCsccOrBuilder getPublish } } /** + * + * *
      * Publish summary to Cloud Security Command Center (Alpha).
      * 
@@ -6638,32 +7360,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 @@ -6671,35 +7407,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(); @@ -6713,14 +7462,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(); @@ -6731,18 +7485,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; } @@ -6758,11 +7522,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) { @@ -6781,67 +7549,96 @@ 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(); - } - 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>( + 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>( (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.Deidentify, com.google.privacy.dlp.v2.Action.Deidentify.Builder, com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder> deidentifyBuilder_; + com.google.privacy.dlp.v2.Action.Deidentify, + com.google.privacy.dlp.v2.Action.Deidentify.Builder, + com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder> + deidentifyBuilder_; /** + * + * *
      * Create a de-identified copy of the input data.
      * 
* * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * * @return Whether the deidentify field is set. */ @java.lang.Override @@ -6849,11 +7646,14 @@ public boolean hasDeidentify() { return actionCase_ == 7; } /** + * + * *
      * Create a de-identified copy of the input data.
      * 
* * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * * @return The deidentify. */ @java.lang.Override @@ -6871,6 +7671,8 @@ public com.google.privacy.dlp.v2.Action.Deidentify getDeidentify() { } } /** + * + * *
      * Create a de-identified copy of the input data.
      * 
@@ -6891,6 +7693,8 @@ public Builder setDeidentify(com.google.privacy.dlp.v2.Action.Deidentify value) return this; } /** + * + * *
      * Create a de-identified copy of the input data.
      * 
@@ -6909,6 +7713,8 @@ public Builder setDeidentify( return this; } /** + * + * *
      * Create a de-identified copy of the input data.
      * 
@@ -6917,10 +7723,13 @@ public Builder setDeidentify( */ public Builder mergeDeidentify(com.google.privacy.dlp.v2.Action.Deidentify value) { if (deidentifyBuilder_ == null) { - if (actionCase_ == 7 && - action_ != com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance()) { - action_ = com.google.privacy.dlp.v2.Action.Deidentify.newBuilder((com.google.privacy.dlp.v2.Action.Deidentify) action_) - .mergeFrom(value).buildPartial(); + if (actionCase_ == 7 + && action_ != com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance()) { + action_ = + com.google.privacy.dlp.v2.Action.Deidentify.newBuilder( + (com.google.privacy.dlp.v2.Action.Deidentify) action_) + .mergeFrom(value) + .buildPartial(); } else { action_ = value; } @@ -6936,6 +7745,8 @@ public Builder mergeDeidentify(com.google.privacy.dlp.v2.Action.Deidentify value return this; } /** + * + * *
      * Create a de-identified copy of the input data.
      * 
@@ -6959,6 +7770,8 @@ public Builder clearDeidentify() { return this; } /** + * + * *
      * Create a de-identified copy of the input data.
      * 
@@ -6969,6 +7782,8 @@ public com.google.privacy.dlp.v2.Action.Deidentify.Builder getDeidentifyBuilder( return getDeidentifyFieldBuilder().getBuilder(); } /** + * + * *
      * Create a de-identified copy of the input data.
      * 
@@ -6987,6 +7802,8 @@ public com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuild } } /** + * + * *
      * Create a de-identified copy of the input data.
      * 
@@ -6994,33 +7811,45 @@ public com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuild * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.Deidentify, com.google.privacy.dlp.v2.Action.Deidentify.Builder, com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder> + com.google.privacy.dlp.v2.Action.Deidentify, + com.google.privacy.dlp.v2.Action.Deidentify.Builder, + com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder> getDeidentifyFieldBuilder() { if (deidentifyBuilder_ == null) { if (!(actionCase_ == 7)) { action_ = com.google.privacy.dlp.v2.Action.Deidentify.getDefaultInstance(); } - deidentifyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.Action.Deidentify, com.google.privacy.dlp.v2.Action.Deidentify.Builder, com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder>( + deidentifyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.Action.Deidentify, + com.google.privacy.dlp.v2.Action.Deidentify.Builder, + com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder>( (com.google.privacy.dlp.v2.Action.Deidentify) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 7; - onChanged();; + onChanged(); + ; return deidentifyBuilder_; } 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 @@ -7028,12 +7857,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 @@ -7051,6 +7883,8 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmails getJobNotification } } /** + * + * *
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -7058,7 +7892,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();
@@ -7072,6 +7907,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.
@@ -7091,6 +7928,8 @@ public Builder setJobNotificationEmails(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -7098,12 +7937,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;
         }
@@ -7119,6 +7963,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.
@@ -7143,6 +7989,8 @@ public Builder clearJobNotificationEmails() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -7150,10 +7998,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.
@@ -7162,7 +8013,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 {
@@ -7173,6 +8025,8 @@ public com.google.privacy.dlp.v2.Action.JobNotificationEmailsOrBuilder getJobNot
       }
     }
     /**
+     *
+     *
      * 
      * Enable email notification for project owners and editors on job's
      * completion/failure.
@@ -7181,32 +8035,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 @@ -7214,11 +8080,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 @@ -7236,13 +8105,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(); @@ -7256,6 +8128,8 @@ public Builder setPublishToStackdriver(com.google.privacy.dlp.v2.Action.PublishT return this; } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -7274,18 +8148,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; } @@ -7301,6 +8182,8 @@ public Builder mergePublishToStackdriver(com.google.privacy.dlp.v2.Action.Publis return this; } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -7324,16 +8207,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.
      * 
@@ -7341,7 +8229,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 { @@ -7352,6 +8241,8 @@ public com.google.privacy.dlp.v2.Action.PublishToStackdriverOrBuilder getPublish } } /** + * + * *
      * Enable Stackdriver metric dlp.googleapis.com/finding_count.
      * 
@@ -7359,26 +8250,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); } @@ -7388,12 +8285,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(); } @@ -7402,16 +8299,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; @@ -7426,6 +8323,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 80% 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 4afee7fc..6c6bfd38 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 Pub/Sub topic.
    * 
* * .google.privacy.dlp.v2.Action.PublishToPubSub pub_sub = 2; + * * @return Whether the pubSub field is set. */ boolean hasPubSub(); /** + * + * *
    * Publish a notification to a Pub/Sub 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 Pub/Sub 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,51 +129,75 @@ 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(); /** + * + * *
    * Create a de-identified copy of the input data.
    * 
* * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * * @return Whether the deidentify field is set. */ boolean hasDeidentify(); /** + * + * *
    * Create a de-identified copy of the input data.
    * 
* * .google.privacy.dlp.v2.Action.Deidentify deidentify = 7; + * * @return The deidentify. */ com.google.privacy.dlp.v2.Action.Deidentify getDeidentify(); /** + * + * *
    * Create a de-identified copy of the input data.
    * 
@@ -143,26 +207,34 @@ public interface ActionOrBuilder extends com.google.privacy.dlp.v2.Action.DeidentifyOrBuilder getDeidentifyOrBuilder(); /** + * + * *
    * 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.
@@ -170,27 +242,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 d1384c43..b8e960f7 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,19 +70,20 @@ 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) { @@ -73,35 +91,42 @@ private ActivateJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -110,30 +135,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 { @@ -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.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; } @@ -206,117 +233,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() @@ -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_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 @@ -364,7 +399,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; @@ -374,38 +410,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; @@ -413,7 +450,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(); @@ -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.ActivateJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ActivateJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,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; @@ -470,21 +513,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 { @@ -492,64 +538,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); } @@ -559,12 +618,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(); } @@ -573,16 +632,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; @@ -597,6 +656,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 9ef5f2a3..33e5025c 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,136 +68,212 @@ 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) { @@ -189,49 +281,60 @@ private AnalyzeDataSourceRiskDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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.
      * 
@@ -241,24 +344,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.
      * 
@@ -268,6 +379,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.
@@ -275,9 +388,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.
@@ -287,6 +401,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.
@@ -296,6 +412,8 @@ public interface NumericalStatsResultOrBuilder extends
      */
     int getQuantileValuesCount();
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -303,9 +421,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.
@@ -313,41 +433,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) @@ -367,48 +488,53 @@ 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) { @@ -416,8 +542,7 @@ private NumericalStatsResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -426,27 +551,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 @@ -454,11 +586,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 @@ -466,6 +601,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.
      * 
@@ -480,11 +617,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 @@ -492,11 +632,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 @@ -504,6 +647,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.
      * 
@@ -518,6 +663,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.
@@ -530,6 +677,8 @@ public java.util.List getQuantileValuesList() {
       return quantileValues_;
     }
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -538,11 +687,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.
@@ -555,6 +706,8 @@ public int getQuantileValuesCount() {
       return quantileValues_.size();
     }
     /**
+     *
+     *
      * 
      * List of 99 values that partition the set of field values into 100 equal
      * sized buckets.
@@ -567,6 +720,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.
@@ -575,12 +730,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;
@@ -592,8 +747,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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());
       }
@@ -613,16 +767,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;
@@ -632,25 +783,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;
     }
@@ -679,88 +829,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
@@ -770,45 +933,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(); @@ -834,19 +1004,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); } @@ -854,8 +1027,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_; @@ -884,46 +1059,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()); } @@ -948,9 +1132,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_); } @@ -971,11 +1156,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) { @@ -984,38 +1172,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.
        * 
@@ -1036,14 +1238,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(); @@ -1054,6 +1257,8 @@ public Builder setMinValue( return this; } /** + * + * *
        * Minimum value appearing in the column.
        * 
@@ -1064,7 +1269,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; } @@ -1076,6 +1283,8 @@ public Builder mergeMinValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Minimum value appearing in the column.
        * 
@@ -1094,6 +1303,8 @@ public Builder clearMinValue() { return this; } /** + * + * *
        * Minimum value appearing in the column.
        * 
@@ -1101,11 +1312,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.
        * 
@@ -1116,11 +1329,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.
        * 
@@ -1128,14 +1344,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_; @@ -1143,34 +1362,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.
        * 
@@ -1191,14 +1423,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(); @@ -1209,6 +1442,8 @@ public Builder setMaxValue( return this; } /** + * + * *
        * Maximum value appearing in the column.
        * 
@@ -1219,7 +1454,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; } @@ -1231,6 +1468,8 @@ public Builder mergeMaxValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Maximum value appearing in the column.
        * 
@@ -1249,6 +1488,8 @@ public Builder clearMaxValue() { return this; } /** + * + * *
        * Maximum value appearing in the column.
        * 
@@ -1256,11 +1497,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.
        * 
@@ -1271,11 +1514,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.
        * 
@@ -1283,32 +1529,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.
@@ -1324,6 +1580,8 @@ public java.util.List getQuantileValuesList() {
         }
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1339,6 +1597,8 @@ public int getQuantileValuesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1354,6 +1614,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.
@@ -1361,8 +1623,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();
@@ -1376,6 +1637,8 @@ public Builder setQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1395,6 +1658,8 @@ public Builder setQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1416,6 +1681,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.
@@ -1423,8 +1690,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();
@@ -1438,6 +1704,8 @@ public Builder addQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1445,8 +1713,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());
@@ -1457,6 +1724,8 @@ public Builder addQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1476,6 +1745,8 @@ public Builder addQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1487,8 +1758,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);
@@ -1496,6 +1766,8 @@ public Builder addAllQuantileValues(
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1514,6 +1786,8 @@ public Builder clearQuantileValues() {
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1532,6 +1806,8 @@ public Builder removeQuantileValues(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * List of 99 values that partition the set of field values into 100 equal
        * sized buckets.
@@ -1539,11 +1815,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.
@@ -1551,14 +1828,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.
@@ -1566,8 +1845,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 {
@@ -1575,6 +1854,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.
@@ -1583,10 +1864,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.
@@ -1594,12 +1877,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.
@@ -1607,16 +1891,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(),
@@ -1625,6 +1915,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) {
@@ -1637,30 +1928,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;
@@ -1672,92 +1966,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) @@ -1777,22 +2102,29 @@ 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) { @@ -1800,64 +2132,80 @@ private CategoricalStatsResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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.
@@ -1865,9 +2213,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.
@@ -1877,6 +2226,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.
@@ -1886,6 +2237,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.
@@ -1893,9 +2246,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.
@@ -1903,51 +2258,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) @@ -1967,42 +2329,45 @@ 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) { @@ -2010,8 +2375,8 @@ private CategoricalStatsHistogramBucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -2020,27 +2385,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 @@ -2051,11 +2424,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 @@ -2066,11 +2442,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 @@ -2081,6 +2460,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.
@@ -2093,6 +2474,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.
@@ -2101,11 +2484,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.
@@ -2118,6 +2503,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.
@@ -2130,6 +2517,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.
@@ -2138,19 +2527,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 @@ -2159,6 +2550,7 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2170,8 +2562,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -2197,24 +2588,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; @@ -2224,23 +2612,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; } @@ -2253,108 +2644,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 @@ -2364,45 +2780,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(); @@ -2424,19 +2850,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); } @@ -2444,8 +2877,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_; @@ -2468,46 +2907,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()); } @@ -2535,9 +2988,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_); } @@ -2561,11 +3015,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) { @@ -2574,15 +3033,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 @@ -2590,42 +3053,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 @@ -2633,42 +3105,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 @@ -2676,48 +3157,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.
@@ -2733,6 +3227,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.
@@ -2748,6 +3244,8 @@ public int getBucketValuesCount() {
           }
         }
         /**
+         *
+         *
          * 
          * Sample of value frequencies in this bucket. The total number of
          * values returned per bucket is capped at 20.
@@ -2763,6 +3261,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.
@@ -2770,8 +3270,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();
@@ -2785,6 +3284,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.
@@ -2804,6 +3305,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.
@@ -2825,6 +3328,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.
@@ -2832,8 +3337,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();
@@ -2847,6 +3351,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.
@@ -2866,6 +3372,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.
@@ -2885,6 +3393,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.
@@ -2896,8 +3406,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);
@@ -2905,6 +3414,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.
@@ -2923,6 +3434,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.
@@ -2941,6 +3454,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.
@@ -2948,11 +3463,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.
@@ -2963,11 +3479,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.
@@ -2975,8 +3494,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 {
@@ -2984,6 +3503,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.
@@ -2992,10 +3513,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.
@@ -3003,12 +3526,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.
@@ -3016,16 +3540,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(),
@@ -3035,13 +3565,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 @@ -3049,34 +3582,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) { @@ -3089,30 +3629,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; @@ -3124,73 +3670,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; @@ -3202,8 +3782,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -3217,8 +3796,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; @@ -3228,12 +3808,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; @@ -3257,88 +3840,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 @@ -3348,45 +3944,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(); @@ -3400,19 +4004,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); } @@ -3420,12 +4027,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_; @@ -3440,46 +4050,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()) { @@ -3498,11 +4118,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_); } } } @@ -3521,11 +4143,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) { @@ -3534,28 +4159,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 { @@ -3563,11 +4208,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) { @@ -3577,13 +4226,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 { @@ -3591,14 +4246,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(); @@ -3612,14 +4274,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()); @@ -3630,13 +4299,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(); @@ -3650,14 +4326,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(); @@ -3671,14 +4354,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()); @@ -3689,14 +4378,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()); @@ -3707,14 +4403,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( @@ -3726,11 +4430,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) { @@ -3743,11 +4451,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) { @@ -3760,39 +4472,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 { @@ -3800,45 +4530,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(), @@ -3847,6 +4611,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsRe } return valueFrequencyHistogramBucketsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3859,30 +4624,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; @@ -3894,92 +4663,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) @@ -3999,22 +4799,29 @@ 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) { @@ -4022,34 +4829,41 @@ private KAnonymityResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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.
@@ -4058,9 +4872,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.
@@ -4071,6 +4886,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.
@@ -4081,6 +4898,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.
@@ -4089,9 +4908,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.
@@ -4100,52 +4921,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) @@ -4165,27 +4993,29 @@ 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) { @@ -4193,8 +5023,8 @@ private KAnonymityEquivalenceClass( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -4203,22 +5033,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.
@@ -4232,6 +5069,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.
@@ -4241,11 +5080,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.
@@ -4259,6 +5100,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.
@@ -4272,6 +5115,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.
@@ -4281,20 +5126,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 @@ -4303,6 +5150,7 @@ public long getEquivalenceClassSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4314,8 +5162,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -4332,12 +5179,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; @@ -4347,17 +5193,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; } @@ -4374,95 +5226,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 @@ -4472,45 +5352,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(); @@ -4526,19 +5416,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); } @@ -4546,8 +5443,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)) { @@ -4567,46 +5470,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()) { @@ -4625,9 +5542,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_); } @@ -4651,11 +5569,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) { @@ -4664,21 +5587,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.
@@ -4695,6 +5626,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.
@@ -4711,6 +5644,8 @@ public int getQuasiIdsValuesCount() {
           }
         }
         /**
+         *
+         *
          * 
          * Set of values defining the equivalence class. One value per
          * quasi-identifier column in the original KAnonymity metric message.
@@ -4727,6 +5662,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.
@@ -4735,8 +5672,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();
@@ -4750,6 +5686,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.
@@ -4770,6 +5708,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.
@@ -4792,6 +5732,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.
@@ -4800,8 +5742,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();
@@ -4815,6 +5756,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.
@@ -4823,8 +5766,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());
@@ -4835,6 +5777,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,6 +5799,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.
@@ -4867,8 +5813,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);
@@ -4876,6 +5821,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.
@@ -4895,6 +5842,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.
@@ -4914,6 +5863,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.
@@ -4922,11 +5873,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.
@@ -4935,14 +5887,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.
@@ -4951,8 +5905,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 {
@@ -4960,6 +5914,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.
@@ -4969,10 +5925,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.
@@ -4981,12 +5939,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.
@@ -4995,16 +5954,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(),
@@ -5014,14 +5979,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 @@ -5029,36 +5997,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) { @@ -5071,30 +6046,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; @@ -5106,137 +6087,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) @@ -5253,45 +6280,52 @@ 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) { @@ -5299,8 +6333,8 @@ private KAnonymityHistogramBucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -5309,27 +6343,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 @@ -5340,11 +6382,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 @@ -5355,11 +6400,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 @@ -5368,78 +6416,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 @@ -5448,6 +6531,7 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5459,8 +6543,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -5486,24 +6569,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; @@ -5513,23 +6595,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; } @@ -5542,108 +6629,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 @@ -5653,45 +6769,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(); @@ -5713,19 +6839,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); } @@ -5733,8 +6866,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_; @@ -5757,46 +6896,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()); } @@ -5824,9 +6977,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_); } @@ -5850,11 +7004,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) { @@ -5863,15 +7022,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 @@ -5879,42 +7042,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 @@ -5922,42 +7094,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 @@ -5965,56 +7146,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 { @@ -6022,12 +7228,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) { @@ -6037,14 +7247,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 { @@ -6052,15 +7268,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(); @@ -6074,15 +7297,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()); @@ -6093,14 +7323,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(); @@ -6114,15 +7351,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(); @@ -6136,15 +7380,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()); @@ -6155,15 +7405,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()); @@ -6174,19 +7431,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); @@ -6194,12 +7458,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) { @@ -6212,12 +7480,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) { @@ -6230,42 +7502,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 { @@ -6273,48 +7563,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(), @@ -6324,13 +7648,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 @@ -6338,34 +7665,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) { @@ -6378,30 +7712,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; @@ -6413,73 +7753,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; @@ -6491,8 +7865,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -6506,8 +7879,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; @@ -6517,12 +7891,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; @@ -6547,87 +7923,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 @@ -6637,45 +8021,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(); @@ -6689,19 +8080,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); } @@ -6709,17 +8103,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; @@ -6729,46 +8127,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()) { @@ -6787,11 +8193,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_); } } } @@ -6810,11 +8218,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) { @@ -6823,28 +8234,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 { @@ -6852,11 +8283,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) { @@ -6866,13 +8301,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 { @@ -6880,14 +8321,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(); @@ -6901,14 +8349,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()); @@ -6919,13 +8374,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(); @@ -6939,14 +8401,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(); @@ -6960,14 +8429,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()); @@ -6978,14 +8453,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()); @@ -6996,14 +8478,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( @@ -7015,11 +8505,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) { @@ -7032,11 +8526,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) { @@ -7049,39 +8547,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 { @@ -7089,45 +8605,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(), @@ -7136,6 +8686,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) { @@ -7148,30 +8699,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; @@ -7183,92 +8737,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) @@ -7288,22 +8873,29 @@ 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) { @@ -7311,34 +8903,41 @@ private LDiversityResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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.
@@ -7346,9 +8945,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.
@@ -7358,6 +8958,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.
@@ -7367,6 +8969,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.
@@ -7374,9 +8978,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.
@@ -7384,39 +8990,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.
        * 
@@ -7425,6 +9039,8 @@ com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( */ com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index); /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7433,40 +9049,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(); @@ -7474,16 +9099,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) @@ -7503,41 +9127,46 @@ 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) { @@ -7545,8 +9174,8 @@ private LDiversityEquivalenceClass( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -7558,22 +9187,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.
@@ -7586,6 +9222,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.
@@ -7594,11 +9232,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.
@@ -7611,6 +9251,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.
@@ -7623,6 +9265,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.
@@ -7631,19 +9275,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 @@ -7654,11 +9300,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 @@ -7669,6 +9318,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.
        * 
@@ -7680,6 +9331,8 @@ public java.util.List getTopSensitiveV return topSensitiveValues_; } /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7687,11 +9340,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.
        * 
@@ -7703,6 +9358,8 @@ public int getTopSensitiveValuesCount() { return topSensitiveValues_.size(); } /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7714,6 +9371,8 @@ public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) return topSensitiveValues_.get(index); } /** + * + * *
        * Estimated frequencies of top sensitive values.
        * 
@@ -7727,6 +9386,7 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7738,8 +9398,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -7762,20 +9421,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; @@ -7785,21 +9445,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; } @@ -7816,11 +9480,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(); @@ -7830,88 +9492,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 @@ -7921,46 +9612,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(); @@ -7984,19 +9685,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); } @@ -8004,8 +9712,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)) { @@ -8035,46 +9749,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()) { @@ -8093,9 +9821,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_); } @@ -8125,9 +9854,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_); } @@ -8148,11 +9878,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) { @@ -8161,21 +9896,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.
@@ -8191,6 +9934,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.
@@ -8206,6 +9951,8 @@ public int getQuasiIdsValuesCount() {
           }
         }
         /**
+         *
+         *
          * 
          * Quasi-identifier values defining the k-anonymity equivalence
          * class. The order is always the same as the original request.
@@ -8221,6 +9968,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.
@@ -8228,8 +9977,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();
@@ -8243,6 +9991,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.
@@ -8262,6 +10012,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.
@@ -8283,6 +10035,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.
@@ -8290,8 +10044,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();
@@ -8305,6 +10058,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.
@@ -8312,8 +10067,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());
@@ -8324,6 +10078,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.
@@ -8343,6 +10099,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.
@@ -8354,8 +10112,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);
@@ -8363,6 +10120,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.
@@ -8381,6 +10140,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.
@@ -8399,6 +10160,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.
@@ -8406,11 +10169,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.
@@ -8418,14 +10182,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.
@@ -8433,8 +10199,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 {
@@ -8442,6 +10208,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.
@@ -8450,10 +10218,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.
@@ -8461,12 +10231,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.
@@ -8474,16 +10245,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(),
@@ -8493,13 +10270,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 @@ -8507,42 +10287,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 @@ -8550,55 +10339,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 { @@ -8606,6 +10410,8 @@ public java.util.List getTopSensitiveV } } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8620,6 +10426,8 @@ public int getTopSensitiveValuesCount() { } } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8634,6 +10442,8 @@ public com.google.privacy.dlp.v2.ValueFrequency getTopSensitiveValues(int index) } } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8655,6 +10465,8 @@ public Builder setTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8673,6 +10485,8 @@ public Builder setTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8693,6 +10507,8 @@ public Builder addTopSensitiveValues(com.google.privacy.dlp.v2.ValueFrequency va return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8714,6 +10530,8 @@ public Builder addTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8732,6 +10550,8 @@ public Builder addTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8750,6 +10570,8 @@ public Builder addTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8760,8 +10582,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); @@ -8769,6 +10590,8 @@ public Builder addAllTopSensitiveValues( return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8786,6 +10609,8 @@ public Builder clearTopSensitiveValues() { return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8803,6 +10628,8 @@ public Builder removeTopSensitiveValues(int index) { return this; } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8814,6 +10641,8 @@ public com.google.privacy.dlp.v2.ValueFrequency.Builder getTopSensitiveValuesBui return getTopSensitiveValuesFieldBuilder().getBuilder(index); } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8823,19 +10652,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 { @@ -8843,6 +10675,8 @@ public com.google.privacy.dlp.v2.ValueFrequencyOrBuilder getTopSensitiveValuesOr } } /** + * + * *
          * Estimated frequencies of top sensitive values.
          * 
@@ -8850,10 +10684,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.
          * 
@@ -8862,26 +10698,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(), @@ -8890,6 +10734,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) { @@ -8902,30 +10747,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; @@ -8937,139 +10788,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) @@ -9089,42 +10986,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(); - 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) { @@ -9132,8 +11036,8 @@ private LDiversityHistogramBucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -9142,28 +11046,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 @@ -9174,12 +11086,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 @@ -9190,11 +11105,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 @@ -9203,78 +11121,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 @@ -9283,6 +11236,7 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9294,8 +11248,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -9321,24 +11274,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; @@ -9348,23 +11300,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; } @@ -9377,108 +11334,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 @@ -9488,45 +11474,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(); @@ -9548,19 +11544,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); } @@ -9568,8 +11571,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_; @@ -9592,46 +11601,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()); } @@ -9659,9 +11682,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_); } @@ -9685,11 +11709,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) { @@ -9698,16 +11727,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 @@ -9715,45 +11748,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 @@ -9761,44 +11803,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 @@ -9806,56 +11857,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 { @@ -9863,12 +11939,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) { @@ -9878,14 +11958,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 { @@ -9893,15 +11979,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(); @@ -9915,15 +12008,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()); @@ -9934,14 +12034,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(); @@ -9955,15 +12062,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(); @@ -9977,15 +12091,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()); @@ -9996,15 +12116,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()); @@ -10015,19 +12142,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); @@ -10035,12 +12169,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) { @@ -10053,12 +12191,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) { @@ -10071,42 +12213,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 { @@ -10114,48 +12274,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(), @@ -10165,13 +12359,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 @@ -10179,34 +12376,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) { @@ -10219,30 +12423,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; @@ -10254,73 +12464,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; @@ -10332,8 +12576,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -10347,8 +12590,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; @@ -10358,12 +12602,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; @@ -10388,87 +12634,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 @@ -10478,45 +12732,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(); @@ -10530,19 +12791,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); } @@ -10550,17 +12814,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; @@ -10570,54 +12839,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(); } @@ -10626,13 +12905,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_); } } } @@ -10651,11 +12933,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) { @@ -10664,28 +12949,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 { @@ -10693,11 +12998,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) { @@ -10707,13 +13016,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 { @@ -10721,14 +13036,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(); @@ -10742,31 +13064,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(); @@ -10780,14 +13117,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(); @@ -10801,14 +13145,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()); @@ -10819,32 +13169,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( @@ -10856,11 +13222,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) { @@ -10873,11 +13243,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) { @@ -10890,39 +13264,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 { @@ -10930,45 +13322,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(), @@ -10977,6 +13403,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) { @@ -10989,30 +13416,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; @@ -11024,17 +13454,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
@@ -11046,11 +13479,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
@@ -11062,10 +13501,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
@@ -11077,10 +13522,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
@@ -11092,11 +13541,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
@@ -11108,12 +13564,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.
@@ -11121,31 +13582,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)
@@ -11165,22 +13626,29 @@ 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) {
@@ -11188,43 +13656,51 @@ private KMapEstimationResult(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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.
        * 
@@ -11233,6 +13709,8 @@ public interface KMapEstimationQuasiIdValuesOrBuilder extends */ com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index); /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11241,66 +13719,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) @@ -11320,27 +13809,29 @@ 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) { @@ -11348,8 +13839,8 @@ private KMapEstimationQuasiIdValues( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -11358,22 +13849,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.
        * 
@@ -11385,6 +13883,8 @@ public java.util.List getQuasiIdsValuesList() { return quasiIdsValues_; } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11392,11 +13892,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.
        * 
@@ -11408,6 +13910,8 @@ public int getQuasiIdsValuesCount() { return quasiIdsValues_.size(); } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11419,6 +13923,8 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { return quasiIdsValues_.get(index); } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -11426,19 +13932,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 @@ -11447,6 +13955,7 @@ public long getEstimatedAnonymity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11458,8 +13967,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -11476,12 +13984,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; @@ -11491,17 +13998,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; } @@ -11518,95 +14031,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 @@ -11616,45 +14157,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(); @@ -11670,19 +14221,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); } @@ -11690,8 +14248,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)) { @@ -11711,46 +14275,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()) { @@ -11769,9 +14347,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_); } @@ -11795,11 +14374,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) { @@ -11808,21 +14392,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.
          * 
@@ -11837,6 +14429,8 @@ public java.util.List getQuasiIdsValuesList() { } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11851,6 +14445,8 @@ public int getQuasiIdsValuesCount() { } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11865,14 +14461,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(); @@ -11886,6 +14483,8 @@ public Builder setQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11904,6 +14503,8 @@ public Builder setQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11924,14 +14525,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(); @@ -11945,14 +14547,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()); @@ -11963,6 +14566,8 @@ public Builder addQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11981,6 +14586,8 @@ public Builder addQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -11991,8 +14598,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); @@ -12000,6 +14606,8 @@ public Builder addAllQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -12017,6 +14625,8 @@ public Builder clearQuasiIdsValues() { return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -12034,39 +14644,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 { @@ -12074,6 +14689,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -12081,38 +14698,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(), @@ -12122,13 +14748,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 @@ -12136,34 +14765,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) { @@ -12176,30 +14812,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; @@ -12211,106 +14853,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
@@ -12322,33 +15008,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) @@ -12368,42 +15057,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(); - 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) { @@ -12411,8 +15107,8 @@ private KMapEstimationHistogramBucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -12421,27 +15117,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 @@ -12452,11 +15156,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 @@ -12467,11 +15174,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 @@ -12480,78 +15190,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 @@ -12560,6 +15305,7 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12571,8 +15317,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -12598,24 +15343,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; @@ -12625,23 +15365,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; } @@ -12654,108 +15397,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 @@ -12765,6 +15533,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A KMapEstimationHistogramBucket message with the following values:
        *   min_anonymity: 3
@@ -12776,41 +15546,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(); @@ -12832,19 +15610,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); } @@ -12852,8 +15637,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_; @@ -12876,46 +15667,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()); } @@ -12943,9 +15748,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_); } @@ -12969,11 +15775,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) { @@ -12982,15 +15793,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 @@ -12998,42 +15813,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 @@ -13041,42 +15865,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 @@ -13084,56 +15917,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 { @@ -13141,12 +15999,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) { @@ -13156,14 +16018,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 { @@ -13171,15 +16039,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(); @@ -13193,15 +16068,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()); @@ -13212,14 +16094,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(); @@ -13233,15 +16122,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(); @@ -13255,15 +16151,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()); @@ -13274,15 +16176,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()); @@ -13293,19 +16202,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); @@ -13313,12 +16229,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) { @@ -13331,12 +16251,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) { @@ -13349,42 +16273,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 { @@ -13392,48 +16334,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(), @@ -13443,13 +16419,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 @@ -13457,34 +16436,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) { @@ -13497,30 +16483,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; @@ -13532,15 +16524,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
@@ -13552,13 +16550,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
@@ -13570,14 +16575,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
@@ -13589,13 +16601,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
@@ -13607,13 +16623,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
@@ -13625,15 +16647,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; @@ -13645,8 +16671,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -13660,8 +16685,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; @@ -13671,15 +16697,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; } @@ -13700,88 +16728,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 @@ -13791,6 +16832,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Result of the reidentifiability analysis. Note that these results are an
      * estimation, not exact values.
@@ -13798,39 +16841,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();
@@ -13844,19 +16892,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);
         }
@@ -13864,12 +16915,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_;
@@ -13884,46 +16938,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()) {
@@ -13942,9 +17005,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_);
             }
@@ -13965,11 +17029,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) {
@@ -13978,21 +17045,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
@@ -14004,9 +17086,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 { @@ -14014,6 +17101,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 @@ -14025,7 +17114,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) { @@ -14035,6 +17126,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
@@ -14046,9 +17139,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 { @@ -14056,6 +17153,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
@@ -14067,10 +17166,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(); @@ -14084,6 +17188,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
@@ -14095,10 +17201,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()); @@ -14109,6 +17220,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
@@ -14120,9 +17233,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(); @@ -14136,6 +17254,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
@@ -14147,10 +17267,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(); @@ -14164,6 +17289,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
@@ -14175,10 +17302,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()); @@ -14189,6 +17320,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
@@ -14200,10 +17333,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()); @@ -14214,6 +17352,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
@@ -14225,14 +17365,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); @@ -14240,6 +17385,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
@@ -14251,7 +17398,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) { @@ -14264,6 +17413,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
@@ -14275,7 +17426,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) { @@ -14288,6 +17441,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
@@ -14299,13 +17454,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
@@ -14317,16 +17477,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
@@ -14338,10 +17504,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 { @@ -14349,6 +17520,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
@@ -14360,13 +17533,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
@@ -14378,14 +17559,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
@@ -14397,18 +17586,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(), @@ -14417,6 +17622,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResu } return kMapEstimationHistogramBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14429,30 +17635,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; @@ -14464,17 +17673,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
@@ -14486,11 +17698,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
@@ -14502,10 +17720,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
@@ -14517,10 +17741,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
@@ -14532,11 +17760,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
@@ -14548,44 +17783,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) @@ -14605,22 +17848,31 @@ 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) { @@ -14628,43 +17880,52 @@ private DeltaPresenceEstimationResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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.
        * 
@@ -14673,6 +17934,8 @@ public interface DeltaPresenceEstimationQuasiIdValuesOrBuilder extends */ com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index); /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14681,25 +17944,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
@@ -14712,42 +17980,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) @@ -14767,27 +18041,29 @@ 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) { @@ -14795,8 +18071,8 @@ private DeltaPresenceEstimationQuasiIdValues( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -14805,22 +18081,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.
        * 
@@ -14832,6 +18115,8 @@ public java.util.List getQuasiIdsValuesList() { return quasiIdsValues_; } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14839,11 +18124,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.
        * 
@@ -14855,6 +18142,8 @@ public int getQuasiIdsValuesCount() { return quasiIdsValues_.size(); } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14866,6 +18155,8 @@ public com.google.privacy.dlp.v2.Value getQuasiIdsValues(int index) { return quasiIdsValues_.get(index); } /** + * + * *
        * The quasi-identifier values.
        * 
@@ -14873,14 +18164,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
@@ -14893,6 +18185,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder(
        * 
* * double estimated_probability = 2; + * * @return The estimatedProbability. */ @java.lang.Override @@ -14901,6 +18194,7 @@ public double getEstimatedProbability() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14912,8 +18206,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -14930,12 +18223,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 (java.lang.Double.doubleToRawLongBits(estimatedProbability_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, estimatedProbability_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, estimatedProbability_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14945,18 +18237,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; } @@ -14973,95 +18271,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 @@ -15071,45 +18400,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(); @@ -15125,19 +18465,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); } @@ -15145,8 +18493,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)) { @@ -15166,46 +18520,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()) { @@ -15224,9 +18593,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_); } @@ -15250,11 +18620,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) { @@ -15263,21 +18638,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.
          * 
@@ -15292,6 +18675,8 @@ public java.util.List getQuasiIdsValuesList() { } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15306,6 +18691,8 @@ public int getQuasiIdsValuesCount() { } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15320,14 +18707,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(); @@ -15341,6 +18729,8 @@ public Builder setQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15359,6 +18749,8 @@ public Builder setQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15379,14 +18771,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(); @@ -15400,14 +18793,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()); @@ -15418,6 +18812,8 @@ public Builder addQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15436,6 +18832,8 @@ public Builder addQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15446,8 +18844,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); @@ -15455,6 +18852,8 @@ public Builder addAllQuasiIdsValues( return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15472,6 +18871,8 @@ public Builder clearQuasiIdsValues() { return this; } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15489,39 +18890,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 { @@ -15529,6 +18935,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getQuasiIdsValuesOrBuilder( } } /** + * + * *
          * The quasi-identifier values.
          * 
@@ -15536,38 +18944,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(), @@ -15577,8 +18994,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
@@ -15591,6 +19010,7 @@ public com.google.privacy.dlp.v2.Value.Builder addQuasiIdsValuesBuilder(
          * 
* * double estimated_probability = 2; + * * @return The estimatedProbability. */ @java.lang.Override @@ -15598,6 +19018,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
@@ -15610,16 +19032,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
@@ -15632,14 +19057,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) { @@ -15652,30 +19079,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; @@ -15687,106 +19120,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:
@@ -15799,33 +19276,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) @@ -15845,42 +19325,51 @@ 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) { @@ -15888,8 +19377,8 @@ private DeltaPresenceEstimationHistogramBucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -15898,27 +19387,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 @@ -15929,11 +19426,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 @@ -15944,11 +19444,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 @@ -15957,78 +19460,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 @@ -16037,6 +19575,7 @@ public long getBucketValueCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16048,8 +19587,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (java.lang.Double.doubleToRawLongBits(minProbability_) != 0) { output.writeDouble(1, minProbability_); } @@ -16075,24 +19613,19 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(minProbability_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, minProbability_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, minProbability_); } if (java.lang.Double.doubleToRawLongBits(maxProbability_) != 0) { - 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; @@ -16102,25 +19635,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; } @@ -16133,108 +19669,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 @@ -16244,6 +19811,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * A DeltaPresenceEstimationHistogramBucket message with the following
        * values:
@@ -16256,41 +19825,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(); @@ -16312,19 +19890,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); } @@ -16332,8 +19918,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_; @@ -16356,46 +19948,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()); } @@ -16423,9 +20030,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_); } @@ -16449,11 +20057,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) { @@ -16462,15 +20075,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 @@ -16478,42 +20095,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 @@ -16521,42 +20147,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 @@ -16564,56 +20199,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 { @@ -16621,12 +20282,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) { @@ -16636,14 +20301,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 { @@ -16651,15 +20322,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(); @@ -16673,15 +20351,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()); @@ -16692,14 +20377,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(); @@ -16713,15 +20405,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(); @@ -16735,15 +20434,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()); @@ -16754,15 +20459,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()); @@ -16773,19 +20485,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); @@ -16793,12 +20512,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) { @@ -16811,12 +20534,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) { @@ -16829,42 +20556,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 { @@ -16872,48 +20618,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(), @@ -16923,13 +20706,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 @@ -16937,34 +20723,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) { @@ -16977,30 +20770,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; @@ -17012,15 +20812,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
@@ -17032,13 +20838,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
@@ -17050,14 +20863,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
@@ -17069,13 +20889,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
@@ -17087,13 +20911,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
@@ -17105,15 +20935,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; @@ -17125,8 +20959,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -17140,8 +20973,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; @@ -17151,12 +20985,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; @@ -17180,88 +21018,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 @@ -17271,46 +21135,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(); @@ -17324,19 +21198,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); } @@ -17344,17 +21222,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; @@ -17364,46 +21248,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()) { @@ -17422,11 +21317,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_); } } } @@ -17445,11 +21342,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) { @@ -17458,21 +21358,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
@@ -17484,9 +21400,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 { @@ -17494,6 +21415,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 @@ -17505,7 +21428,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) { @@ -17515,6 +21440,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
@@ -17526,9 +21453,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 { @@ -17536,6 +21467,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
@@ -17547,10 +21480,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(); @@ -17564,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
@@ -17575,10 +21515,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()); @@ -17589,6 +21534,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
@@ -17600,9 +21547,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(); @@ -17616,6 +21568,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
@@ -17627,10 +21581,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(); @@ -17644,6 +21603,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
@@ -17655,10 +21616,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()); @@ -17669,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
@@ -17680,10 +21647,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()); @@ -17694,6 +21666,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
@@ -17705,10 +21679,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( @@ -17720,6 +21700,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
@@ -17731,7 +21713,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) { @@ -17744,6 +21728,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
@@ -17755,7 +21741,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) { @@ -17768,6 +21756,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
@@ -17779,13 +21769,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
@@ -17797,16 +21792,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
@@ -17818,10 +21819,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 { @@ -17829,6 +21836,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
@@ -17840,13 +21849,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
@@ -17858,14 +21875,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
@@ -17877,18 +21902,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(), @@ -17897,6 +21939,7 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstim } return deltaPresenceEstimationHistogramBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17909,30 +21952,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; @@ -17944,35 +21993,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.
      * 
@@ -17982,36 +22040,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) @@ -18030,26 +22092,30 @@ 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) { @@ -18057,34 +22123,41 @@ private RequestedRiskAnalysisOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -18092,18 +22165,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.
      * 
@@ -18116,6 +22196,7 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getJobConfigOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -18127,8 +22208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -18142,8 +22222,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; @@ -18153,17 +22232,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; @@ -18185,88 +22266,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 @@ -18276,44 +22383,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(); @@ -18327,19 +22443,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); } @@ -18347,8 +22467,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 { @@ -18362,46 +22485,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()); } @@ -18420,11 +22554,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) { @@ -18436,34 +22573,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.
        * 
@@ -18484,6 +22634,8 @@ public Builder setJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig valu return this; } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18502,6 +22654,8 @@ public Builder setJobConfig( return this; } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18512,7 +22666,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; } @@ -18524,6 +22680,8 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.RiskAnalysisJobConfig va return this; } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18542,6 +22700,8 @@ public Builder clearJobConfig() { return this; } /** + * + * *
        * The job config for the risk job.
        * 
@@ -18549,11 +22709,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.
        * 
@@ -18564,11 +22726,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.
        * 
@@ -18576,18 +22741,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) { @@ -18600,30 +22769,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; @@ -18635,16 +22809,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), @@ -18654,6 +22830,7 @@ public enum ResultCase DELTA_PRESENCE_ESTIMATION_RESULT(9), RESULT_NOT_SET(0); private final int value; + private ResultCase(int value) { this.value = value; } @@ -18669,35 +22846,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 @@ -18705,18 +22892,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.
    * 
@@ -18731,11 +22925,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 @@ -18743,18 +22940,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.
    * 
@@ -18768,11 +22972,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 @@ -18780,42 +22989,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 @@ -18823,42 +23050,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 @@ -18866,42 +23113,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 @@ -18909,42 +23174,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 @@ -18952,42 +23235,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 @@ -18995,43 +23296,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 @@ -19039,30 +23362,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; @@ -19074,8 +23413,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -19083,22 +23421,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()); @@ -19113,40 +23460,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; @@ -19156,53 +23516,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: @@ -19264,117 +23617,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() @@ -19382,16 +23745,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(); @@ -19419,9 +23781,9 @@ public Builder 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 @@ -19440,7 +23802,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 { @@ -19507,38 +23870,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; @@ -19546,7 +23910,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()); } @@ -19557,33 +23922,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(); @@ -19604,7 +23976,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) { @@ -19613,12 +23986,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() { @@ -19628,37 +24001,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.
      * 
@@ -19679,6 +24064,8 @@ public Builder setRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19697,6 +24084,8 @@ public Builder setRequestedPrivacyMetric( return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19707,7 +24096,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; } @@ -19719,6 +24110,8 @@ public Builder mergeRequestedPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetr return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19737,6 +24130,8 @@ public Builder clearRequestedPrivacyMetric() { return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -19744,11 +24139,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.
      * 
@@ -19759,11 +24156,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.
      * 
@@ -19771,14 +24171,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_; @@ -19786,34 +24189,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.
      * 
@@ -19834,6 +24250,8 @@ public Builder setRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable v return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19852,6 +24270,8 @@ public Builder setRequestedSourceTable( return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19862,7 +24282,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; } @@ -19874,6 +24296,8 @@ public Builder mergeRequestedSourceTable(com.google.privacy.dlp.v2.BigQueryTable return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19892,6 +24316,8 @@ public Builder clearRequestedSourceTable() { return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -19899,11 +24325,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.
      * 
@@ -19914,11 +24342,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.
      * 
@@ -19926,27 +24357,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 @@ -19954,35 +24396,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(); @@ -19996,14 +24452,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(); @@ -20014,18 +24475,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; } @@ -20041,11 +24514,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) { @@ -20064,67 +24541,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 @@ -20132,35 +24643,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(); @@ -20174,14 +24699,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(); @@ -20192,18 +24722,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; } @@ -20219,11 +24762,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) { @@ -20242,67 +24789,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 @@ -20310,35 +24892,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(); @@ -20352,14 +24947,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(); @@ -20370,18 +24970,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; } @@ -20397,11 +25008,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) { @@ -20420,67 +25035,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 @@ -20488,35 +25134,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(); @@ -20530,14 +25189,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(); @@ -20548,18 +25212,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; } @@ -20575,11 +25250,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) { @@ -20598,67 +25277,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 @@ -20666,35 +25376,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(); @@ -20708,14 +25432,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(); @@ -20726,18 +25455,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; } @@ -20753,11 +25494,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) { @@ -20776,67 +25521,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 @@ -20844,35 +25625,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(); @@ -20886,14 +25683,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(); @@ -20904,18 +25706,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; } @@ -20931,11 +25747,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) { @@ -20954,96 +25774,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(); @@ -21057,14 +25936,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(); @@ -21075,17 +25959,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; } @@ -21097,11 +25989,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) { @@ -21115,55 +26011,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); } @@ -21173,12 +26094,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(); } @@ -21187,16 +26108,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; @@ -21211,6 +26132,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 70% 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 9e8eee0a..d6e4ecdf 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,39 +68,44 @@ 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) { @@ -92,34 +113,39 @@ private BigQueryField( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -127,11 +153,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 @@ -139,6 +168,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.
    * 
@@ -153,11 +184,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 @@ -165,11 +199,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 @@ -177,6 +214,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.
    * 
@@ -189,6 +228,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (table_ != null) { output.writeMessage(1, getTable()); } @@ -218,12 +257,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; @@ -233,7 +270,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); @@ -242,13 +279,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; @@ -274,118 +309,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() @@ -393,16 +437,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 +465,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 @@ -443,7 +486,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 { @@ -462,38 +506,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; @@ -539,34 +584,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.
      * 
@@ -587,14 +645,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(); @@ -605,6 +664,8 @@ public Builder setTable( return this; } /** + * + * *
      * Source table of the field.
      * 
@@ -615,7 +676,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; } @@ -627,6 +690,8 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** + * + * *
      * Source table of the field.
      * 
@@ -645,6 +710,8 @@ public Builder clearTable() { return this; } /** + * + * *
      * Source table of the field.
      * 
@@ -652,11 +719,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.
      * 
@@ -667,11 +736,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.
      * 
@@ -679,14 +751,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_; @@ -694,24 +769,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() { @@ -722,6 +806,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -742,14 +828,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(); @@ -760,6 +847,8 @@ public Builder setField( return this; } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -770,7 +859,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; } @@ -782,6 +871,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -800,6 +891,8 @@ public Builder clearField() { return this; } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -807,11 +900,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.
      * 
@@ -822,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_; } } /** + * + * *
      * Designated field in the BigQuery table.
      * 
@@ -834,21 +930,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); } @@ -858,12 +957,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(); } @@ -872,16 +971,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; @@ -896,6 +995,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 375b48cb..d4c3088c 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,31 +68,34 @@ 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) { @@ -84,34 +103,39 @@ private BigQueryKey( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -119,18 +143,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.
    * 
@@ -145,6 +176,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
@@ -154,6 +187,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
    * 
* * int64 row_number = 2; + * * @return The rowNumber. */ @java.lang.Override @@ -162,6 +196,7 @@ public long getRowNumber() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tableReference_ != null) { output.writeMessage(1, getTableReference()); } @@ -191,12 +225,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; @@ -206,7 +238,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); @@ -215,11 +247,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; } @@ -236,125 +266,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() @@ -362,16 +399,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(); @@ -387,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_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 @@ -408,7 +444,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 { @@ -423,38 +460,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; @@ -500,34 +538,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.
      * 
@@ -548,6 +599,8 @@ public Builder setTableReference(com.google.privacy.dlp.v2.BigQueryTable value) return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -566,6 +619,8 @@ public Builder setTableReference( return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -576,7 +631,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; } @@ -588,6 +645,8 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -606,6 +665,8 @@ public Builder clearTableReference() { return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -613,11 +674,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.
      * 
@@ -628,11 +691,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.
      * 
@@ -640,21 +706,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
@@ -664,6 +735,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuild
      * 
* * int64 row_number = 2; + * * @return The rowNumber. */ @java.lang.Override @@ -671,6 +743,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
@@ -680,16 +754,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
@@ -699,17 +776,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); } @@ -719,12 +797,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(); } @@ -733,16 +811,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; @@ -757,6 +835,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 5e7e8461..9257fb09 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,69 +74,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(); + 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) { @@ -127,8 +151,7 @@ private BigQueryOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -143,20 +166,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
@@ -165,13 +193,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
@@ -182,6 +209,8 @@ public enum SampleMethod
      */
     TOP(1),
     /**
+     *
+     *
      * 
      * Randomly pick groups of rows to scan.
      * 
@@ -192,11 +221,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
@@ -207,6 +236,8 @@ public enum SampleMethod
      */
     public static final int TOP_VALUE = 1;
     /**
+     *
+     *
      * 
      * Randomly pick groups of rows to scan.
      * 
@@ -215,7 +246,6 @@ public enum SampleMethod */ public static final int RANDOM_START_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -240,49 +270,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; @@ -302,11 +332,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 @@ -314,18 +347,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.
    * 
@@ -340,6 +380,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
@@ -355,6 +397,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
@@ -366,11 +410,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
@@ -386,6 +432,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
@@ -401,6 +449,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
@@ -412,14 +462,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
@@ -428,6 +479,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(
    * 
* * int64 rows_limit = 3; + * * @return The rowsLimit. */ @java.lang.Override @@ -438,6 +490,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
@@ -447,6 +501,7 @@ public long getRowsLimit() {
    * 
* * int32 rows_limit_percent = 6; + * * @return The rowsLimitPercent. */ @java.lang.Override @@ -458,24 +513,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.
@@ -488,6 +552,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.
@@ -496,11 +562,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.
@@ -513,6 +581,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.
@@ -525,6 +595,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.
@@ -533,14 +605,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.
    * 
@@ -552,6 +625,8 @@ public java.util.List getIncludedFieldsList() return includedFields_; } /** + * + * *
    * Limit scanning only to these fields.
    * 
@@ -559,11 +634,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.
    * 
@@ -575,6 +652,8 @@ public int getIncludedFieldsCount() { return includedFields_.size(); } /** + * + * *
    * Limit scanning only to these fields.
    * 
@@ -586,6 +665,8 @@ public com.google.privacy.dlp.v2.FieldId getIncludedFields(int index) { return includedFields_.get(index); } /** + * + * *
    * Limit scanning only to these fields.
    * 
@@ -593,12 +674,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; @@ -610,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 (tableReference_ != null) { output.writeMessage(1, getTableReference()); } @@ -621,7 +701,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++) { @@ -643,32 +725,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; @@ -678,29 +756,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; } @@ -721,8 +794,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; @@ -740,118 +812,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() @@ -859,19 +940,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(); @@ -909,9 +990,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 @@ -930,7 +1011,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_; @@ -975,38 +1057,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; @@ -1036,9 +1119,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_); } @@ -1071,9 +1155,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_); } @@ -1097,9 +1182,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_); } @@ -1133,38 +1219,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.
      * 
@@ -1185,6 +1285,8 @@ public Builder setTableReference(com.google.privacy.dlp.v2.BigQueryTable value) return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1203,6 +1305,8 @@ public Builder setTableReference( return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1213,7 +1317,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; } @@ -1225,6 +1331,8 @@ public Builder mergeTableReference(com.google.privacy.dlp.v2.BigQueryTable value return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1243,6 +1351,8 @@ public Builder clearTableReference() { return this; } /** + * + * *
      * Complete BigQuery table reference.
      * 
@@ -1250,11 +1360,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.
      * 
@@ -1265,11 +1377,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.
      * 
@@ -1277,32 +1392,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
@@ -1321,6 +1446,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
@@ -1339,6 +1466,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
@@ -1357,6 +1486,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
@@ -1367,8 +1498,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();
@@ -1382,6 +1512,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
@@ -1404,6 +1536,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
@@ -1428,6 +1562,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
@@ -1438,8 +1574,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();
@@ -1453,6 +1588,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
@@ -1463,8 +1600,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());
@@ -1475,6 +1611,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
@@ -1497,6 +1635,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
@@ -1511,8 +1651,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);
@@ -1520,6 +1659,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
@@ -1541,6 +1682,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
@@ -1562,6 +1705,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
@@ -1572,11 +1717,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
@@ -1587,14 +1733,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
@@ -1605,8 +1753,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 {
@@ -1614,6 +1762,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
@@ -1625,10 +1775,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
@@ -1639,12 +1791,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
@@ -1655,16 +1808,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(),
@@ -1674,8 +1833,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
@@ -1684,6 +1845,7 @@ public com.google.privacy.dlp.v2.FieldId.Builder addIdentifyingFieldsBuilder(
      * 
* * int64 rows_limit = 3; + * * @return The rowsLimit. */ @java.lang.Override @@ -1691,6 +1853,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
@@ -1699,16 +1863,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
@@ -1717,17 +1884,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
@@ -1737,6 +1907,7 @@ public Builder clearRowsLimit() {
      * 
* * int32 rows_limit_percent = 6; + * * @return The rowsLimitPercent. */ @java.lang.Override @@ -1744,6 +1915,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
@@ -1753,16 +1926,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
@@ -1772,10 +1948,11 @@ public Builder setRowsLimitPercent(int value) {
      * 
* * int32 rows_limit_percent = 6; + * * @return This builder for chaining. */ public Builder clearRowsLimitPercent() { - + rowsLimitPercent_ = 0; onChanged(); return this; @@ -1784,34 +1961,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. */ @@ -1819,35 +2004,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.
@@ -1863,6 +2056,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.
@@ -1878,6 +2073,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.
@@ -1893,6 +2090,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.
@@ -1900,8 +2099,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();
@@ -1915,6 +2113,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.
@@ -1934,6 +2134,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.
@@ -1955,6 +2157,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.
@@ -1962,8 +2166,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();
@@ -1977,6 +2180,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.
@@ -1984,8 +2189,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());
@@ -1996,6 +2200,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.
@@ -2015,6 +2221,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.
@@ -2026,8 +2234,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);
@@ -2035,6 +2242,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.
@@ -2053,6 +2262,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.
@@ -2071,6 +2282,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.
@@ -2078,11 +2291,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.
@@ -2090,14 +2304,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.
@@ -2105,8 +2321,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 {
@@ -2114,6 +2330,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.
@@ -2122,10 +2340,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.
@@ -2133,12 +2353,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.
@@ -2146,16 +2367,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(),
@@ -2166,18 +2393,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.
      * 
@@ -2192,6 +2426,8 @@ public java.util.List getIncludedFieldsList() } } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2206,6 +2442,8 @@ public int getIncludedFieldsCount() { } } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2220,14 +2458,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(); @@ -2241,6 +2480,8 @@ public Builder setIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2259,6 +2500,8 @@ public Builder setIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2279,14 +2522,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(); @@ -2300,14 +2544,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()); @@ -2318,6 +2563,8 @@ public Builder addIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2336,6 +2583,8 @@ public Builder addIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2346,8 +2595,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); @@ -2355,6 +2603,8 @@ public Builder addAllIncludedFields( return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2372,6 +2622,8 @@ public Builder clearIncludedFields() { return this; } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2389,39 +2641,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 { @@ -2429,6 +2686,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder( } } /** + * + * *
      * Limit scanning only to these fields.
      * 
@@ -2436,38 +2695,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(), @@ -2476,9 +2744,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); } @@ -2488,12 +2756,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(); } @@ -2502,16 +2770,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; @@ -2526,6 +2794,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 e41dbab7..09a4740d 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,31 +76,34 @@ 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) {
@@ -91,35 +111,40 @@ private BigQueryTable(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -128,30 +153,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 { @@ -162,11 +187,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 @@ -175,29 +203,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 { @@ -208,11 +236,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 @@ -221,29 +252,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 { @@ -252,6 +283,7 @@ public java.lang.String getTableId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +295,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -300,19 +331,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -335,97 +363,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
@@ -436,21 +471,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()
@@ -458,16 +495,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();
@@ -481,9 +517,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
@@ -502,7 +538,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_;
@@ -514,38 +551,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;
@@ -597,19 +635,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; @@ -618,21 +658,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 { @@ -640,57 +681,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; @@ -698,18 +746,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; @@ -718,20 +768,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 { @@ -739,54 +790,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; @@ -794,18 +852,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; @@ -814,20 +874,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 { @@ -835,61 +896,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); } @@ -899,12 +967,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(); } @@ -913,16 +981,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; @@ -937,6 +1005,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 ad27898e..057e9788 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,33 +68,33 @@ 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) { @@ -86,34 +102,39 @@ private BoundingBox( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -124,11 +145,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 @@ -139,11 +163,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 @@ -154,11 +181,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 @@ -167,6 +197,7 @@ public int getHeight() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +209,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -202,20 +232,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; @@ -225,21 +251,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; } @@ -264,118 +286,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() @@ -383,16 +413,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +437,9 @@ public Builder 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 @@ -429,7 +458,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_; @@ -442,38 +472,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; @@ -523,13 +554,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 @@ -537,42 +571,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 @@ -580,42 +623,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 @@ -623,42 +675,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 @@ -666,37 +727,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); } @@ -706,12 +773,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(); } @@ -720,16 +787,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; @@ -744,6 +811,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 feadd308..75d61d06 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,22 +79,26 @@ 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) {
@@ -85,8 +106,7 @@ private BucketingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -95,44 +115,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.
@@ -143,24 +175,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.
      * 
@@ -170,63 +210,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) @@ -245,52 +300,58 @@ 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) { @@ -298,35 +359,40 @@ private Bucket( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -334,12 +400,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 @@ -347,6 +416,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.
@@ -362,11 +433,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 @@ -374,11 +448,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 @@ -386,6 +463,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.
      * 
@@ -400,11 +479,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 @@ -412,23 +496,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() { @@ -436,6 +531,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getReplacementValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -447,8 +543,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -468,16 +563,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; @@ -487,27 +579,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; @@ -538,87 +628,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 @@ -628,27 +724,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() @@ -656,16 +757,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(); @@ -691,9 +791,9 @@ public Builder 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 @@ -712,7 +812,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 { @@ -736,38 +837,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; @@ -775,7 +879,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()); } @@ -804,7 +909,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) { @@ -816,26 +922,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() { @@ -846,6 +961,8 @@ public com.google.privacy.dlp.v2.Value getMin() { } } /** + * + * *
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -867,6 +984,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.
@@ -874,8 +993,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();
@@ -886,6 +1004,8 @@ public Builder setMin(
         return this;
       }
       /**
+       *
+       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -896,8 +1016,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;
           }
@@ -909,6 +1028,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.
@@ -928,6 +1049,8 @@ public Builder clearMin() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Lower bound of the range, inclusive. Type should be the same as max if
        * used.
@@ -936,11 +1059,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.
@@ -952,11 +1077,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.
@@ -965,14 +1091,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_;
@@ -980,24 +1109,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() { @@ -1008,6 +1146,8 @@ public com.google.privacy.dlp.v2.Value getMax() { } } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1028,14 +1168,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(); @@ -1046,6 +1187,8 @@ public Builder setMax( return this; } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1055,8 +1198,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; } @@ -1068,6 +1210,8 @@ public Builder mergeMax(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1086,6 +1230,8 @@ public Builder clearMax() { return this; } /** + * + * *
        * Upper bound of the range, exclusive; type must match min.
        * 
@@ -1093,11 +1239,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.
        * 
@@ -1108,11 +1256,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.
        * 
@@ -1120,14 +1269,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_; @@ -1135,39 +1287,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) { @@ -1183,14 +1354,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(); @@ -1201,17 +1375,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; } @@ -1223,11 +1403,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) { @@ -1241,52 +1425,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) { @@ -1299,12 +1500,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(); } @@ -1313,16 +1514,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; @@ -1337,12 +1538,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.
    * 
@@ -1354,6 +1556,8 @@ public java.util.List getBucke return buckets_; } /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1361,11 +1565,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.
    * 
@@ -1377,6 +1583,8 @@ public int getBucketsCount() { return buckets_.size(); } /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1388,6 +1596,8 @@ public com.google.privacy.dlp.v2.BucketingConfig.Bucket getBuckets(int index) { return buckets_.get(index); } /** + * + * *
    * Set of buckets. Ranges must be non-overlapping.
    * 
@@ -1395,12 +1605,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; @@ -1412,8 +1622,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1427,8 +1636,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; @@ -1438,15 +1646,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; } @@ -1467,97 +1675,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,
@@ -1572,21 +1787,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()
@@ -1594,17 +1811,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();
@@ -1618,9 +1835,9 @@ public Builder 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
@@ -1639,7 +1856,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)) {
@@ -1658,38 +1876,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;
@@ -1716,9 +1935,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_);
           }
@@ -1752,21 +1972,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.
      * 
@@ -1781,6 +2009,8 @@ public java.util.List getBucke } } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1795,6 +2025,8 @@ public int getBucketsCount() { } } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1809,14 +2041,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(); @@ -1830,6 +2063,8 @@ public Builder setBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1848,6 +2083,8 @@ public Builder setBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1868,14 +2105,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(); @@ -1889,6 +2127,8 @@ public Builder addBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1907,6 +2147,8 @@ public Builder addBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1925,6 +2167,8 @@ public Builder addBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1935,8 +2179,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); @@ -1944,6 +2187,8 @@ public Builder addAllBuckets( return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1961,6 +2206,8 @@ public Builder clearBuckets() { return this; } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -1978,17 +2225,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.
      * 
@@ -1998,19 +2248,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 { @@ -2018,6 +2271,8 @@ public com.google.privacy.dlp.v2.BucketingConfig.BucketOrBuilder getBucketsOrBui } } /** + * + * *
      * Set of buckets. Ranges must be non-overlapping.
      * 
@@ -2025,49 +2280,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); } @@ -2077,12 +2338,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(); } @@ -2091,16 +2352,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; @@ -2115,6 +2376,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 9c67fc15..96d982a2 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,24 +71,25 @@ 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) { @@ -79,27 +97,31 @@ private ByteContentItem( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -108,9 +130,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
      * 
@@ -119,6 +142,8 @@ public enum BytesType */ BYTES_TYPE_UNSPECIFIED(0), /** + * + * *
      * Any image type.
      * 
@@ -127,6 +152,8 @@ public enum BytesType */ IMAGE(6), /** + * + * *
      * jpeg
      * 
@@ -135,6 +162,8 @@ public enum BytesType */ IMAGE_JPEG(1), /** + * + * *
      * bmp
      * 
@@ -143,6 +172,8 @@ public enum BytesType */ IMAGE_BMP(2), /** + * + * *
      * png
      * 
@@ -151,6 +182,8 @@ public enum BytesType */ IMAGE_PNG(3), /** + * + * *
      * svg
      * 
@@ -159,6 +192,8 @@ public enum BytesType */ IMAGE_SVG(4), /** + * + * *
      * plain text
      * 
@@ -167,6 +202,8 @@ public enum BytesType */ TEXT_UTF8(5), /** + * + * *
      * docx, docm, dotx, dotm
      * 
@@ -175,6 +212,8 @@ public enum BytesType */ WORD_DOCUMENT(7), /** + * + * *
      * pdf
      * 
@@ -183,6 +222,8 @@ public enum BytesType */ PDF(8), /** + * + * *
      * pptx, pptm, potx, potm, pot
      * 
@@ -191,6 +232,8 @@ public enum BytesType */ POWERPOINT_DOCUMENT(9), /** + * + * *
      * xlsx, xlsm, xltx, xltm
      * 
@@ -199,6 +242,8 @@ public enum BytesType */ EXCEL_DOCUMENT(10), /** + * + * *
      * avro
      * 
@@ -207,6 +252,8 @@ public enum BytesType */ AVRO(11), /** + * + * *
      * csv
      * 
@@ -215,6 +262,8 @@ public enum BytesType */ CSV(12), /** + * + * *
      * tsv
      * 
@@ -226,6 +275,8 @@ public enum BytesType ; /** + * + * *
      * Unused
      * 
@@ -234,6 +285,8 @@ public enum BytesType */ public static final int BYTES_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Any image type.
      * 
@@ -242,6 +295,8 @@ public enum BytesType */ public static final int IMAGE_VALUE = 6; /** + * + * *
      * jpeg
      * 
@@ -250,6 +305,8 @@ public enum BytesType */ public static final int IMAGE_JPEG_VALUE = 1; /** + * + * *
      * bmp
      * 
@@ -258,6 +315,8 @@ public enum BytesType */ public static final int IMAGE_BMP_VALUE = 2; /** + * + * *
      * png
      * 
@@ -266,6 +325,8 @@ public enum BytesType */ public static final int IMAGE_PNG_VALUE = 3; /** + * + * *
      * svg
      * 
@@ -274,6 +335,8 @@ public enum BytesType */ public static final int IMAGE_SVG_VALUE = 4; /** + * + * *
      * plain text
      * 
@@ -282,6 +345,8 @@ public enum BytesType */ public static final int TEXT_UTF8_VALUE = 5; /** + * + * *
      * docx, docm, dotx, dotm
      * 
@@ -290,6 +355,8 @@ public enum BytesType */ public static final int WORD_DOCUMENT_VALUE = 7; /** + * + * *
      * pdf
      * 
@@ -298,6 +365,8 @@ public enum BytesType */ public static final int PDF_VALUE = 8; /** + * + * *
      * pptx, pptm, potx, potm, pot
      * 
@@ -306,6 +375,8 @@ public enum BytesType */ public static final int POWERPOINT_DOCUMENT_VALUE = 9; /** + * + * *
      * xlsx, xlsm, xltx, xltm
      * 
@@ -314,6 +385,8 @@ public enum BytesType */ public static final int EXCEL_DOCUMENT_VALUE = 10; /** + * + * *
      * avro
      * 
@@ -322,6 +395,8 @@ public enum BytesType */ public static final int AVRO_VALUE = 11; /** + * + * *
      * csv
      * 
@@ -330,6 +405,8 @@ public enum BytesType */ public static final int CSV_VALUE = 12; /** + * + * *
      * tsv
      * 
@@ -338,7 +415,6 @@ public enum BytesType */ public static final int TSV_VALUE = 13; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -363,60 +439,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; @@ -436,38 +523,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 @@ -476,6 +577,7 @@ public com.google.protobuf.ByteString getData() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -487,9 +589,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()) { @@ -504,13 +606,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; @@ -520,16 +621,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; } @@ -550,118 +651,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() @@ -669,16 +779,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 +799,9 @@ public Builder 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 @@ -711,7 +820,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(); @@ -722,38 +832,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; @@ -799,51 +910,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. */ @@ -851,21 +978,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; @@ -873,11 +1003,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 @@ -885,40 +1018,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); } @@ -928,12 +1067,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(); } @@ -942,16 +1081,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; @@ -966,6 +1105,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 fb70439e..3461e3a3 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,19 +70,20 @@ 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) { @@ -73,34 +91,41 @@ private CancelDlpJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -109,29 +134,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 { @@ -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.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; } @@ -203,118 +230,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() @@ -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_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 @@ -362,7 +397,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; @@ -372,38 +408,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; @@ -447,18 +484,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; @@ -467,20 +508,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 { @@ -488,61 +532,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); } @@ -552,12 +609,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(); } @@ -566,16 +623,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; @@ -590,6 +647,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 81% 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 da14a99d..7e7f3590 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,38 +77,42 @@ 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) {
@@ -99,8 +120,7 @@ private CharacterMaskConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -109,22 +129,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
@@ -133,6 +158,7 @@ private CharacterMaskConfig(
    * 
* * string masking_character = 1; + * * @return The maskingCharacter. */ @java.lang.Override @@ -141,14 +167,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
@@ -157,16 +184,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 { @@ -177,6 +203,8 @@ 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.
@@ -195,6 +223,7 @@ public java.lang.String getMaskingCharacter() {
    * 
* * int32 number_to_mask = 2; + * * @return The numberToMask. */ @java.lang.Override @@ -205,6 +234,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
@@ -214,6 +245,7 @@ public int getNumberToMask() {
    * 
* * bool reverse_order = 3; + * * @return The reverseOrder. */ @java.lang.Override @@ -224,6 +256,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
@@ -238,6 +272,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
@@ -248,11 +284,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
@@ -267,6 +305,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
@@ -281,6 +321,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
@@ -297,6 +339,7 @@ public com.google.privacy.dlp.v2.CharsToIgnoreOrBuilder getCharactersToIgnoreOrB
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -308,8 +351,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maskingCharacter_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, maskingCharacter_);
     }
@@ -335,16 +377,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;
@@ -354,21 +394,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;
   }
@@ -385,8 +422,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();
@@ -396,97 +432,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.
@@ -498,21 +541,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()
@@ -520,17 +565,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();
@@ -550,9 +595,9 @@ public Builder 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
@@ -571,7 +616,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_;
@@ -593,38 +639,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;
@@ -661,9 +708,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_);
           }
@@ -697,10 +745,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
@@ -709,13 +760,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; @@ -724,6 +775,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
@@ -732,15 +785,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 { @@ -748,6 +800,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
@@ -756,20 +810,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
@@ -778,15 +834,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
@@ -795,23 +854,25 @@ 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.
@@ -830,6 +891,7 @@ public Builder setMaskingCharacterBytes(
      * 
* * int32 number_to_mask = 2; + * * @return The numberToMask. */ @java.lang.Override @@ -837,6 +899,8 @@ 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.
@@ -855,16 +919,19 @@ public int getNumberToMask() {
      * 
* * 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.
@@ -883,17 +950,20 @@ public Builder setNumberToMask(int value) {
      * 
* * 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
@@ -903,6 +973,7 @@ public Builder clearNumberToMask() {
      * 
* * bool reverse_order = 3; + * * @return The reverseOrder. */ @java.lang.Override @@ -910,6 +981,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
@@ -919,16 +992,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
@@ -938,28 +1014,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
@@ -977,6 +1061,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
@@ -994,6 +1080,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
@@ -1011,6 +1099,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
@@ -1020,8 +1110,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();
@@ -1035,6 +1124,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
@@ -1056,6 +1147,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
@@ -1079,6 +1172,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
@@ -1088,8 +1183,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();
@@ -1103,6 +1197,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
@@ -1124,6 +1220,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
@@ -1145,6 +1243,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
@@ -1158,8 +1258,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);
@@ -1167,6 +1266,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
@@ -1187,6 +1288,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
@@ -1207,6 +1310,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
@@ -1216,11 +1321,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
@@ -1233,11 +1339,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
@@ -1247,8 +1356,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 {
@@ -1256,6 +1365,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
@@ -1266,10 +1377,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
@@ -1279,12 +1392,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
@@ -1294,16 +1408,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(),
@@ -1312,9 +1432,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);
     }
 
@@ -1324,12 +1444,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();
   }
@@ -1338,16 +1458,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;
@@ -1362,6 +1482,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 83%
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 1024f9f0..c8b55599 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,12 +49,14 @@ 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.
@@ -52,11 +75,14 @@ public interface CharacterMaskConfigOrBuilder extends
    * 
* * 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
@@ -66,11 +92,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
@@ -80,9 +109,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
@@ -94,6 +124,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
@@ -105,6 +137,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
@@ -114,9 +148,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
@@ -126,6 +162,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 9017a873..db75c520 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,25 +69,27 @@ 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) {
@@ -79,36 +97,41 @@ private CharsToIgnore(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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 indicating 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.
      * 
@@ -117,6 +140,8 @@ public enum CommonCharsToIgnore */ COMMON_CHARS_TO_IGNORE_UNSPECIFIED(0), /** + * + * *
      * 0-9
      * 
@@ -125,6 +150,8 @@ public enum CommonCharsToIgnore */ NUMERIC(1), /** + * + * *
      * A-Z
      * 
@@ -133,6 +160,8 @@ public enum CommonCharsToIgnore */ ALPHA_UPPER_CASE(2), /** + * + * *
      * a-z
      * 
@@ -141,6 +170,8 @@ public enum CommonCharsToIgnore */ ALPHA_LOWER_CASE(3), /** + * + * *
      * US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
      * 
@@ -149,6 +180,8 @@ public enum CommonCharsToIgnore */ PUNCTUATION(4), /** + * + * *
      * Whitespace character, one of [ \t\n\x0B\f\r]
      * 
@@ -160,6 +193,8 @@ public enum CommonCharsToIgnore ; /** + * + * *
      * Unused.
      * 
@@ -168,6 +203,8 @@ public enum CommonCharsToIgnore */ public static final int COMMON_CHARS_TO_IGNORE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * 0-9
      * 
@@ -176,6 +213,8 @@ public enum CommonCharsToIgnore */ public static final int NUMERIC_VALUE = 1; /** + * + * *
      * A-Z
      * 
@@ -184,6 +223,8 @@ public enum CommonCharsToIgnore */ public static final int ALPHA_UPPER_CASE_VALUE = 2; /** + * + * *
      * a-z
      * 
@@ -192,6 +233,8 @@ public enum CommonCharsToIgnore */ public static final int ALPHA_LOWER_CASE_VALUE = 3; /** + * + * *
      * US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
      * 
@@ -200,6 +243,8 @@ public enum CommonCharsToIgnore */ public static final int PUNCTUATION_VALUE = 4; /** + * + * *
      * Whitespace character, one of [ \t\n\x0B\f\r]
      * 
@@ -208,7 +253,6 @@ public enum CommonCharsToIgnore */ public static final int WHITESPACE_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -233,13 +277,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; } } @@ -247,28 +298,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); } @@ -277,8 +328,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; @@ -297,13 +347,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; } @@ -319,41 +372,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() { @@ -364,8 +426,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; @@ -374,23 +435,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; } @@ -402,24 +464,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() { @@ -429,25 +499,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; @@ -459,8 +538,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -480,8 +558,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; @@ -491,7 +570,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); @@ -501,12 +580,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: @@ -539,97 +617,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.
@@ -637,21 +722,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()
@@ -659,16 +746,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 +764,9 @@ public Builder 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
@@ -699,7 +785,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_;
       }
@@ -715,38 +802,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;
@@ -756,19 +844,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();
@@ -798,12 +889,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() {
@@ -813,13 +904,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 @@ -827,11 +920,14 @@ public boolean hasCharactersToSkip() { return charactersCase_ == 1; } /** + * + * *
      * Characters to not transform when masking.
      * 
* * string characters_to_skip = 1; + * * @return The charactersToSkip. */ @java.lang.Override @@ -841,8 +937,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; @@ -853,24 +948,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; } @@ -880,30 +976,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() { @@ -915,20 +1016,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(); @@ -936,12 +1039,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 @@ -949,12 +1057,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 @@ -965,12 +1078,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. */ @@ -981,35 +1099,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(); } @@ -1019,12 +1153,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() { @@ -1035,9 +1174,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); } @@ -1047,12 +1186,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(); } @@ -1061,16 +1200,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; @@ -1085,6 +1224,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 3920225d..b04b78b7 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,19 +70,20 @@ 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) { @@ -73,35 +91,40 @@ private CloudStorageFileSet( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -110,30 +133,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 { @@ -142,6 +165,7 @@ public java.lang.String getUrl() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } @@ -178,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -205,118 +228,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() @@ -324,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.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 @@ -364,7 +395,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; @@ -374,38 +406,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; @@ -449,19 +482,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; @@ -470,21 +505,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 { @@ -492,64 +528,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); } @@ -559,12 +602,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(); } @@ -573,16 +616,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; @@ -597,6 +640,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 e679a90d..ebdbaa78 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 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,70 +73,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 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) {
@@ -127,8 +151,7 @@ private CloudStorageOptions(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -137,20 +160,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
@@ -159,13 +187,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).
      * 
@@ -174,6 +201,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.
@@ -185,11 +214,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).
      * 
@@ -198,6 +227,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.
@@ -207,7 +238,6 @@ public enum SampleMethod
      */
     public static final int RANDOM_START_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -232,49 +262,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;
@@ -291,11 +321,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.
@@ -308,10 +341,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.
@@ -324,32 +360,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.
@@ -360,37 +404,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) @@ -409,32 +455,37 @@ 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) { @@ -442,29 +493,33 @@ private FileSet( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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.
@@ -477,6 +532,7 @@ private FileSet(
      * 
* * string url = 1; + * * @return The url. */ @java.lang.Override @@ -485,14 +541,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.
@@ -505,16 +562,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 { @@ -525,12 +581,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 @@ -538,19 +597,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.
@@ -564,6 +630,7 @@ public com.google.privacy.dlp.v2.CloudStorageRegexFileSetOrBuilder getRegexFileS
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -575,8 +642,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.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_);
       }
@@ -596,8 +662,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;
@@ -607,19 +672,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;
@@ -644,87 +708,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
@@ -734,27 +805,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() @@ -762,16 +838,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(); @@ -787,9 +862,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 @@ -808,7 +883,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_; @@ -823,38 +899,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; @@ -862,7 +941,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(); @@ -889,7 +969,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) { @@ -901,6 +982,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.
@@ -913,13 +996,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; @@ -928,6 +1011,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.
@@ -940,15 +1025,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 { @@ -956,6 +1040,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.
@@ -968,20 +1054,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.
@@ -994,15 +1082,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.
@@ -1015,16 +1106,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; @@ -1032,36 +1123,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.
@@ -1083,6 +1187,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.
@@ -1102,6 +1208,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.
@@ -1113,7 +1221,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;
           }
@@ -1125,6 +1235,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.
@@ -1144,6 +1256,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.
@@ -1152,11 +1266,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.
@@ -1164,15 +1280,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.
@@ -1181,18 +1301,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) {
@@ -1205,12 +1329,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();
     }
@@ -1219,16 +1343,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;
@@ -1243,17 +1367,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 @@ -1261,18 +1387,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.
    * 
@@ -1287,6 +1420,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
@@ -1295,6 +1430,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet
    * 
* * int64 bytes_limit_per_file = 4; + * * @return The bytesLimitPerFile. */ @java.lang.Override @@ -1305,6 +1441,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,
@@ -1314,6 +1452,7 @@ public long getBytesLimitPerFile() {
    * 
* * int32 bytes_limit_per_file_percent = 8; + * * @return The bytesLimitPerFilePercent. */ @java.lang.Override @@ -1324,16 +1463,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
@@ -1345,6 +1488,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 @@ -1353,6 +1497,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
@@ -1364,6 +1510,7 @@ public java.util.List getFileTypesList() {
    * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return The count of fileTypes. */ @java.lang.Override @@ -1371,6 +1518,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
@@ -1382,6 +1531,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. */ @@ -1390,6 +1540,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
@@ -1401,14 +1553,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
@@ -1420,6 +1574,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. */ @@ -1427,30 +1582,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,
@@ -1458,6 +1623,7 @@ public int getFileTypesValue(int index) {
    * 
* * int32 files_limit_percent = 7; + * * @return The filesLimitPercent. */ @java.lang.Override @@ -1466,6 +1632,7 @@ public int getFilesLimitPercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1477,8 +1644,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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()); @@ -1493,7 +1659,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) { @@ -1512,36 +1680,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; @@ -1551,26 +1716,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; } @@ -1587,8 +1749,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) { @@ -1604,97 +1765,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 Cloud Storage
    * bucket.
@@ -1702,21 +1870,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()
@@ -1724,16 +1894,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();
@@ -1757,9 +1926,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
@@ -1778,7 +1947,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_;
@@ -1802,38 +1972,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;
@@ -1895,38 +2066,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.
      * 
@@ -1947,6 +2132,8 @@ public Builder setFileSet(com.google.privacy.dlp.v2.CloudStorageOptions.FileSet return this; } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -1965,6 +2152,8 @@ public Builder setFileSet( return this; } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -1975,7 +2164,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; } @@ -1987,6 +2178,8 @@ public Builder mergeFileSet(com.google.privacy.dlp.v2.CloudStorageOptions.FileSe return this; } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -2005,6 +2198,8 @@ public Builder clearFileSet() { return this; } /** + * + * *
      * The set of one or more files to scan.
      * 
@@ -2012,11 +2207,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.
      * 
@@ -2027,11 +2224,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.
      * 
@@ -2039,21 +2239,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
@@ -2062,6 +2267,7 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.FileSetOrBuilder getFileSet
      * 
* * int64 bytes_limit_per_file = 4; + * * @return The bytesLimitPerFile. */ @java.lang.Override @@ -2069,6 +2275,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
@@ -2077,16 +2285,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
@@ -2095,17 +2306,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,
@@ -2115,6 +2329,7 @@ public Builder clearBytesLimitPerFile() {
      * 
* * int32 bytes_limit_per_file_percent = 8; + * * @return The bytesLimitPerFilePercent. */ @java.lang.Override @@ -2122,6 +2337,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,
@@ -2131,16 +2348,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,
@@ -2150,17 +2370,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_); @@ -2168,6 +2389,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
@@ -2179,6 +2402,7 @@ private void ensureFileTypesIsMutable() {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return A list containing the fileTypes. */ public java.util.List getFileTypesList() { @@ -2186,6 +2410,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
@@ -2197,12 +2423,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
@@ -2214,6 +2443,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. */ @@ -2221,6 +2451,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
@@ -2232,12 +2464,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(); } @@ -2247,6 +2479,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
@@ -2258,6 +2492,7 @@ public Builder setFileTypes(
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param value The fileTypes to add. * @return This builder for chaining. */ @@ -2271,6 +2506,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
@@ -2282,6 +2519,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. */ @@ -2295,6 +2533,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
@@ -2306,6 +2546,7 @@ public Builder addAllFileTypes(
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @return This builder for chaining. */ public Builder clearFileTypes() { @@ -2315,6 +2556,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
@@ -2326,13 +2569,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
@@ -2344,6 +2589,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. */ @@ -2351,6 +2597,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
@@ -2362,18 +2610,20 @@ public int getFileTypesValue(int index) {
      * 
* * repeated .google.privacy.dlp.v2.FileType file_types = 5; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for fileTypes to set. * @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
@@ -2385,6 +2635,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. */ @@ -2395,6 +2646,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
@@ -2406,11 +2659,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); @@ -2422,59 +2675,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,
@@ -2482,6 +2747,7 @@ public Builder clearSampleMethod() {
      * 
* * int32 files_limit_percent = 7; + * * @return The filesLimitPercent. */ @java.lang.Override @@ -2489,6 +2755,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,
@@ -2496,16 +2764,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,
@@ -2513,17 +2784,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); } @@ -2533,12 +2805,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(); } @@ -2547,16 +2819,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; @@ -2571,6 +2843,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 8e97e3cb..89d8fbfd 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,19 +70,20 @@ 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) { @@ -73,35 +91,40 @@ private CloudStoragePath( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -110,30 +133,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 { @@ -142,6 +165,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } @@ -178,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -205,118 +228,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() @@ -324,16 +356,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.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 @@ -364,7 +395,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; @@ -374,38 +406,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; @@ -449,19 +482,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; @@ -470,21 +505,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 { @@ -492,64 +528,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); } @@ -559,12 +602,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(); } @@ -573,16 +616,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; @@ -597,6 +640,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 eb7247ed..eed93c40 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,37 +98,40 @@ 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) {
@@ -119,8 +139,7 @@ private CloudStorageRegexFileSet(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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();
@@ -132,27 +151,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 @@ -161,29 +186,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 { @@ -194,6 +219,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
@@ -206,13 +233,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
@@ -225,12 +254,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
@@ -243,6 +275,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. */ @@ -250,6 +283,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
@@ -262,17 +297,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
@@ -283,13 +320,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
@@ -300,12 +339,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
@@ -316,6 +358,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. */ @@ -323,6 +366,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
@@ -333,15 +378,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; @@ -353,8 +399,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketName_); } @@ -400,19 +445,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; } @@ -440,96 +483,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
@@ -561,21 +611,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()
@@ -583,16 +635,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();
@@ -606,9 +657,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
@@ -627,7 +678,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)) {
@@ -648,38 +700,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;
@@ -687,7 +740,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();
@@ -731,7 +785,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) {
@@ -740,22 +795,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; @@ -764,20 +822,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 { @@ -785,67 +844,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
@@ -858,13 +928,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
@@ -877,12 +949,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
@@ -895,6 +970,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. */ @@ -902,6 +978,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
@@ -914,14 +992,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
@@ -934,21 +1014,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
@@ -961,20 +1043,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
@@ -987,18 +1071,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
@@ -1011,6 +1096,7 @@ public Builder addAllIncludeRegex(
      * 
* * repeated string include_regex = 2; + * * @return This builder for chaining. */ public Builder clearIncludeRegex() { @@ -1020,6 +1106,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
@@ -1032,29 +1120,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
@@ -1065,13 +1157,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
@@ -1082,12 +1176,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
@@ -1098,6 +1195,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. */ @@ -1105,6 +1203,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
@@ -1115,14 +1215,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
@@ -1133,21 +1235,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
@@ -1158,20 +1262,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
@@ -1182,18 +1288,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
@@ -1204,6 +1311,7 @@ public Builder addAllExcludeRegex(
      * 
* * repeated string exclude_regex = 3; + * * @return This builder for chaining. */ public Builder clearExcludeRegex() { @@ -1213,6 +1321,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
@@ -1223,23 +1333,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); } @@ -1249,12 +1359,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(); } @@ -1263,16 +1373,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; @@ -1287,6 +1397,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 519c4b27..0354e2d9 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,28 +68,28 @@ 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) { @@ -81,22 +97,23 @@ private Color( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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); } @@ -104,11 +121,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 @@ -119,11 +139,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 @@ -134,11 +157,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 @@ -147,6 +173,7 @@ public float getBlue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,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 (java.lang.Float.floatToRawIntBits(red_) != 0) { output.writeFloat(1, red_); } @@ -179,16 +205,13 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(red_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, red_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, red_); } if (java.lang.Float.floatToRawIntBits(green_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, green_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, green_); } if (java.lang.Float.floatToRawIntBits(blue_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(3, blue_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, blue_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -198,22 +221,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; } @@ -226,129 +246,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); } @@ -358,16 +382,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 +404,9 @@ public Builder 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 @@ -414,38 +437,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; @@ -492,13 +516,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 @@ -506,42 +533,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 @@ -549,42 +585,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 @@ -592,37 +637,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); } @@ -632,12 +683,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(); } @@ -646,16 +697,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; @@ -670,6 +721,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 b5ff2fa2..4f9cbfe2 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,62 +76,70 @@ 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) {
@@ -122,34 +147,39 @@ private Container(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       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 Cloud Storage.
    * 
* * string type = 1; + * * @return The type. */ @java.lang.Override @@ -158,29 +188,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 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 { @@ -191,12 +221,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 @@ -205,30 +238,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 { @@ -239,6 +272,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:
@@ -247,6 +282,7 @@ public java.lang.String getProjectId() {
    * 
* * string full_path = 3; + * * @return The fullPath. */ @java.lang.Override @@ -255,14 +291,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:
@@ -271,16 +308,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 { @@ -291,6 +327,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:
@@ -301,6 +339,7 @@ public java.lang.String getFullPath() {
    * 
* * string root_path = 4; + * * @return The rootPath. */ @java.lang.Override @@ -309,14 +348,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:
@@ -327,16 +367,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 { @@ -347,6 +386,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:
@@ -357,6 +398,7 @@ public java.lang.String getRootPath() {
    * 
* * string relative_path = 5; + * * @return The relativePath. */ @java.lang.Override @@ -365,14 +407,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:
@@ -383,16 +426,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 { @@ -403,6 +445,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 Cloud
    * Storage, this field contains the last file modification timestamp. For a
@@ -411,6 +455,7 @@ public java.lang.String getRelativePath() {
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -418,6 +463,8 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Findings container modification timestamp, if applicable. For Cloud
    * Storage, this field contains the last file modification timestamp. For a
@@ -426,6 +473,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -433,6 +481,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Findings container modification timestamp, if applicable. For Cloud
    * Storage, this field contains the last file modification timestamp. For a
@@ -450,12 +500,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 Cloud Storage).
    * 
* * string version = 7; + * * @return The version. */ @java.lang.Override @@ -464,30 +517,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 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 { @@ -496,6 +549,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,8 +561,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -555,8 +608,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_); @@ -569,30 +621,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; } @@ -625,97 +670,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.
@@ -723,21 +774,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()
@@ -745,16 +798,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();
@@ -780,9 +832,9 @@ public Builder 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
@@ -821,38 +873,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;
@@ -919,18 +972,20 @@ public Builder mergeFrom(
 
     private java.lang.Object type_ = "";
     /**
+     *
+     *
      * 
      * Container type, for example BigQuery or 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; @@ -939,20 +994,21 @@ public java.lang.String getType() { } } /** + * + * *
      * Container type, for example BigQuery or 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 { @@ -960,54 +1016,61 @@ public java.lang.String getType() { } } /** + * + * *
      * Container type, for example BigQuery or 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 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 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; @@ -1015,19 +1078,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; @@ -1036,21 +1101,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 { @@ -1058,57 +1124,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; @@ -1116,6 +1189,8 @@ public Builder setProjectIdBytes( private java.lang.Object fullPath_ = ""; /** + * + * *
      * A string representation of the full container name.
      * Examples:
@@ -1124,13 +1199,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; @@ -1139,6 +1214,8 @@ public java.lang.String getFullPath() { } } /** + * + * *
      * A string representation of the full container name.
      * Examples:
@@ -1147,15 +1224,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 { @@ -1163,6 +1239,8 @@ public java.lang.String getFullPath() { } } /** + * + * *
      * A string representation of the full container name.
      * Examples:
@@ -1171,20 +1249,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:
@@ -1193,15 +1273,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:
@@ -1210,16 +1293,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; @@ -1227,6 +1310,8 @@ public Builder setFullPathBytes( private java.lang.Object rootPath_ = ""; /** + * + * *
      * The root of the container.
      * Examples:
@@ -1237,13 +1322,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; @@ -1252,6 +1337,8 @@ public java.lang.String getRootPath() { } } /** + * + * *
      * The root of the container.
      * Examples:
@@ -1262,15 +1349,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 { @@ -1278,6 +1364,8 @@ public java.lang.String getRootPath() { } } /** + * + * *
      * The root of the container.
      * Examples:
@@ -1288,20 +1376,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:
@@ -1312,15 +1402,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:
@@ -1331,16 +1424,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; @@ -1348,6 +1441,8 @@ public Builder setRootPathBytes( private java.lang.Object relativePath_ = ""; /** + * + * *
      * The rest of the path after the root.
      * Examples:
@@ -1358,13 +1453,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; @@ -1373,6 +1468,8 @@ public java.lang.String getRelativePath() { } } /** + * + * *
      * The rest of the path after the root.
      * Examples:
@@ -1383,15 +1480,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 { @@ -1399,6 +1495,8 @@ public java.lang.String getRelativePath() { } } /** + * + * *
      * The rest of the path after the root.
      * Examples:
@@ -1409,20 +1507,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:
@@ -1433,15 +1533,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:
@@ -1452,16 +1555,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; @@ -1469,8 +1572,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 Cloud
      * Storage, this field contains the last file modification timestamp. For a
@@ -1479,12 +1587,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 Cloud
      * Storage, this field contains the last file modification timestamp. For a
@@ -1493,16 +1604,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 Cloud
      * Storage, this field contains the last file modification timestamp. For a
@@ -1526,6 +1642,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable. For Cloud
      * Storage, this field contains the last file modification timestamp. For a
@@ -1535,8 +1653,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();
@@ -1547,6 +1664,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable. For Cloud
      * Storage, this field contains the last file modification timestamp. For a
@@ -1560,7 +1679,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;
         }
@@ -1572,6 +1691,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable. For Cloud
      * Storage, this field contains the last file modification timestamp. For a
@@ -1593,6 +1714,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Findings container modification timestamp, if applicable. For Cloud
      * Storage, this field contains the last file modification timestamp. For a
@@ -1603,11 +1726,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 Cloud
      * Storage, this field contains the last file modification timestamp. For a
@@ -1621,11 +1746,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 Cloud
      * Storage, this field contains the last file modification timestamp. For a
@@ -1636,14 +1764,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_;
@@ -1651,19 +1782,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private java.lang.Object version_ = "";
     /**
+     *
+     *
      * 
      * Findings container version, if available
      * ("generation" for 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; @@ -1672,21 +1805,22 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Findings container version, if available
      * ("generation" for 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 { @@ -1694,64 +1828,71 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Findings container version, if available
      * ("generation" for 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 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 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); } @@ -1761,12 +1902,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(); } @@ -1775,16 +1916,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; @@ -1799,6 +1940,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 6f9a1e30..2f36fdba 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 Cloud Storage.
    * 
* * string type = 1; + * * @return The type. */ java.lang.String getType(); /** + * + * *
    * Container type, for example BigQuery or 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 Cloud
    * Storage, this field contains the last file modification timestamp. For a
@@ -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 Cloud
    * Storage, this field contains the last file modification timestamp. For a
@@ -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 Cloud
    * Storage, this field contains the last file modification timestamp. For a
@@ -172,24 +221,29 @@ public interface ContainerOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Findings container version, if available
    * ("generation" for Cloud Storage).
    * 
* * string version = 7; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Findings container version, if available
    * ("generation" for 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 e480782c..1e2ce84c 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,47 +68,51 @@ 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) { @@ -100,36 +120,41 @@ private ContentItem( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; } @@ -145,42 +170,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() { @@ -191,8 +226,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; @@ -201,23 +235,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; } @@ -229,6 +264,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
@@ -236,6 +273,7 @@ public java.lang.String getValue() {
    * 
* * .google.privacy.dlp.v2.Table table = 4; + * * @return Whether the table field is set. */ @java.lang.Override @@ -243,6 +281,8 @@ public boolean hasTable() { return dataItemCase_ == 4; } /** + * + * *
    * Structured content for inspection. See
    * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -250,16 +290,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
@@ -271,18 +314,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 @@ -290,21 +336,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`.
    * 
@@ -314,12 +365,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; @@ -331,8 +383,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -355,12 +406,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; @@ -370,7 +423,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); @@ -380,16 +433,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: @@ -426,118 +476,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() @@ -545,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(); @@ -564,9 +621,9 @@ public Builder 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 @@ -585,7 +642,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_; } @@ -612,38 +670,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; @@ -653,23 +712,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(); @@ -699,12 +762,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() { @@ -714,13 +777,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 @@ -728,11 +793,14 @@ public boolean hasValue() { return dataItemCase_ == 3; } /** + * + * *
      * String data to inspect or redact.
      * 
* * string value = 3; + * * @return The value. */ @java.lang.Override @@ -742,8 +810,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; @@ -754,24 +821,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; } @@ -781,30 +849,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() { @@ -816,20 +889,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(); @@ -837,8 +912,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
@@ -846,6 +926,7 @@ public Builder setValueBytes(
      * 
* * .google.privacy.dlp.v2.Table table = 4; + * * @return Whether the table field is set. */ @java.lang.Override @@ -853,6 +934,8 @@ public boolean hasTable() { return dataItemCase_ == 4; } /** + * + * *
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -860,6 +943,7 @@ public boolean hasTable() {
      * 
* * .google.privacy.dlp.v2.Table table = 4; + * * @return The table. */ @java.lang.Override @@ -877,6 +961,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
@@ -899,6 +985,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
@@ -907,8 +995,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();
@@ -919,6 +1006,8 @@ public Builder setTable(
       return this;
     }
     /**
+     *
+     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -929,10 +1018,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;
         }
@@ -948,6 +1040,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
@@ -973,6 +1067,8 @@ public Builder clearTable() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Structured content for inspection. See
      * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
@@ -985,6 +1081,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
@@ -1005,6 +1103,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
@@ -1014,32 +1114,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 @@ -1047,11 +1157,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 @@ -1069,6 +1182,8 @@ public com.google.privacy.dlp.v2.ByteContentItem getByteItem() { } } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1089,14 +1204,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(); @@ -1107,6 +1223,8 @@ public Builder setByteItem( return this; } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1115,10 +1233,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; } @@ -1134,6 +1255,8 @@ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1157,6 +1280,8 @@ public Builder clearByteItem() { return this; } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1167,6 +1292,8 @@ public com.google.privacy.dlp.v2.ByteContentItem.Builder getByteItemBuilder() { return getByteItemFieldBuilder().getBuilder(); } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1185,6 +1312,8 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() } } /** + * + * *
      * Content data to inspect or redact. Replaces `type` and `data`.
      * 
@@ -1192,26 +1321,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); } @@ -1221,12 +1356,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(); } @@ -1235,16 +1370,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; @@ -1259,6 +1394,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 edd6fa3c..cce9249a 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,94 +72,106 @@ 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) {
@@ -150,30 +179,34 @@ private ContentLocation(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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),
@@ -181,6 +214,7 @@ public enum LocationCase
     METADATA_LOCATION(8),
     LOCATION_NOT_SET(0);
     private final int value;
+
     private LocationCase(int value) {
       this.value = value;
     }
@@ -196,28 +230,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
@@ -230,6 +271,7 @@ public int getNumber() {
    * 
* * string container_name = 1; + * * @return The containerName. */ @java.lang.Override @@ -238,14 +280,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
@@ -258,16 +301,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 { @@ -277,11 +319,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 @@ -289,21 +334,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.
    * 
@@ -313,18 +363,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 @@ -332,21 +385,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.
    * 
@@ -356,18 +414,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 @@ -375,21 +436,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.
    * 
@@ -399,18 +465,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 @@ -418,21 +487,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.
    * 
@@ -442,7 +516,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(); } @@ -450,6 +524,8 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr public static final int CONTAINER_TIMESTAMP_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp containerTimestamp_; /** + * + * *
    * Finding container modification timestamp, if applicable. For Cloud Storage,
    * this field contains the last file modification timestamp. For a BigQuery
@@ -458,6 +534,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 @@ -465,6 +542,8 @@ public boolean hasContainerTimestamp() { return containerTimestamp_ != null; } /** + * + * *
    * Finding container modification timestamp, if applicable. For Cloud Storage,
    * this field contains the last file modification timestamp. For a BigQuery
@@ -473,13 +552,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_; } /** + * + * *
    * Finding container modification timestamp, if applicable. For Cloud Storage,
    * this field contains the last file modification timestamp. For a BigQuery
@@ -497,12 +581,15 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
   public static final int CONTAINER_VERSION_FIELD_NUMBER = 7;
   private volatile java.lang.Object containerVersion_;
   /**
+   *
+   *
    * 
    * Finding container version, if available
    * ("generation" for Cloud Storage).
    * 
* * string container_version = 7; + * * @return The containerVersion. */ @java.lang.Override @@ -511,30 +598,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; } } /** + * + * *
    * Finding container version, if available
    * ("generation" for 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 { @@ -543,6 +630,7 @@ public java.lang.String getContainerVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -554,8 +642,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -590,27 +677,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; @@ -620,39 +710,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: @@ -701,97 +785,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.
@@ -799,21 +890,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()
@@ -821,16 +914,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();
@@ -850,9 +942,9 @@ public Builder 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
@@ -871,7 +963,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) {
@@ -916,38 +1009,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;
@@ -968,25 +1062,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();
@@ -1016,12 +1115,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() {
@@ -1031,9 +1130,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
@@ -1046,13 +1146,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; @@ -1061,6 +1161,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
@@ -1073,15 +1175,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 { @@ -1089,6 +1190,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
@@ -1101,20 +1204,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
@@ -1127,15 +1232,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
@@ -1148,29 +1256,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 @@ -1178,11 +1292,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 @@ -1200,6 +1317,8 @@ public com.google.privacy.dlp.v2.RecordLocation getRecordLocation() { } } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1220,6 +1339,8 @@ public Builder setRecordLocation(com.google.privacy.dlp.v2.RecordLocation value) return this; } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1238,6 +1359,8 @@ public Builder setRecordLocation( return this; } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1246,10 +1369,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; } @@ -1265,6 +1391,8 @@ public Builder mergeRecordLocation(com.google.privacy.dlp.v2.RecordLocation valu return this; } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1288,6 +1416,8 @@ public Builder clearRecordLocation() { return this; } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1298,6 +1428,8 @@ public com.google.privacy.dlp.v2.RecordLocation.Builder getRecordLocationBuilder return getRecordLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1316,6 +1448,8 @@ public com.google.privacy.dlp.v2.RecordLocationOrBuilder getRecordLocationOrBuil } } /** + * + * *
      * Location within a row or record of a database table.
      * 
@@ -1323,32 +1457,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 @@ -1356,11 +1502,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 @@ -1378,6 +1527,8 @@ public com.google.privacy.dlp.v2.ImageLocation getImageLocation() { } } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1398,6 +1549,8 @@ public Builder setImageLocation(com.google.privacy.dlp.v2.ImageLocation value) { return this; } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1416,6 +1569,8 @@ public Builder setImageLocation( return this; } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1424,10 +1579,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; } @@ -1443,6 +1601,8 @@ public Builder mergeImageLocation(com.google.privacy.dlp.v2.ImageLocation value) return this; } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1466,6 +1626,8 @@ public Builder clearImageLocation() { return this; } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1476,6 +1638,8 @@ public com.google.privacy.dlp.v2.ImageLocation.Builder getImageLocationBuilder() return getImageLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1494,6 +1658,8 @@ public com.google.privacy.dlp.v2.ImageLocationOrBuilder getImageLocationOrBuilde } } /** + * + * *
      * Location within an image's pixels.
      * 
@@ -1501,32 +1667,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 @@ -1534,11 +1712,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 @@ -1556,6 +1737,8 @@ public com.google.privacy.dlp.v2.DocumentLocation getDocumentLocation() { } } /** + * + * *
      * Location data for document files.
      * 
@@ -1576,6 +1759,8 @@ public Builder setDocumentLocation(com.google.privacy.dlp.v2.DocumentLocation va return this; } /** + * + * *
      * Location data for document files.
      * 
@@ -1594,6 +1779,8 @@ public Builder setDocumentLocation( return this; } /** + * + * *
      * Location data for document files.
      * 
@@ -1602,10 +1789,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; } @@ -1621,6 +1811,8 @@ public Builder mergeDocumentLocation(com.google.privacy.dlp.v2.DocumentLocation return this; } /** + * + * *
      * Location data for document files.
      * 
@@ -1644,6 +1836,8 @@ public Builder clearDocumentLocation() { return this; } /** + * + * *
      * Location data for document files.
      * 
@@ -1654,6 +1848,8 @@ public com.google.privacy.dlp.v2.DocumentLocation.Builder getDocumentLocationBui return getDocumentLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Location data for document files.
      * 
@@ -1672,6 +1868,8 @@ public com.google.privacy.dlp.v2.DocumentLocationOrBuilder getDocumentLocationOr } } /** + * + * *
      * Location data for document files.
      * 
@@ -1679,32 +1877,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 @@ -1712,11 +1922,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 @@ -1734,6 +1947,8 @@ public com.google.privacy.dlp.v2.MetadataLocation getMetadataLocation() { } } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1754,6 +1969,8 @@ public Builder setMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation va return this; } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1772,6 +1989,8 @@ public Builder setMetadataLocation( return this; } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1780,10 +1999,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; } @@ -1799,6 +2021,8 @@ public Builder mergeMetadataLocation(com.google.privacy.dlp.v2.MetadataLocation return this; } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1822,6 +2046,8 @@ public Builder clearMetadataLocation() { return this; } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1832,6 +2058,8 @@ public com.google.privacy.dlp.v2.MetadataLocation.Builder getMetadataLocationBui return getMetadataLocationFieldBuilder().getBuilder(); } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1850,6 +2078,8 @@ public com.google.privacy.dlp.v2.MetadataLocationOrBuilder getMetadataLocationOr } } /** + * + * *
      * Location within the metadata for inspected content.
      * 
@@ -1857,28 +2087,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_; /** + * + * *
      * Finding container modification timestamp, if applicable. For Cloud Storage,
      * this field contains the last file modification timestamp. For a BigQuery
@@ -1887,12 +2128,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; } /** + * + * *
      * Finding container modification timestamp, if applicable. For Cloud Storage,
      * this field contains the last file modification timestamp. For a BigQuery
@@ -1901,16 +2145,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(); } } /** + * + * *
      * Finding container modification timestamp, if applicable. For Cloud Storage,
      * this field contains the last file modification timestamp. For a BigQuery
@@ -1934,6 +2183,8 @@ public Builder setContainerTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Finding container modification timestamp, if applicable. For Cloud Storage,
      * this field contains the last file modification timestamp. For a BigQuery
@@ -1943,8 +2194,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();
@@ -1955,6 +2205,8 @@ public Builder setContainerTimestamp(
       return this;
     }
     /**
+     *
+     *
      * 
      * Finding container modification timestamp, if applicable. For Cloud Storage,
      * this field contains the last file modification timestamp. For a BigQuery
@@ -1968,7 +2220,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;
         }
@@ -1980,6 +2234,8 @@ public Builder mergeContainerTimestamp(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Finding container modification timestamp, if applicable. For Cloud Storage,
      * this field contains the last file modification timestamp. For a BigQuery
@@ -2001,6 +2257,8 @@ public Builder clearContainerTimestamp() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Finding container modification timestamp, if applicable. For Cloud Storage,
      * this field contains the last file modification timestamp. For a BigQuery
@@ -2011,11 +2269,13 @@ public Builder clearContainerTimestamp() {
      * .google.protobuf.Timestamp container_timestamp = 6;
      */
     public com.google.protobuf.Timestamp.Builder getContainerTimestampBuilder() {
-      
+
       onChanged();
       return getContainerTimestampFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Finding container modification timestamp, if applicable. For Cloud Storage,
      * this field contains the last file modification timestamp. For a BigQuery
@@ -2029,11 +2289,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_;
       }
     }
     /**
+     *
+     *
      * 
      * Finding container modification timestamp, if applicable. For Cloud Storage,
      * this field contains the last file modification timestamp. For a BigQuery
@@ -2044,14 +2307,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_;
@@ -2059,19 +2325,21 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() {
 
     private java.lang.Object containerVersion_ = "";
     /**
+     *
+     *
      * 
      * Finding container version, if available
      * ("generation" for 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; @@ -2080,21 +2348,22 @@ public java.lang.String getContainerVersion() { } } /** + * + * *
      * Finding container version, if available
      * ("generation" for 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 { @@ -2102,64 +2371,71 @@ public java.lang.String getContainerVersion() { } } /** + * + * *
      * Finding container version, if available
      * ("generation" for 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; } /** + * + * *
      * Finding container version, if available
      * ("generation" for Cloud Storage).
      * 
* * string container_version = 7; + * * @return This builder for chaining. */ public Builder clearContainerVersion() { - + containerVersion_ = getDefaultInstance().getContainerVersion(); onChanged(); return this; } /** + * + * *
      * Finding container version, if available
      * ("generation" for 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); } @@ -2169,12 +2445,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(); } @@ -2183,16 +2459,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; @@ -2207,6 +2483,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 7516580a..abe65cc5 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(); /** + * + * *
    * Finding container modification timestamp, if applicable. For Cloud Storage,
    * this field contains the last file modification timestamp. For a BigQuery
@@ -158,10 +213,13 @@ public interface ContentLocationOrBuilder extends
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; + * * @return Whether the containerTimestamp field is set. */ boolean hasContainerTimestamp(); /** + * + * *
    * Finding container modification timestamp, if applicable. For Cloud Storage,
    * this field contains the last file modification timestamp. For a BigQuery
@@ -170,10 +228,13 @@ public interface ContentLocationOrBuilder extends
    * 
* * .google.protobuf.Timestamp container_timestamp = 6; + * * @return The containerTimestamp. */ com.google.protobuf.Timestamp getContainerTimestamp(); /** + * + * *
    * Finding container modification timestamp, if applicable. For Cloud Storage,
    * this field contains the last file modification timestamp. For a BigQuery
@@ -186,26 +247,31 @@ public interface ContentLocationOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder();
 
   /**
+   *
+   *
    * 
    * Finding container version, if available
    * ("generation" for Cloud Storage).
    * 
* * string container_version = 7; + * * @return The containerVersion. */ java.lang.String getContainerVersion(); /** + * + * *
    * Finding container version, if available
    * ("generation" for 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 c6a8b7f5..c0467b3d 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(5); } 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 fcb273fc..1532e216 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,44 +73,50 @@ 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) { @@ -100,29 +124,33 @@ private CreateDeidentifyTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -142,7 +170,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 @@ -151,14 +182,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
@@ -178,17 +210,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 { @@ -199,11 +232,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 @@ -211,23 +249,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() { @@ -237,6 +286,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
@@ -245,6 +296,7 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
    * 
* * string template_id = 3; + * * @return The templateId. */ @java.lang.Override @@ -253,14 +305,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
@@ -269,16 +322,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 { @@ -289,11 +341,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 @@ -302,29 +357,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 { @@ -333,6 +388,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +400,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -371,8 +426,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_); @@ -388,24 +442,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; } @@ -433,117 +484,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() @@ -551,16 +612,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(); @@ -580,9 +640,9 @@ public Builder 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 @@ -601,7 +661,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_; @@ -618,38 +679,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; @@ -657,7 +719,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(); @@ -692,7 +755,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) { @@ -704,6 +768,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
@@ -723,14 +789,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; @@ -739,6 +807,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -758,16 +828,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 { @@ -775,6 +846,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -794,21 +867,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
@@ -828,16 +905,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
@@ -857,17 +939,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; @@ -875,39 +959,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) { @@ -923,11 +1026,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) { @@ -941,17 +1048,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; } @@ -963,11 +1076,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) { @@ -981,48 +1098,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_; @@ -1030,6 +1163,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
@@ -1038,13 +1173,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; @@ -1053,6 +1188,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
@@ -1061,15 +1198,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 { @@ -1077,6 +1213,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
@@ -1085,20 +1223,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
@@ -1107,15 +1247,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
@@ -1124,16 +1267,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; @@ -1141,18 +1284,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; @@ -1161,20 +1306,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 { @@ -1182,61 +1328,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); } @@ -1246,12 +1399,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(); } @@ -1260,16 +1413,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; @@ -1284,6 +1437,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 4cc05576..5e7ba33b 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,59 +74,66 @@ 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) {
@@ -117,35 +141,40 @@ private CreateDlpJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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;
     }
@@ -161,26 +190,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
@@ -196,7 +230,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 @@ -205,14 +242,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
@@ -228,17 +266,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 { @@ -248,11 +287,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 @@ -260,21 +302,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.
    * 
@@ -284,19 +331,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 @@ -304,22 +354,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.
@@ -330,7 +385,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();
   }
@@ -338,6 +393,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
@@ -346,6 +403,7 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
    * 
* * string job_id = 4; + * * @return The jobId. */ @java.lang.Override @@ -354,14 +412,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
@@ -370,16 +429,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 { @@ -390,11 +448,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 @@ -403,29 +464,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,6 +495,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -445,8 +507,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,12 +536,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_); @@ -496,28 +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.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: @@ -556,97 +615,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
@@ -655,21 +721,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()
@@ -677,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();
@@ -702,9 +769,9 @@ public Builder 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
@@ -723,7 +790,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) {
@@ -750,38 +818,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;
@@ -803,17 +872,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();
@@ -843,12 +915,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() {
@@ -858,9 +930,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
@@ -876,14 +949,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; @@ -892,6 +967,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -907,16 +984,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 { @@ -924,6 +1002,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -939,21 +1019,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
@@ -969,16 +1053,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
@@ -994,30 +1083,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 @@ -1025,11 +1122,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 @@ -1047,6 +1147,8 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { } } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1067,6 +1169,8 @@ public Builder setInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1085,6 +1189,8 @@ public Builder setInspectJob( return this; } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1093,10 +1199,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; } @@ -1112,6 +1221,8 @@ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1135,6 +1246,8 @@ public Builder clearInspectJob() { return this; } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1145,6 +1258,8 @@ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getInspectJobBuilder() return getInspectJobFieldBuilder().getBuilder(); } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1163,6 +1278,8 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde } } /** + * + * *
      * An inspection job scans a storage repository for InfoTypes.
      * 
@@ -1170,33 +1287,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 @@ -1204,12 +1333,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 @@ -1227,6 +1359,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfig getRiskJob() { } } /** + * + * *
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1248,6 +1382,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.
@@ -1267,6 +1403,8 @@ public Builder setRiskJob(
       return this;
     }
     /**
+     *
+     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1276,10 +1414,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;
         }
@@ -1295,6 +1436,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.
@@ -1319,6 +1462,8 @@ public Builder clearRiskJob() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1330,6 +1475,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.
@@ -1349,6 +1496,8 @@ public com.google.privacy.dlp.v2.RiskAnalysisJobConfigOrBuilder getRiskJobOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * A risk analysis job calculates re-identification risk metrics for a
      * BigQuery table.
@@ -1357,26 +1506,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
@@ -1385,13 +1542,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; @@ -1400,6 +1557,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
@@ -1408,15 +1567,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 { @@ -1424,6 +1582,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
@@ -1432,20 +1592,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
@@ -1454,15 +1616,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
@@ -1471,16 +1636,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; @@ -1488,18 +1653,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; @@ -1508,20 +1675,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 { @@ -1529,61 +1697,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); } @@ -1593,12 +1768,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(); } @@ -1607,16 +1782,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; @@ -1631,6 +1806,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 42ae2412..915e456c 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,44 +72,50 @@ 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) { @@ -100,29 +123,33 @@ private CreateInspectTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -142,7 +169,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 @@ -151,14 +181,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
@@ -178,17 +209,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 { @@ -199,11 +231,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 @@ -211,23 +248,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() { @@ -237,6 +285,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
@@ -245,6 +295,7 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplateOrBu
    * 
* * string template_id = 3; + * * @return The templateId. */ @java.lang.Override @@ -253,14 +304,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
@@ -269,16 +321,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 { @@ -289,11 +340,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 @@ -302,29 +356,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 { @@ -333,6 +387,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +399,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -371,8 +425,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_); @@ -388,24 +441,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; } @@ -433,117 +483,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() @@ -551,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(); @@ -580,9 +639,9 @@ public Builder 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 @@ -601,7 +660,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_; @@ -618,38 +678,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; @@ -657,7 +718,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(); @@ -692,7 +754,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) { @@ -704,6 +767,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
@@ -723,14 +788,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; @@ -739,6 +806,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -758,16 +827,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 { @@ -775,6 +845,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -794,21 +866,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
@@ -828,16 +904,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
@@ -857,17 +938,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; @@ -875,39 +958,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) { @@ -923,11 +1025,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) { @@ -941,17 +1047,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; } @@ -963,11 +1075,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) { @@ -981,48 +1097,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_; @@ -1030,6 +1162,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
@@ -1038,13 +1172,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; @@ -1053,6 +1187,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
@@ -1061,15 +1197,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 { @@ -1077,6 +1212,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
@@ -1085,20 +1222,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
@@ -1107,15 +1246,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
@@ -1124,16 +1266,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; @@ -1141,18 +1283,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; @@ -1161,20 +1305,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 { @@ -1182,61 +1327,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); } @@ -1246,12 +1398,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(); } @@ -1260,16 +1412,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; @@ -1284,6 +1436,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 100f45d0..9ca19fed 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,44 +72,50 @@ 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) { @@ -100,29 +123,33 @@ private CreateJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -138,7 +165,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 @@ -147,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 whether you have [specified a
@@ -170,17 +201,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 { @@ -191,11 +223,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 @@ -203,23 +240,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() { @@ -229,6 +277,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
@@ -237,6 +287,7 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggerOrBuilder() {
    * 
* * string trigger_id = 3; + * * @return The triggerId. */ @java.lang.Override @@ -245,14 +296,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
@@ -261,16 +313,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 { @@ -281,11 +332,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 @@ -294,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 = 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 { @@ -325,6 +379,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,8 +391,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -363,8 +417,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_); @@ -380,24 +433,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; } @@ -425,117 +475,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() @@ -543,16 +602,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(); @@ -572,9 +630,9 @@ public Builder 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 @@ -593,7 +651,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_; @@ -610,38 +669,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; @@ -649,7 +709,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(); @@ -684,7 +745,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) { @@ -696,6 +758,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
@@ -711,14 +775,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; @@ -727,6 +793,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -742,16 +810,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 { @@ -759,6 +828,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -774,21 +845,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
@@ -804,16 +879,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
@@ -829,17 +909,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; @@ -847,39 +929,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) { @@ -895,14 +996,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(); @@ -913,17 +1017,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; } @@ -935,11 +1045,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) { @@ -953,48 +1067,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_; @@ -1002,6 +1132,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
@@ -1010,13 +1142,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; @@ -1025,6 +1157,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
@@ -1033,15 +1167,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 { @@ -1049,6 +1182,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
@@ -1057,20 +1192,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
@@ -1079,15 +1216,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
@@ -1096,16 +1236,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; @@ -1113,18 +1253,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; @@ -1133,20 +1275,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 { @@ -1154,61 +1297,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); } @@ -1218,12 +1368,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(); } @@ -1232,16 +1382,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; @@ -1256,6 +1406,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 81e415e1..bdfb5596 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,44 +72,50 @@ 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) { @@ -100,29 +123,33 @@ private CreateStoredInfoTypeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -142,7 +169,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 @@ -151,14 +181,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
@@ -178,17 +209,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 { @@ -199,11 +231,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 @@ -211,23 +248,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() { @@ -237,6 +285,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
@@ -245,6 +295,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeConfigOrBuilder getConfigOrBuilde
    * 
* * string stored_info_type_id = 3; + * * @return The storedInfoTypeId. */ @java.lang.Override @@ -253,14 +304,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
@@ -269,16 +321,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 { @@ -289,11 +340,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 @@ -302,29 +356,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 { @@ -333,6 +387,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +399,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -371,8 +425,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_); @@ -388,24 +441,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; } @@ -433,117 +483,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() @@ -551,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(); @@ -580,9 +639,9 @@ public Builder 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 @@ -601,7 +660,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_; @@ -618,38 +678,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; @@ -657,7 +718,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(); @@ -692,7 +754,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) { @@ -704,6 +767,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
@@ -723,14 +788,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; @@ -739,6 +806,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -758,16 +827,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 { @@ -775,6 +845,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -794,21 +866,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
@@ -828,16 +904,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
@@ -857,17 +938,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; @@ -875,39 +958,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) { @@ -923,11 +1025,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) { @@ -941,17 +1047,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; } @@ -963,11 +1075,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) { @@ -981,48 +1097,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_; @@ -1030,6 +1162,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
@@ -1038,13 +1172,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; @@ -1053,6 +1187,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
@@ -1061,15 +1197,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 { @@ -1077,6 +1212,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
@@ -1085,20 +1222,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
@@ -1107,15 +1246,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
@@ -1124,16 +1266,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; @@ -1141,18 +1283,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; @@ -1161,20 +1305,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 { @@ -1182,61 +1327,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); } @@ -1246,12 +1398,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(); } @@ -1260,16 +1412,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; @@ -1284,6 +1436,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 f4f672f6..a81ae485 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,52 +70,59 @@ 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) {
@@ -107,29 +130,33 @@ private CryptoDeterministicConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -137,6 +164,7 @@ private CryptoDeterministicConfig(
    * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 1; + * * @return Whether the cryptoKey field is set. */ @java.lang.Override @@ -144,6 +172,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
@@ -151,13 +181,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
@@ -174,6 +209,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
@@ -204,6 +241,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 @@ -211,6 +249,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
@@ -241,13 +281,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
@@ -287,6 +332,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
@@ -305,6 +352,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 @@ -312,6 +360,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
@@ -330,6 +380,7 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return The context. */ @java.lang.Override @@ -337,6 +388,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
@@ -362,6 +415,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -373,8 +427,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -394,16 +447,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;
@@ -413,27 +463,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;
@@ -464,96 +512,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.
@@ -562,21 +617,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()
@@ -584,16 +641,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -619,9 +675,9 @@ public Builder 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
@@ -640,7 +696,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 {
@@ -664,38 +721,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;
@@ -703,7 +761,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());
       }
@@ -732,7 +791,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) {
@@ -744,8 +804,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
@@ -753,12 +818,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
@@ -766,16 +834,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
@@ -798,6 +871,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
@@ -806,8 +881,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();
@@ -818,6 +892,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
@@ -830,7 +906,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;
         }
@@ -842,6 +920,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
@@ -862,6 +942,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
@@ -871,11 +953,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
@@ -888,11 +972,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
@@ -902,14 +989,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_;
@@ -917,8 +1007,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
@@ -949,12 +1044,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
@@ -985,16 +1083,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
@@ -1040,6 +1143,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
@@ -1083,6 +1188,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
@@ -1118,7 +1225,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;
         }
@@ -1130,6 +1239,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
@@ -1173,6 +1284,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
@@ -1205,11 +1318,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
@@ -1245,11 +1360,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
@@ -1282,14 +1400,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_;
@@ -1297,8 +1418,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
@@ -1317,12 +1443,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
@@ -1341,6 +1470,7 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -1351,6 +1481,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
@@ -1384,6 +1516,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
@@ -1403,8 +1537,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();
@@ -1415,6 +1548,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
@@ -1438,7 +1573,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;
         }
@@ -1450,6 +1587,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
@@ -1481,6 +1620,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
@@ -1501,11 +1642,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
@@ -1529,11 +1672,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
@@ -1554,21 +1698,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);
     }
 
@@ -1578,12 +1725,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();
   }
@@ -1592,16 +1739,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;
@@ -1616,6 +1763,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 073fd88c..b3f77dd3 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 69%
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 cf752650..8185d59c 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,26 +74,29 @@ 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) {
@@ -85,34 +104,39 @@ private CryptoHashConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -120,18 +144,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.
    * 
@@ -144,6 +175,7 @@ public com.google.privacy.dlp.v2.CryptoKeyOrBuilder getCryptoKeyOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (cryptoKey_ != null) { output.writeMessage(1, getCryptoKey()); } @@ -170,8 +201,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; @@ -181,17 +211,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -213,97 +243,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.
@@ -316,21 +353,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()
@@ -338,16 +377,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();
@@ -361,9 +399,9 @@ public Builder 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
@@ -382,7 +420,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 {
@@ -396,38 +435,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;
@@ -470,34 +510,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.
      * 
@@ -518,14 +571,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(); @@ -536,6 +590,8 @@ public Builder setCryptoKey( return this; } /** + * + * *
      * The key used by the hash function.
      * 
@@ -546,7 +602,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; } @@ -558,6 +616,8 @@ public Builder mergeCryptoKey(com.google.privacy.dlp.v2.CryptoKey value) { return this; } /** + * + * *
      * The key used by the hash function.
      * 
@@ -576,6 +636,8 @@ public Builder clearCryptoKey() { return this; } /** + * + * *
      * The key used by the hash function.
      * 
@@ -583,11 +645,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.
      * 
@@ -598,11 +662,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.
      * 
@@ -610,21 +677,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); } @@ -634,12 +704,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(); } @@ -648,16 +718,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; @@ -672,6 +742,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 9e4b088b..f9472665 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,55 +73,61 @@ 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) {
@@ -113,36 +135,41 @@ private CryptoKey(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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;
     }
@@ -158,31 +185,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 @@ -190,21 +224,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
    * 
@@ -214,18 +253,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 @@ -233,21 +275,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
    * 
@@ -257,18 +304,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 @@ -276,21 +326,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
    * 
@@ -300,12 +355,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; @@ -317,8 +373,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -338,16 +393,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; @@ -357,7 +415,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); @@ -367,16 +425,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: @@ -413,97 +468,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
@@ -515,21 +576,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()
@@ -537,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();
@@ -556,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_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
@@ -608,38 +670,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;
@@ -649,21 +712,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();
@@ -693,12 +760,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() {
@@ -708,15 +775,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 @@ -724,11 +796,14 @@ public boolean hasTransient() { return sourceCase_ == 1; } /** + * + * *
      * Transient crypto key
      * 
* * .google.privacy.dlp.v2.TransientCryptoKey transient = 1; + * * @return The transient. */ @java.lang.Override @@ -746,6 +821,8 @@ public com.google.privacy.dlp.v2.TransientCryptoKey getTransient() { } } /** + * + * *
      * Transient crypto key
      * 
@@ -766,6 +843,8 @@ public Builder setTransient(com.google.privacy.dlp.v2.TransientCryptoKey value) return this; } /** + * + * *
      * Transient crypto key
      * 
@@ -784,6 +863,8 @@ public Builder setTransient( return this; } /** + * + * *
      * Transient crypto key
      * 
@@ -792,10 +873,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; } @@ -811,6 +895,8 @@ public Builder mergeTransient(com.google.privacy.dlp.v2.TransientCryptoKey value return this; } /** + * + * *
      * Transient crypto key
      * 
@@ -834,6 +920,8 @@ public Builder clearTransient() { return this; } /** + * + * *
      * Transient crypto key
      * 
@@ -844,6 +932,8 @@ public com.google.privacy.dlp.v2.TransientCryptoKey.Builder getTransientBuilder( return getTransientFieldBuilder().getBuilder(); } /** + * + * *
      * Transient crypto key
      * 
@@ -862,6 +952,8 @@ public com.google.privacy.dlp.v2.TransientCryptoKeyOrBuilder getTransientOrBuild } } /** + * + * *
      * Transient crypto key
      * 
@@ -869,32 +961,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 @@ -902,11 +1006,14 @@ public boolean hasUnwrapped() { return sourceCase_ == 2; } /** + * + * *
      * Unwrapped crypto key
      * 
* * .google.privacy.dlp.v2.UnwrappedCryptoKey unwrapped = 2; + * * @return The unwrapped. */ @java.lang.Override @@ -924,6 +1031,8 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey getUnwrapped() { } } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -944,6 +1053,8 @@ public Builder setUnwrapped(com.google.privacy.dlp.v2.UnwrappedCryptoKey value) return this; } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -962,6 +1073,8 @@ public Builder setUnwrapped( return this; } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -970,10 +1083,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; } @@ -989,6 +1105,8 @@ public Builder mergeUnwrapped(com.google.privacy.dlp.v2.UnwrappedCryptoKey value return this; } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -1012,6 +1130,8 @@ public Builder clearUnwrapped() { return this; } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -1022,6 +1142,8 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKey.Builder getUnwrappedBuilder( return getUnwrappedFieldBuilder().getBuilder(); } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -1040,6 +1162,8 @@ public com.google.privacy.dlp.v2.UnwrappedCryptoKeyOrBuilder getUnwrappedOrBuild } } /** + * + * *
      * Unwrapped crypto key
      * 
@@ -1047,32 +1171,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 @@ -1080,11 +1216,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 @@ -1102,6 +1241,8 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey getKmsWrapped() { } } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1122,6 +1263,8 @@ public Builder setKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey value return this; } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1140,6 +1283,8 @@ public Builder setKmsWrapped( return this; } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1148,10 +1293,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; } @@ -1167,6 +1315,8 @@ public Builder mergeKmsWrapped(com.google.privacy.dlp.v2.KmsWrappedCryptoKey val return this; } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1190,6 +1340,8 @@ public Builder clearKmsWrapped() { return this; } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1200,6 +1352,8 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKey.Builder getKmsWrappedBuilde return getKmsWrappedFieldBuilder().getBuilder(); } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1218,6 +1372,8 @@ public com.google.privacy.dlp.v2.KmsWrappedCryptoKeyOrBuilder getKmsWrappedOrBui } } /** + * + * *
      * Key wrapped using Cloud KMS
      * 
@@ -1225,26 +1381,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); } @@ -1254,12 +1416,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(); } @@ -1268,16 +1430,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; @@ -1292,6 +1454,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 9ab2cb66..d01d1f7b 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,69 +79,79 @@ 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: {
-            alphabet_ = input.readInt32();
-            alphabetCase_ = 6;
-            break;
-          }
-          case 66: {
-            com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-            if (surrogateInfoType_ != null) {
-              subBuilder = surrogateInfoType_.toBuilder();
+          case 48:
+            {
+              alphabet_ = input.readInt32();
+              alphabetCase_ = 6;
+              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) {
@@ -133,27 +159,31 @@ private CryptoReplaceFfxFpeConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -162,9 +192,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.
      * 
@@ -173,6 +204,8 @@ public enum FfxCommonNativeAlphabet */ FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED(0), /** + * + * *
      * `[0-9]` (radix of 10)
      * 
@@ -181,6 +214,8 @@ public enum FfxCommonNativeAlphabet */ NUMERIC(1), /** + * + * *
      * `[0-9A-F]` (radix of 16)
      * 
@@ -189,6 +224,8 @@ public enum FfxCommonNativeAlphabet */ HEXADECIMAL(2), /** + * + * *
      * `[0-9A-Z]` (radix of 36)
      * 
@@ -197,6 +234,8 @@ public enum FfxCommonNativeAlphabet */ UPPER_CASE_ALPHA_NUMERIC(3), /** + * + * *
      * `[0-9A-Za-z]` (radix of 62)
      * 
@@ -208,6 +247,8 @@ public enum FfxCommonNativeAlphabet ; /** + * + * *
      * Unused.
      * 
@@ -216,6 +257,8 @@ public enum FfxCommonNativeAlphabet */ public static final int FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED_VALUE = 0; /** + * + * *
      * `[0-9]` (radix of 10)
      * 
@@ -224,6 +267,8 @@ public enum FfxCommonNativeAlphabet */ public static final int NUMERIC_VALUE = 1; /** + * + * *
      * `[0-9A-F]` (radix of 16)
      * 
@@ -232,6 +277,8 @@ public enum FfxCommonNativeAlphabet */ public static final int HEXADECIMAL_VALUE = 2; /** + * + * *
      * `[0-9A-Z]` (radix of 36)
      * 
@@ -240,6 +287,8 @@ public enum FfxCommonNativeAlphabet */ public static final int UPPER_CASE_ALPHA_NUMERIC_VALUE = 3; /** + * + * *
      * `[0-9A-Za-z]` (radix of 62)
      * 
@@ -248,7 +297,6 @@ public enum FfxCommonNativeAlphabet */ public static final int ALPHA_NUMERIC_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -273,12 +321,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; } } @@ -286,29 +340,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(); @@ -316,8 +372,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; @@ -336,14 +391,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; } @@ -359,32 +417,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 @@ -392,23 +459,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() { @@ -418,6 +496,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
@@ -436,6 +516,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 @@ -443,6 +524,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
@@ -461,6 +544,7 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 2; + * * @return The context. */ @java.lang.Override @@ -468,6 +552,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
@@ -494,22 +580,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() { @@ -519,25 +615,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
@@ -552,12 +660,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
@@ -572,6 +683,7 @@ public boolean hasCustomAlphabet() {
    * 
* * string custom_alphabet = 5; + * * @return The customAlphabet. */ public java.lang.String getCustomAlphabet() { @@ -582,8 +694,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; @@ -592,6 +703,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
@@ -606,18 +719,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; } @@ -629,11 +741,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 @@ -641,11 +756,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 @@ -659,6 +777,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
@@ -685,6 +805,7 @@ public int getRadix() {
    * 
* * .google.privacy.dlp.v2.InfoType surrogate_info_type = 8; + * * @return Whether the surrogateInfoType field is set. */ @java.lang.Override @@ -692,6 +813,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
@@ -718,13 +841,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
@@ -758,6 +886,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getSurrogateInfoTypeOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -769,8 +898,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -784,8 +912,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());
@@ -800,28 +927,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;
@@ -831,41 +955,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:
@@ -915,96 +1034,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
@@ -1022,21 +1148,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()
@@ -1044,16 +1172,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();
@@ -1081,9 +1208,9 @@ public Builder 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
@@ -1102,7 +1229,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 {
@@ -1136,38 +1264,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;
@@ -1175,7 +1304,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());
       }
@@ -1186,23 +1316,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();
@@ -1223,7 +1357,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) {
@@ -1232,12 +1367,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() {
@@ -1247,42 +1382,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) { @@ -1298,14 +1451,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(); @@ -1316,17 +1472,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; } @@ -1338,11 +1500,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) { @@ -1356,48 +1522,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_; @@ -1405,8 +1587,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
@@ -1425,12 +1612,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
@@ -1449,6 +1639,7 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 2; + * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -1459,6 +1650,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
@@ -1492,6 +1685,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
@@ -1511,8 +1706,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();
@@ -1523,6 +1717,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
@@ -1546,7 +1742,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;
         }
@@ -1558,6 +1756,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
@@ -1589,6 +1789,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
@@ -1609,11 +1811,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
@@ -1637,11 +1841,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
@@ -1662,25 +1867,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 @@ -1688,11 +1901,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 @@ -1703,11 +1921,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. */ @@ -1718,33 +1941,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(); } @@ -1754,11 +1994,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() { @@ -1771,6 +2016,8 @@ public Builder clearCommonAlphabet() { } /** + * + * *
      * This is supported by mapping these to the alphanumeric characters
      * that the FFX mode natively supports. This happens before/after
@@ -1785,6 +2032,7 @@ public Builder clearCommonAlphabet() {
      * 
* * string custom_alphabet = 5; + * * @return Whether the customAlphabet field is set. */ @java.lang.Override @@ -1792,6 +2040,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
@@ -1806,6 +2056,7 @@ public boolean hasCustomAlphabet() {
      * 
* * string custom_alphabet = 5; + * * @return The customAlphabet. */ @java.lang.Override @@ -1815,8 +2066,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; @@ -1827,6 +2077,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
@@ -1841,19 +2093,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; } @@ -1863,6 +2114,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
@@ -1877,20 +2130,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
@@ -1905,6 +2160,7 @@ public Builder setCustomAlphabet(
      * 
* * string custom_alphabet = 5; + * * @return This builder for chaining. */ public Builder clearCustomAlphabet() { @@ -1916,6 +2172,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
@@ -1930,15 +2188,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(); @@ -1946,22 +2204,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() { @@ -1971,11 +2235,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. */ @@ -1986,11 +2253,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() { @@ -2004,8 +2274,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
@@ -2032,12 +2307,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
@@ -2064,16 +2342,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
@@ -2115,6 +2398,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
@@ -2154,6 +2439,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
@@ -2185,7 +2472,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;
         }
@@ -2197,6 +2486,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
@@ -2236,6 +2527,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
@@ -2264,11 +2557,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
@@ -2300,11 +2595,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
@@ -2333,21 +2631,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);
     }
 
@@ -2357,12 +2658,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();
   }
@@ -2371,16 +2672,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;
@@ -2395,6 +2696,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 248d1bcb..247e0973 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 74%
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 6ab039fc..063eb57e 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,103 +74,125 @@ 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) {
@@ -161,8 +200,7 @@ private CustomInfoType(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -171,25 +209,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.
      * 
@@ -198,6 +238,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.
@@ -210,6 +252,8 @@ public enum ExclusionType
     ;
 
     /**
+     *
+     *
      * 
      * A finding of this custom info type will not be excluded from results.
      * 
@@ -218,6 +262,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.
@@ -227,7 +273,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(
@@ -252,48 +297,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;
@@ -310,29 +354,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.
      * 
@@ -342,26 +395,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.
@@ -374,6 +435,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
@@ -400,30 +463,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)
@@ -442,41 +504,50 @@ 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) {
@@ -484,31 +555,36 @@ private Dictionary(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -516,11 +592,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
@@ -528,10 +606,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
@@ -539,11 +620,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
@@ -551,44 +635,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) @@ -608,22 +694,23 @@ 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) { @@ -631,8 +718,8 @@ private WordList( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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(); @@ -641,22 +728,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
@@ -664,13 +756,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
@@ -678,12 +772,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
@@ -691,6 +788,7 @@ public int getWordsCount() {
        * 
* * repeated string words = 1; + * * @param index The index of the element to return. * @return The words at the given index. */ @@ -698,6 +796,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
@@ -705,15 +805,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; @@ -725,8 +826,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -755,15 +855,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; } @@ -785,87 +885,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 @@ -875,27 +982,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() @@ -903,16 +1015,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -922,13 +1033,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(); } @@ -943,7 +1055,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(); @@ -958,46 +1071,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_; @@ -1027,7 +1146,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) { @@ -1036,16 +1157,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
@@ -1053,13 +1179,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
@@ -1067,12 +1195,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
@@ -1080,6 +1211,7 @@ public int getWordsCount() {
          * 
* * repeated string words = 1; + * * @param index The index of the element to return. * @return The words at the given index. */ @@ -1087,6 +1219,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
@@ -1094,14 +1228,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
@@ -1109,21 +1245,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
@@ -1131,20 +1269,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
@@ -1152,18 +1292,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
@@ -1171,6 +1312,7 @@ public Builder addAllWords(
          * 
* * repeated string words = 1; + * * @return This builder for chaining. */ public Builder clearWords() { @@ -1180,6 +1322,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
@@ -1187,20 +1331,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) { @@ -1213,30 +1358,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; @@ -1248,21 +1395,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; } @@ -1278,30 +1428,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 @@ -1309,21 +1465,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.
      * 
@@ -1331,21 +1492,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 @@ -1353,22 +1518,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.
@@ -1379,12 +1549,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;
@@ -1396,10 +1567,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_);
@@ -1414,12 +1585,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;
@@ -1429,22 +1602,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:
@@ -1478,87 +1650,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
@@ -1568,6 +1747,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
@@ -1594,21 +1775,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()
@@ -1616,16 +1800,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();
@@ -1635,9 +1818,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
@@ -1656,7 +1839,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_;
@@ -1680,38 +1864,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;
@@ -1719,19 +1906,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();
@@ -1752,7 +1943,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) {
@@ -1761,12 +1953,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() {
@@ -1776,15 +1968,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 @@ -1792,11 +1989,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 @@ -1814,13 +2014,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(); @@ -1834,6 +2037,8 @@ public Builder setWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary.W return this; } /** + * + * *
        * List of words or phrases to search for.
        * 
@@ -1852,18 +2057,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; } @@ -1879,6 +2092,8 @@ public Builder mergeWordList(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** + * + * *
        * List of words or phrases to search for.
        * 
@@ -1902,16 +2117,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.
        * 
@@ -1919,7 +2139,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 { @@ -1930,6 +2151,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListOrBuilder get } } /** + * + * *
        * List of words or phrases to search for.
        * 
@@ -1937,33 +2160,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 @@ -1971,12 +2207,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 @@ -1994,6 +2233,8 @@ public com.google.privacy.dlp.v2.CloudStoragePath getCloudStoragePath() { } } /** + * + * *
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2015,6 +2256,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.
@@ -2034,6 +2277,8 @@ public Builder setCloudStoragePath(
         return this;
       }
       /**
+       *
+       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2043,10 +2288,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;
           }
@@ -2062,6 +2310,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.
@@ -2086,6 +2336,8 @@ public Builder clearCloudStoragePath() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2097,6 +2349,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.
@@ -2116,6 +2370,8 @@ public com.google.privacy.dlp.v2.CloudStoragePathOrBuilder getCloudStoragePathOr
         }
       }
       /**
+       *
+       *
        * 
        * Newline-delimited file of words in Cloud Storage. Only a single file
        * is accepted.
@@ -2124,23 +2380,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) {
@@ -2153,12 +2416,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();
     }
@@ -2167,16 +2430,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;
@@ -2191,14 +2454,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
@@ -2206,10 +2471,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
@@ -2217,59 +2485,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(); @@ -2277,16 +2557,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) @@ -2306,40 +2585,43 @@ 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) { @@ -2347,8 +2629,7 @@ private Regex( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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 @@ -2357,22 +2638,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
@@ -2380,6 +2666,7 @@ private Regex(
      * 
* * string pattern = 1; + * * @return The pattern. */ @java.lang.Override @@ -2388,14 +2675,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
@@ -2403,16 +2691,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 { @@ -2423,47 +2710,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; @@ -2475,8 +2772,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -2503,14 +2799,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; } @@ -2522,17 +2817,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; } @@ -2555,88 +2849,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 @@ -2646,27 +2946,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() @@ -2674,16 +2979,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(); @@ -2695,9 +2999,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 @@ -2716,7 +3020,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)) { @@ -2732,38 +3037,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; @@ -2771,7 +3079,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(); @@ -2814,10 +3123,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
@@ -2825,13 +3137,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; @@ -2840,6 +3152,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
@@ -2847,15 +3161,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 { @@ -2863,6 +3176,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
@@ -2870,20 +3185,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
@@ -2891,15 +3208,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
@@ -2907,61 +3227,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. */ @@ -2969,30 +3299,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. */ @@ -3003,30 +3338,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() { @@ -3035,6 +3374,7 @@ public Builder clearGroupIndexes() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3047,12 +3387,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(); } @@ -3061,16 +3401,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; @@ -3085,14 +3425,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
@@ -3106,30 +3447,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)
@@ -3148,13 +3488,13 @@ 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) {
@@ -3162,27 +3502,30 @@ private SurrogateType(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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;
@@ -3194,8 +3537,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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);
     }
 
@@ -3213,12 +3555,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;
@@ -3237,87 +3580,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
@@ -3327,6 +3677,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations
      * such as
@@ -3340,21 +3692,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()
@@ -3362,16 +3717,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();
@@ -3379,9 +3733,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
@@ -3400,7 +3754,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;
       }
@@ -3409,38 +3764,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;
@@ -3448,7 +3806,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;
@@ -3468,7 +3827,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) {
@@ -3477,6 +3837,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3489,12 +3850,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();
     }
@@ -3503,16 +3864,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;
@@ -3527,43 +3888,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
@@ -3573,30 +3948,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)
@@ -3615,27 +3989,34 @@ 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) {
@@ -3643,31 +4024,36 @@ private DetectionRule(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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. For tabular data,
        * if you want to modify the likelihood of an entire column of findngs,
@@ -3677,21 +4063,27 @@ public interface ProximityOrBuilder extends
        * 
* * 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.
@@ -3699,30 +4091,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)
@@ -3741,23 +4132,23 @@ 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) {
@@ -3765,29 +4156,34 @@ private Proximity(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(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. For tabular data,
        * if you want to modify the likelihood of an entire column of findngs,
@@ -3797,6 +4193,7 @@ private Proximity(
        * 
* * int32 window_before = 1; + * * @return The windowBefore. */ @java.lang.Override @@ -3807,11 +4204,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 @@ -3820,6 +4220,7 @@ public int getWindowAfter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3831,8 +4232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -3849,12 +4249,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; @@ -3864,17 +4262,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; } @@ -3896,87 +4293,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 @@ -3986,6 +4392,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Message for specifying a window around a finding to apply a detection
        * rule.
@@ -3993,38 +4401,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();
@@ -4036,14 +4447,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
@@ -4057,7 +4470,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();
@@ -4068,46 +4482,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());
           }
@@ -4133,7 +4554,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) {
@@ -4143,8 +4566,10 @@ public Builder mergeFrom(
           return this;
         }
 
-        private int windowBefore_ ;
+        private int windowBefore_;
         /**
+         *
+         *
          * 
          * Number of characters before the finding to consider. For tabular data,
          * if you want to modify the likelihood of an entire column of findngs,
@@ -4154,6 +4579,7 @@ public Builder mergeFrom(
          * 
* * int32 window_before = 1; + * * @return The windowBefore. */ @java.lang.Override @@ -4161,6 +4587,8 @@ public int getWindowBefore() { return windowBefore_; } /** + * + * *
          * Number of characters before the finding to consider. For tabular data,
          * if you want to modify the likelihood of an entire column of findngs,
@@ -4170,16 +4598,19 @@ public int getWindowBefore() {
          * 
* * 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. For tabular data,
          * if you want to modify the likelihood of an entire column of findngs,
@@ -4189,22 +4620,26 @@ public Builder setWindowBefore(int value) {
          * 
* * 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 @@ -4212,34 +4647,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) { @@ -4252,30 +4694,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; @@ -4287,45 +4731,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
@@ -4338,10 +4794,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
@@ -4354,13 +4813,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.
@@ -4368,30 +4832,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)
@@ -4410,24 +4873,26 @@ private LikelihoodAdjustment(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                int rawValue = input.readEnum();
-                adjustmentCase_ = 1;
-                adjustment_ = rawValue;
-                break;
-              }
-              case 16: {
-                adjustment_ = input.readInt32();
-                adjustmentCase_ = 2;
-                break;
-              }
-              default: {
-                if (!parseUnknownField(
-                    input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
+              case 8:
+                {
+                  int rawValue = input.readEnum();
+                  adjustmentCase_ = 1;
+                  adjustment_ = rawValue;
+                  break;
+                }
+              case 16:
+                {
+                  adjustment_ = input.readInt32();
+                  adjustmentCase_ = 2;
+                  break;
+                }
+              default:
+                {
+                  if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                    done = true;
+                  }
+                  break;
                 }
-                break;
-              }
             }
           }
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4435,35 +4900,42 @@ private LikelihoodAdjustment(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(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;
         }
@@ -4479,41 +4951,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() { @@ -4523,18 +5004,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; @@ -4542,6 +5026,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
@@ -4554,6 +5040,7 @@ public com.google.privacy.dlp.v2.Likelihood getFixedLikelihood() {
        * 
* * int32 relative_likelihood = 2; + * * @return Whether the relativeLikelihood field is set. */ @java.lang.Override @@ -4561,6 +5048,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
@@ -4573,6 +5062,7 @@ public boolean hasRelativeLikelihood() {
        * 
* * int32 relative_likelihood = 2; + * * @return The relativeLikelihood. */ @java.lang.Override @@ -4584,6 +5074,7 @@ public int getRelativeLikelihood() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4595,14 +5086,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); } @@ -4614,13 +5103,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; @@ -4630,22 +5120,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: @@ -4678,88 +5169,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 @@ -4769,45 +5275,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(); @@ -4817,19 +5330,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); } @@ -4837,8 +5353,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_; } @@ -4854,58 +5372,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(); @@ -4922,11 +5453,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) { @@ -4935,12 +5469,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() { @@ -4950,13 +5484,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 @@ -4964,11 +5500,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 @@ -4979,11 +5518,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. */ @@ -4994,29 +5536,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. */ @@ -5030,11 +5578,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() { @@ -5047,6 +5598,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
@@ -5059,12 +5612,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
@@ -5077,6 +5633,7 @@ public boolean hasRelativeLikelihood() {
          * 
* * int32 relative_likelihood = 2; + * * @return The relativeLikelihood. */ public int getRelativeLikelihood() { @@ -5086,6 +5643,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
@@ -5098,6 +5657,7 @@ public int getRelativeLikelihood() {
          * 
* * int32 relative_likelihood = 2; + * * @param value The relativeLikelihood to set. * @return This builder for chaining. */ @@ -5108,6 +5668,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
@@ -5120,6 +5682,7 @@ public Builder setRelativeLikelihood(int value) {
          * 
* * int32 relative_likelihood = 2; + * * @return This builder for chaining. */ public Builder clearRelativeLikelihood() { @@ -5130,6 +5693,7 @@ public Builder clearRelativeLikelihood() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5142,30 +5706,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; @@ -5177,35 +5745,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.
        * 
@@ -5215,6 +5792,8 @@ public interface HotwordRuleOrBuilder extends com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getHotwordRegexOrBuilder(); /** + * + * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -5231,10 +5810,13 @@ public interface HotwordRuleOrBuilder extends
        * 
* * .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; + * * @return Whether the proximity field is set. */ boolean hasProximity(); /** + * + * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -5251,10 +5833,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(); /** + * + * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -5272,36 +5857,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.
@@ -5309,30 +5913,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)
@@ -5351,52 +5954,68 @@ 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) {
@@ -5404,34 +6023,40 @@ private HotwordRule(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -5439,18 +6064,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.
        * 
@@ -5465,6 +6097,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_; /** + * + * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -5481,6 +6115,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 @@ -5488,6 +6123,8 @@ public boolean hasProximity() { return proximity_ != null; } /** + * + * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -5504,13 +6141,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_; } /** + * + * *
        * Range of characters within which the entire hotword must reside.
        * The total length of the window cannot exceed 1000 characters.
@@ -5529,18 +6171,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 @@ -5548,30 +6197,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; @@ -5583,8 +6247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -5604,16 +6267,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; @@ -5623,27 +6285,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; @@ -5674,87 +6334,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 @@ -5764,6 +6433,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * The rule that adjusts the likelihood of findings within a certain
        * proximity of hotwords.
@@ -5771,38 +6442,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();
@@ -5828,19 +6502,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);
           }
@@ -5849,7 +6526,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 {
@@ -5873,46 +6551,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());
           }
@@ -5941,7 +6626,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) {
@@ -5953,34 +6640,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.
          * 
@@ -6001,6 +6701,8 @@ public Builder setHotwordRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex va return this; } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6019,6 +6721,8 @@ public Builder setHotwordRegex( return this; } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6029,7 +6733,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; } @@ -6041,6 +6747,8 @@ public Builder mergeHotwordRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex return this; } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6059,6 +6767,8 @@ public Builder clearHotwordRegex() { return this; } /** + * + * *
          * Regular expression pattern defining what qualifies as a hotword.
          * 
@@ -6066,11 +6776,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.
          * 
@@ -6081,11 +6793,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.
          * 
@@ -6093,14 +6808,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_; @@ -6108,8 +6826,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_; /** + * + * *
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6126,12 +6849,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; } /** + * + * *
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6148,16 +6874,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(); } } /** + * + * *
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6175,7 +6907,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();
@@ -6189,6 +6922,8 @@ public Builder setProximity(com.google.privacy.dlp.v2.CustomInfoType.DetectionRu
           return this;
         }
         /**
+         *
+         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6207,7 +6942,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();
@@ -6218,6 +6954,8 @@ public Builder setProximity(
           return this;
         }
         /**
+         *
+         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6235,11 +6973,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;
             }
@@ -6251,6 +6993,8 @@ public Builder mergeProximity(com.google.privacy.dlp.v2.CustomInfoType.Detection
           return this;
         }
         /**
+         *
+         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6280,6 +7024,8 @@ public Builder clearProximity() {
           return this;
         }
         /**
+         *
+         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6297,12 +7043,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();
         }
         /**
+         *
+         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6320,15 +7069,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_;
           }
         }
         /**
+         *
+         *
          * 
          * Range of characters within which the entire hotword must reside.
          * The total length of the window cannot exceed 1000 characters.
@@ -6347,56 +7101,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(); @@ -6410,14 +7191,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(); @@ -6428,17 +7214,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; } @@ -6450,11 +7244,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) { @@ -6468,52 +7266,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) { @@ -6526,30 +7347,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; @@ -6561,20 +7384,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; } @@ -6590,29 +7416,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 @@ -6620,36 +7452,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; @@ -6661,10 +7504,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); } @@ -6676,8 +7519,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; @@ -6687,18 +7531,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: @@ -6728,87 +7572,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 @@ -6818,6 +7669,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
      * `CustomInfoType` to alter behavior under certain circumstances, depending
@@ -6827,21 +7680,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()
@@ -6849,16 +7705,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();
@@ -6868,9 +7723,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
@@ -6889,7 +7744,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_;
@@ -6906,38 +7762,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;
@@ -6945,15 +7804,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();
@@ -6974,7 +7836,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) {
@@ -6983,12 +7846,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() {
@@ -6998,15 +7861,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 @@ -7014,11 +7883,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 @@ -7027,22 +7900,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(); @@ -7056,14 +7935,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(); @@ -7074,18 +7957,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; } @@ -7101,11 +7993,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) { @@ -7124,58 +8019,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) { @@ -7188,12 +8104,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(); } @@ -7202,16 +8118,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; @@ -7226,13 +8142,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), @@ -7240,6 +8157,7 @@ public enum TypeCase STORED_TYPE(5), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -7255,28 +8173,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
@@ -7287,6 +8212,7 @@ public int getNumber() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -7294,6 +8220,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
@@ -7304,6 +8232,7 @@ public boolean hasInfoType() {
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ @java.lang.Override @@ -7311,6 +8240,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
@@ -7330,6 +8261,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
@@ -7337,12 +8270,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
@@ -7350,21 +8287,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 @@ -7372,21 +8315,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.
    * 
@@ -7396,18 +8344,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 @@ -7415,21 +8366,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.
    * 
@@ -7439,19 +8395,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 @@ -7459,22 +8418,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.
@@ -7483,21 +8447,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 @@ -7505,22 +8473,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`.
@@ -7531,7 +8504,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();
   }
@@ -7539,6 +8512,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
@@ -7548,10 +8523,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
@@ -7561,11 +8539,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
@@ -7579,6 +8559,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
@@ -7592,6 +8574,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
@@ -7609,33 +8593,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; @@ -7647,8 +8643,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -7670,7 +8665,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); @@ -7683,36 +8680,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; @@ -7722,7 +8721,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); @@ -7731,30 +8730,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: @@ -7807,97 +8800,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.
@@ -7905,21 +8905,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()
@@ -7927,17 +8929,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();
@@ -7963,9 +8965,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
@@ -7984,7 +8986,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_;
@@ -8039,38 +9042,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;
@@ -8103,9 +9107,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_);
           }
@@ -8115,25 +9120,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();
@@ -8163,12 +9173,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() {
@@ -8182,8 +9192,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
@@ -8194,12 +9209,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
@@ -8210,16 +9228,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
@@ -8245,6 +9268,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
@@ -8256,8 +9281,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();
@@ -8268,6 +9292,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
@@ -8283,7 +9309,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;
         }
@@ -8295,6 +9323,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
@@ -8318,6 +9348,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
@@ -8330,11 +9362,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
@@ -8350,11 +9384,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
@@ -8367,14 +9404,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_;
@@ -8382,6 +9422,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
@@ -8389,12 +9431,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
@@ -8402,16 +9448,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
@@ -8419,15 +9468,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
@@ -8435,6 +9488,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. */ @@ -8442,12 +9496,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
@@ -8455,23 +9511,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 @@ -8479,11 +9542,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 @@ -8501,6 +9567,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8521,6 +9589,8 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8539,6 +9609,8 @@ public Builder setDictionary( return this; } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8547,10 +9619,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; } @@ -8566,6 +9641,8 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8589,6 +9666,8 @@ public Builder clearDictionary() { return this; } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8599,6 +9678,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8617,6 +9698,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** + * + * *
      * A list of phrases to detect as a CustomInfoType.
      * 
@@ -8624,32 +9707,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 @@ -8657,11 +9752,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 @@ -8679,6 +9777,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8699,6 +9799,8 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8717,6 +9819,8 @@ public Builder setRegex( return this; } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8725,10 +9829,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; } @@ -8744,6 +9851,8 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8767,6 +9876,8 @@ public Builder clearRegex() { return this; } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8777,6 +9888,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8795,6 +9908,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** + * + * *
      * Regular expression based CustomInfoType.
      * 
@@ -8802,33 +9917,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 @@ -8836,12 +9963,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 @@ -8859,6 +9989,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateType getSurrogateType() } } /** + * + * *
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8880,6 +10012,8 @@ public Builder setSurrogateType(com.google.privacy.dlp.v2.CustomInfoType.Surroga
       return this;
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8899,6 +10033,8 @@ public Builder setSurrogateType(
       return this;
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8906,12 +10042,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;
         }
@@ -8927,6 +10068,8 @@ public Builder mergeSurrogateType(com.google.privacy.dlp.v2.CustomInfoType.Surro
       return this;
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8951,6 +10094,8 @@ public Builder clearSurrogateType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8958,10 +10103,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.
@@ -8970,7 +10118,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 {
@@ -8981,6 +10130,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeOrBuilder getSurrog
       }
     }
     /**
+     *
+     *
      * 
      * Message for detecting output from deidentification transformations that
      * support reversing.
@@ -8989,33 +10140,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 @@ -9023,12 +10186,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 @@ -9046,6 +10212,8 @@ public com.google.privacy.dlp.v2.StoredType getStoredType() { } } /** + * + * *
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -9067,6 +10235,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`.
@@ -9074,8 +10244,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();
@@ -9086,6 +10255,8 @@ public Builder setStoredType(
       return this;
     }
     /**
+     *
+     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -9095,10 +10266,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;
         }
@@ -9114,6 +10287,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`.
@@ -9138,6 +10313,8 @@ public Builder clearStoredType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -9149,6 +10326,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`.
@@ -9168,6 +10347,8 @@ public com.google.privacy.dlp.v2.StoredTypeOrBuilder getStoredTypeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Load an existing `StoredInfoType` resource for use in
      * `InspectDataSource`. Not currently supported in `InspectContent`.
@@ -9176,46 +10357,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 { @@ -9223,13 +10418,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) { @@ -9239,13 +10437,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) { @@ -9255,13 +10456,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) { @@ -9278,13 +10482,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) { @@ -9298,13 +10505,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) { @@ -9320,13 +10530,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) { @@ -9343,13 +10556,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) { @@ -9363,13 +10579,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) { @@ -9383,20 +10602,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); @@ -9404,13 +10626,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) { @@ -9423,13 +10648,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) { @@ -9442,45 +10670,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 { @@ -9488,51 +10726,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(), @@ -9544,55 +10799,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. */ @@ -9600,29 +10871,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); } @@ -9632,12 +10906,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(); } @@ -9646,16 +10920,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; @@ -9670,6 +10944,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/DataProfileAction.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileAction.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileAction.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileAction.java index 699a1956..ce6f3e9e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileAction.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileAction.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 task to execute when a data profile has been generated.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction} */ -public final class DataProfileAction extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataProfileAction extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileAction) DataProfileActionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataProfileAction.newBuilder() to construct. private DataProfileAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataProfileAction() { - } + + private DataProfileAction() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataProfileAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DataProfileAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,41 +68,52 @@ private DataProfileAction( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.DataProfileAction.Export.Builder subBuilder = null; - if (actionCase_ == 1) { - subBuilder = ((com.google.privacy.dlp.v2.DataProfileAction.Export) action_).toBuilder(); - } - action_ = - input.readMessage(com.google.privacy.dlp.v2.DataProfileAction.Export.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.Export) action_); - action_ = subBuilder.buildPartial(); - } - actionCase_ = 1; - break; - } - case 18: { - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder subBuilder = null; - if (actionCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_).toBuilder(); + case 10: + { + com.google.privacy.dlp.v2.DataProfileAction.Export.Builder subBuilder = null; + if (actionCase_ == 1) { + subBuilder = + ((com.google.privacy.dlp.v2.DataProfileAction.Export) action_).toBuilder(); + } + action_ = + input.readMessage( + com.google.privacy.dlp.v2.DataProfileAction.Export.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.Export) action_); + action_ = subBuilder.buildPartial(); + } + actionCase_ = 1; + break; } - action_ = - input.readMessage(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); - action_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder subBuilder = + null; + if (actionCase_ == 2) { + subBuilder = + ((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_) + .toBuilder(); + } + action_ = + input.readMessage( + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); + action_ = subBuilder.buildPartial(); + } + actionCase_ = 2; + break; } - actionCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,36 +121,41 @@ private DataProfileAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_DataProfileAction_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileAction.class, com.google.privacy.dlp.v2.DataProfileAction.Builder.class); + com.google.privacy.dlp.v2.DataProfileAction.class, + com.google.privacy.dlp.v2.DataProfileAction.Builder.class); } /** + * + * *
    * Types of event that can trigger an action.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.DataProfileAction.EventType} */ - public enum EventType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EventType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unused.
      * 
@@ -132,6 +164,8 @@ public enum EventType */ EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
      * New profile (not a re-profile).
      * 
@@ -140,6 +174,8 @@ public enum EventType */ NEW_PROFILE(1), /** + * + * *
      * Changed one of the following profile metrics:
      * * Table data risk score
@@ -154,6 +190,8 @@ public enum EventType
      */
     CHANGED_PROFILE(2),
     /**
+     *
+     *
      * 
      * Table data risk score or sensitivity score increased.
      * 
@@ -162,6 +200,8 @@ public enum EventType */ SCORE_INCREASED(3), /** + * + * *
      * A user (non-internal) error occurred.
      * 
@@ -173,6 +213,8 @@ public enum EventType ; /** + * + * *
      * Unused.
      * 
@@ -181,6 +223,8 @@ public enum EventType */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * New profile (not a re-profile).
      * 
@@ -189,6 +233,8 @@ public enum EventType */ public static final int NEW_PROFILE_VALUE = 1; /** + * + * *
      * Changed one of the following profile metrics:
      * * Table data risk score
@@ -203,6 +249,8 @@ public enum EventType
      */
     public static final int CHANGED_PROFILE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Table data risk score or sensitivity score increased.
      * 
@@ -211,6 +259,8 @@ public enum EventType */ public static final int SCORE_INCREASED_VALUE = 3; /** + * + * *
      * A user (non-internal) error occurred.
      * 
@@ -219,7 +269,6 @@ public enum EventType */ public static final int ERROR_CHANGED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -244,51 +293,53 @@ public static EventType valueOf(int value) { */ public static EventType forNumber(int value) { switch (value) { - case 0: return EVENT_TYPE_UNSPECIFIED; - case 1: return NEW_PROFILE; - case 2: return CHANGED_PROFILE; - case 3: return SCORE_INCREASED; - case 4: return ERROR_CHANGED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return EVENT_TYPE_UNSPECIFIED; + case 1: + return NEW_PROFILE; + case 2: + return CHANGED_PROFILE; + case 3: + return SCORE_INCREASED; + case 4: + return ERROR_CHANGED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - EventType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EventType findValueByNumber(int number) { - return EventType.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 EventType findValueByNumber(int number) { + return EventType.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.DataProfileAction.getDescriptor().getEnumTypes().get(0); } private static final EventType[] VALUES = values(); - public static EventType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EventType 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; @@ -305,11 +356,14 @@ private EventType(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.DataProfileAction.EventType) } - public interface ExportOrBuilder extends + public interface ExportOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileAction.Export) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -317,10 +371,13 @@ public interface ExportOrBuilder extends
      * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; + * * @return Whether the profileTable field is set. */ boolean hasProfileTable(); /** + * + * *
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -328,10 +385,13 @@ public interface ExportOrBuilder extends
      * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; + * * @return The profileTable. */ com.google.privacy.dlp.v2.BigQueryTable getProfileTable(); /** + * + * *
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -343,6 +403,8 @@ public interface ExportOrBuilder extends
     com.google.privacy.dlp.v2.BigQueryTableOrBuilder getProfileTableOrBuilder();
   }
   /**
+   *
+   *
    * 
    * If set, the detailed data profiles will be persisted to the location
    * of your choice whenever updated.
@@ -350,30 +412,29 @@ public interface ExportOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction.Export}
    */
-  public static final class Export extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Export extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileAction.Export)
       ExportOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Export.newBuilder() to construct.
     private Export(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private Export() {
-    }
+
+    private Export() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Export();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Export(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -392,26 +453,29 @@ private Export(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
-              if (profileTable_ != null) {
-                subBuilder = profileTable_.toBuilder();
-              }
-              profileTable_ = input.readMessage(com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(profileTable_);
-                profileTable_ = subBuilder.buildPartial();
+            case 10:
+              {
+                com.google.privacy.dlp.v2.BigQueryTable.Builder subBuilder = null;
+                if (profileTable_ != null) {
+                  subBuilder = profileTable_.toBuilder();
+                }
+                profileTable_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.BigQueryTable.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(profileTable_);
+                  profileTable_ = 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) {
@@ -419,29 +483,33 @@ private Export(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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_DataProfileAction_Export_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DataProfileAction.Export.class, com.google.privacy.dlp.v2.DataProfileAction.Export.Builder.class);
+              com.google.privacy.dlp.v2.DataProfileAction.Export.class,
+              com.google.privacy.dlp.v2.DataProfileAction.Export.Builder.class);
     }
 
     public static final int PROFILE_TABLE_FIELD_NUMBER = 1;
     private com.google.privacy.dlp.v2.BigQueryTable profileTable_;
     /**
+     *
+     *
      * 
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -449,6 +517,7 @@ private Export(
      * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; + * * @return Whether the profileTable field is set. */ @java.lang.Override @@ -456,6 +525,8 @@ public boolean hasProfileTable() { return profileTable_ != null; } /** + * + * *
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -463,13 +534,18 @@ public boolean hasProfileTable() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; + * * @return The profileTable. */ @java.lang.Override public com.google.privacy.dlp.v2.BigQueryTable getProfileTable() { - return profileTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : profileTable_; + return profileTable_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : profileTable_; } /** + * + * *
      * Store all table and column profiles in an existing table or a new table
      * in an existing dataset. Each re-generation will result in a new row in
@@ -484,6 +560,7 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getProfileTableOrBuilder
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -495,8 +572,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (profileTable_ != null) {
         output.writeMessage(1, getProfileTable());
       }
@@ -510,8 +586,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (profileTable_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getProfileTable());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProfileTable());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -521,17 +596,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.DataProfileAction.Export)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.DataProfileAction.Export other = (com.google.privacy.dlp.v2.DataProfileAction.Export) obj;
+      com.google.privacy.dlp.v2.DataProfileAction.Export other =
+          (com.google.privacy.dlp.v2.DataProfileAction.Export) obj;
 
       if (hasProfileTable() != other.hasProfileTable()) return false;
       if (hasProfileTable()) {
-        if (!getProfileTable()
-            .equals(other.getProfileTable())) return false;
+        if (!getProfileTable().equals(other.getProfileTable())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -554,87 +629,93 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
-        java.nio.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.DataProfileAction.Export parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.DataProfileAction.Export parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.DataProfileAction.Export parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.DataProfileAction.Export parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileAction.Export prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -644,6 +725,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * If set, the detailed data profiles will be persisted to the location
      * of your choice whenever updated.
@@ -651,21 +734,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction.Export}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileAction.Export)
         com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.DataProfileAction.Export.class, com.google.privacy.dlp.v2.DataProfileAction.Export.Builder.class);
+                com.google.privacy.dlp.v2.DataProfileAction.Export.class,
+                com.google.privacy.dlp.v2.DataProfileAction.Export.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.DataProfileAction.Export.newBuilder()
@@ -673,16 +759,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 +781,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor;
       }
 
       @java.lang.Override
@@ -717,7 +802,8 @@ public com.google.privacy.dlp.v2.DataProfileAction.Export build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.DataProfileAction.Export buildPartial() {
-        com.google.privacy.dlp.v2.DataProfileAction.Export result = new com.google.privacy.dlp.v2.DataProfileAction.Export(this);
+        com.google.privacy.dlp.v2.DataProfileAction.Export result =
+            new com.google.privacy.dlp.v2.DataProfileAction.Export(this);
         if (profileTableBuilder_ == null) {
           result.profileTable_ = profileTable_;
         } else {
@@ -731,38 +817,41 @@ public com.google.privacy.dlp.v2.DataProfileAction.Export buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.privacy.dlp.v2.DataProfileAction.Export) {
-          return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.Export)other);
+          return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.Export) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -770,7 +859,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileAction.Export other) {
-        if (other == com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance()) return this;
+        if (other == com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance())
+          return this;
         if (other.hasProfileTable()) {
           mergeProfileTable(other.getProfileTable());
         }
@@ -793,7 +883,8 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.DataProfileAction.Export) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.DataProfileAction.Export) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -805,8 +896,13 @@ public Builder mergeFrom(
 
       private com.google.privacy.dlp.v2.BigQueryTable profileTable_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder> profileTableBuilder_;
+              com.google.privacy.dlp.v2.BigQueryTable,
+              com.google.privacy.dlp.v2.BigQueryTable.Builder,
+              com.google.privacy.dlp.v2.BigQueryTableOrBuilder>
+          profileTableBuilder_;
       /**
+       *
+       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -814,12 +910,15 @@ public Builder mergeFrom(
        * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; + * * @return Whether the profileTable field is set. */ public boolean hasProfileTable() { return profileTableBuilder_ != null || profileTable_ != null; } /** + * + * *
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -827,16 +926,21 @@ public boolean hasProfileTable() {
        * 
* * .google.privacy.dlp.v2.BigQueryTable profile_table = 1; + * * @return The profileTable. */ public com.google.privacy.dlp.v2.BigQueryTable getProfileTable() { if (profileTableBuilder_ == null) { - return profileTable_ == null ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : profileTable_; + return profileTable_ == null + ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() + : profileTable_; } else { return profileTableBuilder_.getMessage(); } } /** + * + * *
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -859,6 +963,8 @@ public Builder setProfileTable(com.google.privacy.dlp.v2.BigQueryTable value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -879,6 +985,8 @@ public Builder setProfileTable(
         return this;
       }
       /**
+       *
+       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -891,7 +999,9 @@ public Builder mergeProfileTable(com.google.privacy.dlp.v2.BigQueryTable value)
         if (profileTableBuilder_ == null) {
           if (profileTable_ != null) {
             profileTable_ =
-              com.google.privacy.dlp.v2.BigQueryTable.newBuilder(profileTable_).mergeFrom(value).buildPartial();
+                com.google.privacy.dlp.v2.BigQueryTable.newBuilder(profileTable_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             profileTable_ = value;
           }
@@ -903,6 +1013,8 @@ public Builder mergeProfileTable(com.google.privacy.dlp.v2.BigQueryTable value)
         return this;
       }
       /**
+       *
+       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -923,6 +1035,8 @@ public Builder clearProfileTable() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -932,11 +1046,13 @@ public Builder clearProfileTable() {
        * .google.privacy.dlp.v2.BigQueryTable profile_table = 1;
        */
       public com.google.privacy.dlp.v2.BigQueryTable.Builder getProfileTableBuilder() {
-        
+
         onChanged();
         return getProfileTableFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -949,11 +1065,14 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getProfileTableOrBuilder
         if (profileTableBuilder_ != null) {
           return profileTableBuilder_.getMessageOrBuilder();
         } else {
-          return profileTable_ == null ?
-              com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance() : profileTable_;
+          return profileTable_ == null
+              ? com.google.privacy.dlp.v2.BigQueryTable.getDefaultInstance()
+              : profileTable_;
         }
       }
       /**
+       *
+       *
        * 
        * Store all table and column profiles in an existing table or a new table
        * in an existing dataset. Each re-generation will result in a new row in
@@ -963,18 +1082,22 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getProfileTableOrBuilder
        * .google.privacy.dlp.v2.BigQueryTable profile_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>
           getProfileTableFieldBuilder() {
         if (profileTableBuilder_ == null) {
-          profileTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.BigQueryTable, com.google.privacy.dlp.v2.BigQueryTable.Builder, com.google.privacy.dlp.v2.BigQueryTableOrBuilder>(
-                  getProfileTable(),
-                  getParentForChildren(),
-                  isClean());
+          profileTableBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.BigQueryTable,
+                  com.google.privacy.dlp.v2.BigQueryTable.Builder,
+                  com.google.privacy.dlp.v2.BigQueryTableOrBuilder>(
+                  getProfileTable(), getParentForChildren(), isClean());
           profileTable_ = null;
         }
         return profileTableBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -987,12 +1110,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileAction.Export)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileAction.Export)
     private static final com.google.privacy.dlp.v2.DataProfileAction.Export DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileAction.Export();
     }
@@ -1001,16 +1124,16 @@ public static com.google.privacy.dlp.v2.DataProfileAction.Export getDefaultInsta
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Export parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Export(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Export parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Export(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1025,77 +1148,96 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.privacy.dlp.v2.DataProfileAction.Export getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface PubSubNotificationOrBuilder extends
+  public interface PubSubNotificationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileAction.PubSubNotification)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Cloud Pub/Sub topic to send notifications to.
      * Format is projects/{project}/topics/{topic}.
      * 
* * string topic = 1; + * * @return The topic. */ java.lang.String getTopic(); /** + * + * *
      * Cloud Pub/Sub topic to send notifications to.
      * Format is projects/{project}/topics/{topic}.
      * 
* * string topic = 1; + * * @return The bytes for topic. */ - com.google.protobuf.ByteString - getTopicBytes(); + com.google.protobuf.ByteString getTopicBytes(); /** + * + * *
      * The type of event that triggers a Pub/Sub. At most one
      * `PubSubNotification` per EventType is permitted.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The enum numeric value on the wire for event. */ int getEventValue(); /** + * + * *
      * The type of event that triggers a Pub/Sub. At most one
      * `PubSubNotification` per EventType is permitted.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The event. */ com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent(); /** + * + * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
      * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; + * * @return Whether the pubsubCondition field is set. */ boolean hasPubsubCondition(); /** + * + * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
      * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; + * * @return The pubsubCondition. */ com.google.privacy.dlp.v2.DataProfilePubSubCondition getPubsubCondition(); /** + * + * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
@@ -1106,29 +1248,41 @@ public interface PubSubNotificationOrBuilder extends
     com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder getPubsubConditionOrBuilder();
 
     /**
+     *
+     *
      * 
      * How much data to include in the Pub/Sub message. If the user wishes to
      * limit the size of the message, they can use resource_name and fetch the
      * profile fields they wish to. Per table profile (not per column).
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * * @return The enum numeric value on the wire for detailOfMessage. */ int getDetailOfMessageValue(); /** + * + * *
      * How much data to include in the Pub/Sub message. If the user wishes to
      * limit the size of the message, they can use resource_name and fetch the
      * profile fields they wish to. Per table profile (not per column).
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * * @return The detailOfMessage. */ com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel getDetailOfMessage(); } /** + * + * *
    * Send a Pub/Sub message into the given Pub/Sub topic to connect other
    * systems to data profile generation. The message payload data will
@@ -1137,15 +1291,16 @@ public interface PubSubNotificationOrBuilder extends
    *
    * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction.PubSubNotification}
    */
-  public static final class PubSubNotification extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PubSubNotification extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileAction.PubSubNotification)
       PubSubNotificationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PubSubNotification.newBuilder() to construct.
     private PubSubNotification(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PubSubNotification() {
       topic_ = "";
       event_ = 0;
@@ -1154,16 +1309,15 @@ private PubSubNotification() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PubSubNotification();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private PubSubNotification(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1182,44 +1336,51 @@ private PubSubNotification(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              topic_ = s;
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+                topic_ = s;
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              event_ = rawValue;
-              break;
-            }
-            case 26: {
-              com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder subBuilder = null;
-              if (pubsubCondition_ != null) {
-                subBuilder = pubsubCondition_.toBuilder();
+                event_ = rawValue;
+                break;
               }
-              pubsubCondition_ = input.readMessage(com.google.privacy.dlp.v2.DataProfilePubSubCondition.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(pubsubCondition_);
-                pubsubCondition_ = subBuilder.buildPartial();
+            case 26:
+              {
+                com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder subBuilder = null;
+                if (pubsubCondition_ != null) {
+                  subBuilder = pubsubCondition_.toBuilder();
+                }
+                pubsubCondition_ =
+                    input.readMessage(
+                        com.google.privacy.dlp.v2.DataProfilePubSubCondition.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(pubsubCondition_);
+                  pubsubCondition_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 32:
+              {
+                int rawValue = input.readEnum();
 
-              break;
-            }
-            case 32: {
-              int rawValue = input.readEnum();
-
-              detailOfMessage_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                detailOfMessage_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1227,36 +1388,41 @@ private PubSubNotification(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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_DataProfileAction_PubSubNotification_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.class, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder.class);
+              com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.class,
+              com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The levels of detail that can be included in the Pub/Sub message.
      * 
* * Protobuf enum {@code google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel} */ - public enum DetailLevel - implements com.google.protobuf.ProtocolMessageEnum { + public enum DetailLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unused.
        * 
@@ -1265,6 +1431,8 @@ public enum DetailLevel */ DETAIL_LEVEL_UNSPECIFIED(0), /** + * + * *
        * The full table data profile.
        * 
@@ -1273,6 +1441,8 @@ public enum DetailLevel */ TABLE_PROFILE(1), /** + * + * *
        * The resource name of the table.
        * 
@@ -1284,6 +1454,8 @@ public enum DetailLevel ; /** + * + * *
        * Unused.
        * 
@@ -1292,6 +1464,8 @@ public enum DetailLevel */ public static final int DETAIL_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The full table data profile.
        * 
@@ -1300,6 +1474,8 @@ public enum DetailLevel */ public static final int TABLE_PROFILE_VALUE = 1; /** + * + * *
        * The resource name of the table.
        * 
@@ -1308,7 +1484,6 @@ public enum DetailLevel */ public static final int RESOURCE_NAME_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1333,49 +1508,51 @@ public static DetailLevel valueOf(int value) { */ public static DetailLevel forNumber(int value) { switch (value) { - case 0: return DETAIL_LEVEL_UNSPECIFIED; - case 1: return TABLE_PROFILE; - case 2: return RESOURCE_NAME; - default: return null; + case 0: + return DETAIL_LEVEL_UNSPECIFIED; + case 1: + return TABLE_PROFILE; + case 2: + return RESOURCE_NAME; + 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< - DetailLevel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DetailLevel findValueByNumber(int number) { - return DetailLevel.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 DetailLevel findValueByNumber(int number) { + return DetailLevel.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.DataProfileAction.PubSubNotification.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDescriptor() + .getEnumTypes() + .get(0); } private static final DetailLevel[] VALUES = values(); - public static DetailLevel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DetailLevel 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; @@ -1395,12 +1572,15 @@ private DetailLevel(int value) { public static final int TOPIC_FIELD_NUMBER = 1; private volatile java.lang.Object topic_; /** + * + * *
      * Cloud Pub/Sub topic to send notifications to.
      * Format is projects/{project}/topics/{topic}.
      * 
* * string topic = 1; + * * @return The topic. */ @java.lang.Override @@ -1409,30 +1589,30 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** + * + * *
      * Cloud Pub/Sub topic to send notifications to.
      * Format is projects/{project}/topics/{topic}.
      * 
* * 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 { @@ -1443,41 +1623,55 @@ public java.lang.String getTopic() { public static final int EVENT_FIELD_NUMBER = 2; private int event_; /** + * + * *
      * The type of event that triggers a Pub/Sub. At most one
      * `PubSubNotification` per EventType is permitted.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The enum numeric value on the wire for event. */ - @java.lang.Override public int getEventValue() { + @java.lang.Override + public int getEventValue() { return event_; } /** + * + * *
      * The type of event that triggers a Pub/Sub. At most one
      * `PubSubNotification` per EventType is permitted.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The event. */ - @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { + @java.lang.Override + public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.EventType result = com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); - return result == null ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfileAction.EventType result = + com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); + return result == null + ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED + : result; } public static final int PUBSUB_CONDITION_FIELD_NUMBER = 3; private com.google.privacy.dlp.v2.DataProfilePubSubCondition pubsubCondition_; /** + * + * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
      * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; + * * @return Whether the pubsubCondition field is set. */ @java.lang.Override @@ -1485,19 +1679,26 @@ public boolean hasPubsubCondition() { return pubsubCondition_ != null; } /** + * + * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
      * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; + * * @return The pubsubCondition. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition getPubsubCondition() { - return pubsubCondition_ == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance() : pubsubCondition_; + return pubsubCondition_ == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance() + : pubsubCondition_; } /** + * + * *
      * Conditions (e.g., data risk or sensitivity level) for triggering a
      * Pub/Sub.
@@ -1506,42 +1707,61 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition getPubsubCondition()
      * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
      */
     @java.lang.Override
-    public com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder getPubsubConditionOrBuilder() {
+    public com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder
+        getPubsubConditionOrBuilder() {
       return getPubsubCondition();
     }
 
     public static final int DETAIL_OF_MESSAGE_FIELD_NUMBER = 4;
     private int detailOfMessage_;
     /**
+     *
+     *
      * 
      * How much data to include in the Pub/Sub message. If the user wishes to
      * limit the size of the message, they can use resource_name and fetch the
      * profile fields they wish to. Per table profile (not per column).
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * * @return The enum numeric value on the wire for detailOfMessage. */ - @java.lang.Override public int getDetailOfMessageValue() { + @java.lang.Override + public int getDetailOfMessageValue() { return detailOfMessage_; } /** + * + * *
      * How much data to include in the Pub/Sub message. If the user wishes to
      * limit the size of the message, they can use resource_name and fetch the
      * profile fields they wish to. Per table profile (not per column).
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * * @return The detailOfMessage. */ - @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel getDetailOfMessage() { + @java.lang.Override + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel + getDetailOfMessage() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel result = com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.valueOf(detailOfMessage_); - return result == null ? com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel result = + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.valueOf( + detailOfMessage_); + return result == null + ? com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1553,18 +1773,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_); } - if (event_ != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { + if (event_ + != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, event_); } if (pubsubCondition_ != null) { output.writeMessage(3, getPubsubCondition()); } - if (detailOfMessage_ != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.DETAIL_LEVEL_UNSPECIFIED.getNumber()) { + if (detailOfMessage_ + != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel + .DETAIL_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(4, detailOfMessage_); } unknownFields.writeTo(output); @@ -1579,17 +1803,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_); } - if (event_ != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, event_); + if (event_ + != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, event_); } if (pubsubCondition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPubsubCondition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPubsubCondition()); } - if (detailOfMessage_ != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.DETAIL_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, detailOfMessage_); + if (detailOfMessage_ + != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel + .DETAIL_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, detailOfMessage_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1599,20 +1825,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.DataProfileAction.PubSubNotification)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification other = (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) obj; + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification other = + (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) obj; - if (!getTopic() - .equals(other.getTopic())) return false; + if (!getTopic().equals(other.getTopic())) return false; if (event_ != other.event_) return false; if (hasPubsubCondition() != other.hasPubsubCondition()) return false; if (hasPubsubCondition()) { - if (!getPubsubCondition() - .equals(other.getPubsubCondition())) return false; + if (!getPubsubCondition().equals(other.getPubsubCondition())) return false; } if (detailOfMessage_ != other.detailOfMessage_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -1642,87 +1867,94 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( - java.nio.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.DataProfileAction.PubSubNotification parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1732,6 +1964,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Send a Pub/Sub message into the given Pub/Sub topic to connect other
      * systems to data profile generation. The message payload data will
@@ -1740,21 +1974,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction.PubSubNotification}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileAction.PubSubNotification)
         com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.class, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder.class);
+                com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.class,
+                com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder.class);
       }
 
       // Construct using com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.newBuilder()
@@ -1762,16 +1999,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();
@@ -1791,13 +2027,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_DataProfileAction_PubSubNotification_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.privacy.dlp.v2.DlpProto
+            .internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor;
       }
 
       @java.lang.Override
-      public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getDefaultInstanceForType() {
+      public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification
+          getDefaultInstanceForType() {
         return com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance();
       }
 
@@ -1812,7 +2049,8 @@ public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification build() {
 
       @java.lang.Override
       public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification buildPartial() {
-        com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification result = new com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification(this);
+        com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification result =
+            new com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification(this);
         result.topic_ = topic_;
         result.event_ = event_;
         if (pubsubConditionBuilder_ == null) {
@@ -1829,46 +2067,52 @@ public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification 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.DataProfileAction.PubSubNotification) {
-          return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification)other);
+          return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification other) {
-        if (other == com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification other) {
+        if (other
+            == com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance())
+          return this;
         if (!other.getTopic().isEmpty()) {
           topic_ = other.topic_;
           onChanged();
@@ -1901,7 +2145,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1913,19 +2159,21 @@ public Builder mergeFrom(
 
       private java.lang.Object topic_ = "";
       /**
+       *
+       *
        * 
        * Cloud Pub/Sub topic to send notifications to.
        * Format is projects/{project}/topics/{topic}.
        * 
* * 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; @@ -1934,21 +2182,22 @@ public java.lang.String getTopic() { } } /** + * + * *
        * Cloud Pub/Sub topic to send notifications to.
        * Format is projects/{project}/topics/{topic}.
        * 
* * 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 { @@ -1956,57 +2205,64 @@ public java.lang.String getTopic() { } } /** + * + * *
        * Cloud Pub/Sub topic to send notifications to.
        * Format is projects/{project}/topics/{topic}.
        * 
* * 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.
        * Format is projects/{project}/topics/{topic}.
        * 
* * 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.
        * Format is projects/{project}/topics/{topic}.
        * 
* * 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; @@ -2014,55 +2270,71 @@ public Builder setTopicBytes( private int event_ = 0; /** + * + * *
        * The type of event that triggers a Pub/Sub. At most one
        * `PubSubNotification` per EventType is permitted.
        * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The enum numeric value on the wire for event. */ - @java.lang.Override public int getEventValue() { + @java.lang.Override + public int getEventValue() { return event_; } /** + * + * *
        * The type of event that triggers a Pub/Sub. At most one
        * `PubSubNotification` per EventType is permitted.
        * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @param value The enum numeric value on the wire for event to set. * @return This builder for chaining. */ public Builder setEventValue(int value) { - + event_ = value; onChanged(); return this; } /** + * + * *
        * The type of event that triggers a Pub/Sub. At most one
        * `PubSubNotification` per EventType is permitted.
        * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The event. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.EventType result = com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); - return result == null ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfileAction.EventType result = + com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); + return result == null + ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED + : result; } /** + * + * *
        * The type of event that triggers a Pub/Sub. At most one
        * `PubSubNotification` per EventType is permitted.
        * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @param value The event to set. * @return This builder for chaining. */ @@ -2070,22 +2342,25 @@ public Builder setEvent(com.google.privacy.dlp.v2.DataProfileAction.EventType va if (value == null) { throw new NullPointerException(); } - + event_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The type of event that triggers a Pub/Sub. At most one
        * `PubSubNotification` per EventType is permitted.
        * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return This builder for chaining. */ public Builder clearEvent() { - + event_ = 0; onChanged(); return this; @@ -2093,36 +2368,49 @@ public Builder clearEvent() { private com.google.privacy.dlp.v2.DataProfilePubSubCondition pubsubCondition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder> pubsubConditionBuilder_; + com.google.privacy.dlp.v2.DataProfilePubSubCondition, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder, + com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder> + pubsubConditionBuilder_; /** + * + * *
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
        * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; + * * @return Whether the pubsubCondition field is set. */ public boolean hasPubsubCondition() { return pubsubConditionBuilder_ != null || pubsubCondition_ != null; } /** + * + * *
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
        * 
* * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3; + * * @return The pubsubCondition. */ public com.google.privacy.dlp.v2.DataProfilePubSubCondition getPubsubCondition() { if (pubsubConditionBuilder_ == null) { - return pubsubCondition_ == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance() : pubsubCondition_; + return pubsubCondition_ == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance() + : pubsubCondition_; } else { return pubsubConditionBuilder_.getMessage(); } } /** + * + * *
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2130,7 +2418,8 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition getPubsubCondition()
        *
        * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
        */
-      public Builder setPubsubCondition(com.google.privacy.dlp.v2.DataProfilePubSubCondition value) {
+      public Builder setPubsubCondition(
+          com.google.privacy.dlp.v2.DataProfilePubSubCondition value) {
         if (pubsubConditionBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2144,6 +2433,8 @@ public Builder setPubsubCondition(com.google.privacy.dlp.v2.DataProfilePubSubCon
         return this;
       }
       /**
+       *
+       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2163,6 +2454,8 @@ public Builder setPubsubCondition(
         return this;
       }
       /**
+       *
+       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2170,11 +2463,14 @@ public Builder setPubsubCondition(
        *
        * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
        */
-      public Builder mergePubsubCondition(com.google.privacy.dlp.v2.DataProfilePubSubCondition value) {
+      public Builder mergePubsubCondition(
+          com.google.privacy.dlp.v2.DataProfilePubSubCondition value) {
         if (pubsubConditionBuilder_ == null) {
           if (pubsubCondition_ != null) {
             pubsubCondition_ =
-              com.google.privacy.dlp.v2.DataProfilePubSubCondition.newBuilder(pubsubCondition_).mergeFrom(value).buildPartial();
+                com.google.privacy.dlp.v2.DataProfilePubSubCondition.newBuilder(pubsubCondition_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             pubsubCondition_ = value;
           }
@@ -2186,6 +2482,8 @@ public Builder mergePubsubCondition(com.google.privacy.dlp.v2.DataProfilePubSubC
         return this;
       }
       /**
+       *
+       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2205,6 +2503,8 @@ public Builder clearPubsubCondition() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2212,12 +2512,15 @@ public Builder clearPubsubCondition() {
        *
        * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
        */
-      public com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder getPubsubConditionBuilder() {
-        
+      public com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder
+          getPubsubConditionBuilder() {
+
         onChanged();
         return getPubsubConditionFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2225,15 +2528,19 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder getPubsubCon
        *
        * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
        */
-      public com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder getPubsubConditionOrBuilder() {
+      public com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder
+          getPubsubConditionOrBuilder() {
         if (pubsubConditionBuilder_ != null) {
           return pubsubConditionBuilder_.getMessageOrBuilder();
         } else {
-          return pubsubCondition_ == null ?
-              com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance() : pubsubCondition_;
+          return pubsubCondition_ == null
+              ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance()
+              : pubsubCondition_;
         }
       }
       /**
+       *
+       *
        * 
        * Conditions (e.g., data risk or sensitivity level) for triggering a
        * Pub/Sub.
@@ -2242,14 +2549,17 @@ public com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder getPubsubCo
        * .google.privacy.dlp.v2.DataProfilePubSubCondition pubsub_condition = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.privacy.dlp.v2.DataProfilePubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder> 
+              com.google.privacy.dlp.v2.DataProfilePubSubCondition,
+              com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder,
+              com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder>
           getPubsubConditionFieldBuilder() {
         if (pubsubConditionBuilder_ == null) {
-          pubsubConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.privacy.dlp.v2.DataProfilePubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder>(
-                  getPubsubCondition(),
-                  getParentForChildren(),
-                  isClean());
+          pubsubConditionBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.privacy.dlp.v2.DataProfilePubSubCondition,
+                  com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder,
+                  com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder>(
+                  getPubsubCondition(), getParentForChildren(), isClean());
           pubsubCondition_ = null;
         }
         return pubsubConditionBuilder_;
@@ -2257,87 +2567,121 @@ public com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder getPubsubCo
 
       private int detailOfMessage_ = 0;
       /**
+       *
+       *
        * 
        * How much data to include in the Pub/Sub message. If the user wishes to
        * limit the size of the message, they can use resource_name and fetch the
        * profile fields they wish to. Per table profile (not per column).
        * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * * @return The enum numeric value on the wire for detailOfMessage. */ - @java.lang.Override public int getDetailOfMessageValue() { + @java.lang.Override + public int getDetailOfMessageValue() { return detailOfMessage_; } /** + * + * *
        * How much data to include in the Pub/Sub message. If the user wishes to
        * limit the size of the message, they can use resource_name and fetch the
        * profile fields they wish to. Per table profile (not per column).
        * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * * @param value The enum numeric value on the wire for detailOfMessage to set. * @return This builder for chaining. */ public Builder setDetailOfMessageValue(int value) { - + detailOfMessage_ = value; onChanged(); return this; } /** + * + * *
        * How much data to include in the Pub/Sub message. If the user wishes to
        * limit the size of the message, they can use resource_name and fetch the
        * profile fields they wish to. Per table profile (not per column).
        * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * * @return The detailOfMessage. */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel getDetailOfMessage() { + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel + getDetailOfMessage() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel result = com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.valueOf(detailOfMessage_); - return result == null ? com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel result = + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel.valueOf( + detailOfMessage_); + return result == null + ? com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel + .UNRECOGNIZED + : result; } /** + * + * *
        * How much data to include in the Pub/Sub message. If the user wishes to
        * limit the size of the message, they can use resource_name and fetch the
        * profile fields they wish to. Per table profile (not per column).
        * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * * @param value The detailOfMessage to set. * @return This builder for chaining. */ - public Builder setDetailOfMessage(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel value) { + public Builder setDetailOfMessage( + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel value) { if (value == null) { throw new NullPointerException(); } - + detailOfMessage_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * How much data to include in the Pub/Sub message. If the user wishes to
        * limit the size of the message, they can use resource_name and fetch the
        * profile fields they wish to. Per table profile (not per column).
        * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel detail_of_message = 4; + * + * * @return This builder for chaining. */ public Builder clearDetailOfMessage() { - + detailOfMessage_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2350,30 +2694,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileAction.PubSubNotification) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileAction.PubSubNotification) - private static final com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification(); } - public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getDefaultInstance() { + public static com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PubSubNotification parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PubSubNotification(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubSubNotification parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PubSubNotification(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2385,21 +2731,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification + 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 { EXPORT_DATA(1), PUB_SUB_NOTIFICATION(2), ACTION_NOT_SET(0); private final int value; + private ActionCase(int value) { this.value = value; } @@ -2415,30 +2764,36 @@ public static ActionCase valueOf(int value) { public static ActionCase forNumber(int value) { switch (value) { - case 1: return EXPORT_DATA; - case 2: return PUB_SUB_NOTIFICATION; - case 0: return ACTION_NOT_SET; - default: return null; + case 1: + return EXPORT_DATA; + case 2: + return PUB_SUB_NOTIFICATION; + 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 EXPORT_DATA_FIELD_NUMBER = 1; /** + * + * *
    * Export data profiles into a provided location.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; + * * @return Whether the exportData field is set. */ @java.lang.Override @@ -2446,21 +2801,26 @@ public boolean hasExportData() { return actionCase_ == 1; } /** + * + * *
    * Export data profiles into a provided location.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; + * * @return The exportData. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.Export getExportData() { if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.DataProfileAction.Export) action_; + return (com.google.privacy.dlp.v2.DataProfileAction.Export) action_; } return com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance(); } /** + * + * *
    * Export data profiles into a provided location.
    * 
@@ -2470,18 +2830,22 @@ public com.google.privacy.dlp.v2.DataProfileAction.Export getExportData() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder getExportDataOrBuilder() { if (actionCase_ == 1) { - return (com.google.privacy.dlp.v2.DataProfileAction.Export) action_; + return (com.google.privacy.dlp.v2.DataProfileAction.Export) action_; } return com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance(); } public static final int PUB_SUB_NOTIFICATION_FIELD_NUMBER = 2; /** + * + * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * + * * @return Whether the pubSubNotification field is set. */ @java.lang.Override @@ -2489,36 +2853,45 @@ public boolean hasPubSubNotification() { return actionCase_ == 2; } /** + * + * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * + * * @return The pubSubNotification. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getPubSubNotification() { if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_; + return (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_; } return com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance(); } /** + * + * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder getPubSubNotificationOrBuilder() { + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder + getPubSubNotificationOrBuilder() { if (actionCase_ == 2) { - return (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_; + return (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_; } return com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2530,13 +2903,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 (actionCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.DataProfileAction.Export) action_); } if (actionCase_ == 2) { - output.writeMessage(2, (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); + output.writeMessage( + 2, (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); } unknownFields.writeTo(output); } @@ -2548,12 +2921,14 @@ public int getSerializedSize() { size = 0; if (actionCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.privacy.dlp.v2.DataProfileAction.Export) action_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.privacy.dlp.v2.DataProfileAction.Export) action_); } if (actionCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2563,22 +2938,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.DataProfileAction)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfileAction other = (com.google.privacy.dlp.v2.DataProfileAction) obj; + com.google.privacy.dlp.v2.DataProfileAction other = + (com.google.privacy.dlp.v2.DataProfileAction) obj; if (!getActionCase().equals(other.getActionCase())) return false; switch (actionCase_) { case 1: - if (!getExportData() - .equals(other.getExportData())) return false; + if (!getExportData().equals(other.getExportData())) return false; break; case 2: - if (!getPubSubNotification() - .equals(other.getPubSubNotification())) return false; + if (!getPubSubNotification().equals(other.getPubSubNotification())) return false; break; case 0: default: @@ -2611,118 +2985,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DataProfileAction parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileAction parseFrom(java.io.InputStream input) 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.DataProfileAction parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileAction parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfileAction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileAction parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 when a data profile has been generated.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileAction} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileAction) com.google.privacy.dlp.v2.DataProfileActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileAction.class, com.google.privacy.dlp.v2.DataProfileAction.Builder.class); + com.google.privacy.dlp.v2.DataProfileAction.class, + com.google.privacy.dlp.v2.DataProfileAction.Builder.class); } // Construct using com.google.privacy.dlp.v2.DataProfileAction.newBuilder() @@ -2730,16 +3113,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(); @@ -2749,9 +3131,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor; } @java.lang.Override @@ -2770,7 +3152,8 @@ public com.google.privacy.dlp.v2.DataProfileAction build() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction buildPartial() { - com.google.privacy.dlp.v2.DataProfileAction result = new com.google.privacy.dlp.v2.DataProfileAction(this); + com.google.privacy.dlp.v2.DataProfileAction result = + new com.google.privacy.dlp.v2.DataProfileAction(this); if (actionCase_ == 1) { if (exportDataBuilder_ == null) { result.action_ = action_; @@ -2794,38 +3177,39 @@ public com.google.privacy.dlp.v2.DataProfileAction buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfileAction) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction)other); + return mergeFrom((com.google.privacy.dlp.v2.DataProfileAction) other); } else { super.mergeFrom(other); return this; @@ -2835,17 +3219,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileAction other) { if (other == com.google.privacy.dlp.v2.DataProfileAction.getDefaultInstance()) return this; switch (other.getActionCase()) { - case EXPORT_DATA: { - mergeExportData(other.getExportData()); - break; - } - case PUB_SUB_NOTIFICATION: { - mergePubSubNotification(other.getPubSubNotification()); - break; - } - case ACTION_NOT_SET: { - break; - } + case EXPORT_DATA: + { + mergeExportData(other.getExportData()); + break; + } + case PUB_SUB_NOTIFICATION: + { + mergePubSubNotification(other.getPubSubNotification()); + break; + } + case ACTION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2875,12 +3262,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() { @@ -2890,15 +3277,20 @@ public Builder clearAction() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.Export, com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder> exportDataBuilder_; + com.google.privacy.dlp.v2.DataProfileAction.Export, + com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, + com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder> + exportDataBuilder_; /** + * + * *
      * Export data profiles into a provided location.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; + * * @return Whether the exportData field is set. */ @java.lang.Override @@ -2906,11 +3298,14 @@ public boolean hasExportData() { return actionCase_ == 1; } /** + * + * *
      * Export data profiles into a provided location.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; + * * @return The exportData. */ @java.lang.Override @@ -2928,6 +3323,8 @@ public com.google.privacy.dlp.v2.DataProfileAction.Export getExportData() { } } /** + * + * *
      * Export data profiles into a provided location.
      * 
@@ -2948,6 +3345,8 @@ public Builder setExportData(com.google.privacy.dlp.v2.DataProfileAction.Export return this; } /** + * + * *
      * Export data profiles into a provided location.
      * 
@@ -2966,6 +3365,8 @@ public Builder setExportData( return this; } /** + * + * *
      * Export data profiles into a provided location.
      * 
@@ -2974,10 +3375,13 @@ public Builder setExportData( */ public Builder mergeExportData(com.google.privacy.dlp.v2.DataProfileAction.Export value) { if (exportDataBuilder_ == null) { - if (actionCase_ == 1 && - action_ != com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance()) { - action_ = com.google.privacy.dlp.v2.DataProfileAction.Export.newBuilder((com.google.privacy.dlp.v2.DataProfileAction.Export) action_) - .mergeFrom(value).buildPartial(); + if (actionCase_ == 1 + && action_ != com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance()) { + action_ = + com.google.privacy.dlp.v2.DataProfileAction.Export.newBuilder( + (com.google.privacy.dlp.v2.DataProfileAction.Export) action_) + .mergeFrom(value) + .buildPartial(); } else { action_ = value; } @@ -2993,6 +3397,8 @@ public Builder mergeExportData(com.google.privacy.dlp.v2.DataProfileAction.Expor return this; } /** + * + * *
      * Export data profiles into a provided location.
      * 
@@ -3016,6 +3422,8 @@ public Builder clearExportData() { return this; } /** + * + * *
      * Export data profiles into a provided location.
      * 
@@ -3026,6 +3434,8 @@ public com.google.privacy.dlp.v2.DataProfileAction.Export.Builder getExportDataB return getExportDataFieldBuilder().getBuilder(); } /** + * + * *
      * Export data profiles into a provided location.
      * 
@@ -3044,6 +3454,8 @@ public com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder getExportData } } /** + * + * *
      * Export data profiles into a provided location.
      * 
@@ -3051,32 +3463,45 @@ public com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder getExportData * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.Export, com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder> + com.google.privacy.dlp.v2.DataProfileAction.Export, + com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, + com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder> getExportDataFieldBuilder() { if (exportDataBuilder_ == null) { if (!(actionCase_ == 1)) { action_ = com.google.privacy.dlp.v2.DataProfileAction.Export.getDefaultInstance(); } - exportDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.Export, com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder>( + exportDataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileAction.Export, + com.google.privacy.dlp.v2.DataProfileAction.Export.Builder, + com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder>( (com.google.privacy.dlp.v2.DataProfileAction.Export) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 1; - onChanged();; + onChanged(); + ; return exportDataBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder> pubSubNotificationBuilder_; + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder> + pubSubNotificationBuilder_; /** + * + * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * + * * @return Whether the pubSubNotification field is set. */ @java.lang.Override @@ -3084,11 +3509,15 @@ public boolean hasPubSubNotification() { return actionCase_ == 2; } /** + * + * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * + * * @return The pubSubNotification. */ @java.lang.Override @@ -3106,13 +3535,17 @@ public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getPubSubN } } /** + * + * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * */ - public Builder setPubSubNotification(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification value) { + public Builder setPubSubNotification( + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification value) { if (pubSubNotificationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3126,11 +3559,14 @@ public Builder setPubSubNotification(com.google.privacy.dlp.v2.DataProfileAction return this; } /** + * + * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * */ public Builder setPubSubNotification( com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder builderForValue) { @@ -3144,18 +3580,27 @@ public Builder setPubSubNotification( return this; } /** + * + * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * */ - public Builder mergePubSubNotification(com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification value) { + public Builder mergePubSubNotification( + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification value) { if (pubSubNotificationBuilder_ == null) { - if (actionCase_ == 2 && - action_ != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance()) { - action_ = com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.newBuilder((com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_) - .mergeFrom(value).buildPartial(); + if (actionCase_ == 2 + && action_ + != com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification + .getDefaultInstance()) { + action_ = + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.newBuilder( + (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_) + .mergeFrom(value) + .buildPartial(); } else { action_ = value; } @@ -3171,11 +3616,14 @@ public Builder mergePubSubNotification(com.google.privacy.dlp.v2.DataProfileActi return this; } /** + * + * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * */ public Builder clearPubSubNotification() { if (pubSubNotificationBuilder_ == null) { @@ -3194,24 +3642,32 @@ public Builder clearPubSubNotification() { return this; } /** + * + * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * */ - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder getPubSubNotificationBuilder() { + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder + getPubSubNotificationBuilder() { return getPubSubNotificationFieldBuilder().getBuilder(); } /** + * + * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder getPubSubNotificationOrBuilder() { + public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder + getPubSubNotificationOrBuilder() { if ((actionCase_ == 2) && (pubSubNotificationBuilder_ != null)) { return pubSubNotificationBuilder_.getMessageOrBuilder(); } else { @@ -3222,33 +3678,43 @@ public com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder g } } /** + * + * *
      * Publish a message into the Pub/Sub topic.
      * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder> + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder> getPubSubNotificationFieldBuilder() { if (pubSubNotificationBuilder_ == null) { if (!(actionCase_ == 2)) { - action_ = com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance(); - } - pubSubNotificationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder>( + action_ = + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.getDefaultInstance(); + } + pubSubNotificationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification, + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.Builder, + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder>( (com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification) action_, getParentForChildren(), isClean()); action_ = null; } actionCase_ = 2; - onChanged();; + onChanged(); + ; return pubSubNotificationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3258,12 +3724,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileAction) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileAction) private static final com.google.privacy.dlp.v2.DataProfileAction DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileAction(); } @@ -3272,16 +3738,16 @@ public static com.google.privacy.dlp.v2.DataProfileAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfileAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfileAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3296,6 +3762,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DataProfileAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.java index 8d80aa9e..99de8286 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileActionOrBuilder.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 DataProfileActionOrBuilder extends +public interface DataProfileActionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileAction) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Export data profiles into a provided location.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; + * * @return Whether the exportData field is set. */ boolean hasExportData(); /** + * + * *
    * Export data profiles into a provided location.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.Export export_data = 1; + * * @return The exportData. */ com.google.privacy.dlp.v2.DataProfileAction.Export getExportData(); /** + * + * *
    * Export data profiles into a provided location.
    * 
@@ -35,31 +59,43 @@ public interface DataProfileActionOrBuilder extends com.google.privacy.dlp.v2.DataProfileAction.ExportOrBuilder getExportDataOrBuilder(); /** + * + * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * + * * @return Whether the pubSubNotification field is set. */ boolean hasPubSubNotification(); /** + * + * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * + * * @return The pubSubNotification. */ com.google.privacy.dlp.v2.DataProfileAction.PubSubNotification getPubSubNotification(); /** + * + * *
    * Publish a message into the Pub/Sub topic.
    * 
* - * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * .google.privacy.dlp.v2.DataProfileAction.PubSubNotification pub_sub_notification = 2; + * */ - com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder getPubSubNotificationOrBuilder(); + com.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationOrBuilder + getPubSubNotificationOrBuilder(); public com.google.privacy.dlp.v2.DataProfileAction.ActionCase getActionCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.java index c73e3869..add1165f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshot.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; /** + * + * *
  * Snapshot of the configurations used to generate the profile.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileConfigSnapshot} */ -public final class DataProfileConfigSnapshot extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataProfileConfigSnapshot extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileConfigSnapshot) DataProfileConfigSnapshotOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataProfileConfigSnapshot.newBuilder() to construct. private DataProfileConfigSnapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataProfileConfigSnapshot() { - } + + private DataProfileConfigSnapshot() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataProfileConfigSnapshot(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DataProfileConfigSnapshot( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private DataProfileConfigSnapshot( case 0: done = true; 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; - } - case 26: { - com.google.privacy.dlp.v2.DataProfileJobConfig.Builder subBuilder = null; - if (dataProfileJob_ != null) { - subBuilder = dataProfileJob_.toBuilder(); - } - dataProfileJob_ = input.readMessage(com.google.privacy.dlp.v2.DataProfileJobConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataProfileJob_); - dataProfileJob_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.privacy.dlp.v2.DataProfileJobConfig.Builder subBuilder = null; + if (dataProfileJob_ != null) { + subBuilder = dataProfileJob_.toBuilder(); + } + dataProfileJob_ = + input.readMessage( + com.google.privacy.dlp.v2.DataProfileJobConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataProfileJob_); + dataProfileJob_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +114,40 @@ private DataProfileConfigSnapshot( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_DataProfileConfigSnapshot_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.class, com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder.class); + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.class, + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder.class); } public static final int INSPECT_CONFIG_FIELD_NUMBER = 2; private com.google.privacy.dlp.v2.InspectConfig inspectConfig_; /** + * + * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ @java.lang.Override @@ -128,19 +155,26 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** + * + * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
    * 
* * .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_; } /** + * + * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -156,11 +190,14 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
   public static final int DATA_PROFILE_JOB_FIELD_NUMBER = 3;
   private com.google.privacy.dlp.v2.DataProfileJobConfig dataProfileJob_;
   /**
+   *
+   *
    * 
    * A copy of the configuration used to generate this profile.
    * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; + * * @return Whether the dataProfileJob field is set. */ @java.lang.Override @@ -168,18 +205,25 @@ public boolean hasDataProfileJob() { return dataProfileJob_ != null; } /** + * + * *
    * A copy of the configuration used to generate this profile.
    * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; + * * @return The dataProfileJob. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileJobConfig getDataProfileJob() { - return dataProfileJob_ == null ? com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() : dataProfileJob_; + return dataProfileJob_ == null + ? com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() + : dataProfileJob_; } /** + * + * *
    * A copy of the configuration used to generate this profile.
    * 
@@ -192,6 +236,7 @@ public com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder getDataProfileJob } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +248,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (inspectConfig_ != null) { output.writeMessage(2, getInspectConfig()); } @@ -221,12 +265,10 @@ public int getSerializedSize() { size = 0; if (inspectConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInspectConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInspectConfig()); } if (dataProfileJob_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDataProfileJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDataProfileJob()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,22 +278,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.DataProfileConfigSnapshot)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfileConfigSnapshot other = (com.google.privacy.dlp.v2.DataProfileConfigSnapshot) obj; + com.google.privacy.dlp.v2.DataProfileConfigSnapshot other = + (com.google.privacy.dlp.v2.DataProfileConfigSnapshot) obj; if (hasInspectConfig() != other.hasInspectConfig()) return false; if (hasInspectConfig()) { - if (!getInspectConfig() - .equals(other.getInspectConfig())) return false; + if (!getInspectConfig().equals(other.getInspectConfig())) return false; } if (hasDataProfileJob() != other.hasDataProfileJob()) return false; if (hasDataProfileJob()) { - if (!getDataProfileJob() - .equals(other.getDataProfileJob())) return false; + if (!getDataProfileJob().equals(other.getDataProfileJob())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -278,117 +319,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( - java.nio.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.DataProfileConfigSnapshot parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileConfigSnapshot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Snapshot of the configurations used to generate the profile.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileConfigSnapshot} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileConfigSnapshot) com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.class, com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder.class); + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.class, + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder.class); } // Construct using com.google.privacy.dlp.v2.DataProfileConfigSnapshot.newBuilder() @@ -396,16 +446,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +474,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; } @java.lang.Override @@ -446,7 +495,8 @@ public com.google.privacy.dlp.v2.DataProfileConfigSnapshot build() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfileConfigSnapshot buildPartial() { - com.google.privacy.dlp.v2.DataProfileConfigSnapshot result = new com.google.privacy.dlp.v2.DataProfileConfigSnapshot(this); + com.google.privacy.dlp.v2.DataProfileConfigSnapshot result = + new com.google.privacy.dlp.v2.DataProfileConfigSnapshot(this); if (inspectConfigBuilder_ == null) { result.inspectConfig_ = inspectConfig_; } else { @@ -465,38 +515,39 @@ public com.google.privacy.dlp.v2.DataProfileConfigSnapshot buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfileConfigSnapshot) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfileConfigSnapshot)other); + return mergeFrom((com.google.privacy.dlp.v2.DataProfileConfigSnapshot) other); } else { super.mergeFrom(other); return this; @@ -504,7 +555,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileConfigSnapshot other) { - if (other == com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance()) + return this; if (other.hasInspectConfig()) { mergeInspectConfig(other.getInspectConfig()); } @@ -530,7 +582,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.DataProfileConfigSnapshot) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DataProfileConfigSnapshot) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -542,36 +595,49 @@ public Builder mergeFrom( 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_; /** + * + * *
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
      * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ public boolean hasInspectConfig() { return inspectConfigBuilder_ != null || inspectConfig_ != null; } /** + * + * *
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
      * 
* * .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(); } } /** + * + * *
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -593,6 +659,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -612,6 +680,8 @@ public Builder setInspectConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -623,7 +693,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;
         }
@@ -635,6 +707,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -654,6 +728,8 @@ public Builder clearInspectConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -662,11 +738,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();
     }
     /**
+     *
+     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -678,11 +756,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_;
       }
     }
     /**
+     *
+     *
      * 
      * A copy of the inspection config used to generate this profile. This
      * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -691,14 +772,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_;
@@ -706,34 +790,47 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
 
     private com.google.privacy.dlp.v2.DataProfileJobConfig dataProfileJob_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.DataProfileJobConfig, com.google.privacy.dlp.v2.DataProfileJobConfig.Builder, com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder> dataProfileJobBuilder_;
+            com.google.privacy.dlp.v2.DataProfileJobConfig,
+            com.google.privacy.dlp.v2.DataProfileJobConfig.Builder,
+            com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder>
+        dataProfileJobBuilder_;
     /**
+     *
+     *
      * 
      * A copy of the configuration used to generate this profile.
      * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; + * * @return Whether the dataProfileJob field is set. */ public boolean hasDataProfileJob() { return dataProfileJobBuilder_ != null || dataProfileJob_ != null; } /** + * + * *
      * A copy of the configuration used to generate this profile.
      * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; + * * @return The dataProfileJob. */ public com.google.privacy.dlp.v2.DataProfileJobConfig getDataProfileJob() { if (dataProfileJobBuilder_ == null) { - return dataProfileJob_ == null ? com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() : dataProfileJob_; + return dataProfileJob_ == null + ? com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() + : dataProfileJob_; } else { return dataProfileJobBuilder_.getMessage(); } } /** + * + * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -754,6 +851,8 @@ public Builder setDataProfileJob(com.google.privacy.dlp.v2.DataProfileJobConfig return this; } /** + * + * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -772,6 +871,8 @@ public Builder setDataProfileJob( return this; } /** + * + * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -782,7 +883,9 @@ public Builder mergeDataProfileJob(com.google.privacy.dlp.v2.DataProfileJobConfi if (dataProfileJobBuilder_ == null) { if (dataProfileJob_ != null) { dataProfileJob_ = - com.google.privacy.dlp.v2.DataProfileJobConfig.newBuilder(dataProfileJob_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.DataProfileJobConfig.newBuilder(dataProfileJob_) + .mergeFrom(value) + .buildPartial(); } else { dataProfileJob_ = value; } @@ -794,6 +897,8 @@ public Builder mergeDataProfileJob(com.google.privacy.dlp.v2.DataProfileJobConfi return this; } /** + * + * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -812,6 +917,8 @@ public Builder clearDataProfileJob() { return this; } /** + * + * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -819,11 +926,13 @@ public Builder clearDataProfileJob() { * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; */ public com.google.privacy.dlp.v2.DataProfileJobConfig.Builder getDataProfileJobBuilder() { - + onChanged(); return getDataProfileJobFieldBuilder().getBuilder(); } /** + * + * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -834,11 +943,14 @@ public com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder getDataProfileJob if (dataProfileJobBuilder_ != null) { return dataProfileJobBuilder_.getMessageOrBuilder(); } else { - return dataProfileJob_ == null ? - com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() : dataProfileJob_; + return dataProfileJob_ == null + ? com.google.privacy.dlp.v2.DataProfileJobConfig.getDefaultInstance() + : dataProfileJob_; } } /** + * + * *
      * A copy of the configuration used to generate this profile.
      * 
@@ -846,21 +958,24 @@ public com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder getDataProfileJob * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileJobConfig, com.google.privacy.dlp.v2.DataProfileJobConfig.Builder, com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder> + com.google.privacy.dlp.v2.DataProfileJobConfig, + com.google.privacy.dlp.v2.DataProfileJobConfig.Builder, + com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder> getDataProfileJobFieldBuilder() { if (dataProfileJobBuilder_ == null) { - dataProfileJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileJobConfig, com.google.privacy.dlp.v2.DataProfileJobConfig.Builder, com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder>( - getDataProfileJob(), - getParentForChildren(), - isClean()); + dataProfileJobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileJobConfig, + com.google.privacy.dlp.v2.DataProfileJobConfig.Builder, + com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder>( + getDataProfileJob(), getParentForChildren(), isClean()); dataProfileJob_ = null; } return dataProfileJobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -870,12 +985,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileConfigSnapshot) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileConfigSnapshot) private static final com.google.privacy.dlp.v2.DataProfileConfigSnapshot DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileConfigSnapshot(); } @@ -884,16 +999,16 @@ public static com.google.privacy.dlp.v2.DataProfileConfigSnapshot getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileConfigSnapshot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfileConfigSnapshot(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileConfigSnapshot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfileConfigSnapshot(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,6 +1023,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.DataProfileConfigSnapshot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.java index 337522af..5014cbfc 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileConfigSnapshotOrBuilder.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 DataProfileConfigSnapshotOrBuilder extends +public interface DataProfileConfigSnapshotOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileConfigSnapshot) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return Whether the inspectConfig field is set. */ boolean hasInspectConfig(); /** + * + * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
    * 
* * .google.privacy.dlp.v2.InspectConfig inspect_config = 2; + * * @return The inspectConfig. */ com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); /** + * + * *
    * A copy of the inspection config used to generate this profile. This
    * is a copy of the inspect_template specified in `DataProfileJobConfig`.
@@ -38,24 +62,32 @@ public interface DataProfileConfigSnapshotOrBuilder extends
   com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * A copy of the configuration used to generate this profile.
    * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; + * * @return Whether the dataProfileJob field is set. */ boolean hasDataProfileJob(); /** + * + * *
    * A copy of the configuration used to generate this profile.
    * 
* * .google.privacy.dlp.v2.DataProfileJobConfig data_profile_job = 3; + * * @return The dataProfileJob. */ com.google.privacy.dlp.v2.DataProfileJobConfig getDataProfileJob(); /** + * + * *
    * A copy of the configuration used to generate this profile.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.java index c3dbffae..329774ca 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfig.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 setting up a job to scan resources for profile generation.
  * Only one data profile configuration may exist per organization, folder,
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.DataProfileJobConfig}
  */
-public final class DataProfileJobConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataProfileJobConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileJobConfig)
     DataProfileJobConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataProfileJobConfig.newBuilder() to construct.
   private DataProfileJobConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataProfileJobConfig() {
     projectId_ = "";
     inspectTemplates_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -32,16 +50,15 @@ private DataProfileJobConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataProfileJobConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DataProfileJobConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,50 +78,58 @@ private DataProfileJobConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.DataProfileLocation.Builder subBuilder = null;
-            if (location_ != null) {
-              subBuilder = location_.toBuilder();
-            }
-            location_ = input.readMessage(com.google.privacy.dlp.v2.DataProfileLocation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(location_);
-              location_ = subBuilder.buildPartial();
-            }
+          case 10:
+            {
+              com.google.privacy.dlp.v2.DataProfileLocation.Builder subBuilder = null;
+              if (location_ != null) {
+                subBuilder = location_.toBuilder();
+              }
+              location_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.DataProfileLocation.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(location_);
+                location_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            projectId_ = s;
-            break;
-          }
-          case 50: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              dataProfileActions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000002;
+              projectId_ = s;
+              break;
             }
-            dataProfileActions_.add(
-                input.readMessage(com.google.privacy.dlp.v2.DataProfileAction.parser(), extensionRegistry));
-            break;
-          }
-          case 58: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              inspectTemplates_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 50:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                dataProfileActions_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000002;
+              }
+              dataProfileActions_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.DataProfileAction.parser(), extensionRegistry));
+              break;
             }
-            inspectTemplates_.add(s);
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 58:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                inspectTemplates_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              inspectTemplates_.add(s);
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -112,8 +137,7 @@ private DataProfileJobConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         dataProfileActions_ = java.util.Collections.unmodifiableList(dataProfileActions_);
@@ -125,27 +149,33 @@ private DataProfileJobConfig(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.DataProfileJobConfig.class, com.google.privacy.dlp.v2.DataProfileJobConfig.Builder.class);
+            com.google.privacy.dlp.v2.DataProfileJobConfig.class,
+            com.google.privacy.dlp.v2.DataProfileJobConfig.Builder.class);
   }
 
   public static final int LOCATION_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.DataProfileLocation location_;
   /**
+   *
+   *
    * 
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; + * * @return Whether the location field is set. */ @java.lang.Override @@ -153,18 +183,25 @@ public boolean hasLocation() { return location_ != null; } /** + * + * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; + * * @return The location. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileLocation getLocation() { - return location_ == null ? com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() : location_; + return location_ == null + ? com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() + : location_; } /** + * + * *
    * The data to scan.
    * 
@@ -179,6 +216,8 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild public static final int PROJECT_ID_FIELD_NUMBER = 5; private volatile java.lang.Object projectId_; /** + * + * *
    * The project that will run the scan. The DLP service
    * account that exists within this project must have access to all resources
@@ -186,6 +225,7 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild
    * 
* * string project_id = 5; + * * @return The projectId. */ @java.lang.Override @@ -194,14 +234,15 @@ 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 project that will run the scan. The DLP service
    * account that exists within this project must have access to all resources
@@ -209,16 +250,15 @@ public java.lang.String getProjectId() {
    * 
* * string project_id = 5; + * * @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 { @@ -229,6 +269,8 @@ public java.lang.String getProjectId() { public static final int INSPECT_TEMPLATES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList inspectTemplates_; /** + * + * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -246,13 +288,15 @@ public java.lang.String getProjectId() {
    * 
* * repeated string inspect_templates = 7; + * * @return A list containing the inspectTemplates. */ - public com.google.protobuf.ProtocolStringList - getInspectTemplatesList() { + public com.google.protobuf.ProtocolStringList getInspectTemplatesList() { return inspectTemplates_; } /** + * + * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -270,12 +314,15 @@ public java.lang.String getProjectId() {
    * 
* * repeated string inspect_templates = 7; + * * @return The count of inspectTemplates. */ public int getInspectTemplatesCount() { return inspectTemplates_.size(); } /** + * + * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -293,6 +340,7 @@ public int getInspectTemplatesCount() {
    * 
* * repeated string inspect_templates = 7; + * * @param index The index of the element to return. * @return The inspectTemplates at the given index. */ @@ -300,6 +348,8 @@ public java.lang.String getInspectTemplates(int index) { return inspectTemplates_.get(index); } /** + * + * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -317,17 +367,19 @@ public java.lang.String getInspectTemplates(int index) {
    * 
* * repeated string inspect_templates = 7; + * * @param index The index of the value to return. * @return The bytes of the inspectTemplates at the given index. */ - public com.google.protobuf.ByteString - getInspectTemplatesBytes(int index) { + public com.google.protobuf.ByteString getInspectTemplatesBytes(int index) { return inspectTemplates_.getByteString(index); } public static final int DATA_PROFILE_ACTIONS_FIELD_NUMBER = 6; private java.util.List dataProfileActions_; /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -339,6 +391,8 @@ public java.util.List getDataProfil return dataProfileActions_; } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -346,11 +400,13 @@ public java.util.List getDataProfil * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ @java.lang.Override - public java.util.List + public java.util.List getDataProfileActionsOrBuilderList() { return dataProfileActions_; } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -362,6 +418,8 @@ public int getDataProfileActionsCount() { return dataProfileActions_.size(); } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -373,6 +431,8 @@ public com.google.privacy.dlp.v2.DataProfileAction getDataProfileActions(int ind return dataProfileActions_.get(index); } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -386,6 +446,7 @@ public com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileAction } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -397,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 (location_ != null) { output.writeMessage(1, getLocation()); } @@ -421,15 +481,14 @@ public int getSerializedSize() { size = 0; if (location_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getLocation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getLocation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, projectId_); } for (int i = 0; i < dataProfileActions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, dataProfileActions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, dataProfileActions_.get(i)); } { int dataSize = 0; @@ -447,24 +506,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.DataProfileJobConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfileJobConfig other = (com.google.privacy.dlp.v2.DataProfileJobConfig) obj; + com.google.privacy.dlp.v2.DataProfileJobConfig other = + (com.google.privacy.dlp.v2.DataProfileJobConfig) obj; if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { - if (!getLocation() - .equals(other.getLocation())) return false; - } - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getInspectTemplatesList() - .equals(other.getInspectTemplatesList())) return false; - if (!getDataProfileActionsList() - .equals(other.getDataProfileActionsList())) return false; + if (!getLocation().equals(other.getLocation())) return false; + } + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getInspectTemplatesList().equals(other.getInspectTemplatesList())) return false; + if (!getDataProfileActionsList().equals(other.getDataProfileActionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -495,97 +551,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom(java.io.InputStream input) 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.DataProfileJobConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileJobConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileJobConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileJobConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 setting up a job to scan resources for profile generation.
    * Only one data profile configuration may exist per organization, folder,
@@ -597,21 +660,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.DataProfileJobConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileJobConfig)
       com.google.privacy.dlp.v2.DataProfileJobConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DataProfileJobConfig.class, com.google.privacy.dlp.v2.DataProfileJobConfig.Builder.class);
+              com.google.privacy.dlp.v2.DataProfileJobConfig.class,
+              com.google.privacy.dlp.v2.DataProfileJobConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.DataProfileJobConfig.newBuilder()
@@ -619,17 +684,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) {
         getDataProfileActionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -653,9 +718,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor;
     }
 
     @java.lang.Override
@@ -674,7 +739,8 @@ public com.google.privacy.dlp.v2.DataProfileJobConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.DataProfileJobConfig buildPartial() {
-      com.google.privacy.dlp.v2.DataProfileJobConfig result = new com.google.privacy.dlp.v2.DataProfileJobConfig(this);
+      com.google.privacy.dlp.v2.DataProfileJobConfig result =
+          new com.google.privacy.dlp.v2.DataProfileJobConfig(this);
       int from_bitField0_ = bitField0_;
       if (locationBuilder_ == null) {
         result.location_ = location_;
@@ -704,38 +770,39 @@ public com.google.privacy.dlp.v2.DataProfileJobConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.DataProfileJobConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.DataProfileJobConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.DataProfileJobConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -779,9 +846,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileJobConfig other) {
             dataProfileActionsBuilder_ = null;
             dataProfileActions_ = other.dataProfileActions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            dataProfileActionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getDataProfileActionsFieldBuilder() : null;
+            dataProfileActionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getDataProfileActionsFieldBuilder()
+                    : null;
           } else {
             dataProfileActionsBuilder_.addAllMessages(other.dataProfileActions_);
           }
@@ -815,38 +883,52 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private com.google.privacy.dlp.v2.DataProfileLocation location_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.DataProfileLocation, com.google.privacy.dlp.v2.DataProfileLocation.Builder, com.google.privacy.dlp.v2.DataProfileLocationOrBuilder> locationBuilder_;
+            com.google.privacy.dlp.v2.DataProfileLocation,
+            com.google.privacy.dlp.v2.DataProfileLocation.Builder,
+            com.google.privacy.dlp.v2.DataProfileLocationOrBuilder>
+        locationBuilder_;
     /**
+     *
+     *
      * 
      * The data to scan.
      * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; + * * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** + * + * *
      * The data to scan.
      * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; + * * @return The location. */ public com.google.privacy.dlp.v2.DataProfileLocation getLocation() { if (locationBuilder_ == null) { - return location_ == null ? com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() : location_; + return location_ == null + ? com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() + : location_; } else { return locationBuilder_.getMessage(); } } /** + * + * *
      * The data to scan.
      * 
@@ -867,6 +949,8 @@ public Builder setLocation(com.google.privacy.dlp.v2.DataProfileLocation value) return this; } /** + * + * *
      * The data to scan.
      * 
@@ -885,6 +969,8 @@ public Builder setLocation( return this; } /** + * + * *
      * The data to scan.
      * 
@@ -895,7 +981,9 @@ public Builder mergeLocation(com.google.privacy.dlp.v2.DataProfileLocation value if (locationBuilder_ == null) { if (location_ != null) { location_ = - com.google.privacy.dlp.v2.DataProfileLocation.newBuilder(location_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.DataProfileLocation.newBuilder(location_) + .mergeFrom(value) + .buildPartial(); } else { location_ = value; } @@ -907,6 +995,8 @@ public Builder mergeLocation(com.google.privacy.dlp.v2.DataProfileLocation value return this; } /** + * + * *
      * The data to scan.
      * 
@@ -925,6 +1015,8 @@ public Builder clearLocation() { return this; } /** + * + * *
      * The data to scan.
      * 
@@ -932,11 +1024,13 @@ public Builder clearLocation() { * .google.privacy.dlp.v2.DataProfileLocation location = 1; */ public com.google.privacy.dlp.v2.DataProfileLocation.Builder getLocationBuilder() { - + onChanged(); return getLocationFieldBuilder().getBuilder(); } /** + * + * *
      * The data to scan.
      * 
@@ -947,11 +1041,14 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { - return location_ == null ? - com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() : location_; + return location_ == null + ? com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance() + : location_; } } /** + * + * *
      * The data to scan.
      * 
@@ -959,14 +1056,17 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild * .google.privacy.dlp.v2.DataProfileLocation location = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileLocation, com.google.privacy.dlp.v2.DataProfileLocation.Builder, com.google.privacy.dlp.v2.DataProfileLocationOrBuilder> + com.google.privacy.dlp.v2.DataProfileLocation, + com.google.privacy.dlp.v2.DataProfileLocation.Builder, + com.google.privacy.dlp.v2.DataProfileLocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { - locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileLocation, com.google.privacy.dlp.v2.DataProfileLocation.Builder, com.google.privacy.dlp.v2.DataProfileLocationOrBuilder>( - getLocation(), - getParentForChildren(), - isClean()); + locationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileLocation, + com.google.privacy.dlp.v2.DataProfileLocation.Builder, + com.google.privacy.dlp.v2.DataProfileLocationOrBuilder>( + getLocation(), getParentForChildren(), isClean()); location_ = null; } return locationBuilder_; @@ -974,6 +1074,8 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild private java.lang.Object projectId_ = ""; /** + * + * *
      * The project that will run the scan. The DLP service
      * account that exists within this project must have access to all resources
@@ -981,13 +1083,13 @@ public com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuild
      * 
* * string project_id = 5; + * * @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; @@ -996,6 +1098,8 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * The project that will run the scan. The DLP service
      * account that exists within this project must have access to all resources
@@ -1003,15 +1107,14 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 5; + * * @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 { @@ -1019,6 +1122,8 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * The project that will run the scan. The DLP service
      * account that exists within this project must have access to all resources
@@ -1026,20 +1131,22 @@ public java.lang.String getProjectId() {
      * 
* * string project_id = 5; + * * @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 project that will run the scan. The DLP service
      * account that exists within this project must have access to all resources
@@ -1047,15 +1154,18 @@ public Builder setProjectId(
      * 
* * string project_id = 5; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * The project that will run the scan. The DLP service
      * account that exists within this project must have access to all resources
@@ -1063,29 +1173,33 @@ public Builder clearProjectId() {
      * 
* * string project_id = 5; + * * @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; } - private com.google.protobuf.LazyStringList inspectTemplates_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList inspectTemplates_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInspectTemplatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { inspectTemplates_ = new com.google.protobuf.LazyStringArrayList(inspectTemplates_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1103,13 +1217,15 @@ private void ensureInspectTemplatesIsMutable() {
      * 
* * repeated string inspect_templates = 7; + * * @return A list containing the inspectTemplates. */ - public com.google.protobuf.ProtocolStringList - getInspectTemplatesList() { + public com.google.protobuf.ProtocolStringList getInspectTemplatesList() { return inspectTemplates_.getUnmodifiableView(); } /** + * + * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1127,12 +1243,15 @@ private void ensureInspectTemplatesIsMutable() {
      * 
* * repeated string inspect_templates = 7; + * * @return The count of inspectTemplates. */ public int getInspectTemplatesCount() { return inspectTemplates_.size(); } /** + * + * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1150,6 +1269,7 @@ public int getInspectTemplatesCount() {
      * 
* * repeated string inspect_templates = 7; + * * @param index The index of the element to return. * @return The inspectTemplates at the given index. */ @@ -1157,6 +1277,8 @@ public java.lang.String getInspectTemplates(int index) { return inspectTemplates_.get(index); } /** + * + * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1174,14 +1296,16 @@ public java.lang.String getInspectTemplates(int index) {
      * 
* * repeated string inspect_templates = 7; + * * @param index The index of the value to return. * @return The bytes of the inspectTemplates at the given index. */ - public com.google.protobuf.ByteString - getInspectTemplatesBytes(int index) { + public com.google.protobuf.ByteString getInspectTemplatesBytes(int index) { return inspectTemplates_.getByteString(index); } /** + * + * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1199,21 +1323,23 @@ public java.lang.String getInspectTemplates(int index) {
      * 
* * repeated string inspect_templates = 7; + * * @param index The index to set the value at. * @param value The inspectTemplates to set. * @return This builder for chaining. */ - public Builder setInspectTemplates( - int index, java.lang.String value) { + public Builder setInspectTemplates(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInspectTemplatesIsMutable(); + throw new NullPointerException(); + } + ensureInspectTemplatesIsMutable(); inspectTemplates_.set(index, value); onChanged(); return this; } /** + * + * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1231,20 +1357,22 @@ public Builder setInspectTemplates(
      * 
* * repeated string inspect_templates = 7; + * * @param value The inspectTemplates to add. * @return This builder for chaining. */ - public Builder addInspectTemplates( - java.lang.String value) { + public Builder addInspectTemplates(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInspectTemplatesIsMutable(); + throw new NullPointerException(); + } + ensureInspectTemplatesIsMutable(); inspectTemplates_.add(value); onChanged(); return this; } /** + * + * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1262,18 +1390,19 @@ public Builder addInspectTemplates(
      * 
* * repeated string inspect_templates = 7; + * * @param values The inspectTemplates to add. * @return This builder for chaining. */ - public Builder addAllInspectTemplates( - java.lang.Iterable values) { + public Builder addAllInspectTemplates(java.lang.Iterable values) { ensureInspectTemplatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, inspectTemplates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inspectTemplates_); onChanged(); return this; } /** + * + * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1291,6 +1420,7 @@ public Builder addAllInspectTemplates(
      * 
* * repeated string inspect_templates = 7; + * * @return This builder for chaining. */ public Builder clearInspectTemplates() { @@ -1300,6 +1430,8 @@ public Builder clearInspectTemplates() { return this; } /** + * + * *
      * Detection logic for profile generation.
      * Not all template features are used by profiles. FindingLimits,
@@ -1317,15 +1449,15 @@ public Builder clearInspectTemplates() {
      * 
* * repeated string inspect_templates = 7; + * * @param value The bytes of the inspectTemplates to add. * @return This builder for chaining. */ - public Builder addInspectTemplatesBytes( - com.google.protobuf.ByteString value) { + public Builder addInspectTemplatesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInspectTemplatesIsMutable(); inspectTemplates_.add(value); onChanged(); @@ -1333,18 +1465,26 @@ public Builder addInspectTemplatesBytes( } private java.util.List dataProfileActions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDataProfileActionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - dataProfileActions_ = new java.util.ArrayList(dataProfileActions_); + dataProfileActions_ = + new java.util.ArrayList( + dataProfileActions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction, com.google.privacy.dlp.v2.DataProfileAction.Builder, com.google.privacy.dlp.v2.DataProfileActionOrBuilder> dataProfileActionsBuilder_; + com.google.privacy.dlp.v2.DataProfileAction, + com.google.privacy.dlp.v2.DataProfileAction.Builder, + com.google.privacy.dlp.v2.DataProfileActionOrBuilder> + dataProfileActionsBuilder_; /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1359,6 +1499,8 @@ public java.util.List getDataProfil } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1373,6 +1515,8 @@ public int getDataProfileActionsCount() { } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1387,6 +1531,8 @@ public com.google.privacy.dlp.v2.DataProfileAction getDataProfileActions(int ind } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1408,6 +1554,8 @@ public Builder setDataProfileActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1426,6 +1574,8 @@ public Builder setDataProfileActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1446,6 +1596,8 @@ public Builder addDataProfileActions(com.google.privacy.dlp.v2.DataProfileAction return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1467,6 +1619,8 @@ public Builder addDataProfileActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1485,6 +1639,8 @@ public Builder addDataProfileActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1503,6 +1659,8 @@ public Builder addDataProfileActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1513,8 +1671,7 @@ public Builder addAllDataProfileActions( java.lang.Iterable values) { if (dataProfileActionsBuilder_ == null) { ensureDataProfileActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dataProfileActions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataProfileActions_); onChanged(); } else { dataProfileActionsBuilder_.addAllMessages(values); @@ -1522,6 +1679,8 @@ public Builder addAllDataProfileActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1539,6 +1698,8 @@ public Builder clearDataProfileActions() { return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1556,6 +1717,8 @@ public Builder removeDataProfileActions(int index) { return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1567,6 +1730,8 @@ public com.google.privacy.dlp.v2.DataProfileAction.Builder getDataProfileActions return getDataProfileActionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1576,19 +1741,22 @@ public com.google.privacy.dlp.v2.DataProfileAction.Builder getDataProfileActions public com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileActionsOrBuilder( int index) { if (dataProfileActionsBuilder_ == null) { - return dataProfileActions_.get(index); } else { + return dataProfileActions_.get(index); + } else { return dataProfileActionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ - public java.util.List - getDataProfileActionsOrBuilderList() { + public java.util.List + getDataProfileActionsOrBuilderList() { if (dataProfileActionsBuilder_ != null) { return dataProfileActionsBuilder_.getMessageOrBuilderList(); } else { @@ -1596,6 +1764,8 @@ public com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileAction } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1603,10 +1773,12 @@ public com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileAction * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ public com.google.privacy.dlp.v2.DataProfileAction.Builder addDataProfileActionsBuilder() { - return getDataProfileActionsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.DataProfileAction.getDefaultInstance()); + return getDataProfileActionsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.DataProfileAction.getDefaultInstance()); } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1615,26 +1787,34 @@ public com.google.privacy.dlp.v2.DataProfileAction.Builder addDataProfileActions */ public com.google.privacy.dlp.v2.DataProfileAction.Builder addDataProfileActionsBuilder( int index) { - return getDataProfileActionsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.DataProfileAction.getDefaultInstance()); + return getDataProfileActionsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.DataProfileAction.getDefaultInstance()); } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
* * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ - public java.util.List - getDataProfileActionsBuilderList() { + public java.util.List + getDataProfileActionsBuilderList() { return getDataProfileActionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction, com.google.privacy.dlp.v2.DataProfileAction.Builder, com.google.privacy.dlp.v2.DataProfileActionOrBuilder> + com.google.privacy.dlp.v2.DataProfileAction, + com.google.privacy.dlp.v2.DataProfileAction.Builder, + com.google.privacy.dlp.v2.DataProfileActionOrBuilder> getDataProfileActionsFieldBuilder() { if (dataProfileActionsBuilder_ == null) { - dataProfileActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileAction, com.google.privacy.dlp.v2.DataProfileAction.Builder, com.google.privacy.dlp.v2.DataProfileActionOrBuilder>( + dataProfileActionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileAction, + com.google.privacy.dlp.v2.DataProfileAction.Builder, + com.google.privacy.dlp.v2.DataProfileActionOrBuilder>( dataProfileActions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1643,9 +1823,9 @@ public com.google.privacy.dlp.v2.DataProfileAction.Builder addDataProfileActions } return dataProfileActionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1655,12 +1835,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileJobConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileJobConfig) private static final com.google.privacy.dlp.v2.DataProfileJobConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileJobConfig(); } @@ -1669,16 +1849,16 @@ public static com.google.privacy.dlp.v2.DataProfileJobConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileJobConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfileJobConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileJobConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfileJobConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1693,6 +1873,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DataProfileJobConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.java similarity index 85% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.java index 76a7c337..9caeda8e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileJobConfigOrBuilder.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 DataProfileJobConfigOrBuilder extends +public interface DataProfileJobConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileJobConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; + * * @return Whether the location field is set. */ boolean hasLocation(); /** + * + * *
    * The data to scan.
    * 
* * .google.privacy.dlp.v2.DataProfileLocation location = 1; + * * @return The location. */ com.google.privacy.dlp.v2.DataProfileLocation getLocation(); /** + * + * *
    * The data to scan.
    * 
@@ -35,6 +59,8 @@ public interface DataProfileJobConfigOrBuilder extends com.google.privacy.dlp.v2.DataProfileLocationOrBuilder getLocationOrBuilder(); /** + * + * *
    * The project that will run the scan. The DLP service
    * account that exists within this project must have access to all resources
@@ -42,10 +68,13 @@ public interface DataProfileJobConfigOrBuilder extends
    * 
* * string project_id = 5; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * The project that will run the scan. The DLP service
    * account that exists within this project must have access to all resources
@@ -53,12 +82,14 @@ public interface DataProfileJobConfigOrBuilder extends
    * 
* * string project_id = 5; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -76,11 +107,13 @@ public interface DataProfileJobConfigOrBuilder extends
    * 
* * repeated string inspect_templates = 7; + * * @return A list containing the inspectTemplates. */ - java.util.List - getInspectTemplatesList(); + java.util.List getInspectTemplatesList(); /** + * + * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -98,10 +131,13 @@ public interface DataProfileJobConfigOrBuilder extends
    * 
* * repeated string inspect_templates = 7; + * * @return The count of inspectTemplates. */ int getInspectTemplatesCount(); /** + * + * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -119,11 +155,14 @@ public interface DataProfileJobConfigOrBuilder extends
    * 
* * repeated string inspect_templates = 7; + * * @param index The index of the element to return. * @return The inspectTemplates at the given index. */ java.lang.String getInspectTemplates(int index); /** + * + * *
    * Detection logic for profile generation.
    * Not all template features are used by profiles. FindingLimits,
@@ -141,22 +180,25 @@ public interface DataProfileJobConfigOrBuilder extends
    * 
* * repeated string inspect_templates = 7; + * * @param index The index of the value to return. * @return The bytes of the inspectTemplates at the given index. */ - com.google.protobuf.ByteString - getInspectTemplatesBytes(int index); + com.google.protobuf.ByteString getInspectTemplatesBytes(int index); /** + * + * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ - java.util.List - getDataProfileActionsList(); + java.util.List getDataProfileActionsList(); /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -165,6 +207,8 @@ public interface DataProfileJobConfigOrBuilder extends */ com.google.privacy.dlp.v2.DataProfileAction getDataProfileActions(int index); /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -173,21 +217,24 @@ public interface DataProfileJobConfigOrBuilder extends */ int getDataProfileActionsCount(); /** + * + * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ - java.util.List + java.util.List getDataProfileActionsOrBuilderList(); /** + * + * *
    * Actions to execute at the completion of the job.
    * 
* * repeated .google.privacy.dlp.v2.DataProfileAction data_profile_actions = 6; */ - com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileActionsOrBuilder( - int index); + com.google.privacy.dlp.v2.DataProfileActionOrBuilder getDataProfileActionsOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.java index c2a8f62f..eecba7d3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocation.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 data that will be profiled.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileLocation} */ -public final class DataProfileLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataProfileLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfileLocation) DataProfileLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataProfileLocation.newBuilder() to construct. private DataProfileLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataProfileLocation() { - } + + private DataProfileLocation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataProfileLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DataProfileLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,23 +68,25 @@ private DataProfileLocation( case 0: done = true; break; - case 8: { - location_ = input.readInt64(); - locationCase_ = 1; - break; - } - case 16: { - location_ = input.readInt64(); - locationCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + location_ = input.readInt64(); + locationCase_ = 1; + break; + } + case 16: + { + location_ = input.readInt64(); + locationCase_ = 2; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -76,35 +94,40 @@ private DataProfileLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_DataProfileLocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileLocation.class, com.google.privacy.dlp.v2.DataProfileLocation.Builder.class); + com.google.privacy.dlp.v2.DataProfileLocation.class, + com.google.privacy.dlp.v2.DataProfileLocation.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 { ORGANIZATION_ID(1), FOLDER_ID(2), LOCATION_NOT_SET(0); private final int value; + private LocationCase(int value) { this.value = value; } @@ -120,30 +143,36 @@ public static LocationCase valueOf(int value) { public static LocationCase forNumber(int value) { switch (value) { - case 1: return ORGANIZATION_ID; - case 2: return FOLDER_ID; - case 0: return LOCATION_NOT_SET; - default: return null; + case 1: + return ORGANIZATION_ID; + case 2: + return FOLDER_ID; + 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 ORGANIZATION_ID_FIELD_NUMBER = 1; /** + * + * *
    * The ID of an organization to scan.
    * 
* * int64 organization_id = 1; + * * @return Whether the organizationId field is set. */ @java.lang.Override @@ -151,11 +180,14 @@ public boolean hasOrganizationId() { return locationCase_ == 1; } /** + * + * *
    * The ID of an organization to scan.
    * 
* * int64 organization_id = 1; + * * @return The organizationId. */ @java.lang.Override @@ -168,11 +200,14 @@ public long getOrganizationId() { public static final int FOLDER_ID_FIELD_NUMBER = 2; /** + * + * *
    * The ID of the Folder within an organization to scan.
    * 
* * int64 folder_id = 2; + * * @return Whether the folderId field is set. */ @java.lang.Override @@ -180,11 +215,14 @@ public boolean hasFolderId() { return locationCase_ == 2; } /** + * + * *
    * The ID of the Folder within an organization to scan.
    * 
* * int64 folder_id = 2; + * * @return The folderId. */ @java.lang.Override @@ -196,6 +234,7 @@ public long getFolderId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,15 +246,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 (locationCase_ == 1) { - output.writeInt64( - 1, (long)((java.lang.Long) location_)); + output.writeInt64(1, (long) ((java.lang.Long) location_)); } if (locationCase_ == 2) { - output.writeInt64( - 2, (long)((java.lang.Long) location_)); + output.writeInt64(2, (long) ((java.lang.Long) location_)); } unknownFields.writeTo(output); } @@ -227,14 +263,14 @@ public int getSerializedSize() { size = 0; if (locationCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 1, (long)((java.lang.Long) location_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 1, (long) ((java.lang.Long) location_)); } if (locationCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 2, (long)((java.lang.Long) location_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) location_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -244,22 +280,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.DataProfileLocation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfileLocation other = (com.google.privacy.dlp.v2.DataProfileLocation) obj; + com.google.privacy.dlp.v2.DataProfileLocation other = + (com.google.privacy.dlp.v2.DataProfileLocation) obj; if (!getLocationCase().equals(other.getLocationCase())) return false; switch (locationCase_) { case 1: - if (getOrganizationId() - != other.getOrganizationId()) return false; + if (getOrganizationId() != other.getOrganizationId()) return false; break; case 2: - if (getFolderId() - != other.getFolderId()) return false; + if (getFolderId() != other.getFolderId()) return false; break; case 0: default: @@ -278,13 +313,11 @@ public int hashCode() { switch (locationCase_) { case 1: hash = (37 * hash) + ORGANIZATION_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getOrganizationId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOrganizationId()); break; case 2: hash = (37 * hash) + FOLDER_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFolderId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFolderId()); break; case 0: default: @@ -294,118 +327,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom(java.io.InputStream input) 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.DataProfileLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfileLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfileLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfileLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfileLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 data that will be profiled.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfileLocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfileLocation) com.google.privacy.dlp.v2.DataProfileLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfileLocation.class, com.google.privacy.dlp.v2.DataProfileLocation.Builder.class); + com.google.privacy.dlp.v2.DataProfileLocation.class, + com.google.privacy.dlp.v2.DataProfileLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.DataProfileLocation.newBuilder() @@ -413,16 +455,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(); @@ -432,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_DataProfileLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; } @java.lang.Override @@ -453,7 +494,8 @@ public com.google.privacy.dlp.v2.DataProfileLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfileLocation buildPartial() { - com.google.privacy.dlp.v2.DataProfileLocation result = new com.google.privacy.dlp.v2.DataProfileLocation(this); + com.google.privacy.dlp.v2.DataProfileLocation result = + new com.google.privacy.dlp.v2.DataProfileLocation(this); if (locationCase_ == 1) { result.location_ = location_; } @@ -469,38 +511,39 @@ public com.google.privacy.dlp.v2.DataProfileLocation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfileLocation) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfileLocation)other); + return mergeFrom((com.google.privacy.dlp.v2.DataProfileLocation) other); } else { super.mergeFrom(other); return this; @@ -510,17 +553,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfileLocation other) { if (other == com.google.privacy.dlp.v2.DataProfileLocation.getDefaultInstance()) return this; switch (other.getLocationCase()) { - case ORGANIZATION_ID: { - setOrganizationId(other.getOrganizationId()); - break; - } - case FOLDER_ID: { - setFolderId(other.getFolderId()); - break; - } - case LOCATION_NOT_SET: { - break; - } + case ORGANIZATION_ID: + { + setOrganizationId(other.getOrganizationId()); + break; + } + case FOLDER_ID: + { + setFolderId(other.getFolderId()); + break; + } + case LOCATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -550,12 +596,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() { @@ -565,24 +611,29 @@ public Builder clearLocation() { return this; } - /** + * + * *
      * The ID of an organization to scan.
      * 
* * int64 organization_id = 1; + * * @return Whether the organizationId field is set. */ public boolean hasOrganizationId() { return locationCase_ == 1; } /** + * + * *
      * The ID of an organization to scan.
      * 
* * int64 organization_id = 1; + * * @return The organizationId. */ public long getOrganizationId() { @@ -592,11 +643,14 @@ public long getOrganizationId() { return 0L; } /** + * + * *
      * The ID of an organization to scan.
      * 
* * int64 organization_id = 1; + * * @param value The organizationId to set. * @return This builder for chaining. */ @@ -607,11 +661,14 @@ public Builder setOrganizationId(long value) { return this; } /** + * + * *
      * The ID of an organization to scan.
      * 
* * int64 organization_id = 1; + * * @return This builder for chaining. */ public Builder clearOrganizationId() { @@ -624,22 +681,28 @@ public Builder clearOrganizationId() { } /** + * + * *
      * The ID of the Folder within an organization to scan.
      * 
* * int64 folder_id = 2; + * * @return Whether the folderId field is set. */ public boolean hasFolderId() { return locationCase_ == 2; } /** + * + * *
      * The ID of the Folder within an organization to scan.
      * 
* * int64 folder_id = 2; + * * @return The folderId. */ public long getFolderId() { @@ -649,11 +712,14 @@ public long getFolderId() { return 0L; } /** + * + * *
      * The ID of the Folder within an organization to scan.
      * 
* * int64 folder_id = 2; + * * @param value The folderId to set. * @return This builder for chaining. */ @@ -664,11 +730,14 @@ public Builder setFolderId(long value) { return this; } /** + * + * *
      * The ID of the Folder within an organization to scan.
      * 
* * int64 folder_id = 2; + * * @return This builder for chaining. */ public Builder clearFolderId() { @@ -679,9 +748,9 @@ public Builder clearFolderId() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -691,12 +760,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfileLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfileLocation) private static final com.google.privacy.dlp.v2.DataProfileLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfileLocation(); } @@ -705,16 +774,16 @@ public static com.google.privacy.dlp.v2.DataProfileLocation getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfileLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfileLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfileLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfileLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -729,6 +798,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DataProfileLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java index e9c5aa7a..a1c0ab1f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfileLocationOrBuilder.java @@ -1,46 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under 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 DataProfileLocationOrBuilder extends +public interface DataProfileLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfileLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The ID of an organization to scan.
    * 
* * int64 organization_id = 1; + * * @return Whether the organizationId field is set. */ boolean hasOrganizationId(); /** + * + * *
    * The ID of an organization to scan.
    * 
* * int64 organization_id = 1; + * * @return The organizationId. */ long getOrganizationId(); /** + * + * *
    * The ID of the Folder within an organization to scan.
    * 
* * int64 folder_id = 2; + * * @return Whether the folderId field is set. */ boolean hasFolderId(); /** + * + * *
    * The ID of the Folder within an organization to scan.
    * 
* * int64 folder_id = 2; + * * @return The folderId. */ long getFolderId(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.java similarity index 62% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.java index 0ad14780..3104aa0e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubCondition.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 condition for determining whether a Pub/Sub should be triggered.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition} */ -public final class DataProfilePubSubCondition extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DataProfilePubSubCondition extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfilePubSubCondition) DataProfilePubSubConditionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DataProfilePubSubCondition.newBuilder() to construct. private DataProfilePubSubCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DataProfilePubSubCondition() { - } + + private DataProfilePubSubCondition() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataProfilePubSubCondition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DataProfilePubSubCondition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +68,32 @@ private DataProfilePubSubCondition( case 0: done = true; break; - case 10: { - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder subBuilder = null; - if (expressions_ != null) { - subBuilder = expressions_.toBuilder(); - } - expressions_ = input.readMessage(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expressions_); - expressions_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder + subBuilder = null; + if (expressions_ != null) { + subBuilder = expressions_.toBuilder(); + } + expressions_ = + input.readMessage( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .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) { @@ -79,36 +101,41 @@ private DataProfilePubSubCondition( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_DataProfilePubSubCondition_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.class, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder.class); } /** + * + * *
    * Various score levels for resources.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket} */ - public enum ProfileScoreBucket - implements com.google.protobuf.ProtocolMessageEnum { + public enum ProfileScoreBucket implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unused.
      * 
@@ -117,6 +144,8 @@ public enum ProfileScoreBucket */ PROFILE_SCORE_BUCKET_UNSPECIFIED(0), /** + * + * *
      * High risk/sensitivity detected.
      * 
@@ -125,6 +154,8 @@ public enum ProfileScoreBucket */ HIGH(1), /** + * + * *
      * Medium or high risk/sensitivity detected.
      * 
@@ -136,6 +167,8 @@ public enum ProfileScoreBucket ; /** + * + * *
      * Unused.
      * 
@@ -144,6 +177,8 @@ public enum ProfileScoreBucket */ public static final int PROFILE_SCORE_BUCKET_UNSPECIFIED_VALUE = 0; /** + * + * *
      * High risk/sensitivity detected.
      * 
@@ -152,6 +187,8 @@ public enum ProfileScoreBucket */ public static final int HIGH_VALUE = 1; /** + * + * *
      * Medium or high risk/sensitivity detected.
      * 
@@ -160,7 +197,6 @@ public enum ProfileScoreBucket */ public static final int MEDIUM_OR_HIGH_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,10 +221,14 @@ public static ProfileScoreBucket valueOf(int value) { */ public static ProfileScoreBucket forNumber(int value) { switch (value) { - case 0: return PROFILE_SCORE_BUCKET_UNSPECIFIED; - case 1: return HIGH; - case 2: return MEDIUM_OR_HIGH; - default: return null; + case 0: + return PROFILE_SCORE_BUCKET_UNSPECIFIED; + case 1: + return HIGH; + case 2: + return MEDIUM_OR_HIGH; + default: + return null; } } @@ -196,29 +236,31 @@ public static ProfileScoreBucket forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ProfileScoreBucket> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ProfileScoreBucket findValueByNumber(int number) { - return ProfileScoreBucket.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 ProfileScoreBucket findValueByNumber(int number) { + return ProfileScoreBucket.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.DataProfilePubSubCondition.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDescriptor() + .getEnumTypes() + .get(0); } private static final ProfileScoreBucket[] VALUES = values(); @@ -226,8 +268,7 @@ public ProfileScoreBucket findValueByNumber(int number) { public static ProfileScoreBucket 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; @@ -244,99 +285,133 @@ private ProfileScoreBucket(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket) } - public interface PubSubConditionOrBuilder extends + public interface PubSubConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The minimum data risk score that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @return Whether the minimumRiskScore field is set. */ boolean hasMinimumRiskScore(); /** + * + * *
      * The minimum data risk score that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @return The enum numeric value on the wire for minimumRiskScore. */ int getMinimumRiskScoreValue(); /** + * + * *
      * The minimum data risk score that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @return The minimumRiskScore. */ com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumRiskScore(); /** + * + * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @return Whether the minimumSensitivityScore field is set. */ boolean hasMinimumSensitivityScore(); /** + * + * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @return The enum numeric value on the wire for minimumSensitivityScore. */ int getMinimumSensitivityScoreValue(); /** + * + * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @return The minimumSensitivityScore. */ - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumSensitivityScore(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket + getMinimumSensitivityScore(); - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.ValueCase getValueCase(); + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.ValueCase + getValueCase(); } /** + * + * *
    * A condition consisting of a value.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition} */ - public static final class PubSubCondition extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PubSubCondition extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) PubSubConditionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PubSubCondition.newBuilder() to construct. private PubSubCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PubSubCondition() { - } + + private PubSubCondition() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PubSubCondition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PubSubCondition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -355,25 +430,27 @@ private PubSubCondition( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - valueCase_ = 1; - value_ = rawValue; - break; - } - case 16: { - int rawValue = input.readEnum(); - valueCase_ = 2; - value_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + int rawValue = input.readEnum(); + valueCase_ = 1; + value_ = rawValue; + break; + } + case 16: + { + int rawValue = input.readEnum(); + valueCase_ = 2; + value_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -381,35 +458,40 @@ private PubSubCondition( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_DataProfilePubSubCondition_PubSubCondition_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.class, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; + public enum ValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MINIMUM_RISK_SCORE(1), MINIMUM_SENSITIVITY_SCORE(2), VALUE_NOT_SET(0); private final int value; + private ValueCase(int value) { this.value = value; } @@ -425,41 +507,54 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 1: return MINIMUM_RISK_SCORE; - case 2: return MINIMUM_SENSITIVITY_SCORE; - case 0: return VALUE_NOT_SET; - default: return null; + case 1: + return MINIMUM_RISK_SCORE; + case 2: + return MINIMUM_SENSITIVITY_SCORE; + case 0: + return VALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public static final int MINIMUM_RISK_SCORE_FIELD_NUMBER = 1; /** + * + * *
      * The minimum data risk score that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @return Whether the minimumRiskScore field is set. */ public boolean hasMinimumRiskScore() { return valueCase_ == 1; } /** + * + * *
      * The minimum data risk score that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @return The enum numeric value on the wire for minimumRiskScore. */ public int getMinimumRiskScoreValue() { @@ -469,41 +564,61 @@ public int getMinimumRiskScoreValue() { return 0; } /** + * + * *
      * The minimum data risk score that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @return The minimumRiskScore. */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumRiskScore() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket + getMinimumRiskScore() { if (valueCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( - (java.lang.Integer) value_); - return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( + (java.lang.Integer) value_); + return result == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED + : result; } - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.PROFILE_SCORE_BUCKET_UNSPECIFIED; + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket + .PROFILE_SCORE_BUCKET_UNSPECIFIED; } public static final int MINIMUM_SENSITIVITY_SCORE_FIELD_NUMBER = 2; /** + * + * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @return Whether the minimumSensitivityScore field is set. */ public boolean hasMinimumSensitivityScore() { return valueCase_ == 2; } /** + * + * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @return The enum numeric value on the wire for minimumSensitivityScore. */ public int getMinimumSensitivityScoreValue() { @@ -513,24 +628,35 @@ public int getMinimumSensitivityScoreValue() { return 0; } /** + * + * *
      * The minimum sensitivity level that triggers the condition.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @return The minimumSensitivityScore. */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumSensitivityScore() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket + getMinimumSensitivityScore() { if (valueCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( - (java.lang.Integer) value_); - return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( + (java.lang.Integer) value_); + return result == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED + : result; } - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.PROFILE_SCORE_BUCKET_UNSPECIFIED; + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket + .PROFILE_SCORE_BUCKET_UNSPECIFIED; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -542,8 +668,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (valueCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) value_)); } @@ -560,12 +685,12 @@ public int getSerializedSize() { size = 0; if (valueCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, ((java.lang.Integer) value_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(1, ((java.lang.Integer) value_)); } if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, ((java.lang.Integer) value_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(2, ((java.lang.Integer) value_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -575,22 +700,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.DataProfilePubSubCondition.PubSubCondition)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition other = (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) obj; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition other = + (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) obj; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 1: - if (getMinimumRiskScoreValue() - != other.getMinimumRiskScoreValue()) return false; + if (getMinimumRiskScoreValue() != other.getMinimumRiskScoreValue()) return false; break; case 2: - if (getMinimumSensitivityScoreValue() - != other.getMinimumSensitivityScoreValue()) return false; + if (getMinimumSensitivityScoreValue() != other.getMinimumSensitivityScoreValue()) + return false; break; case 0: default: @@ -624,87 +749,95 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( - java.nio.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.DataProfilePubSubCondition.PubSubCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseDelimitedFrom( - java.io.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.DataProfilePubSubCondition.PubSubCondition + parseDelimitedFrom( + java.io.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.DataProfilePubSubCondition.PubSubCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -714,44 +847,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A condition consisting of a value.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.class, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder.class); } - // Construct using com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.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(); @@ -761,19 +899,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_DataProfilePubSubCondition_PubSubCondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.getDefaultInstance(); + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition + .getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition build() { - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition result = buildPartial(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -782,7 +923,8 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition buil @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition buildPartial() { - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition result = new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition(this); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition result = + new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition(this); if (valueCase_ == 1) { result.value_ = value_; } @@ -798,58 +940,68 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition)other); + return mergeFrom( + (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition other) { - if (other == com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition other) { + if (other + == com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition + .getDefaultInstance()) return this; switch (other.getValueCase()) { - case MINIMUM_RISK_SCORE: { - setMinimumRiskScoreValue(other.getMinimumRiskScoreValue()); - break; - } - case MINIMUM_SENSITIVITY_SCORE: { - setMinimumSensitivityScoreValue(other.getMinimumSensitivityScoreValue()); - break; - } - case VALUE_NOT_SET: { - break; - } + case MINIMUM_RISK_SCORE: + { + setMinimumRiskScoreValue(other.getMinimumRiskScoreValue()); + break; + } + case MINIMUM_SENSITIVITY_SCORE: + { + setMinimumSensitivityScoreValue(other.getMinimumSensitivityScoreValue()); + break; + } + case VALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -870,7 +1022,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -879,12 +1033,12 @@ public Builder mergeFrom( } return this; } + private int valueCase_ = 0; private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public Builder clearValue() { @@ -894,13 +1048,17 @@ public Builder clearValue() { return this; } - /** + * + * *
        * The minimum data risk score that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @return Whether the minimumRiskScore field is set. */ @java.lang.Override @@ -908,11 +1066,16 @@ public boolean hasMinimumRiskScore() { return valueCase_ == 1; } /** + * + * *
        * The minimum data risk score that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @return The enum numeric value on the wire for minimumRiskScore. */ @java.lang.Override @@ -923,11 +1086,16 @@ public int getMinimumRiskScoreValue() { return 0; } /** + * + * *
        * The minimum data risk score that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @param value The enum numeric value on the wire for minimumRiskScore to set. * @return This builder for chaining. */ @@ -938,33 +1106,49 @@ public Builder setMinimumRiskScoreValue(int value) { return this; } /** + * + * *
        * The minimum data risk score that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @return The minimumRiskScore. */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumRiskScore() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket + getMinimumRiskScore() { if (valueCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( - (java.lang.Integer) value_); - return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( + (java.lang.Integer) value_); + return result == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED + : result; } - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.PROFILE_SCORE_BUCKET_UNSPECIFIED; + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket + .PROFILE_SCORE_BUCKET_UNSPECIFIED; } /** + * + * *
        * The minimum data risk score that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @param value The minimumRiskScore to set. * @return This builder for chaining. */ - public Builder setMinimumRiskScore(com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket value) { + public Builder setMinimumRiskScore( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket value) { if (value == null) { throw new NullPointerException(); } @@ -974,11 +1158,16 @@ public Builder setMinimumRiskScore(com.google.privacy.dlp.v2.DataProfilePubSubCo return this; } /** + * + * *
        * The minimum data risk score that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_risk_score = 1; + * + * * @return This builder for chaining. */ public Builder clearMinimumRiskScore() { @@ -991,11 +1180,16 @@ public Builder clearMinimumRiskScore() { } /** + * + * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @return Whether the minimumSensitivityScore field is set. */ @java.lang.Override @@ -1003,11 +1197,16 @@ public boolean hasMinimumSensitivityScore() { return valueCase_ == 2; } /** + * + * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @return The enum numeric value on the wire for minimumSensitivityScore. */ @java.lang.Override @@ -1018,11 +1217,16 @@ public int getMinimumSensitivityScoreValue() { return 0; } /** + * + * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @param value The enum numeric value on the wire for minimumSensitivityScore to set. * @return This builder for chaining. */ @@ -1033,33 +1237,49 @@ public Builder setMinimumSensitivityScoreValue(int value) { return this; } /** + * + * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @return The minimumSensitivityScore. */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket getMinimumSensitivityScore() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket + getMinimumSensitivityScore() { if (valueCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( - (java.lang.Integer) value_); - return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket result = + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.valueOf( + (java.lang.Integer) value_); + return result == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.UNRECOGNIZED + : result; } - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket.PROFILE_SCORE_BUCKET_UNSPECIFIED; + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket + .PROFILE_SCORE_BUCKET_UNSPECIFIED; } /** + * + * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @param value The minimumSensitivityScore to set. * @return This builder for chaining. */ - public Builder setMinimumSensitivityScore(com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket value) { + public Builder setMinimumSensitivityScore( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket value) { if (value == null) { throw new NullPointerException(); } @@ -1069,11 +1289,16 @@ public Builder setMinimumSensitivityScore(com.google.privacy.dlp.v2.DataProfileP return this; } /** + * + * *
        * The minimum sensitivity level that triggers the condition.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket minimum_sensitivity_score = 2; + * + * * @return This builder for chaining. */ public Builder clearMinimumSensitivityScore() { @@ -1084,6 +1309,7 @@ public Builder clearMinimumSensitivityScore() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1096,30 +1322,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition) - private static final com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition(); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getDefaultInstance() { + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PubSubCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PubSubCondition(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubSubCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PubSubCondition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1131,95 +1359,131 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PubSubExpressionsOrBuilder extends + public interface PubSubExpressionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The operator to apply to the collection of conditions.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * * @return The enum numeric value on the wire for logicalOperator. */ int getLogicalOperatorValue(); /** + * + * *
      * The operator to apply to the collection of conditions.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * * @return The logicalOperator. */ - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator getLogicalOperator(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator + getLogicalOperator(); /** + * + * *
      * Conditions to apply to the expression.
      * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - java.util.List + java.util.List getConditionsList(); /** + * + * *
      * Conditions to apply to the expression.
      * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getConditions(int index); /** + * + * *
      * Conditions to apply to the expression.
      * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ int getConditionsCount(); /** + * + * *
      * Conditions to apply to the expression.
      * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> getConditionsOrBuilderList(); /** + * + * *
      * Conditions to apply to the expression.
      * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder getConditionsOrBuilder( - int index); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder + getConditionsOrBuilder(int index); } /** + * + * *
    * An expression, consisting of an operator and conditions.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions} */ - public static final class PubSubExpressions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PubSubExpressions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) PubSubExpressionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PubSubExpressions.newBuilder() to construct. private PubSubExpressions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PubSubExpressions() { logicalOperator_ = 0; conditions_ = java.util.Collections.emptyList(); @@ -1227,16 +1491,15 @@ private PubSubExpressions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PubSubExpressions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PubSubExpressions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1256,28 +1519,35 @@ private PubSubExpressions( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - logicalOperator_ = rawValue; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conditions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + logicalOperator_ = rawValue; + break; } - conditions_.add( - input.readMessage(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conditions_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition>(); + mutable_bitField0_ |= 0x00000001; + } + conditions_.add( + input.readMessage( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition + .parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1285,8 +1555,7 @@ private PubSubExpressions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -1295,29 +1564,36 @@ private PubSubExpressions( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.class, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder.class); } /** + * + * *
      * Logical operators for conditional checks.
      * 
* - * Protobuf enum {@code google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator} + * Protobuf enum {@code + * google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator} */ - public enum PubSubLogicalOperator - implements com.google.protobuf.ProtocolMessageEnum { + public enum PubSubLogicalOperator implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unused.
        * 
@@ -1326,6 +1602,8 @@ public enum PubSubLogicalOperator */ LOGICAL_OPERATOR_UNSPECIFIED(0), /** + * + * *
        * Conditional OR.
        * 
@@ -1334,6 +1612,8 @@ public enum PubSubLogicalOperator */ OR(1), /** + * + * *
        * Conditional AND.
        * 
@@ -1345,6 +1625,8 @@ public enum PubSubLogicalOperator ; /** + * + * *
        * Unused.
        * 
@@ -1353,6 +1635,8 @@ public enum PubSubLogicalOperator */ public static final int LOGICAL_OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Conditional OR.
        * 
@@ -1361,6 +1645,8 @@ public enum PubSubLogicalOperator */ public static final int OR_VALUE = 1; /** + * + * *
        * Conditional AND.
        * 
@@ -1369,7 +1655,6 @@ public enum PubSubLogicalOperator */ public static final int AND_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1394,10 +1679,14 @@ public static PubSubLogicalOperator valueOf(int value) { */ public static PubSubLogicalOperator forNumber(int value) { switch (value) { - case 0: return LOGICAL_OPERATOR_UNSPECIFIED; - case 1: return OR; - case 2: return AND; - default: return null; + case 0: + return LOGICAL_OPERATOR_UNSPECIFIED; + case 1: + return OR; + case 2: + return AND; + default: + return null; } } @@ -1405,29 +1694,32 @@ public static PubSubLogicalOperator forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PubSubLogicalOperator> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PubSubLogicalOperator findValueByNumber(int number) { - return PubSubLogicalOperator.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 PubSubLogicalOperator findValueByNumber(int number) { + return PubSubLogicalOperator.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.DataProfilePubSubCondition.PubSubExpressions.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .getDescriptor() + .getEnumTypes() + .get(0); } private static final PubSubLogicalOperator[] VALUES = values(); @@ -1435,8 +1727,7 @@ public PubSubLogicalOperator findValueByNumber(int number) { public static PubSubLogicalOperator 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; @@ -1456,91 +1747,136 @@ private PubSubLogicalOperator(int value) { public static final int LOGICAL_OPERATOR_FIELD_NUMBER = 1; private int logicalOperator_; /** + * + * *
      * The operator to apply to the collection of conditions.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator 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 collection of conditions.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * * @return The logicalOperator. */ - @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator getLogicalOperator() { + @java.lang.Override + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .PubSubLogicalOperator + getLogicalOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.valueOf(logicalOperator_); - return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator + result = + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .PubSubLogicalOperator.valueOf(logicalOperator_); + return result == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .PubSubLogicalOperator.UNRECOGNIZED + : result; } public static final int CONDITIONS_FIELD_NUMBER = 2; - private java.util.List conditions_; + private java.util.List + conditions_; /** + * + * *
      * Conditions to apply to the expression.
      * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ @java.lang.Override - public java.util.List getConditionsList() { + public java.util.List + getConditionsList() { return conditions_; } /** + * + * *
      * Conditions to apply to the expression.
      * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> getConditionsOrBuilderList() { return conditions_; } /** + * + * *
      * Conditions to apply to the expression.
      * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ @java.lang.Override public int getConditionsCount() { return conditions_.size(); } /** + * + * *
      * Conditions to apply to the expression.
      * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getConditions(int index) { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getConditions( + int index) { return conditions_.get(index); } /** + * + * *
      * Conditions to apply to the expression.
      * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder getConditionsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder + getConditionsOrBuilder(int index) { return conditions_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1552,9 +1888,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.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (logicalOperator_ + != com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .PubSubLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED + .getNumber()) { output.writeEnum(1, logicalOperator_); } for (int i = 0; i < conditions_.size(); i++) { @@ -1569,13 +1907,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (logicalOperator_ != com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, logicalOperator_); + if (logicalOperator_ + != com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .PubSubLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, logicalOperator_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, conditions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1585,16 +1924,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.DataProfilePubSubCondition.PubSubExpressions)) { + if (!(obj + instanceof com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions other = (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) obj; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions other = + (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) obj; if (logicalOperator_ != other.logicalOperator_) return false; - if (!getConditionsList() - .equals(other.getConditionsList())) return false; + if (!getConditionsList().equals(other.getConditionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1618,87 +1958,95 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( - java.nio.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.DataProfilePubSubCondition.PubSubExpressions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseDelimitedFrom( - java.io.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.DataProfilePubSubCondition.PubSubExpressions + parseDelimitedFrom( + java.io.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.DataProfilePubSubCondition.PubSubExpressions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1708,45 +2056,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An expression, consisting of an operator and conditions.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.class, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder + .class); } - // Construct using com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.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) { getConditionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1762,19 +2117,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_DataProfilePubSubCondition_PubSubExpressions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDefaultInstance(); + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions build() { - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions result = buildPartial(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1783,7 +2141,8 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions bu @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions buildPartial() { - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions result = new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions(this); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions result = + new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions(this); int from_bitField0_ = bitField0_; result.logicalOperator_ = logicalOperator_; if (conditionsBuilder_ == null) { @@ -1803,46 +2162,54 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions)other); + if (other + instanceof com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) { + return mergeFrom( + (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions other) { - if (other == com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions other) { + if (other + == com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .getDefaultInstance()) return this; if (other.logicalOperator_ != 0) { setLogicalOperatorValue(other.getLogicalOperatorValue()); } @@ -1864,9 +2231,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfilePubSubCondition.Pu 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_); } @@ -1891,7 +2259,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1900,102 +2270,152 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private int logicalOperator_ = 0; /** + * + * *
        * The operator to apply to the collection of conditions.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator 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 collection of conditions.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator 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 collection of conditions.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * * @return The logicalOperator. */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator getLogicalOperator() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .PubSubLogicalOperator + getLogicalOperator() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator result = com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.valueOf(logicalOperator_); - return result == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator + result = + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .PubSubLogicalOperator.valueOf(logicalOperator_); + return result == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .PubSubLogicalOperator.UNRECOGNIZED + : result; } /** + * + * *
        * The operator to apply to the collection of conditions.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * * @param value The logicalOperator to set. * @return This builder for chaining. */ - public Builder setLogicalOperator(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator value) { + public Builder setLogicalOperator( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .PubSubLogicalOperator + value) { if (value == null) { throw new NullPointerException(); } - + logicalOperator_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The operator to apply to the collection of conditions.
        * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1; + * + * * @return This builder for chaining. */ public Builder clearLogicalOperator() { - + logicalOperator_ = 0; onChanged(); return this; } - private java.util.List conditions_ = - java.util.Collections.emptyList(); + private java.util.List + conditions_ = java.util.Collections.emptyList(); + private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conditions_ = new java.util.ArrayList(conditions_); + conditions_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition>( + conditions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> conditionsBuilder_; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> + conditionsBuilder_; /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - public java.util.List getConditionsList() { + public java.util.List + getConditionsList() { if (conditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(conditions_); } else { @@ -2003,11 +2423,15 @@ public java.util.List * Conditions to apply to the expression. *
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ public int getConditionsCount() { if (conditionsBuilder_ == null) { @@ -2017,13 +2441,18 @@ public int getConditionsCount() { } } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getConditions(int index) { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getConditions( + int index) { if (conditionsBuilder_ == null) { return conditions_.get(index); } else { @@ -2031,11 +2460,15 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition getC } } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ public Builder setConditions( int index, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition value) { @@ -2052,14 +2485,20 @@ public Builder setConditions( return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ public Builder setConditions( - int index, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder + builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.set(index, builderForValue.build()); @@ -2070,13 +2509,18 @@ public Builder setConditions( return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - public Builder addConditions(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition value) { + public Builder addConditions( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2090,11 +2534,15 @@ public Builder addConditions(com.google.privacy.dlp.v2.DataProfilePubSubConditio return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ public Builder addConditions( int index, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition value) { @@ -2111,14 +2559,19 @@ public Builder addConditions( return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ public Builder addConditions( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder builderForValue) { + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder + builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -2129,14 +2582,20 @@ public Builder addConditions( return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ public Builder addConditions( - int index, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder + builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(index, builderForValue.build()); @@ -2147,18 +2606,23 @@ public Builder addConditions( return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ public Builder addAllConditions( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition> + 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); @@ -2166,11 +2630,15 @@ public Builder addAllConditions( return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ public Builder clearConditions() { if (conditionsBuilder_ == null) { @@ -2183,11 +2651,15 @@ public Builder clearConditions() { return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ public Builder removeConditions(int index) { if (conditionsBuilder_ == null) { @@ -2200,39 +2672,54 @@ public Builder removeConditions(int index) { return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder getConditionsBuilder( - int index) { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder + getConditionsBuilder(int index) { return getConditionsFieldBuilder().getBuilder(index); } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder getConditionsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder + getConditionsOrBuilder(int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); } else { + return conditions_.get(index); + } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List< + ? extends + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -2240,53 +2727,76 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBui } } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.getDefaultInstance()); + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder + addConditionsBuilder() { + return getConditionsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition + .getDefaultInstance()); } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder addConditionsBuilder( - int index) { - return getConditionsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.getDefaultInstance()); + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder + addConditionsBuilder(int index) { + return getConditionsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition + .getDefaultInstance()); } /** + * + * *
        * Conditions to apply to the expression.
        * 
* - * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * + * repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2; + * */ - public java.util.List - getConditionsBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder> + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder>( - conditions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + conditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition.Builder, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder>( + conditions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); conditions_ = null; } return conditionsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2299,30 +2809,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions) - private static final com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions(); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getDefaultInstance() { + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PubSubExpressions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PubSubExpressions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PubSubExpressions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PubSubExpressions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2334,20 +2847,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int EXPRESSIONS_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions_; /** + * + * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * + * * @return Whether the expressions field is set. */ @java.lang.Override @@ -2355,30 +2872,42 @@ public boolean hasExpressions() { return expressions_ != null; } /** + * + * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * + * * @return The expressions. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getExpressions() { - return expressions_ == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDefaultInstance() : expressions_; + return expressions_ == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .getDefaultInstance() + : expressions_; } /** + * + * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder getExpressionsOrBuilder() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder + getExpressionsOrBuilder() { return getExpressions(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2390,8 +2919,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(1, getExpressions()); } @@ -2405,8 +2933,7 @@ public int getSerializedSize() { size = 0; if (expressions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getExpressions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExpressions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2416,17 +2943,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.DataProfilePubSubCondition)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfilePubSubCondition other = (com.google.privacy.dlp.v2.DataProfilePubSubCondition) obj; + com.google.privacy.dlp.v2.DataProfilePubSubCondition other = + (com.google.privacy.dlp.v2.DataProfilePubSubCondition) 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; @@ -2449,117 +2976,126 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( - java.nio.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.DataProfilePubSubCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfilePubSubCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfilePubSubCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Pub/Sub should be triggered.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubCondition} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfilePubSubCondition) com.google.privacy.dlp.v2.DataProfilePubSubConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.class, com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder.class); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.class, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.Builder.class); } // Construct using com.google.privacy.dlp.v2.DataProfilePubSubCondition.newBuilder() @@ -2567,16 +3103,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(); @@ -2590,9 +3125,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; } @java.lang.Override @@ -2611,7 +3146,8 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition build() { @java.lang.Override public com.google.privacy.dlp.v2.DataProfilePubSubCondition buildPartial() { - com.google.privacy.dlp.v2.DataProfilePubSubCondition result = new com.google.privacy.dlp.v2.DataProfilePubSubCondition(this); + com.google.privacy.dlp.v2.DataProfilePubSubCondition result = + new com.google.privacy.dlp.v2.DataProfilePubSubCondition(this); if (expressionsBuilder_ == null) { result.expressions_ = expressions_; } else { @@ -2625,38 +3161,39 @@ public com.google.privacy.dlp.v2.DataProfilePubSubCondition buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.DataProfilePubSubCondition) { - return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubCondition)other); + return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubCondition) other); } else { super.mergeFrom(other); return this; @@ -2664,7 +3201,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfilePubSubCondition other) { - if (other == com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.DataProfilePubSubCondition.getDefaultInstance()) + return this; if (other.hasExpressions()) { mergeExpressions(other.getExpressions()); } @@ -2687,7 +3225,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.DataProfilePubSubCondition) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DataProfilePubSubCondition) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2699,41 +3238,59 @@ public Builder mergeFrom( private com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder> expressionsBuilder_; + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder> + expressionsBuilder_; /** + * + * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * + * * @return Whether the expressions field is set. */ public boolean hasExpressions() { return expressionsBuilder_ != null || expressions_ != null; } /** + * + * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * + * * @return The expressions. */ public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getExpressions() { if (expressionsBuilder_ == null) { - return expressions_ == null ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDefaultInstance() : expressions_; + return expressions_ == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .getDefaultInstance() + : expressions_; } else { return expressionsBuilder_.getMessage(); } } /** + * + * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * */ - public Builder setExpressions(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions value) { + public Builder setExpressions( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions value) { if (expressionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2747,14 +3304,18 @@ public Builder setExpressions(com.google.privacy.dlp.v2.DataProfilePubSubConditi return this; } /** + * + * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * */ public Builder setExpressions( - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder builderForValue) { + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder + builderForValue) { if (expressionsBuilder_ == null) { expressions_ = builderForValue.build(); onChanged(); @@ -2765,17 +3326,24 @@ public Builder setExpressions( return this; } /** + * + * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * */ - public Builder mergeExpressions(com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions value) { + public Builder mergeExpressions( + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions value) { if (expressionsBuilder_ == null) { if (expressions_ != null) { expressions_ = - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.newBuilder(expressions_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.newBuilder( + expressions_) + .mergeFrom(value) + .buildPartial(); } else { expressions_ = value; } @@ -2787,11 +3355,14 @@ public Builder mergeExpressions(com.google.privacy.dlp.v2.DataProfilePubSubCondi return this; } /** + * + * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * */ public Builder clearExpressions() { if (expressionsBuilder_ == null) { @@ -2805,55 +3376,71 @@ public Builder clearExpressions() { return this; } /** + * + * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder getExpressionsBuilder() { - + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder + getExpressionsBuilder() { + onChanged(); return getExpressionsFieldBuilder().getBuilder(); } /** + * + * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * */ - public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder getExpressionsOrBuilder() { + public com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder + getExpressionsOrBuilder() { if (expressionsBuilder_ != null) { return expressionsBuilder_.getMessageOrBuilder(); } else { - return expressions_ == null ? - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.getDefaultInstance() : expressions_; + return expressions_ == null + ? com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions + .getDefaultInstance() + : expressions_; } } /** + * + * *
      * An expression.
      * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder> + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder> getExpressionsFieldBuilder() { if (expressionsBuilder_ == null) { - expressionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder>( - getExpressions(), - getParentForChildren(), - isClean()); + expressionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.Builder, + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder>( + 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); } @@ -2863,12 +3450,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfilePubSubCondition) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfilePubSubCondition) private static final com.google.privacy.dlp.v2.DataProfilePubSubCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfilePubSubCondition(); } @@ -2877,16 +3464,16 @@ public static com.google.privacy.dlp.v2.DataProfilePubSubCondition getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfilePubSubCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfilePubSubCondition(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfilePubSubCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfilePubSubCondition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2901,6 +3488,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.DataProfilePubSubCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java similarity index 50% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java index fc6d80a1..e03119a3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubConditionOrBuilder.java @@ -1,36 +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 DataProfilePubSubConditionOrBuilder extends +public interface DataProfilePubSubConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfilePubSubCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * + * * @return Whether the expressions field is set. */ boolean hasExpressions(); /** + * + * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * + * * @return The expressions. */ com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions getExpressions(); /** + * + * *
    * An expression.
    * 
* - * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1; + * */ - com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder getExpressionsOrBuilder(); + com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressionsOrBuilder + getExpressionsOrBuilder(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java index 4fc3b7a5..3c5e18c3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessage.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; /** + * + * *
  * Pub/Sub topic message for a DataProfileAction.PubSubNotification event.
  * To receive a message of protocol buffer schema type, convert the message data
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubMessage}
  */
-public final class DataProfilePubSubMessage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataProfilePubSubMessage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataProfilePubSubMessage)
     DataProfilePubSubMessageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataProfilePubSubMessage.newBuilder() to construct.
   private DataProfilePubSubMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataProfilePubSubMessage() {
     event_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataProfilePubSubMessage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DataProfilePubSubMessage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,32 +72,36 @@ private DataProfilePubSubMessage(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.privacy.dlp.v2.TableDataProfile.Builder subBuilder = null;
-            if (profile_ != null) {
-              subBuilder = profile_.toBuilder();
+          case 10:
+            {
+              com.google.privacy.dlp.v2.TableDataProfile.Builder subBuilder = null;
+              if (profile_ != null) {
+                subBuilder = profile_.toBuilder();
+              }
+              profile_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.TableDataProfile.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(profile_);
+                profile_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            profile_ = input.readMessage(com.google.privacy.dlp.v2.TableDataProfile.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(profile_);
-              profile_ = subBuilder.buildPartial();
-            }
-
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            event_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              event_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,29 +109,33 @@ private DataProfilePubSubMessage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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_DataProfilePubSubMessage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.DataProfilePubSubMessage.class, com.google.privacy.dlp.v2.DataProfilePubSubMessage.Builder.class);
+            com.google.privacy.dlp.v2.DataProfilePubSubMessage.class,
+            com.google.privacy.dlp.v2.DataProfilePubSubMessage.Builder.class);
   }
 
   public static final int PROFILE_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.TableDataProfile profile_;
   /**
+   *
+   *
    * 
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -118,6 +143,7 @@ private DataProfilePubSubMessage(
    * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; + * * @return Whether the profile field is set. */ @java.lang.Override @@ -125,6 +151,8 @@ public boolean hasProfile() { return profile_ != null; } /** + * + * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -132,13 +160,18 @@ public boolean hasProfile() {
    * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; + * * @return The profile. */ @java.lang.Override public com.google.privacy.dlp.v2.TableDataProfile getProfile() { - return profile_ == null ? com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance() : profile_; + return profile_ == null + ? com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance() + : profile_; } /** + * + * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -155,31 +188,43 @@ public com.google.privacy.dlp.v2.TableDataProfileOrBuilder getProfileOrBuilder()
   public static final int EVENT_FIELD_NUMBER = 2;
   private int event_;
   /**
+   *
+   *
    * 
    * The event that caused the Pub/Sub message to be sent.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The enum numeric value on the wire for event. */ - @java.lang.Override public int getEventValue() { + @java.lang.Override + public int getEventValue() { return event_; } /** + * + * *
    * The event that caused the Pub/Sub message to be sent.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The event. */ - @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { + @java.lang.Override + public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.EventType result = com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); - return result == null ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfileAction.EventType result = + com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); + return result == null + ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,12 +236,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 (profile_ != null) { output.writeMessage(1, getProfile()); } - if (event_ != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { + if (event_ + != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, event_); } unknownFields.writeTo(output); @@ -209,12 +255,12 @@ public int getSerializedSize() { size = 0; if (profile_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProfile()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProfile()); } - if (event_ != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, event_); + if (event_ + != com.google.privacy.dlp.v2.DataProfileAction.EventType.EVENT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, event_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -224,17 +270,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.DataProfilePubSubMessage)) { return super.equals(obj); } - com.google.privacy.dlp.v2.DataProfilePubSubMessage other = (com.google.privacy.dlp.v2.DataProfilePubSubMessage) obj; + com.google.privacy.dlp.v2.DataProfilePubSubMessage other = + (com.google.privacy.dlp.v2.DataProfilePubSubMessage) obj; if (hasProfile() != other.hasProfile()) return false; if (hasProfile()) { - if (!getProfile() - .equals(other.getProfile())) return false; + if (!getProfile().equals(other.getProfile())) return false; } if (event_ != other.event_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -260,96 +306,103 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( - java.nio.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.DataProfilePubSubMessage parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataProfilePubSubMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DataProfilePubSubMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Pub/Sub topic message for a DataProfileAction.PubSubNotification event.
    * To receive a message of protocol buffer schema type, convert the message data
@@ -358,21 +411,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.DataProfilePubSubMessage}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataProfilePubSubMessage)
       com.google.privacy.dlp.v2.DataProfilePubSubMessageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DataProfilePubSubMessage.class, com.google.privacy.dlp.v2.DataProfilePubSubMessage.Builder.class);
+              com.google.privacy.dlp.v2.DataProfilePubSubMessage.class,
+              com.google.privacy.dlp.v2.DataProfilePubSubMessage.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.DataProfilePubSubMessage.newBuilder()
@@ -380,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();
@@ -405,9 +459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor;
     }
 
     @java.lang.Override
@@ -426,7 +480,8 @@ public com.google.privacy.dlp.v2.DataProfilePubSubMessage build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.DataProfilePubSubMessage buildPartial() {
-      com.google.privacy.dlp.v2.DataProfilePubSubMessage result = new com.google.privacy.dlp.v2.DataProfilePubSubMessage(this);
+      com.google.privacy.dlp.v2.DataProfilePubSubMessage result =
+          new com.google.privacy.dlp.v2.DataProfilePubSubMessage(this);
       if (profileBuilder_ == null) {
         result.profile_ = profile_;
       } else {
@@ -441,38 +496,39 @@ public com.google.privacy.dlp.v2.DataProfilePubSubMessage buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.DataProfilePubSubMessage) {
-        return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubMessage)other);
+        return mergeFrom((com.google.privacy.dlp.v2.DataProfilePubSubMessage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -480,7 +536,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.DataProfilePubSubMessage other) {
-      if (other == com.google.privacy.dlp.v2.DataProfilePubSubMessage.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.DataProfilePubSubMessage.getDefaultInstance())
+        return this;
       if (other.hasProfile()) {
         mergeProfile(other.getProfile());
       }
@@ -506,7 +563,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.privacy.dlp.v2.DataProfilePubSubMessage) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.privacy.dlp.v2.DataProfilePubSubMessage) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -518,8 +576,13 @@ public Builder mergeFrom(
 
     private com.google.privacy.dlp.v2.TableDataProfile profile_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.TableDataProfile, com.google.privacy.dlp.v2.TableDataProfile.Builder, com.google.privacy.dlp.v2.TableDataProfileOrBuilder> profileBuilder_;
+            com.google.privacy.dlp.v2.TableDataProfile,
+            com.google.privacy.dlp.v2.TableDataProfile.Builder,
+            com.google.privacy.dlp.v2.TableDataProfileOrBuilder>
+        profileBuilder_;
     /**
+     *
+     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -527,12 +590,15 @@ public Builder mergeFrom(
      * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; + * * @return Whether the profile field is set. */ public boolean hasProfile() { return profileBuilder_ != null || profile_ != null; } /** + * + * *
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -540,16 +606,21 @@ public boolean hasProfile() {
      * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; + * * @return The profile. */ public com.google.privacy.dlp.v2.TableDataProfile getProfile() { if (profileBuilder_ == null) { - return profile_ == null ? com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance() : profile_; + return profile_ == null + ? com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance() + : profile_; } else { return profileBuilder_.getMessage(); } } /** + * + * *
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -572,6 +643,8 @@ public Builder setProfile(com.google.privacy.dlp.v2.TableDataProfile value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -580,8 +653,7 @@ public Builder setProfile(com.google.privacy.dlp.v2.TableDataProfile value) {
      *
      * .google.privacy.dlp.v2.TableDataProfile profile = 1;
      */
-    public Builder setProfile(
-        com.google.privacy.dlp.v2.TableDataProfile.Builder builderForValue) {
+    public Builder setProfile(com.google.privacy.dlp.v2.TableDataProfile.Builder builderForValue) {
       if (profileBuilder_ == null) {
         profile_ = builderForValue.build();
         onChanged();
@@ -592,6 +664,8 @@ public Builder setProfile(
       return this;
     }
     /**
+     *
+     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -604,7 +678,9 @@ public Builder mergeProfile(com.google.privacy.dlp.v2.TableDataProfile value) {
       if (profileBuilder_ == null) {
         if (profile_ != null) {
           profile_ =
-            com.google.privacy.dlp.v2.TableDataProfile.newBuilder(profile_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.TableDataProfile.newBuilder(profile_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           profile_ = value;
         }
@@ -616,6 +692,8 @@ public Builder mergeProfile(com.google.privacy.dlp.v2.TableDataProfile value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -636,6 +714,8 @@ public Builder clearProfile() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -645,11 +725,13 @@ public Builder clearProfile() {
      * .google.privacy.dlp.v2.TableDataProfile profile = 1;
      */
     public com.google.privacy.dlp.v2.TableDataProfile.Builder getProfileBuilder() {
-      
+
       onChanged();
       return getProfileFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -662,11 +744,14 @@ public com.google.privacy.dlp.v2.TableDataProfileOrBuilder getProfileOrBuilder()
       if (profileBuilder_ != null) {
         return profileBuilder_.getMessageOrBuilder();
       } else {
-        return profile_ == null ?
-            com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance() : profile_;
+        return profile_ == null
+            ? com.google.privacy.dlp.v2.TableDataProfile.getDefaultInstance()
+            : profile_;
       }
     }
     /**
+     *
+     *
      * 
      * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
      * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -676,14 +761,17 @@ public com.google.privacy.dlp.v2.TableDataProfileOrBuilder getProfileOrBuilder()
      * .google.privacy.dlp.v2.TableDataProfile profile = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.TableDataProfile, com.google.privacy.dlp.v2.TableDataProfile.Builder, com.google.privacy.dlp.v2.TableDataProfileOrBuilder> 
+            com.google.privacy.dlp.v2.TableDataProfile,
+            com.google.privacy.dlp.v2.TableDataProfile.Builder,
+            com.google.privacy.dlp.v2.TableDataProfileOrBuilder>
         getProfileFieldBuilder() {
       if (profileBuilder_ == null) {
-        profileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TableDataProfile, com.google.privacy.dlp.v2.TableDataProfile.Builder, com.google.privacy.dlp.v2.TableDataProfileOrBuilder>(
-                getProfile(),
-                getParentForChildren(),
-                isClean());
+        profileBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.TableDataProfile,
+                com.google.privacy.dlp.v2.TableDataProfile.Builder,
+                com.google.privacy.dlp.v2.TableDataProfileOrBuilder>(
+                getProfile(), getParentForChildren(), isClean());
         profile_ = null;
       }
       return profileBuilder_;
@@ -691,51 +779,67 @@ public com.google.privacy.dlp.v2.TableDataProfileOrBuilder getProfileOrBuilder()
 
     private int event_ = 0;
     /**
+     *
+     *
      * 
      * The event that caused the Pub/Sub message to be sent.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The enum numeric value on the wire for event. */ - @java.lang.Override public int getEventValue() { + @java.lang.Override + public int getEventValue() { return event_; } /** + * + * *
      * The event that caused the Pub/Sub message to be sent.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @param value The enum numeric value on the wire for event to set. * @return This builder for chaining. */ public Builder setEventValue(int value) { - + event_ = value; onChanged(); return this; } /** + * + * *
      * The event that caused the Pub/Sub message to be sent.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The event. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataProfileAction.EventType result = com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); - return result == null ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataProfileAction.EventType result = + com.google.privacy.dlp.v2.DataProfileAction.EventType.valueOf(event_); + return result == null + ? com.google.privacy.dlp.v2.DataProfileAction.EventType.UNRECOGNIZED + : result; } /** + * + * *
      * The event that caused the Pub/Sub message to be sent.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @param value The event to set. * @return This builder for chaining. */ @@ -743,28 +847,31 @@ public Builder setEvent(com.google.privacy.dlp.v2.DataProfileAction.EventType va if (value == null) { throw new NullPointerException(); } - + event_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The event that caused the Pub/Sub message to be sent.
      * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return This builder for chaining. */ public Builder clearEvent() { - + event_ = 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); } @@ -774,12 +881,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataProfilePubSubMessage) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataProfilePubSubMessage) private static final com.google.privacy.dlp.v2.DataProfilePubSubMessage DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataProfilePubSubMessage(); } @@ -788,16 +895,16 @@ public static com.google.privacy.dlp.v2.DataProfilePubSubMessage getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataProfilePubSubMessage parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataProfilePubSubMessage(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataProfilePubSubMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataProfilePubSubMessage(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -812,6 +919,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DataProfilePubSubMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.java index 4a0867a1..4e97f492 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataProfilePubSubMessageOrBuilder.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 DataProfilePubSubMessageOrBuilder extends +public interface DataProfilePubSubMessageOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataProfilePubSubMessage) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -15,10 +33,13 @@ public interface DataProfilePubSubMessageOrBuilder extends
    * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; + * * @return Whether the profile field is set. */ boolean hasProfile(); /** + * + * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -26,10 +47,13 @@ public interface DataProfilePubSubMessageOrBuilder extends
    * 
* * .google.privacy.dlp.v2.TableDataProfile profile = 1; + * * @return The profile. */ com.google.privacy.dlp.v2.TableDataProfile getProfile(); /** + * + * *
    * If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
    * Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
@@ -41,20 +65,26 @@ public interface DataProfilePubSubMessageOrBuilder extends
   com.google.privacy.dlp.v2.TableDataProfileOrBuilder getProfileOrBuilder();
 
   /**
+   *
+   *
    * 
    * The event that caused the Pub/Sub message to be sent.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The enum numeric value on the wire for event. */ int getEventValue(); /** + * + * *
    * The event that caused the Pub/Sub message to be sent.
    * 
* * .google.privacy.dlp.v2.DataProfileAction.EventType event = 2; + * * @return The event. */ com.google.privacy.dlp.v2.DataProfileAction.EventType getEvent(); diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java index 774125c2..db7248c2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevel.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; /** + * + * *
  * Score is a summary of all elements in the data profile.
  * A higher number means more risk.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.DataRiskLevel}
  */
-public final class DataRiskLevel extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataRiskLevel extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.DataRiskLevel)
     DataRiskLevelOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataRiskLevel.newBuilder() to construct.
   private DataRiskLevel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataRiskLevel() {
     score_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataRiskLevel();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DataRiskLevel(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DataRiskLevel(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            score_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              score_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,36 +92,41 @@ private DataRiskLevel(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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_DataRiskLevel_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.DataRiskLevel.class, com.google.privacy.dlp.v2.DataRiskLevel.Builder.class);
+            com.google.privacy.dlp.v2.DataRiskLevel.class,
+            com.google.privacy.dlp.v2.DataRiskLevel.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Various score levels for resources.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore} */ - public enum DataRiskLevelScore - implements com.google.protobuf.ProtocolMessageEnum { + public enum DataRiskLevelScore implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unused.
      * 
@@ -112,6 +135,8 @@ public enum DataRiskLevelScore */ RISK_SCORE_UNSPECIFIED(0), /** + * + * *
      * Low risk - Lower indication of sensitive data that appears to have
      * additional access restrictions in place or no indication of sensitive
@@ -122,6 +147,8 @@ public enum DataRiskLevelScore
      */
     RISK_LOW(10),
     /**
+     *
+     *
      * 
      * Medium risk - Sensitive data may be present but additional access or fine
      * grain access restrictions appear to be present.  Consider limiting
@@ -132,6 +159,8 @@ public enum DataRiskLevelScore
      */
     RISK_MODERATE(20),
     /**
+     *
+     *
      * 
      * High risk – SPII may be present. Access controls may include public
      * ACLs. Exfiltration of data may lead to user data loss. Re-identification
@@ -145,6 +174,8 @@ public enum DataRiskLevelScore
     ;
 
     /**
+     *
+     *
      * 
      * Unused.
      * 
@@ -153,6 +184,8 @@ public enum DataRiskLevelScore */ public static final int RISK_SCORE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Low risk - Lower indication of sensitive data that appears to have
      * additional access restrictions in place or no indication of sensitive
@@ -163,6 +196,8 @@ public enum DataRiskLevelScore
      */
     public static final int RISK_LOW_VALUE = 10;
     /**
+     *
+     *
      * 
      * Medium risk - Sensitive data may be present but additional access or fine
      * grain access restrictions appear to be present.  Consider limiting
@@ -173,6 +208,8 @@ public enum DataRiskLevelScore
      */
     public static final int RISK_MODERATE_VALUE = 20;
     /**
+     *
+     *
      * 
      * High risk – SPII may be present. Access controls may include public
      * ACLs. Exfiltration of data may lead to user data loss. Re-identification
@@ -183,7 +220,6 @@ public enum DataRiskLevelScore
      */
     public static final int RISK_HIGH_VALUE = 30;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -208,11 +244,16 @@ public static DataRiskLevelScore valueOf(int value) {
      */
     public static DataRiskLevelScore forNumber(int value) {
       switch (value) {
-        case 0: return RISK_SCORE_UNSPECIFIED;
-        case 10: return RISK_LOW;
-        case 20: return RISK_MODERATE;
-        case 30: return RISK_HIGH;
-        default: return null;
+        case 0:
+          return RISK_SCORE_UNSPECIFIED;
+        case 10:
+          return RISK_LOW;
+        case 20:
+          return RISK_MODERATE;
+        case 30:
+          return RISK_HIGH;
+        default:
+          return null;
       }
     }
 
@@ -220,28 +261,28 @@ public static DataRiskLevelScore forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DataRiskLevelScore> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DataRiskLevelScore findValueByNumber(int number) {
-              return DataRiskLevelScore.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 DataRiskLevelScore findValueByNumber(int number) {
+                return DataRiskLevelScore.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.DataRiskLevel.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -250,8 +291,7 @@ public DataRiskLevelScore findValueByNumber(int number) {
     public static DataRiskLevelScore 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;
@@ -271,31 +311,43 @@ private DataRiskLevelScore(int value) {
   public static final int SCORE_FIELD_NUMBER = 1;
   private int score_;
   /**
+   *
+   *
    * 
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; + * * @return The enum numeric value on the wire for score. */ - @java.lang.Override public int getScoreValue() { + @java.lang.Override + public int getScoreValue() { return score_; } /** + * + * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; + * * @return The score. */ - @java.lang.Override public com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore getScore() { + @java.lang.Override + public com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore getScore() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore result = com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.valueOf(score_); - return result == null ? com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore result = + com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.valueOf(score_); + return result == null + ? com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -307,9 +359,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (score_ != com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.RISK_SCORE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (score_ + != com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.RISK_SCORE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, score_); } unknownFields.writeTo(output); @@ -321,9 +374,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (score_ != com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.RISK_SCORE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, score_); + if (score_ + != com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.RISK_SCORE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, score_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -333,7 +387,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.DataRiskLevel)) { return super.equals(obj); @@ -359,97 +413,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom(java.io.InputStream input) 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.DataRiskLevel parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.DataRiskLevel parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.DataRiskLevel parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataRiskLevel parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.DataRiskLevel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.DataRiskLevel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Score is a summary of all elements in the data profile.
    * A higher number means more risk.
@@ -457,21 +518,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.DataRiskLevel}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.DataRiskLevel)
       com.google.privacy.dlp.v2.DataRiskLevelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.DataRiskLevel.class, com.google.privacy.dlp.v2.DataRiskLevel.Builder.class);
+              com.google.privacy.dlp.v2.DataRiskLevel.class,
+              com.google.privacy.dlp.v2.DataRiskLevel.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.DataRiskLevel.newBuilder()
@@ -479,16 +542,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -498,9 +560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor;
     }
 
     @java.lang.Override
@@ -519,7 +581,8 @@ public com.google.privacy.dlp.v2.DataRiskLevel build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.DataRiskLevel buildPartial() {
-      com.google.privacy.dlp.v2.DataRiskLevel result = new com.google.privacy.dlp.v2.DataRiskLevel(this);
+      com.google.privacy.dlp.v2.DataRiskLevel result =
+          new com.google.privacy.dlp.v2.DataRiskLevel(this);
       result.score_ = score_;
       onBuilt();
       return result;
@@ -529,38 +592,39 @@ public com.google.privacy.dlp.v2.DataRiskLevel buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.DataRiskLevel) {
-        return mergeFrom((com.google.privacy.dlp.v2.DataRiskLevel)other);
+        return mergeFrom((com.google.privacy.dlp.v2.DataRiskLevel) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -603,51 +667,67 @@ public Builder mergeFrom(
 
     private int score_ = 0;
     /**
+     *
+     *
      * 
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; + * * @return The enum numeric value on the wire for score. */ - @java.lang.Override public int getScoreValue() { + @java.lang.Override + public int getScoreValue() { return score_; } /** + * + * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; + * * @param value The enum numeric value on the wire for score to set. * @return This builder for chaining. */ public Builder setScoreValue(int value) { - + score_ = value; onChanged(); return this; } /** + * + * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; + * * @return The score. */ @java.lang.Override public com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore getScore() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore result = com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.valueOf(score_); - return result == null ? com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore result = + com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.valueOf(score_); + return result == null + ? com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore.UNRECOGNIZED + : result; } /** + * + * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; + * * @param value The score to set. * @return This builder for chaining. */ @@ -655,28 +735,31 @@ public Builder setScore(com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelSco if (value == null) { throw new NullPointerException(); } - + score_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; + * * @return This builder for chaining. */ public Builder clearScore() { - + score_ = 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); } @@ -686,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.DataRiskLevel) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DataRiskLevel) private static final com.google.privacy.dlp.v2.DataRiskLevel DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.DataRiskLevel(); } @@ -700,16 +783,16 @@ public static com.google.privacy.dlp.v2.DataRiskLevel getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataRiskLevel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DataRiskLevel(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataRiskLevel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DataRiskLevel(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -724,6 +807,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.DataRiskLevel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.java similarity index 53% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.java index 1c8fa554..b0631cc5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DataRiskLevelOrBuilder.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 DataRiskLevelOrBuilder extends +public interface DataRiskLevelOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DataRiskLevel) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; + * * @return The enum numeric value on the wire for score. */ int getScoreValue(); /** + * + * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore score = 1; + * * @return The score. */ com.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore getScore(); 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 cf4ff511..70ae9510 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,26 +68,28 @@ 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) { @@ -79,34 +97,39 @@ private DatastoreKey( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -114,11 +137,14 @@ public boolean hasEntityKey() { return entityKey_ != null; } /** + * + * *
    * Datastore entity key.
    * 
* * .google.privacy.dlp.v2.Key entity_key = 1; + * * @return The entityKey. */ @java.lang.Override @@ -126,6 +152,8 @@ public com.google.privacy.dlp.v2.Key getEntityKey() { return entityKey_ == null ? com.google.privacy.dlp.v2.Key.getDefaultInstance() : entityKey_; } /** + * + * *
    * Datastore entity key.
    * 
@@ -138,6 +166,7 @@ public com.google.privacy.dlp.v2.KeyOrBuilder getEntityKeyOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -164,8 +192,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; @@ -175,7 +202,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); @@ -184,8 +211,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; @@ -207,118 +233,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() @@ -326,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(); @@ -349,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_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 @@ -370,7 +404,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 { @@ -384,38 +419,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; @@ -458,24 +494,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() { @@ -486,6 +531,8 @@ public com.google.privacy.dlp.v2.Key getEntityKey() { } } /** + * + * *
      * Datastore entity key.
      * 
@@ -506,14 +553,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(); @@ -524,6 +572,8 @@ public Builder setEntityKey( return this; } /** + * + * *
      * Datastore entity key.
      * 
@@ -534,7 +584,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; } @@ -546,6 +596,8 @@ public Builder mergeEntityKey(com.google.privacy.dlp.v2.Key value) { return this; } /** + * + * *
      * Datastore entity key.
      * 
@@ -564,6 +616,8 @@ public Builder clearEntityKey() { return this; } /** + * + * *
      * Datastore entity key.
      * 
@@ -571,11 +625,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.
      * 
@@ -586,11 +642,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.
      * 
@@ -598,21 +655,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); } @@ -622,12 +682,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(); } @@ -636,16 +696,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; @@ -660,6 +720,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 70% 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 4ea4f17b..f8e48379 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,39 +68,45 @@ 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) { @@ -92,35 +114,40 @@ private DatastoreOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -128,19 +155,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.
@@ -156,11 +190,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 @@ -168,11 +205,14 @@ public boolean hasKind() { return kind_ != null; } /** + * + * *
    * The kind to process.
    * 
* * .google.privacy.dlp.v2.KindExpression kind = 2; + * * @return The kind. */ @java.lang.Override @@ -180,6 +220,8 @@ public com.google.privacy.dlp.v2.KindExpression getKind() { return kind_ == null ? com.google.privacy.dlp.v2.KindExpression.getDefaultInstance() : kind_; } /** + * + * *
    * The kind to process.
    * 
@@ -192,6 +234,7 @@ public com.google.privacy.dlp.v2.KindExpressionOrBuilder getKindOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +246,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (partitionId_ != null) { output.writeMessage(1, getPartitionId()); } @@ -221,12 +263,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; @@ -236,22 +276,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; @@ -277,118 +316,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() @@ -396,16 +444,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +472,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 @@ -446,7 +493,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 { @@ -465,38 +513,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; @@ -542,36 +591,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.
@@ -593,6 +655,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.
@@ -600,8 +664,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();
@@ -612,6 +675,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.
@@ -623,7 +688,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;
         }
@@ -635,6 +702,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.
@@ -654,6 +723,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.
@@ -662,11 +733,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.
@@ -678,11 +751,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.
@@ -691,14 +767,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_;
@@ -706,34 +785,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.
      * 
@@ -754,14 +846,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(); @@ -772,6 +865,8 @@ public Builder setKind( return this; } /** + * + * *
      * The kind to process.
      * 
@@ -782,7 +877,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; } @@ -794,6 +891,8 @@ public Builder mergeKind(com.google.privacy.dlp.v2.KindExpression value) { return this; } /** + * + * *
      * The kind to process.
      * 
@@ -812,6 +911,8 @@ public Builder clearKind() { return this; } /** + * + * *
      * The kind to process.
      * 
@@ -819,11 +920,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.
      * 
@@ -834,11 +937,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.
      * 
@@ -846,21 +952,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); } @@ -870,12 +979,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(); } @@ -884,16 +993,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; @@ -908,6 +1017,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 a24dce55..b90df960 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,50 +70,54 @@ 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) {
@@ -105,34 +125,39 @@ private DateShiftConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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;
     }
@@ -148,25 +173,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
@@ -175,6 +204,7 @@ public int getNumber() {
    * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The upperBoundDays. */ @java.lang.Override @@ -185,11 +215,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 @@ -200,6 +233,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
@@ -207,6 +242,7 @@ public int getLowerBoundDays() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return Whether the context field is set. */ @java.lang.Override @@ -214,6 +250,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
@@ -221,6 +259,7 @@ public boolean hasContext() {
    * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return The context. */ @java.lang.Override @@ -228,6 +267,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
@@ -243,6 +284,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
@@ -250,6 +293,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 @@ -257,6 +301,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
@@ -264,16 +310,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
@@ -285,12 +334,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;
@@ -302,8 +352,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -326,20 +375,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;
@@ -349,27 +396,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:
@@ -406,97 +450,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
@@ -505,21 +556,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()
@@ -527,16 +580,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();
@@ -556,9 +608,9 @@ public Builder 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
@@ -577,7 +629,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) {
@@ -601,38 +654,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;
@@ -651,13 +705,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();
@@ -687,12 +743,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() {
@@ -702,9 +758,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
@@ -713,6 +770,7 @@ public Builder clearMethod() {
      * 
* * int32 upper_bound_days = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The upperBoundDays. */ @java.lang.Override @@ -720,6 +778,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
@@ -728,16 +788,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
@@ -746,22 +809,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 @@ -769,30 +836,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; @@ -800,8 +873,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
@@ -809,12 +887,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
@@ -822,6 +903,7 @@ public boolean hasContext() {
      * 
* * .google.privacy.dlp.v2.FieldId context = 3; + * * @return The context. */ public com.google.privacy.dlp.v2.FieldId getContext() { @@ -832,6 +914,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
@@ -854,6 +938,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
@@ -862,8 +948,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();
@@ -874,6 +959,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
@@ -886,7 +973,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;
         }
@@ -898,6 +987,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
@@ -918,6 +1009,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
@@ -927,11 +1020,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
@@ -944,11 +1039,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
@@ -958,22 +1054,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
@@ -981,6 +1085,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 @@ -988,6 +1093,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
@@ -995,6 +1102,7 @@ public boolean hasCryptoKey() {
      * 
* * .google.privacy.dlp.v2.CryptoKey crypto_key = 4; + * * @return The cryptoKey. */ @java.lang.Override @@ -1012,6 +1120,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
@@ -1034,6 +1144,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
@@ -1042,8 +1154,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();
@@ -1054,6 +1165,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
@@ -1064,10 +1177,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;
         }
@@ -1083,6 +1199,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
@@ -1108,6 +1226,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
@@ -1120,6 +1240,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
@@ -1140,6 +1262,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
@@ -1149,26 +1273,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);
     }
 
@@ -1178,12 +1306,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();
   }
@@ -1192,16 +1320,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;
@@ -1216,6 +1344,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 672116d3..52ea42cc 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,58 +71,64 @@ 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) {
@@ -113,72 +136,79 @@ private DateTime(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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) @@ -197,18 +227,18 @@ 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) { @@ -216,35 +246,40 @@ private TimeZone( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -253,6 +288,7 @@ public int getOffsetMinutes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,8 +300,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -279,8 +314,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; @@ -290,15 +324,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; } @@ -317,88 +351,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 @@ -408,27 +448,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() @@ -436,16 +481,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(); @@ -455,9 +499,9 @@ public Builder 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 @@ -476,7 +520,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; @@ -486,38 +531,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; @@ -558,14 +606,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 @@ -573,36 +624,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) { @@ -615,12 +673,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(); } @@ -629,16 +687,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; @@ -653,18 +711,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 @@ -672,12 +732,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 @@ -685,6 +748,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.
@@ -700,25 +765,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; @@ -727,11 +800,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 @@ -739,11 +815,14 @@ public boolean hasTime() { return time_ != null; } /** + * + * *
    * Time of day
    * 
* * .google.type.TimeOfDay time = 3; + * * @return The time. */ @java.lang.Override @@ -751,6 +830,8 @@ public com.google.type.TimeOfDay getTime() { return time_ == null ? com.google.type.TimeOfDay.getDefaultInstance() : time_; } /** + * + * *
    * Time of day
    * 
@@ -765,11 +846,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 @@ -777,18 +861,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
    * 
@@ -801,6 +892,7 @@ public com.google.privacy.dlp.v2.DateTime.TimeZoneOrBuilder getTimeZoneOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -812,8 +904,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -836,20 +927,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; @@ -859,7 +946,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); @@ -868,19 +955,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; @@ -912,97 +996,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.
@@ -1010,21 +1100,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()
@@ -1032,16 +1124,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();
@@ -1069,9 +1160,9 @@ public Builder 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
@@ -1115,38 +1206,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;
@@ -1198,26 +1290,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() { @@ -1228,6 +1327,8 @@ public com.google.type.Date getDate() { } } /** + * + * *
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1249,6 +1350,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.
@@ -1256,8 +1359,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();
@@ -1268,6 +1370,8 @@ public Builder setDate(
       return this;
     }
     /**
+     *
+     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1278,8 +1382,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;
         }
@@ -1291,6 +1394,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.
@@ -1310,6 +1415,8 @@ public Builder clearDate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * One or more of the following must be set.
      * Must be a valid date or time value.
@@ -1318,11 +1425,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.
@@ -1334,11 +1443,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.
@@ -1347,14 +1457,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_;
@@ -1362,37 +1471,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 @@ -1402,11 +1521,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. */ @@ -1414,21 +1536,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; @@ -1436,24 +1561,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() { @@ -1464,6 +1598,8 @@ public com.google.type.TimeOfDay getTime() { } } /** + * + * *
      * Time of day
      * 
@@ -1484,14 +1620,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(); @@ -1502,6 +1639,8 @@ public Builder setTime( return this; } /** + * + * *
      * Time of day
      * 
@@ -1511,8 +1650,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; } @@ -1524,6 +1662,8 @@ public Builder mergeTime(com.google.type.TimeOfDay value) { return this; } /** + * + * *
      * Time of day
      * 
@@ -1542,6 +1682,8 @@ public Builder clearTime() { return this; } /** + * + * *
      * Time of day
      * 
@@ -1549,11 +1691,13 @@ public Builder clearTime() { * .google.type.TimeOfDay time = 3; */ public com.google.type.TimeOfDay.Builder getTimeBuilder() { - + onChanged(); return getTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time of day
      * 
@@ -1564,11 +1708,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
      * 
@@ -1576,14 +1721,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_; @@ -1591,34 +1738,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
      * 
@@ -1639,6 +1799,8 @@ public Builder setTimeZone(com.google.privacy.dlp.v2.DateTime.TimeZone value) { return this; } /** + * + * *
      * Time zone
      * 
@@ -1657,6 +1819,8 @@ public Builder setTimeZone( return this; } /** + * + * *
      * Time zone
      * 
@@ -1667,7 +1831,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; } @@ -1679,6 +1845,8 @@ public Builder mergeTimeZone(com.google.privacy.dlp.v2.DateTime.TimeZone value) return this; } /** + * + * *
      * Time zone
      * 
@@ -1697,6 +1865,8 @@ public Builder clearTimeZone() { return this; } /** + * + * *
      * Time zone
      * 
@@ -1704,11 +1874,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
      * 
@@ -1719,11 +1891,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
      * 
@@ -1731,21 +1906,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); } @@ -1755,12 +1933,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(); } @@ -1769,16 +1947,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; @@ -1793,6 +1971,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 71% 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 1592a12f..8af0b3ea 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,68 +68,86 @@ 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; - } - case 34: { - com.google.privacy.dlp.v2.ImageTransformations.Builder subBuilder = null; - if (transformationCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.ImageTransformations) transformation_).toBuilder(); + break; } - transformation_ = - input.readMessage(com.google.privacy.dlp.v2.ImageTransformations.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageTransformations) transformation_); - transformation_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.ImageTransformations.Builder subBuilder = null; + if (transformationCase_ == 4) { + subBuilder = + ((com.google.privacy.dlp.v2.ImageTransformations) transformation_).toBuilder(); + } + transformation_ = + input.readMessage( + com.google.privacy.dlp.v2.ImageTransformations.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.ImageTransformations) transformation_); + transformation_ = subBuilder.buildPartial(); + } + transformationCase_ = 4; + break; } - transformationCase_ = 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) { @@ -121,36 +155,41 @@ private DeidentifyConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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), IMAGE_TRANSFORMATIONS(4), TRANSFORMATION_NOT_SET(0); private final int value; + private TransformationCase(int value) { this.value = value; } @@ -166,32 +205,39 @@ 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 4: return IMAGE_TRANSFORMATIONS; - case 0: return TRANSFORMATION_NOT_SET; - default: return null; + case 1: + return INFO_TYPE_TRANSFORMATIONS; + case 2: + return RECORD_TRANSFORMATIONS; + case 4: + return IMAGE_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 @@ -199,22 +245,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.
@@ -223,15 +274,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
@@ -239,6 +293,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 @@ -246,6 +301,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
@@ -253,16 +310,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
@@ -272,20 +332,24 @@ 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();
   }
 
   public static final int IMAGE_TRANSFORMATIONS_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Treat the dataset as an image and redact.
    * 
* * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * * @return Whether the imageTransformations field is set. */ @java.lang.Override @@ -293,21 +357,26 @@ public boolean hasImageTransformations() { return transformationCase_ == 4; } /** + * + * *
    * Treat the dataset as an image and redact.
    * 
* * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * * @return The imageTransformations. */ @java.lang.Override public com.google.privacy.dlp.v2.ImageTransformations getImageTransformations() { if (transformationCase_ == 4) { - return (com.google.privacy.dlp.v2.ImageTransformations) transformation_; + return (com.google.privacy.dlp.v2.ImageTransformations) transformation_; } return com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance(); } /** + * + * *
    * Treat the dataset as an image and redact.
    * 
@@ -315,9 +384,10 @@ public com.google.privacy.dlp.v2.ImageTransformations getImageTransformations() * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformationsOrBuilder getImageTransformationsOrBuilder() { + public com.google.privacy.dlp.v2.ImageTransformationsOrBuilder + getImageTransformationsOrBuilder() { if (transformationCase_ == 4) { - return (com.google.privacy.dlp.v2.ImageTransformations) transformation_; + return (com.google.privacy.dlp.v2.ImageTransformations) transformation_; } return com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance(); } @@ -325,12 +395,16 @@ public com.google.privacy.dlp.v2.ImageTransformationsOrBuilder getImageTransform 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 @@ -338,32 +412,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; @@ -375,8 +460,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (transformationCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.InfoTypeTransformations) transformation_); } @@ -399,20 +483,24 @@ 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()); } if (transformationCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.privacy.dlp.v2.ImageTransformations) transformation_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.privacy.dlp.v2.ImageTransformations) transformation_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -422,31 +510,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.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 4: - if (!getImageTransformations() - .equals(other.getImageTransformations())) return false; + if (!getImageTransformations().equals(other.getImageTransformations())) return false; break; case 0: default: @@ -487,118 +573,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() @@ -606,16 +701,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(); @@ -631,9 +725,9 @@ public Builder 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 @@ -652,7 +746,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_; @@ -688,38 +783,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; @@ -732,21 +828,25 @@ 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 IMAGE_TRANSFORMATIONS: { - mergeImageTransformations(other.getImageTransformations()); - break; - } - case TRANSFORMATION_NOT_SET: { - break; - } + case INFO_TYPE_TRANSFORMATIONS: + { + mergeInfoTypeTransformations(other.getInfoTypeTransformations()); + break; + } + case RECORD_TRANSFORMATIONS: + { + mergeRecordTransformations(other.getRecordTransformations()); + break; + } + case IMAGE_TRANSFORMATIONS: + { + mergeImageTransformations(other.getImageTransformations()); + break; + } + case TRANSFORMATION_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -776,12 +876,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() { @@ -791,16 +891,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 @@ -808,12 +913,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 @@ -831,6 +939,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformati } } /** + * + * *
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -838,7 +948,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();
@@ -852,6 +963,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.
@@ -871,6 +984,8 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -878,12 +993,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;
         }
@@ -899,6 +1019,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.
@@ -923,6 +1045,8 @@ public Builder clearInfoTypeTransformations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -930,10 +1054,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.
@@ -942,7 +1069,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 {
@@ -953,6 +1081,8 @@ public com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTra
       }
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as free-form text and apply the same free text
      * transformation everywhere.
@@ -961,27 +1091,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
@@ -989,6 +1130,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 @@ -996,6 +1138,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
@@ -1003,6 +1147,7 @@ public boolean hasRecordTransformations() {
      * 
* * .google.privacy.dlp.v2.RecordTransformations record_transformations = 2; + * * @return The recordTransformations. */ @java.lang.Override @@ -1020,6 +1165,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
@@ -1042,6 +1189,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
@@ -1062,6 +1211,8 @@ public Builder setRecordTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1070,12 +1221,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;
         }
@@ -1091,6 +1247,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
@@ -1116,6 +1274,8 @@ public Builder clearRecordTransformations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the dataset as structured. Transformations can be applied to
      * specific locations within structured datasets, such as transforming
@@ -1124,10 +1284,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
@@ -1137,7 +1300,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 {
@@ -1148,6 +1312,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
@@ -1157,32 +1323,44 @@ 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.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.ImageTransformations, com.google.privacy.dlp.v2.ImageTransformations.Builder, com.google.privacy.dlp.v2.ImageTransformationsOrBuilder> imageTransformationsBuilder_;
+            com.google.privacy.dlp.v2.ImageTransformations,
+            com.google.privacy.dlp.v2.ImageTransformations.Builder,
+            com.google.privacy.dlp.v2.ImageTransformationsOrBuilder>
+        imageTransformationsBuilder_;
     /**
+     *
+     *
      * 
      * Treat the dataset as an image and redact.
      * 
* * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * * @return Whether the imageTransformations field is set. */ @java.lang.Override @@ -1190,11 +1368,14 @@ public boolean hasImageTransformations() { return transformationCase_ == 4; } /** + * + * *
      * Treat the dataset as an image and redact.
      * 
* * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * * @return The imageTransformations. */ @java.lang.Override @@ -1212,6 +1393,8 @@ public com.google.privacy.dlp.v2.ImageTransformations getImageTransformations() } } /** + * + * *
      * Treat the dataset as an image and redact.
      * 
@@ -1232,6 +1415,8 @@ public Builder setImageTransformations(com.google.privacy.dlp.v2.ImageTransforma return this; } /** + * + * *
      * Treat the dataset as an image and redact.
      * 
@@ -1250,6 +1435,8 @@ public Builder setImageTransformations( return this; } /** + * + * *
      * Treat the dataset as an image and redact.
      * 
@@ -1258,10 +1445,14 @@ public Builder setImageTransformations( */ public Builder mergeImageTransformations(com.google.privacy.dlp.v2.ImageTransformations value) { if (imageTransformationsBuilder_ == null) { - if (transformationCase_ == 4 && - transformation_ != com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance()) { - transformation_ = com.google.privacy.dlp.v2.ImageTransformations.newBuilder((com.google.privacy.dlp.v2.ImageTransformations) transformation_) - .mergeFrom(value).buildPartial(); + if (transformationCase_ == 4 + && transformation_ + != com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance()) { + transformation_ = + com.google.privacy.dlp.v2.ImageTransformations.newBuilder( + (com.google.privacy.dlp.v2.ImageTransformations) transformation_) + .mergeFrom(value) + .buildPartial(); } else { transformation_ = value; } @@ -1277,6 +1468,8 @@ public Builder mergeImageTransformations(com.google.privacy.dlp.v2.ImageTransfor return this; } /** + * + * *
      * Treat the dataset as an image and redact.
      * 
@@ -1300,6 +1493,8 @@ public Builder clearImageTransformations() { return this; } /** + * + * *
      * Treat the dataset as an image and redact.
      * 
@@ -1310,6 +1505,8 @@ public com.google.privacy.dlp.v2.ImageTransformations.Builder getImageTransforma return getImageTransformationsFieldBuilder().getBuilder(); } /** + * + * *
      * Treat the dataset as an image and redact.
      * 
@@ -1317,7 +1514,8 @@ public com.google.privacy.dlp.v2.ImageTransformations.Builder getImageTransforma * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformationsOrBuilder getImageTransformationsOrBuilder() { + public com.google.privacy.dlp.v2.ImageTransformationsOrBuilder + getImageTransformationsOrBuilder() { if ((transformationCase_ == 4) && (imageTransformationsBuilder_ != null)) { return imageTransformationsBuilder_.getMessageOrBuilder(); } else { @@ -1328,6 +1526,8 @@ public com.google.privacy.dlp.v2.ImageTransformationsOrBuilder getImageTransform } } /** + * + * *
      * Treat the dataset as an image and redact.
      * 
@@ -1335,64 +1535,87 @@ public com.google.privacy.dlp.v2.ImageTransformationsOrBuilder getImageTransform * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations, com.google.privacy.dlp.v2.ImageTransformations.Builder, com.google.privacy.dlp.v2.ImageTransformationsOrBuilder> + com.google.privacy.dlp.v2.ImageTransformations, + com.google.privacy.dlp.v2.ImageTransformations.Builder, + com.google.privacy.dlp.v2.ImageTransformationsOrBuilder> getImageTransformationsFieldBuilder() { if (imageTransformationsBuilder_ == null) { if (!(transformationCase_ == 4)) { transformation_ = com.google.privacy.dlp.v2.ImageTransformations.getDefaultInstance(); } - imageTransformationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations, com.google.privacy.dlp.v2.ImageTransformations.Builder, com.google.privacy.dlp.v2.ImageTransformationsOrBuilder>( + imageTransformationsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations, + com.google.privacy.dlp.v2.ImageTransformations.Builder, + com.google.privacy.dlp.v2.ImageTransformationsOrBuilder>( (com.google.privacy.dlp.v2.ImageTransformations) transformation_, getParentForChildren(), isClean()); transformation_ = null; } transformationCase_ = 4; - onChanged();; + onChanged(); + ; return imageTransformationsBuilder_; } 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(); @@ -1406,12 +1629,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) { @@ -1425,18 +1651,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; } @@ -1448,12 +1681,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) { @@ -1467,58 +1703,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); } @@ -1528,12 +1779,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(); } @@ -1542,16 +1793,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; @@ -1566,6 +1817,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 81% 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 fb6b263e..6822488a 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,24 +103,32 @@ public interface DeidentifyConfigOrBuilder extends
   com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransformationsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Treat the dataset as an image and redact.
    * 
* * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * * @return Whether the imageTransformations field is set. */ boolean hasImageTransformations(); /** + * + * *
    * Treat the dataset as an image and redact.
    * 
* * .google.privacy.dlp.v2.ImageTransformations image_transformations = 4; + * * @return The imageTransformations. */ com.google.privacy.dlp.v2.ImageTransformations getImageTransformations(); /** + * + * *
    * Treat the dataset as an image and redact.
    * 
@@ -98,34 +138,46 @@ public interface DeidentifyConfigOrBuilder extends com.google.privacy.dlp.v2.ImageTransformationsOrBuilder getImageTransformationsOrBuilder(); /** + * + * *
    * 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 6ba689fc..82658168 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 ContentItem.
  * 
* * 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,76 +73,89 @@ 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) { @@ -133,29 +163,33 @@ private DeidentifyContentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -172,6 +206,7 @@ private DeidentifyContentRequest(
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ @java.lang.Override @@ -180,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; } } /** + * + * *
    * Parent resource name.
    * The format of this value varies depending on whether you have [specified a
@@ -204,16 +240,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 { @@ -224,6 +259,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
@@ -231,6 +268,7 @@ public java.lang.String getParent() {
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 2; + * * @return Whether the deidentifyConfig field is set. */ @java.lang.Override @@ -238,6 +276,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
@@ -245,13 +285,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
@@ -268,6 +313,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
@@ -275,6 +322,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 @@ -282,6 +330,8 @@ public boolean hasInspectConfig() { return inspectConfig_ != null; } /** + * + * *
    * Configuration for the inspector.
    * Items specified here will override the template referenced by the
@@ -289,13 +339,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
@@ -312,11 +367,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 @@ -324,11 +382,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 @@ -336,6 +397,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.
    * 
@@ -350,6 +413,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
@@ -359,6 +424,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 5; + * * @return The inspectTemplateName. */ @java.lang.Override @@ -367,14 +433,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
@@ -384,16 +451,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 { @@ -404,6 +470,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
@@ -413,6 +481,7 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string deidentify_template_name = 6; + * * @return The deidentifyTemplateName. */ @java.lang.Override @@ -421,14 +490,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
@@ -438,16 +508,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 { @@ -458,11 +527,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 @@ -471,29 +543,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 { @@ -502,6 +574,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -513,8 +586,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -549,16 +621,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_); @@ -577,36 +646,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; } @@ -644,117 +707,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 ContentItem.
    * 
* * 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() @@ -762,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(); @@ -805,9 +876,9 @@ public Builder 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 @@ -826,7 +897,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_; @@ -854,38 +926,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; @@ -893,7 +966,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(); @@ -938,7 +1012,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) { @@ -950,6 +1025,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
@@ -966,13 +1043,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; @@ -981,6 +1058,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -997,15 +1076,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 { @@ -1013,6 +1091,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1029,20 +1109,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
@@ -1059,15 +1141,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
@@ -1084,16 +1169,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; @@ -1101,8 +1186,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
@@ -1110,12 +1200,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
@@ -1123,16 +1216,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
@@ -1155,6 +1253,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
@@ -1175,6 +1275,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
@@ -1187,7 +1289,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;
         }
@@ -1199,6 +1303,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
@@ -1219,6 +1325,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
@@ -1228,11 +1336,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
@@ -1245,11 +1355,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
@@ -1259,14 +1372,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_;
@@ -1274,8 +1390,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
@@ -1283,12 +1404,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
@@ -1296,16 +1420,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
@@ -1328,6 +1457,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
@@ -1348,6 +1479,8 @@ public Builder setInspectConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1360,7 +1493,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;
         }
@@ -1372,6 +1507,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
@@ -1392,6 +1529,8 @@ public Builder clearInspectConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector.
      * Items specified here will override the template referenced by the
@@ -1401,11 +1540,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
@@ -1418,11 +1559,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
@@ -1432,14 +1576,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_;
@@ -1447,24 +1594,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() { @@ -1475,6 +1631,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1495,14 +1653,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(); @@ -1513,6 +1672,8 @@ public Builder setItem( return this; } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1523,7 +1684,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; } @@ -1535,6 +1698,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1553,6 +1718,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The item to de-identify. Will be treated as text.
      * 
@@ -1560,11 +1727,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.
      * 
@@ -1575,11 +1744,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.
      * 
@@ -1587,14 +1757,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_; @@ -1602,6 +1775,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
@@ -1611,13 +1786,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; @@ -1626,6 +1801,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
@@ -1635,15 +1812,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 { @@ -1651,6 +1827,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
@@ -1660,20 +1838,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
@@ -1683,15 +1863,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
@@ -1701,16 +1884,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; @@ -1718,6 +1901,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
@@ -1727,13 +1912,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; @@ -1742,6 +1927,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
@@ -1751,15 +1938,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 { @@ -1767,6 +1953,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
@@ -1776,20 +1964,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
@@ -1799,15 +1989,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
@@ -1817,16 +2010,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; @@ -1834,18 +2027,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; @@ -1854,20 +2049,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 { @@ -1875,61 +2071,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); } @@ -1939,12 +2142,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(); } @@ -1953,16 +2156,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; @@ -1977,6 +2180,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 b4d2d918..43de2bb1 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,39 +68,45 @@ 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) { @@ -92,34 +114,39 @@ private DeidentifyContentResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -127,11 +154,14 @@ public boolean hasItem() { return item_ != null; } /** + * + * *
    * The de-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ @java.lang.Override @@ -139,6 +169,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** + * + * *
    * The de-identified item.
    * 
@@ -153,11 +185,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 @@ -165,18 +200,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`.
    * 
@@ -189,6 +231,7 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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 (item_ != null) { output.writeMessage(1, getItem()); } @@ -218,12 +260,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; @@ -233,22 +273,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; @@ -275,117 +314,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() @@ -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_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 @@ -443,7 +490,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 { @@ -462,38 +510,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; @@ -501,7 +550,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()); } @@ -527,7 +577,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) { @@ -539,24 +590,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() { @@ -567,6 +627,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The de-identified item.
      * 
@@ -587,14 +649,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(); @@ -605,6 +668,8 @@ public Builder setItem( return this; } /** + * + * *
      * The de-identified item.
      * 
@@ -615,7 +680,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 +694,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The de-identified item.
      * 
@@ -645,6 +714,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The de-identified item.
      * 
@@ -652,11 +723,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.
      * 
@@ -667,11 +740,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.
      * 
@@ -679,14 +753,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 +771,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`.
      * 
@@ -742,6 +832,8 @@ public Builder setOverview(com.google.privacy.dlp.v2.TransformationOverview valu return this; } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -760,6 +852,8 @@ public Builder setOverview( return this; } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -770,7 +864,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; } @@ -782,6 +878,8 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va return this; } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -800,6 +898,8 @@ public Builder clearOverview() { return this; } /** + * + * *
      * An overview of the changes that were made on the `item`.
      * 
@@ -807,11 +907,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`.
      * 
@@ -822,11 +924,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`.
      * 
@@ -834,21 +939,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); } @@ -858,12 +966,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(); } @@ -872,16 +980,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; @@ -896,6 +1004,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 5ac874fd..c9158db5 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,70 +73,80 @@ 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) {
@@ -127,29 +154,33 @@ private DeidentifyTemplate(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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:
@@ -158,6 +189,7 @@ private DeidentifyTemplate(
    * 
* * 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 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 @@ -382,18 +445,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.
    * 
@@ -406,6 +476,7 @@ public com.google.privacy.dlp.v2.DeidentifyConfigOrBuilder getDeidentifyConfigOr } 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 (deidentifyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDeidentifyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeidentifyConfig()); } 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.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; @@ -537,97 +599,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.
@@ -635,21 +704,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()
@@ -657,16 +728,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();
@@ -698,9 +768,9 @@ public Builder 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
@@ -719,7 +789,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_;
@@ -746,38 +817,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;
@@ -838,6 +910,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -846,13 +920,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; @@ -861,6 +935,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -869,15 +945,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 { @@ -885,6 +960,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -893,20 +970,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:
@@ -915,15 +994,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:
@@ -932,16 +1014,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; @@ -949,18 +1031,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; @@ -969,20 +1053,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 { @@ -990,54 +1075,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; @@ -1045,18 +1137,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; @@ -1065,20 +1159,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 { @@ -1086,54 +1181,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; @@ -1141,39 +1243,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) { @@ -1189,14 +1310,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(); @@ -1207,17 +1331,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; } @@ -1229,11 +1357,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) { @@ -1247,48 +1379,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_; @@ -1296,39 +1444,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) { @@ -1344,14 +1511,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(); @@ -1362,17 +1532,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; } @@ -1384,11 +1558,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) { @@ -1402,48 +1580,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_; @@ -1451,34 +1645,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.
      * 
@@ -1499,6 +1706,8 @@ public Builder setDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig va return this; } /** + * + * *
      * The core content of the template.
      * 
@@ -1517,6 +1726,8 @@ public Builder setDeidentifyConfig( return this; } /** + * + * *
      * The core content of the template.
      * 
@@ -1527,7 +1738,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; } @@ -1539,6 +1752,8 @@ public Builder mergeDeidentifyConfig(com.google.privacy.dlp.v2.DeidentifyConfig return this; } /** + * + * *
      * The core content of the template.
      * 
@@ -1557,6 +1772,8 @@ public Builder clearDeidentifyConfig() { return this; } /** + * + * *
      * The core content of the template.
      * 
@@ -1564,11 +1781,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.
      * 
@@ -1579,11 +1798,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.
      * 
@@ -1591,21 +1813,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); } @@ -1615,12 +1840,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(); } @@ -1629,16 +1854,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; @@ -1653,6 +1878,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 2962a16c..3117e094 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 c9dc1908..222dce21 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,19 +71,20 @@ 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) { @@ -73,36 +92,43 @@ private DeleteDeidentifyTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -111,31 +137,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 { @@ -144,6 +172,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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_); } @@ -180,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.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; } @@ -208,117 +236,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() @@ -326,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(); @@ -345,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_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 @@ -366,7 +403,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; @@ -376,38 +414,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; @@ -415,7 +454,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(); @@ -439,7 +479,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) { @@ -451,20 +492,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; @@ -473,22 +518,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 { @@ -496,67 +544,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); } @@ -566,12 +627,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(); } @@ -580,16 +641,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; @@ -604,6 +665,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 f67d450a..d9ea356b 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,19 +70,20 @@ 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) { @@ -73,34 +91,41 @@ private DeleteDlpJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -109,29 +134,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 { @@ -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.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; } @@ -203,118 +230,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() @@ -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_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 @@ -362,7 +397,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; @@ -372,38 +408,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; @@ -447,18 +484,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; @@ -467,20 +508,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 { @@ -488,61 +532,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); } @@ -552,12 +609,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(); } @@ -566,16 +623,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; @@ -590,6 +647,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 e6f1fa32..a4f3b71c 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,19 +70,20 @@ 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) { @@ -73,36 +91,43 @@ private DeleteInspectTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -111,31 +136,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 { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,15 +207,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; } @@ -208,117 +235,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() @@ -326,16 +363,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,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_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 @@ -366,7 +402,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; @@ -376,38 +413,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; @@ -415,7 +453,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(); @@ -439,7 +478,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) { @@ -451,20 +491,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; @@ -473,22 +517,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 { @@ -496,67 +543,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); } @@ -566,12 +626,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(); } @@ -580,16 +640,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; @@ -604,6 +664,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 a27627d7..952eb104 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,19 +70,20 @@ 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) { @@ -73,35 +91,42 @@ private DeleteJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -110,30 +135,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 { @@ -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.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; } @@ -206,117 +233,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() @@ -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_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 @@ -364,7 +399,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; @@ -374,38 +410,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; @@ -413,7 +450,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(); @@ -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.DeleteJobTriggerRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.DeleteJobTriggerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,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; @@ -470,21 +513,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 { @@ -492,64 +538,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); } @@ -559,12 +618,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(); } @@ -573,16 +632,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; @@ -597,6 +656,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 66% 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 1ae63f6f..5d744e43 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,19 +70,20 @@ 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) { @@ -73,36 +91,43 @@ private DeleteStoredInfoTypeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -111,31 +136,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 { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,15 +207,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; } @@ -208,117 +235,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() @@ -326,16 +363,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,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_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 @@ -366,7 +402,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; @@ -376,38 +413,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; @@ -415,7 +453,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(); @@ -439,7 +478,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) { @@ -451,20 +491,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; @@ -473,22 +517,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 { @@ -496,67 +543,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); } @@ -566,12 +626,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(); } @@ -580,16 +640,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; @@ -604,6 +664,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 06e845e8..b81c989c 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,113 +75,133 @@ 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) { @@ -172,8 +209,7 @@ private DlpJob( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -182,29 +218,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.
      * 
@@ -213,6 +254,8 @@ public enum JobState */ JOB_STATE_UNSPECIFIED(0), /** + * + * *
      * The job has not yet started.
      * 
@@ -221,6 +264,8 @@ public enum JobState */ PENDING(1), /** + * + * *
      * The job is currently running. Once a job has finished it will transition
      * to FAILED or DONE.
@@ -230,6 +275,8 @@ public enum JobState
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The job is no longer running.
      * 
@@ -238,6 +285,8 @@ public enum JobState */ DONE(3), /** + * + * *
      * The job was canceled before it could be completed.
      * 
@@ -246,6 +295,8 @@ public enum JobState */ CANCELED(4), /** + * + * *
      * The job had an error and did not complete.
      * 
@@ -254,6 +305,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
@@ -268,6 +321,8 @@ public enum JobState
     ;
 
     /**
+     *
+     *
      * 
      * Unused.
      * 
@@ -276,6 +331,8 @@ public enum JobState */ public static final int JOB_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job has not yet started.
      * 
@@ -284,6 +341,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.
@@ -293,6 +352,8 @@ public enum JobState
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The job is no longer running.
      * 
@@ -301,6 +362,8 @@ public enum JobState */ public static final int DONE_VALUE = 3; /** + * + * *
      * The job was canceled before it could be completed.
      * 
@@ -309,6 +372,8 @@ public enum JobState */ public static final int CANCELED_VALUE = 4; /** + * + * *
      * The job had an error and did not complete.
      * 
@@ -317,6 +382,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
@@ -328,7 +395,6 @@ public enum JobState
      */
     public static final int ACTIVE_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -353,53 +419,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;
@@ -418,13 +488,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;
     }
@@ -440,31 +513,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 @@ -473,29 +552,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 { @@ -506,64 +585,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 @@ -571,21 +671,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.
    * 
@@ -595,18 +700,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 @@ -614,21 +722,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.
    * 
@@ -638,7 +751,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(); } @@ -646,11 +759,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 @@ -658,11 +774,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 @@ -670,6 +789,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Time when the job was created.
    * 
@@ -684,11 +805,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 @@ -696,11 +820,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time when the job started.
    * 
* * .google.protobuf.Timestamp start_time = 7; + * * @return The startTime. */ @java.lang.Override @@ -708,6 +835,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Time when the job started.
    * 
@@ -722,11 +851,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 @@ -734,11 +866,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Time when the job finished.
    * 
* * .google.protobuf.Timestamp end_time = 8; + * * @return The endTime. */ @java.lang.Override @@ -746,6 +881,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Time when the job finished.
    * 
@@ -760,12 +897,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 @@ -774,30 +914,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 { @@ -808,6 +948,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.
    * 
@@ -819,6 +961,8 @@ public java.util.List getErrorsList() { return errors_; } /** + * + * *
    * A stream of errors encountered running the job.
    * 
@@ -826,11 +970,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.
    * 
@@ -842,6 +988,8 @@ public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * A stream of errors encountered running the job.
    * 
@@ -853,6 +1001,8 @@ public com.google.privacy.dlp.v2.Error getErrors(int index) { return errors_.get(index); } /** + * + * *
    * A stream of errors encountered running the job.
    * 
@@ -860,12 +1010,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; @@ -877,8 +1027,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -922,39 +1071,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; @@ -964,45 +1109,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: @@ -1059,118 +1196,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() @@ -1178,17 +1323,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(); @@ -1230,9 +1375,9 @@ public Builder 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 @@ -1304,38 +1449,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; @@ -1385,26 +1531,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(); @@ -1434,12 +1584,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() { @@ -1453,18 +1603,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; @@ -1473,20 +1625,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 { @@ -1494,54 +1647,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; @@ -1549,51 +1709,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. */ @@ -1601,21 +1775,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; @@ -1623,51 +1800,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. */ @@ -1675,34 +1866,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 @@ -1710,11 +1910,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 @@ -1732,6 +1935,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails() { } } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1752,6 +1957,8 @@ public Builder setRiskDetails(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDet return this; } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1770,6 +1977,8 @@ public Builder setRiskDetails( return this; } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1778,10 +1987,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; } @@ -1797,6 +2010,8 @@ public Builder mergeRiskDetails(com.google.privacy.dlp.v2.AnalyzeDataSourceRiskD return this; } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1820,6 +2035,8 @@ public Builder clearRiskDetails() { return this; } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1830,6 +2047,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.Builder getRiskDet return getRiskDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1837,7 +2056,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 { @@ -1848,6 +2068,8 @@ public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDe } } /** + * + * *
      * Results from analyzing risk of a data source.
      * 
@@ -1855,32 +2077,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 @@ -1888,11 +2122,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 @@ -1910,6 +2147,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails() { } } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -1930,6 +2169,8 @@ public Builder setInspectDetails(com.google.privacy.dlp.v2.InspectDataSourceDeta return this; } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -1948,6 +2189,8 @@ public Builder setInspectDetails( return this; } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -1956,10 +2199,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; } @@ -1975,6 +2222,8 @@ public Builder mergeInspectDetails(com.google.privacy.dlp.v2.InspectDataSourceDe return this; } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -1998,6 +2247,8 @@ public Builder clearInspectDetails() { return this; } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -2008,6 +2259,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.Builder getInspectDeta return getInspectDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -2015,7 +2268,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 { @@ -2026,6 +2280,8 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDet } } /** + * + * *
      * Results from inspecting a data source.
      * 
@@ -2033,54 +2289,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.
      * 
@@ -2101,14 +2376,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(); @@ -2119,6 +2395,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Time when the job was created.
      * 
@@ -2129,7 +2407,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; } @@ -2141,6 +2419,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the job was created.
      * 
@@ -2159,6 +2439,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Time when the job was created.
      * 
@@ -2166,11 +2448,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.
      * 
@@ -2181,11 +2465,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.
      * 
@@ -2193,14 +2480,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_; @@ -2208,24 +2498,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() { @@ -2236,6 +2535,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time when the job started.
      * 
@@ -2256,14 +2557,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(); @@ -2274,6 +2576,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time when the job started.
      * 
@@ -2284,7 +2588,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; } @@ -2296,6 +2600,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the job started.
      * 
@@ -2314,6 +2620,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time when the job started.
      * 
@@ -2321,11 +2629,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.
      * 
@@ -2336,11 +2646,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.
      * 
@@ -2348,14 +2659,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_; @@ -2363,24 +2677,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() { @@ -2391,6 +2714,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Time when the job finished.
      * 
@@ -2411,14 +2736,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(); @@ -2429,6 +2755,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * Time when the job finished.
      * 
@@ -2439,7 +2767,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; } @@ -2451,6 +2779,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the job finished.
      * 
@@ -2469,6 +2799,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Time when the job finished.
      * 
@@ -2476,11 +2808,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.
      * 
@@ -2491,11 +2825,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.
      * 
@@ -2503,14 +2838,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_; @@ -2518,19 +2856,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; @@ -2539,21 +2879,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 { @@ -2561,75 +2902,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.
      * 
@@ -2644,6 +2998,8 @@ public java.util.List getErrorsList() { } } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2658,6 +3014,8 @@ public int getErrorsCount() { } } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2672,14 +3030,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(); @@ -2693,14 +3052,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()); @@ -2711,6 +3071,8 @@ public Builder setErrors( return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2731,14 +3093,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(); @@ -2752,14 +3115,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()); @@ -2770,14 +3134,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()); @@ -2788,6 +3153,8 @@ public Builder addErrors( return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2798,8 +3165,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); @@ -2807,6 +3173,8 @@ public Builder addAllErrors( return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2824,6 +3192,8 @@ public Builder clearErrors() { return this; } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2841,39 +3211,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 { @@ -2881,6 +3256,8 @@ public com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder( } } /** + * + * *
      * A stream of errors encountered running the job.
      * 
@@ -2888,49 +3265,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); } @@ -2940,12 +3322,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(); } @@ -2954,16 +3336,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; @@ -2978,6 +3360,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 6c012a85..cc26c0f4 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(8); } 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..558ceb74 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpProto.java @@ -0,0 +1,4075 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under 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_InfoTypeCategory_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_VersionDescription_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_VersionDescription_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_ImageTransformations_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_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_TransformationDescription_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_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_Deidentify_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_Action_Deidentify_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_TransformationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TransformationConfig_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_DataProfileAction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileLocation_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; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_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\"\212\002\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\022;\n\010versions\030\t \003(\0132).google.privacy.d" + + "lp.v2.VersionDescription\022;\n\ncategories\030\n" + + " \003(\0132\'.google.privacy.dlp.v2.InfoTypeCat" + + "egory\"\330\010\n\020InfoTypeCategory\022U\n\021location_c" + + "ategory\030\001 \001(\01628.google.privacy.dlp.v2.In" + + "foTypeCategory.LocationCategoryH\000\022U\n\021ind" + + "ustry_category\030\002 \001(\01628.google.privacy.dl" + + "p.v2.InfoTypeCategory.IndustryCategoryH\000" + + "\022M\n\rtype_category\030\003 \001(\01624.google.privacy" + + ".dlp.v2.InfoTypeCategory.TypeCategoryH\000\"" + + "\303\004\n\020LocationCategory\022\030\n\024LOCATION_UNSPECI" + + "FIED\020\000\022\n\n\006GLOBAL\020\001\022\r\n\tARGENTINA\020\002\022\r\n\tAUS" + + "TRALIA\020\003\022\013\n\007BELGIUM\020\004\022\n\n\006BRAZIL\020\005\022\n\n\006CAN" + + "ADA\020\006\022\t\n\005CHILE\020\007\022\t\n\005CHINA\020\010\022\014\n\010COLOMBIA\020" + + "\t\022\013\n\007DENMARK\020\n\022\n\n\006FRANCE\020\013\022\013\n\007FINLAND\020\014\022" + + "\013\n\007GERMANY\020\r\022\r\n\tHONG_KONG\020\016\022\t\n\005INDIA\020\017\022\r" + + "\n\tINDONESIA\020\020\022\013\n\007IRELAND\020\021\022\n\n\006ISRAEL\020\022\022\t" + + "\n\005ITALY\020\023\022\t\n\005JAPAN\020\024\022\t\n\005KOREA\020\025\022\n\n\006MEXIC" + + "O\020\026\022\023\n\017THE_NETHERLANDS\020\027\022\n\n\006NORWAY\020\030\022\014\n\010" + + "PARAGUAY\020\031\022\010\n\004PERU\020\032\022\n\n\006POLAND\020\033\022\014\n\010PORT" + + "UGAL\020\034\022\r\n\tSINGAPORE\020\035\022\020\n\014SOUTH_AFRICA\020\036\022" + + "\t\n\005SPAIN\020\037\022\n\n\006SWEDEN\020 \022\n\n\006TAIWAN\020!\022\014\n\010TH" + + "AILAND\020\"\022\n\n\006TURKEY\020#\022\022\n\016UNITED_KINGDOM\020$" + + "\022\021\n\rUNITED_STATES\020%\022\013\n\007URUGUAY\020&\022\r\n\tVENE" + + "ZUELA\020\'\022\014\n\010INTERNAL\020(\"]\n\020IndustryCategor" + + "y\022\030\n\024INDUSTRY_UNSPECIFIED\020\000\022\013\n\007FINANCE\020\001" + + "\022\n\n\006HEALTH\020\002\022\026\n\022TELECOMMUNICATIONS\020\003\"\225\001\n" + + "\014TypeCategory\022\024\n\020TYPE_UNSPECIFIED\020\000\022\007\n\003P" + + "II\020\001\022\010\n\004SPII\020\002\022\017\n\013DEMOGRAPHIC\020\003\022\016\n\nCREDE" + + "NTIAL\020\004\022\021\n\rGOVERNMENT_ID\020\005\022\014\n\010DOCUMENT\020\006" + + "\022\032\n\026CONTEXTUAL_INFORMATION\020\007B\n\n\010category" + + "\":\n\022VersionDescription\022\017\n\007version\030\001 \001(\t\022" + + "\023\n\013description\030\002 \001(\t\"b\n\024ListInfoTypesReq" + + "uest\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\025ListInfoTypesResponse\022>\n\ninfo_types\030" + + "\001 \003(\0132*.google.privacy.dlp.v2.InfoTypeDe" + + "scription\"\301\001\n\025RiskAnalysisJobConfig\022<\n\016p" + + "rivacy_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.A" + + "ction\"\274\001\n\007QuasiId\0222\n\005field\030\001 \001(\0132\036.googl" + + "e.privacy.dlp.v2.FieldIdB\003\340A\002\0224\n\tinfo_ty" + + "pe\030\002 \001(\0132\037.google.privacy.dlp.v2.InfoTyp" + + "eH\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\005table\030\003 \001(\0132$.googl" + + "e.privacy.dlp.v2.BigQueryTableB\003\340A\002\022T\n\tq" + + "uasi_ids\030\001 \003(\0132<.google.privacy.dlp.v2.S" + + "tatisticalTable.QuasiIdentifierFieldB\003\340A" + + "\002\022?\n\022relative_frequency\030\002 \001(\0132\036.google.p" + + "rivacy.dlp.v2.FieldIdB\003\340A\002\032Y\n\024QuasiIdent" + + "ifierField\022-\n\005field\030\001 \001(\0132\036.google.priva" + + "cy.dlp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\"\223\017" + + "\n\rPrivacyMetric\022[\n\026numerical_stats_confi" + + "g\030\001 \001(\01329.google.privacy.dlp.v2.PrivacyM" + + "etric.NumericalStatsConfigH\000\022_\n\030categori" + + "cal_stats_config\030\002 \001(\0132;.google.privacy." + + "dlp.v2.PrivacyMetric.CategoricalStatsCon" + + "figH\000\022S\n\022k_anonymity_config\030\003 \001(\01325.goog" + + "le.privacy.dlp.v2.PrivacyMetric.KAnonymi" + + "tyConfigH\000\022S\n\022l_diversity_config\030\004 \001(\01325" + + ".google.privacy.dlp.v2.PrivacyMetric.LDi" + + "versityConfigH\000\022\\\n\027k_map_estimation_conf" + + "ig\030\005 \001(\01329.google.privacy.dlp.v2.Privacy" + + "Metric.KMapEstimationConfigH\000\022n\n delta_p" + + "resence_estimation_config\030\006 \001(\0132B.google" + + ".privacy.dlp.v2.PrivacyMetric.DeltaPrese" + + "nceEstimationConfigH\000\032E\n\024NumericalStatsC" + + "onfig\022-\n\005field\030\001 \001(\0132\036.google.privacy.dl" + + "p.v2.FieldId\032G\n\026CategoricalStatsConfig\022-" + + "\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fi" + + "eldId\032y\n\020KAnonymityConfig\0221\n\tquasi_ids\030\001" + + " \003(\0132\036.google.privacy.dlp.v2.FieldId\0222\n\t" + + "entity_id\030\002 \001(\0132\037.google.privacy.dlp.v2." + + "EntityId\032\202\001\n\020LDiversityConfig\0221\n\tquasi_i" + + "ds\030\001 \003(\0132\036.google.privacy.dlp.v2.FieldId" + + "\022;\n\023sensitive_attribute\030\002 \001(\0132\036.google.p" + + "rivacy.dlp.v2.FieldId\032\201\006\n\024KMapEstimation" + + "Config\022]\n\tquasi_ids\030\001 \003(\0132E.google.priva" + + "cy.dlp.v2.PrivacyMetric.KMapEstimationCo" + + "nfig.TaggedFieldB\003\340A\002\022\023\n\013region_code\030\002 \001" + + "(\t\022b\n\020auxiliary_tables\030\003 \003(\0132H.google.pr" + + "ivacy.dlp.v2.PrivacyMetric.KMapEstimatio" + + "nConfig.AuxiliaryTable\032\300\001\n\013TaggedField\0222" + + "\n\005field\030\001 \001(\0132\036.google.privacy.dlp.v2.Fi" + + "eldIdB\003\340A\002\0224\n\tinfo_type\030\002 \001(\0132\037.google.p" + + "rivacy.dlp.v2.InfoTypeH\000\022\024\n\ncustom_tag\030\003" + + " \001(\tH\000\022*\n\010inferred\030\004 \001(\0132\026.google.protob" + + "uf.EmptyH\000B\005\n\003tag\032\315\002\n\016AuxiliaryTable\0228\n\005" + + "table\030\003 \001(\0132$.google.privacy.dlp.v2.BigQ" + + "ueryTableB\003\340A\002\022m\n\tquasi_ids\030\001 \003(\0132U.goog" + + "le.privacy.dlp.v2.PrivacyMetric.KMapEsti" + + "mationConfig.AuxiliaryTable.QuasiIdField" + + "B\003\340A\002\022?\n\022relative_frequency\030\002 \001(\0132\036.goog" + + "le.privacy.dlp.v2.FieldIdB\003\340A\002\032Q\n\014QuasiI" + + "dField\022-\n\005field\030\001 \001(\0132\036.google.privacy.d" + + "lp.v2.FieldId\022\022\n\ncustom_tag\030\002 \001(\t\032\257\001\n\035De" + + "ltaPresenceEstimationConfig\0226\n\tquasi_ids" + + "\030\001 \003(\0132\036.google.privacy.dlp.v2.QuasiIdB\003" + + "\340A\002\022\023\n\013region_code\030\002 \001(\t\022A\n\020auxiliary_ta" + + "bles\030\003 \003(\0132\'.google.privacy.dlp.v2.Stati" + + "sticalTableB\006\n\004type\"\301\037\n\034AnalyzeDataSourc" + + "eRiskDetails\022F\n\030requested_privacy_metric" + + "\030\001 \001(\0132$.google.privacy.dlp.v2.PrivacyMe" + + "tric\022D\n\026requested_source_table\030\002 \001(\0132$.g" + + "oogle.privacy.dlp.v2.BigQueryTable\022j\n\026nu" + + "merical_stats_result\030\003 \001(\0132H.google.priv" + + "acy.dlp.v2.AnalyzeDataSourceRiskDetails." + + "NumericalStatsResultH\000\022n\n\030categorical_st" + + "ats_result\030\004 \001(\0132J.google.privacy.dlp.v2" + + ".AnalyzeDataSourceRiskDetails.Categorica" + + "lStatsResultH\000\022b\n\022k_anonymity_result\030\005 \001" + + "(\0132D.google.privacy.dlp.v2.AnalyzeDataSo" + + "urceRiskDetails.KAnonymityResultH\000\022b\n\022l_" + + "diversity_result\030\006 \001(\0132D.google.privacy." + + "dlp.v2.AnalyzeDataSourceRiskDetails.LDiv" + + "ersityResultH\000\022k\n\027k_map_estimation_resul" + + "t\030\007 \001(\0132H.google.privacy.dlp.v2.AnalyzeD" + + "ataSourceRiskDetails.KMapEstimationResul" + + "tH\000\022}\n delta_presence_estimation_result\030" + + "\t \001(\0132Q.google.privacy.dlp.v2.AnalyzeDat" + + "aSourceRiskDetails.DeltaPresenceEstimati" + + "onResultH\000\022k\n\021requested_options\030\n \001(\0132P." + + "google.privacy.dlp.v2.AnalyzeDataSourceR" + + "iskDetails.RequestedRiskAnalysisOptions\032" + + "\257\001\n\024NumericalStatsResult\022/\n\tmin_value\030\001 " + + "\001(\0132\034.google.privacy.dlp.v2.Value\022/\n\tmax" + + "_value\030\002 \001(\0132\034.google.privacy.dlp.v2.Val" + + "ue\0225\n\017quantile_values\030\004 \003(\0132\034.google.pri" + + "vacy.dlp.v2.Value\032\215\003\n\026CategoricalStatsRe" + + "sult\022\225\001\n!value_frequency_histogram_bucke" + + "ts\030\005 \003(\0132j.google.privacy.dlp.v2.Analyze" + + "DataSourceRiskDetails.CategoricalStatsRe" + + "sult.CategoricalStatsHistogramBucket\032\332\001\n" + + "\037CategoricalStatsHistogramBucket\022#\n\033valu" + + "e_frequency_lower_bound\030\001 \001(\003\022#\n\033value_f" + + "requency_upper_bound\030\002 \001(\003\022\023\n\013bucket_siz" + + "e\030\003 \001(\003\022<\n\rbucket_values\030\004 \003(\0132%.google." + + "privacy.dlp.v2.ValueFrequency\022\032\n\022bucket_" + + "value_count\030\005 \001(\003\032\265\004\n\020KAnonymityResult\022\213" + + "\001\n#equivalence_class_histogram_buckets\030\005" + + " \003(\0132^.google.privacy.dlp.v2.AnalyzeData" + + "SourceRiskDetails.KAnonymityResult.KAnon" + + "ymityHistogramBucket\032t\n\032KAnonymityEquiva" + + "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\032\234\002\n\031KAnonymityHistogr" + + "amBucket\022*\n\"equivalence_class_size_lower" + + "_bound\030\001 \001(\003\022*\n\"equivalence_class_size_u" + + "pper_bound\030\002 \001(\003\022\023\n\013bucket_size\030\003 \001(\003\022v\n" + + "\rbucket_values\030\004 \003(\0132_.google.privacy.dl" + + "p.v2.AnalyzeDataSourceRiskDetails.KAnony" + + "mityResult.KAnonymityEquivalenceClass\022\032\n" + + "\022bucket_value_count\030\005 \001(\003\032\260\005\n\020LDiversity" + + "Result\022\223\001\n+sensitive_value_frequency_his" + + "togram_buckets\030\005 \003(\0132^.google.privacy.dl" + + "p.v2.AnalyzeDataSourceRiskDetails.LDiver" + + "sityResult.LDiversityHistogramBucket\032\340\001\n" + + "\032LDiversityEquivalenceClass\0226\n\020quasi_ids" + + "_values\030\001 \003(\0132\034.google.privacy.dlp.v2.Va" + + "lue\022\036\n\026equivalence_class_size\030\002 \001(\003\022%\n\035n" + + "um_distinct_sensitive_values\030\003 \001(\003\022C\n\024to" + + "p_sensitive_values\030\004 \003(\0132%.google.privac" + + "y.dlp.v2.ValueFrequency\032\242\002\n\031LDiversityHi" + + "stogramBucket\022-\n%sensitive_value_frequen" + + "cy_lower_bound\030\001 \001(\003\022-\n%sensitive_value_" + + "frequency_upper_bound\030\002 \001(\003\022\023\n\013bucket_si" + + "ze\030\003 \001(\003\022v\n\rbucket_values\030\004 \003(\0132_.google" + + ".privacy.dlp.v2.AnalyzeDataSourceRiskDet" + + "ails.LDiversityResult.LDiversityEquivale" + + "nceClass\022\032\n\022bucket_value_count\030\005 \001(\003\032\225\004\n" + + "\024KMapEstimationResult\022\212\001\n\032k_map_estimati" + + "on_histogram\030\001 \003(\0132f.google.privacy.dlp." + + "v2.AnalyzeDataSourceRiskDetails.KMapEsti" + + "mationResult.KMapEstimationHistogramBuck" + + "et\032r\n\033KMapEstimationQuasiIdValues\0226\n\020qua" + + "si_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\035KMapEstimationHistogramBucket\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.dlp.v2.AnalyzeDataSo" + + "urceRiskDetails.KMapEstimationResult.KMa" + + "pEstimationQuasiIdValues\022\032\n\022bucket_value" + + "_count\030\007 \001(\003\032\344\004\n\035DeltaPresenceEstimation" + + "Result\022\245\001\n#delta_presence_estimation_his" + + "togram\030\001 \003(\0132x.google.privacy.dlp.v2.Ana" + + "lyzeDataSourceRiskDetails.DeltaPresenceE" + + "stimationResult.DeltaPresenceEstimationH" + + "istogramBucket\032}\n$DeltaPresenceEstimatio" + + "nQuasiIdValues\0226\n\020quasi_ids_values\030\001 \003(\013" + + "2\034.google.privacy.dlp.v2.Value\022\035\n\025estima" + + "ted_probability\030\002 \001(\001\032\233\002\n&DeltaPresenceE" + + "stimationHistogramBucket\022\027\n\017min_probabil" + + "ity\030\001 \001(\001\022\027\n\017max_probability\030\002 \001(\001\022\023\n\013bu" + + "cket_size\030\005 \001(\003\022\215\001\n\rbucket_values\030\006 \003(\0132" + + "v.google.privacy.dlp.v2.AnalyzeDataSourc" + + "eRiskDetails.DeltaPresenceEstimationResu" + + "lt.DeltaPresenceEstimationQuasiIdValues\022", + "\032\n\022bucket_value_count\030\007 \001(\003\032`\n\034Requested" + + "RiskAnalysisOptions\022@\n\njob_config\030\001 \001(\0132" + + ",.google.privacy.dlp.v2.RiskAnalysisJobC" + + "onfigB\010\n\006result\"L\n\016ValueFrequency\022+\n\005val" + + "ue\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\014strin" + + "g_value\030\003 \001(\tH\000\022\027\n\rboolean_value\030\004 \001(\010H\000" + + "\0225\n\017timestamp_value\030\005 \001(\0132\032.google.proto" + + "buf.TimestampH\000\022,\n\ntime_value\030\006 \001(\0132\026.go" + + "ogle.type.TimeOfDayH\000\022\'\n\ndate_value\030\007 \001(" + + "\0132\021.google.type.DateH\000\0223\n\021day_of_week_va" + + "lue\030\010 \001(\0162\026.google.type.DayOfWeekH\000B\006\n\004t" + + "ype\"Q\n\tQuoteInfo\0224\n\tdate_time\030\002 \001(\0132\037.go" + + "ogle.privacy.dlp.v2.DateTimeH\000B\016\n\014parsed" + + "_quote\"\337\001\n\010DateTime\022\037\n\004date\030\001 \001(\0132\021.goog" + + "le.type.Date\022+\n\013day_of_week\030\002 \001(\0162\026.goog" + + "le.type.DayOfWeek\022$\n\004time\030\003 \001(\0132\026.google" + + ".type.TimeOfDay\022;\n\ttime_zone\030\004 \001(\0132(.goo" + + "gle.privacy.dlp.v2.DateTime.TimeZone\032\"\n\010" + + "TimeZone\022\026\n\016offset_minutes\030\001 \001(\005\"\362\002\n\020Dei" + + "dentifyConfig\022S\n\031info_type_transformatio" + + "ns\030\001 \001(\0132..google.privacy.dlp.v2.InfoTyp" + + "eTransformationsH\000\022N\n\026record_transformat" + + "ions\030\002 \001(\0132,.google.privacy.dlp.v2.Recor" + + "dTransformationsH\000\022L\n\025image_transformati" + + "ons\030\004 \001(\0132+.google.privacy.dlp.v2.ImageT" + + "ransformationsH\000\022Y\n\035transformation_error" + + "_handling\030\003 \001(\01322.google.privacy.dlp.v2." + + "TransformationErrorHandlingB\020\n\016transform" + + "ation\"\345\004\n\024ImageTransformations\022S\n\ntransf" + + "orms\030\002 \003(\0132?.google.privacy.dlp.v2.Image" + + "Transformations.ImageTransformation\032\367\003\n\023" + + "ImageTransformation\022p\n\023selected_info_typ" + + "es\030\004 \001(\0132Q.google.privacy.dlp.v2.ImageTr" + + "ansformations.ImageTransformation.Select" + + "edInfoTypesH\000\022f\n\016all_info_types\030\005 \001(\0132L." + + "google.privacy.dlp.v2.ImageTransformatio" + + "ns.ImageTransformation.AllInfoTypesH\000\022[\n" + + "\010all_text\030\006 \001(\0132G.google.privacy.dlp.v2." + + "ImageTransformations.ImageTransformation" + + ".AllTextH\000\0225\n\017redaction_color\030\003 \001(\0132\034.go" + + "ogle.privacy.dlp.v2.Color\032M\n\021SelectedInf" + + "oTypes\0228\n\ninfo_types\030\005 \003(\0132\037.google.priv" + + "acy.dlp.v2.InfoTypeB\003\340A\002\032\016\n\014AllInfoTypes" + + "\032\t\n\007AllTextB\010\n\006target\"\205\002\n\033Transformation" + + "ErrorHandling\022T\n\013throw_error\030\001 \001(\0132=.goo" + + "gle.privacy.dlp.v2.TransformationErrorHa" + + "ndling.ThrowErrorH\000\022d\n\023leave_untransform" + + "ed\030\002 \001(\0132E.google.privacy.dlp.v2.Transfo" + + "rmationErrorHandling.LeaveUntransformedH" + + "\000\032\014\n\nThrowError\032\024\n\022LeaveUntransformedB\006\n" + + "\004mode\"\312\007\n\027PrimitiveTransformation\022C\n\016rep" + + "lace_config\030\001 \001(\0132).google.privacy.dlp.v" + + "2.ReplaceValueConfigH\000\022<\n\rredact_config\030" + + "\002 \001(\0132#.google.privacy.dlp.v2.RedactConf" + + "igH\000\022K\n\025character_mask_config\030\003 \001(\0132*.go" + + "ogle.privacy.dlp.v2.CharacterMaskConfigH" + + "\000\022Y\n\035crypto_replace_ffx_fpe_config\030\004 \001(\013" + + "20.google.privacy.dlp.v2.CryptoReplaceFf" + + "xFpeConfigH\000\022V\n\033fixed_size_bucketing_con" + + "fig\030\005 \001(\0132/.google.privacy.dlp.v2.FixedS" + + "izeBucketingConfigH\000\022B\n\020bucketing_config" + + "\030\006 \001(\0132&.google.privacy.dlp.v2.Bucketing" + + "ConfigH\000\022Y\n\035replace_with_info_type_confi" + + "g\030\007 \001(\01320.google.privacy.dlp.v2.ReplaceW" + + "ithInfoTypeConfigH\000\022A\n\020time_part_config\030" + + "\010 \001(\0132%.google.privacy.dlp.v2.TimePartCo" + + "nfigH\000\022E\n\022crypto_hash_config\030\t \001(\0132\'.goo" + + "gle.privacy.dlp.v2.CryptoHashConfigH\000\022C\n" + + "\021date_shift_config\030\013 \001(\0132&.google.privac" + + "y.dlp.v2.DateShiftConfigH\000\022W\n\033crypto_det" + + "erministic_config\030\014 \001(\01320.google.privacy" + + ".dlp.v2.CryptoDeterministicConfigH\000\022S\n\031r" + + "eplace_dictionary_config\030\r \001(\0132..google." + + "privacy.dlp.v2.ReplaceDictionaryConfigH\000" + + "B\020\n\016transformation\"\334\001\n\016TimePartConfig\022G\n" + + "\017part_to_extract\030\001 \001(\0162..google.privacy." + + "dlp.v2.TimePartConfig.TimePart\"\200\001\n\010TimeP" + + "art\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\013HOUR_OF_DAY\020" + + "\006\"H\n\020CryptoHashConfig\0224\n\ncrypto_key\030\001 \001(" + + "\0132 .google.privacy.dlp.v2.CryptoKey\"\300\001\n\031" + + "CryptoDeterministicConfig\0224\n\ncrypto_key\030" + + "\001 \001(\0132 .google.privacy.dlp.v2.CryptoKey\022" + + "<\n\023surrogate_info_type\030\002 \001(\0132\037.google.pr" + + "ivacy.dlp.v2.InfoType\022/\n\007context\030\003 \001(\0132\036" + + ".google.privacy.dlp.v2.FieldId\"E\n\022Replac" + + "eValueConfig\022/\n\tnew_value\030\001 \001(\0132\034.google" + + ".privacy.dlp.v2.Value\"q\n\027ReplaceDictiona" + + "ryConfig\022N\n\tword_list\030\001 \001(\01329.google.pri" + + "vacy.dlp.v2.CustomInfoType.Dictionary.Wo" + + "rdListH\000B\006\n\004type\"\033\n\031ReplaceWithInfoTypeC" + + "onfig\"\016\n\014RedactConfig\"\266\002\n\rCharsToIgnore\022" + + "\034\n\022characters_to_skip\030\001 \001(\tH\000\022_\n\033common_" + + "characters_to_ignore\030\002 \001(\01628.google.priv" + + "acy.dlp.v2.CharsToIgnore.CommonCharsToIg" + + "noreH\000\"\227\001\n\023CommonCharsToIgnore\022&\n\"COMMON" + + "_CHARS_TO_IGNORE_UNSPECIFIED\020\000\022\013\n\007NUMERI" + + "C\020\001\022\024\n\020ALPHA_UPPER_CASE\020\002\022\024\n\020ALPHA_LOWER" + + "_CASE\020\003\022\017\n\013PUNCTUATION\020\004\022\016\n\nWHITESPACE\020\005" + + "B\014\n\ncharacters\"\243\001\n\023CharacterMaskConfig\022\031" + + "\n\021masking_character\030\001 \001(\t\022\026\n\016number_to_m" + + "ask\030\002 \001(\005\022\025\n\rreverse_order\030\003 \001(\010\022B\n\024char" + + "acters_to_ignore\030\004 \003(\0132$.google.privacy." + + "dlp.v2.CharsToIgnore\"\244\001\n\030FixedSizeBucket" + + "ingConfig\0226\n\013lower_bound\030\001 \001(\0132\034.google." + + "privacy.dlp.v2.ValueB\003\340A\002\0226\n\013upper_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\017Bucketin" + + "gConfig\022>\n\007buckets\030\001 \003(\0132-.google.privac" + + "y.dlp.v2.BucketingConfig.Bucket\032\234\001\n\006Buck" + + "et\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.go" + + "ogle.privacy.dlp.v2.ValueB\003\340A\002\"\371\003\n\031Crypt" + + "oReplaceFfxFpeConfig\0229\n\ncrypto_key\030\001 \001(\013" + + "2 .google.privacy.dlp.v2.CryptoKeyB\003\340A\002\022" + + "/\n\007context\030\002 \001(\0132\036.google.privacy.dlp.v2" + + ".FieldId\022c\n\017common_alphabet\030\004 \001(\0162H.goog" + + "le.privacy.dlp.v2.CryptoReplaceFfxFpeCon" + + "fig.FfxCommonNativeAlphabetH\000\022\031\n\017custom_" + + "alphabet\030\005 \001(\tH\000\022\017\n\005radix\030\006 \001(\005H\000\022<\n\023sur" + + "rogate_info_type\030\010 \001(\0132\037.google.privacy." + + "dlp.v2.InfoType\"\224\001\n\027FfxCommonNativeAlpha" + + "bet\022*\n&FFX_COMMON_NATIVE_ALPHABET_UNSPEC" + + "IFIED\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_NUM" + + "ERIC\020\004B\n\n\010alphabet\"\330\001\n\tCryptoKey\022>\n\ttran" + + "sient\030\001 \001(\0132).google.privacy.dlp.v2.Tran" + + "sientCryptoKeyH\000\022>\n\tunwrapped\030\002 \001(\0132).go" + + "ogle.privacy.dlp.v2.UnwrappedCryptoKeyH\000" + + "\022A\n\013kms_wrapped\030\003 \001(\0132*.google.privacy.d" + + "lp.v2.KmsWrappedCryptoKeyH\000B\010\n\006source\"\'\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\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_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.privacy.dlp.v2" + + ".FieldId\0226\n\ncrypto_key\030\004 \001(\0132 .google.pr" + + "ivacy.dlp.v2.CryptoKeyH\000B\010\n\006method\"\245\002\n\027I" + + "nfoTypeTransformations\022c\n\017transformation" + + "s\030\001 \003(\0132E.google.privacy.dlp.v2.InfoType" + + "Transformations.InfoTypeTransformationB\003" + + "\340A\002\032\244\001\n\026InfoTypeTransformation\0223\n\ninfo_t" + + "ypes\030\001 \003(\0132\037.google.privacy.dlp.v2.InfoT" + + "ype\022U\n\030primitive_transformation\030\002 \001(\0132.." + + "google.privacy.dlp.v2.PrimitiveTransform" + + "ationB\003\340A\002\"\300\002\n\023FieldTransformation\0223\n\006fi" + + "elds\030\001 \003(\0132\036.google.privacy.dlp.v2.Field" + + "IdB\003\340A\002\0229\n\tcondition\030\003 \001(\0132&.google.priv" + + "acy.dlp.v2.RecordCondition\022R\n\030primitive_" + + "transformation\030\004 \001(\0132..google.privacy.dl" + + "p.v2.PrimitiveTransformationH\000\022S\n\031info_t" + + "ype_transformations\030\005 \001(\0132..google.priva" + + "cy.dlp.v2.InfoTypeTransformationsH\000B\020\n\016t" + + "ransformation\"\251\001\n\025RecordTransformations\022" + + "I\n\025field_transformations\030\001 \003(\0132*.google." + + "privacy.dlp.v2.FieldTransformation\022E\n\023re" + + "cord_suppressions\030\002 \003(\0132(.google.privacy" + + ".dlp.v2.RecordSuppression\"N\n\021RecordSuppr" + + "ession\0229\n\tcondition\030\001 \001(\0132&.google.priva" + + "cy.dlp.v2.RecordCondition\"\334\004\n\017RecordCond" + + "ition\022G\n\013expressions\030\003 \001(\01322.google.priv" + + "acy.dlp.v2.RecordCondition.Expressions\032\256" + + "\001\n\tCondition\0222\n\005field\030\001 \001(\0132\036.google.pri" + + "vacy.dlp.v2.FieldIdB\003\340A\002\022@\n\010operator\030\003 \001" + + "(\0162).google.privacy.dlp.v2.RelationalOpe" + + "ratorB\003\340A\002\022+\n\005value\030\004 \001(\0132\034.google.priva" + + "cy.dlp.v2.Value\032R\n\nConditions\022D\n\nconditi" + + "ons\030\001 \003(\01320.google.privacy.dlp.v2.Record" + + "Condition.Condition\032\372\001\n\013Expressions\022\\\n\020l" + + "ogical_operator\030\001 \001(\0162B.google.privacy.d" + + "lp.v2.RecordCondition.Expressions.Logica" + + "lOperator\022G\n\nconditions\030\003 \001(\01321.google.p" + + "rivacy.dlp.v2.RecordCondition.Conditions" + + "H\000\"<\n\017LogicalOperator\022 \n\034LOGICAL_OPERATO" + + "R_UNSPECIFIED\020\000\022\007\n\003AND\020\001B\006\n\004type\"\203\001\n\026Tra" + + "nsformationOverview\022\031\n\021transformed_bytes" + + "\030\002 \001(\003\022N\n\030transformation_summaries\030\003 \003(\013" + + "2,.google.privacy.dlp.v2.TransformationS" + + "ummary\"\237\005\n\025TransformationSummary\0222\n\tinfo" + + "_type\030\001 \001(\0132\037.google.privacy.dlp.v2.Info" + + "Type\022-\n\005field\030\002 \001(\0132\036.google.privacy.dlp" + + ".v2.FieldId\022F\n\016transformation\030\003 \001(\0132..go" + + "ogle.privacy.dlp.v2.PrimitiveTransformat" + + "ion\022I\n\025field_transformations\030\005 \003(\0132*.goo" + + "gle.privacy.dlp.v2.FieldTransformation\022A" + + "\n\017record_suppress\030\006 \001(\0132(.google.privacy" + + ".dlp.v2.RecordSuppression\022K\n\007results\030\004 \003" + + "(\0132:.google.privacy.dlp.v2.Transformatio" + + "nSummary.SummaryResult\022\031\n\021transformed_by" + + "tes\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.dlp.v2" + + ".TransformationSummary.TransformationRes" + + "ultCode\022\017\n\007details\030\003 \001(\t\"^\n\030Transformati" + + "onResultCode\022*\n&TRANSFORMATION_RESULT_CO" + + "DE_UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\t\n\005ERROR\020\002" + + "\"\260\001\n\031TransformationDescription\0227\n\004type\030\001" + + " \001(\0162).google.privacy.dlp.v2.Transformat" + + "ionType\022\023\n\013description\030\002 \001(\t\022\021\n\tconditio" + + "n\030\003 \001(\t\0222\n\tinfo_type\030\004 \001(\0132\037.google.priv" + + "acy.dlp.v2.InfoType\"\306\002\n\025TransformationDe" + + "tails\022\025\n\rresource_name\030\001 \001(\t\022\026\n\016containe" + + "r_name\030\002 \001(\t\022H\n\016transformation\030\003 \003(\01320.g" + + "oogle.privacy.dlp.v2.TransformationDescr" + + "iption\022I\n\016status_details\030\004 \001(\01321.google." + + "privacy.dlp.v2.TransformationResultStatu" + + "s\022\031\n\021transformed_bytes\030\005 \001(\003\022N\n\027transfor" + + "mation_location\030\006 \001(\0132-.google.privacy.d" + + "lp.v2.TransformationLocation\"\331\001\n\026Transfo" + + "rmationLocation\022\024\n\nfinding_id\030\001 \001(\tH\000\022L\n" + + "\025record_transformation\030\002 \001(\0132+.google.pr" + + "ivacy.dlp.v2.RecordTransformationH\000\022J\n\016c" + + "ontainer_type\030\003 \001(\01622.google.privacy.dlp" + + ".v2.TransformationContainerTypeB\017\n\rlocat" + + "ion_type\"\234\001\n\024RecordTransformation\0220\n\010fie" + + "ld_id\030\001 \001(\0132\036.google.privacy.dlp.v2.Fiel" + + "dId\0227\n\023container_timestamp\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022\031\n\021container_versio" + + "n\030\003 \001(\t\"\224\001\n\032TransformationResultStatus\022Q" + + "\n\022result_status_type\030\001 \001(\01625.google.priv" + + "acy.dlp.v2.TransformationResultStatusTyp" + + "e\022#\n\007details\030\002 \001(\0132\022.google.rpc.Status\"c" + + "\n\"TransformationDetailsStorageConfig\0225\n\005" + + "table\030\001 \001(\0132$.google.privacy.dlp.v2.BigQ" + + "ueryTableH\000B\006\n\004type\"U\n\010Schedule\022?\n\032recur" + + "rence_period_duration\030\001 \001(\0132\031.google.pro" + + "tobuf.DurationH\000B\010\n\006option\"\010\n\006Manual\"\302\004\n" + + "\017InspectTemplate\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\024\n\014d" + + "isplay_name\030\002 \001(\t\022\023\n\013description\030\003 \001(\t\0224" + + "\n\013create_time\030\004 \001(\0132\032.google.protobuf.Ti" + + "mestampB\003\340A\003\0224\n\013update_time\030\005 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022<\n\016inspect_co" + + "nfig\030\006 \001(\0132$.google.privacy.dlp.v2.Inspe" + + "ctConfig:\306\002\352A\302\002\n\"dlp.googleapis.com/Insp" + + "ectTemplate\022@organizations/{organization" + + "}/inspectTemplates/{inspect_template}\0226p" + + "rojects/{project}/inspectTemplates/{insp" + + "ect_template}\022Uorganizations/{organizati" + + "on}/locations/{location}/inspectTemplate" + + "s/{inspect_template}\022Kprojects/{project}" + + "/locations/{location}/inspectTemplates/{" + + "inspect_template}\"\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\013description\030\003 \001(\t\0224\n\013create_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" + + "update_time\030\005 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022B\n\021deidentify_config\030\006 \001(\0132\'." + + "google.privacy.dlp.v2.DeidentifyConfig:\341" + + "\002\352A\335\002\n%dlp.googleapis.com/DeidentifyTemp" + + "late\022Forganizations/{organization}/deide" + + "ntifyTemplates/{deidentify_template}\022\n\013inspect_job\030\004 \001(\0132\'.google.privacy.d" + + "lp.v2.InspectJobConfigH\000\022;\n\010triggers\030\005 \003" + + "(\0132).google.privacy.dlp.v2.JobTrigger.Tr" + + "igger\0221\n\006errors\030\006 \003(\0132\034.google.privacy.d" + + "lp.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.google.protobuf.TimestampB" + + "\003\340A\003\0226\n\rlast_run_time\030\t \001(\0132\032.google.pro" + + "tobuf.TimestampB\003\340A\003\022=\n\006status\030\n \001(\0162(.g" + + "oogle.privacy.dlp.v2.JobTrigger.StatusB\003" + + "\340A\002\032z\n\007Trigger\0223\n\010schedule\030\001 \001(\0132\037.googl" + + "e.privacy.dlp.v2.ScheduleH\000\022/\n\006manual\030\002 " + + "\001(\0132\035.google.privacy.dlp.v2.ManualH\000B\t\n\007" + + "trigger\"H\n\006Status\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.googleapis.com/JobTrigger\022" + + ",projects/{project}/jobTriggers/{job_tri" + + "gger}\022Aprojects/{project}/locations/{loc" + + "ation}/jobTriggers/{job_trigger}B\005\n\003job\"" + + "\352\010\n\006Action\022C\n\rsave_findings\030\001 \001(\0132*.goog" + + "le.privacy.dlp.v2.Action.SaveFindingsH\000\022" + + "@\n\007pub_sub\030\002 \001(\0132-.google.privacy.dlp.v2" + + ".Action.PublishToPubSubH\000\022U\n\027publish_sum" + + "mary_to_cscc\030\003 \001(\01322.google.privacy.dlp." + + "v2.Action.PublishSummaryToCsccH\000\022q\n&publ" + + "ish_findings_to_cloud_data_catalog\030\005 \001(\013" + + "2?.google.privacy.dlp.v2.Action.PublishF" + + "indingsToCloudDataCatalogH\000\022>\n\ndeidentif" + + "y\030\007 \001(\0132(.google.privacy.dlp.v2.Action.D" + + "eidentifyH\000\022V\n\027job_notification_emails\030\010" + + " \001(\01323.google.privacy.dlp.v2.Action.JobN" + + "otificationEmailsH\000\022T\n\026publish_to_stackd" + + "river\030\t \001(\01322.google.privacy.dlp.v2.Acti" + + "on.PublishToStackdriverH\000\032Q\n\014SaveFinding" + + "s\022A\n\routput_config\030\001 \001(\0132*.google.privac" + + "y.dlp.v2.OutputStorageConfig\032 \n\017PublishT" + + "oPubSub\022\r\n\005topic\030\001 \001(\t\032\026\n\024PublishSummary" + + "ToCscc\032#\n!PublishFindingsToCloudDataCata" + + "log\032\263\002\n\nDeidentify\022J\n\025transformation_con" + + "fig\030\007 \001(\0132+.google.privacy.dlp.v2.Transf" + + "ormationConfig\022h\n%transformation_details" + + "_storage_config\030\003 \001(\01329.google.privacy.d" + + "lp.v2.TransformationDetailsStorageConfig" + + "\022#\n\024cloud_storage_output\030\t \001(\tB\003\340A\002H\000\022@\n" + + "\027file_types_to_transform\030\010 \003(\0162\037.google." + + "privacy.dlp.v2.FileTypeB\010\n\006output\032\027\n\025Job" + + "NotificationEmails\032\026\n\024PublishToStackdriv" + + "erB\010\n\006action\"z\n\024TransformationConfig\022\033\n\023" + + "deidentify_template\030\001 \001(\t\022&\n\036structured_" + + "deidentify_template\030\002 \001(\t\022\035\n\025image_redac" + + "t_template\030\004 \001(\t\"\313\001\n\034CreateInspectTempla" + + "teRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dlp.g" + + "oogleapis.com/InspectTemplate\022E\n\020inspect" + + "_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\034UpdateInspect" + + "TemplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"d" + + "lp.googleapis.com/InspectTemplate\022@\n\020ins" + + "pect_template\030\002 \001(\0132&.google.privacy.dlp" + + ".v2.InspectTemplate\022/\n\013update_mask\030\003 \001(\013" + + "2\032.google.protobuf.FieldMask\"U\n\031GetInspe" + + "ctTemplateRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n" + + "\"dlp.googleapis.com/InspectTemplate\"\247\001\n\033" + + "ListInspectTemplatesRequest\022:\n\006parent\030\001 " + + "\001(\tB*\340A\002\372A$\022\"dlp.googleapis.com/InspectT" + + "emplate\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\"z\n\034ListInspectTemplatesResponse\022A\n" + + "\021inspect_templates\030\001 \003(\0132&.google.privac" + + "y.dlp.v2.InspectTemplate\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"X\n\034DeleteInspectTemplateReques" + + "t\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dlp.googleapis." + + "com/InspectTemplate\"\266\001\n\027CreateJobTrigger" + + "Request\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035dlp.goo" + + "gleapis.com/JobTrigger\022;\n\013job_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\013location_id\030\004" + + " \001(\t\"P\n\031ActivateJobTriggerRequest\0223\n\004nam" + + "e\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/JobT" + + "rigger\"\267\001\n\027UpdateJobTriggerRequest\0223\n\004na" + + "me\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.com/Job" + + "Trigger\0226\n\013job_trigger\030\002 \001(\0132!.google.pr" + + "ivacy.dlp.v2.JobTrigger\022/\n\013update_mask\030\003" + + " \001(\0132\032.google.protobuf.FieldMask\"K\n\024GetJ" + + "obTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035" + + "dlp.googleapis.com/JobTrigger\"\366\001\n\023Create" + + "DlpJobRequest\0221\n\006parent\030\001 \001(\tB!\340A\002\372A\033\022\031d" + + "lp.googleapis.com/DlpJob\022>\n\013inspect_job\030" + + "\002 \001(\0132\'.google.privacy.dlp.v2.InspectJob" + + "ConfigH\000\022@\n\010risk_job\030\003 \001(\0132,.google.priv" + + "acy.dlp.v2.RiskAnalysisJobConfigH\000\022\016\n\006jo" + + "b_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.com/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\004typ" + + "e\030\006 \001(\0162!.google.privacy.dlp.v2.DlpJobTy" + + "pe\022\023\n\013location_id\030\007 \001(\t\"k\n\027ListJobTrigge" + + "rsResponse\0227\n\014job_triggers\030\001 \003(\0132!.googl" + + "e.privacy.dlp.v2.JobTrigger\022\027\n\017next_page" + + "_token\030\002 \001(\t\"N\n\027DeleteJobTriggerRequest\022" + + "3\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035dlp.googleapis.co" + + "m/JobTrigger\"\335\001\n\020InspectJobConfig\022<\n\016sto" + + "rage_config\030\001 \001(\0132$.google.privacy.dlp.v" + + "2.StorageConfig\022<\n\016inspect_config\030\002 \001(\0132" + + "$.google.privacy.dlp.v2.InspectConfig\022\035\n" + + "\025inspect_template_name\030\003 \001(\t\022.\n\007actions\030" + + "\004 \003(\0132\035.google.privacy.dlp.v2.Action\"\355\005\n" + + "\021DataProfileAction\022F\n\013export_data\030\001 \001(\0132" + + "/.google.privacy.dlp.v2.DataProfileActio" + + "n.ExportH\000\022[\n\024pub_sub_notification\030\002 \001(\013" + + "2;.google.privacy.dlp.v2.DataProfileActi" + + "on.PubSubNotificationH\000\032E\n\006Export\022;\n\rpro" + + "file_table\030\001 \001(\0132$.google.privacy.dlp.v2" + + ".BigQueryTable\032\352\002\n\022PubSubNotification\022\r\n" + + "\005topic\030\001 \001(\t\022A\n\005event\030\002 \001(\01622.google.pri" + + "vacy.dlp.v2.DataProfileAction.EventType\022" + + "K\n\020pubsub_condition\030\003 \001(\01321.google.priva" + + "cy.dlp.v2.DataProfilePubSubCondition\022b\n\021" + + "detail_of_message\030\004 \001(\0162G.google.privacy" + + ".dlp.v2.DataProfileAction.PubSubNotifica" + + "tion.DetailLevel\"Q\n\013DetailLevel\022\034\n\030DETAI" + + "L_LEVEL_UNSPECIFIED\020\000\022\021\n\rTABLE_PROFILE\020\001" + + "\022\021\n\rRESOURCE_NAME\020\002\"u\n\tEventType\022\032\n\026EVEN" + + "T_TYPE_UNSPECIFIED\020\000\022\017\n\013NEW_PROFILE\020\001\022\023\n" + + "\017CHANGED_PROFILE\020\002\022\023\n\017SCORE_INCREASED\020\003\022" + + "\021\n\rERROR_CHANGED\020\004B\010\n\006action\"\313\001\n\024DataPro" + + "fileJobConfig\022<\n\010location\030\001 \001(\0132*.google" + + ".privacy.dlp.v2.DataProfileLocation\022\022\n\np" + + "roject_id\030\005 \001(\t\022\031\n\021inspect_templates\030\007 \003" + + "(\t\022F\n\024data_profile_actions\030\006 \003(\0132(.googl" + + "e.privacy.dlp.v2.DataProfileAction\"Q\n\023Da" + + "taProfileLocation\022\031\n\017organization_id\030\001 \001" + + "(\003H\000\022\023\n\tfolder_id\030\002 \001(\003H\000B\n\n\010location\"\353\005", + "\n\006DlpJob\022\014\n\004name\030\001 \001(\t\022/\n\004type\030\002 \001(\0162!.g" + + "oogle.privacy.dlp.v2.DlpJobType\0225\n\005state" + + "\030\003 \001(\0162&.google.privacy.dlp.v2.DlpJob.Jo" + + "bState\022K\n\014risk_details\030\004 \001(\01323.google.pr" + + "ivacy.dlp.v2.AnalyzeDataSourceRiskDetail" + + "sH\000\022J\n\017inspect_details\030\005 \001(\0132/.google.pr" + + "ivacy.dlp.v2.InspectDataSourceDetailsH\000\022" + + "/\n\013create_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestamp\022.\n\nstart_time\030\007 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022,\n\010end_time\030\010 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022\030\n\020job_trigger_na" + + "me\030\n \001(\t\022,\n\006errors\030\013 \003(\0132\034.google.privac" + + "y.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\006FAILED\020\005\022\n\n\006A" + + "CTIVE\020\006:\177\352A|\n\031dlp.googleapis.com/DlpJob\022" + + "$projects/{project}/dlpJobs/{dlp_job}\0229p" + + "rojects/{project}/locations/{location}/d" + + "lpJobs/{dlp_job}B\t\n\007details\"C\n\020GetDlpJob" + + "Request\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googl" + + "eapis.com/DlpJob\"\326\001\n\022ListDlpJobsRequest\022" + + "1\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\004type\030\005 \001(\0162" + + "!.google.privacy.dlp.v2.DlpJobType\022\020\n\010or" + + "der_by\030\006 \001(\t\022\023\n\013location_id\030\007 \001(\t\"[\n\023Lis" + + "tDlpJobsResponse\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.com/DlpJob\"F" + + "\n\023FinishDlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002" + + "\372A\033\n\031dlp.googleapis.com/DlpJob\"F\n\023Delete" + + "DlpJobRequest\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp" + + ".googleapis.com/DlpJob\"\327\001\n\037CreateDeident" + + "ifyTemplateRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372" + + "A\'\022%dlp.googleapis.com/DeidentifyTemplat" + + "e\022K\n\023deidentify_template\030\002 \001(\0132).google." + + "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\037UpdateDeidentifyTemplateRequest\022;\n\004" + + "name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.googleapis.com/D" + + "eidentifyTemplate\022F\n\023deidentify_template" + + "\030\002 \001(\0132).google.privacy.dlp.v2.Deidentif" + + "yTemplate\022/\n\013update_mask\030\003 \001(\0132\032.google." + + "protobuf.FieldMask\"[\n\034GetDeidentifyTempl" + + "ateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%dlp.go" + + "ogleapis.com/DeidentifyTemplate\"\255\001\n\036List" + + "DeidentifyTemplatesRequest\022=\n\006parent\030\001 \001" + + "(\tB-\340A\002\372A\'\022%dlp.googleapis.com/Deidentif" + + "yTemplate\022\022\n\npage_token\030\002 \001(\t\022\021\n\tpage_si" + + "ze\030\003 \001(\005\022\020\n\010order_by\030\004 \001(\t\022\023\n\013location_i" + + "d\030\005 \001(\t\"\203\001\n\037ListDeidentifyTemplatesRespo" + + "nse\022G\n\024deidentify_templates\030\001 \003(\0132).goog" + + "le.privacy.dlp.v2.DeidentifyTemplate\022\027\n\017" + + "next_page_token\030\002 \001(\t\"^\n\037DeleteDeidentif" + + "yTemplateRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%" + + "dlp.googleapis.com/DeidentifyTemplate\"\364\001" + + "\n\033LargeCustomDictionaryConfig\022<\n\013output_" + + "path\030\001 \001(\0132\'.google.privacy.dlp.v2.Cloud" + + "StoragePath\022L\n\026cloud_storage_file_set\030\002 " + + "\001(\0132*.google.privacy.dlp.v2.CloudStorage" + + "FileSetH\000\022?\n\017big_query_field\030\003 \001(\0132$.goo" + + "gle.privacy.dlp.v2.BigQueryFieldH\000B\010\n\006so" + + "urce\"8\n\032LargeCustomDictionaryStats\022\032\n\022ap" + + "prox_num_phrases\030\001 \001(\003\"\246\002\n\024StoredInfoTyp" + + "eConfig\022\024\n\014display_name\030\001 \001(\t\022\023\n\013descrip" + + "tion\030\002 \001(\t\022U\n\027large_custom_dictionary\030\003 " + + "\001(\01322.google.privacy.dlp.v2.LargeCustomD" + + "ictionaryConfigH\000\022F\n\ndictionary\030\004 \001(\01320." + + "google.privacy.dlp.v2.CustomInfoType.Dic" + + "tionaryH\000\022<\n\005regex\030\005 \001(\0132+.google.privac" + + "y.dlp.v2.CustomInfoType.RegexH\000B\006\n\004type\"" + + "s\n\023StoredInfoTypeStats\022T\n\027large_custom_d" + + "ictionary\030\001 \001(\01321.google.privacy.dlp.v2." + + "LargeCustomDictionaryStatsH\000B\006\n\004type\"\251\002\n" + + "\025StoredInfoTypeVersion\022;\n\006config\030\001 \001(\0132+" + + ".google.privacy.dlp.v2.StoredInfoTypeCon" + + "fig\022/\n\013create_time\030\002 \001(\0132\032.google.protob" + + "uf.Timestamp\0229\n\005state\030\003 \001(\0162*.google.pri" + + "vacy.dlp.v2.StoredInfoTypeState\022,\n\006error" + + "s\030\004 \003(\0132\034.google.privacy.dlp.v2.Error\0229\n" + + "\005stats\030\005 \001(\0132*.google.privacy.dlp.v2.Sto" + + "redInfoTypeStats\"\361\003\n\016StoredInfoType\022\014\n\004n" + + "ame\030\001 \001(\t\022E\n\017current_version\030\002 \001(\0132,.goo" + + "gle.privacy.dlp.v2.StoredInfoTypeVersion" + + "\022F\n\020pending_versions\030\003 \003(\0132,.google.priv" + + "acy.dlp.v2.StoredInfoTypeVersion:\301\002\352A\275\002\n" + + "!dlp.googleapis.com/StoredInfoType\022?orga" + + "nizations/{organization}/storedInfoTypes" + + "/{stored_info_type}\0225projects/{project}/" + + "storedInfoTypes/{stored_info_type}\022Torga" + + "nizations/{organization}/locations/{loca" + + "tion}/storedInfoTypes/{stored_info_type}" + + "\022Jprojects/{project}/locations/{location" + + "}/storedInfoTypes/{stored_info_type}\"\314\001\n" + + "\033CreateStoredInfoTypeRequest\0229\n\006parent\030\001" + + " \001(\tB)\340A\002\372A#\022!dlp.googleapis.com/StoredI" + + "nfoType\022@\n\006config\030\002 \001(\0132+.google.privacy" + + ".dlp.v2.StoredInfoTypeConfigB\003\340A\002\022\033\n\023sto" + + "red_info_type_id\030\003 \001(\t\022\023\n\013location_id\030\004 " + + "\001(\t\"\304\001\n\033UpdateStoredInfoTypeRequest\0227\n\004n" + + "ame\030\001 \001(\tB)\340A\002\372A#\n!dlp.googleapis.com/St" + + "oredInfoType\022;\n\006config\030\002 \001(\0132+.google.pr" + + "ivacy.dlp.v2.StoredInfoTypeConfig\022/\n\013upd" + + "ate_mask\030\003 \001(\0132\032.google.protobuf.FieldMa" + + "sk\"S\n\030GetStoredInfoTypeRequest\0227\n\004name\030\001" + + " \001(\tB)\340A\002\372A#\n!dlp.googleapis.com/StoredI" + + "nfoType\"\245\001\n\032ListStoredInfoTypesRequest\0229" + + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!dlp.googleapis.c" + + "om/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\013lo" + + "cation_id\030\005 \001(\t\"x\n\033ListStoredInfoTypesRe" + + "sponse\022@\n\021stored_info_types\030\001 \003(\0132%.goog" + + "le.privacy.dlp.v2.StoredInfoType\022\027\n\017next" + + "_page_token\030\002 \001(\t\"V\n\033DeleteStoredInfoTyp" + + "eRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dlp.goog" + + "leapis.com/StoredInfoType\"\224\001\n\036HybridInsp" + + "ectJobTriggerRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372" + + "A\037\n\035dlp.googleapis.com/JobTrigger\022=\n\013hyb" + + "rid_item\030\003 \001(\0132(.google.privacy.dlp.v2.H" + + "ybridContentItem\"\214\001\n\032HybridInspectDlpJob" + + "Request\022/\n\004name\030\001 \001(\tB!\340A\002\372A\033\n\031dlp.googl" + + "eapis.com/DlpJob\022=\n\013hybrid_item\030\003 \001(\0132(." + + "google.privacy.dlp.v2.HybridContentItem\"" + + "\213\001\n\021HybridContentItem\0220\n\004item\030\001 \001(\0132\".go" + + "ogle.privacy.dlp.v2.ContentItem\022D\n\017findi" + + "ng_details\030\002 \001(\0132+.google.privacy.dlp.v2" + + ".HybridFindingDetails\"\260\002\n\024HybridFindingD" + + "etails\022;\n\021container_details\030\001 \001(\0132 .goog" + + "le.privacy.dlp.v2.Container\022\023\n\013file_offs" + + "et\030\002 \001(\003\022\022\n\nrow_offset\030\003 \001(\003\022:\n\rtable_op" + + "tions\030\004 \001(\0132#.google.privacy.dlp.v2.Tabl" + + "eOptions\022G\n\006labels\030\005 \003(\01327.google.privac" + + "y.dlp.v2.HybridFindingDetails.LabelsEntr" + + "y\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\"\027\n\025HybridInspectResponse\"\271\001\n\rDa" + + "taRiskLevel\022F\n\005score\030\001 \001(\01627.google.priv" + + "acy.dlp.v2.DataRiskLevel.DataRiskLevelSc" + + "ore\"`\n\022DataRiskLevelScore\022\032\n\026RISK_SCORE_" + + "UNSPECIFIED\020\000\022\014\n\010RISK_LOW\020\n\022\021\n\rRISK_MODE" + + "RATE\020\024\022\r\n\tRISK_HIGH\020\036\"\240\001\n\031DataProfileCon" + + "figSnapshot\022<\n\016inspect_config\030\002 \001(\0132$.go" + + "ogle.privacy.dlp.v2.InspectConfig\022E\n\020dat" + + "a_profile_job\030\003 \001(\0132+.google.privacy.dlp" + + ".v2.DataProfileJobConfig\"\232\n\n\020TableDataPr" + + "ofile\022\014\n\004name\030\001 \001(\t\022\034\n\024project_data_prof" + + "ile\030\002 \001(\t\022\032\n\022dataset_project_id\030\030 \001(\t\022\030\n" + + "\020dataset_location\030\035 \001(\t\022\022\n\ndataset_id\030\031 " + + "\001(\t\022\020\n\010table_id\030\032 \001(\t\022\025\n\rfull_resource\030\003" + + " \001(\t\022<\n\016profile_status\030\025 \001(\0132$.google.pr" + + "ivacy.dlp.v2.ProfileStatus\022<\n\005state\030\026 \001(" + + "\0162-.google.privacy.dlp.v2.TableDataProfi" + + "le.State\022B\n\021sensitivity_score\030\005 \001(\0132\'.go" + + "ogle.privacy.dlp.v2.SensitivityScore\022=\n\017" + + "data_risk_level\030\006 \001(\0132$.google.privacy.d" + + "lp.v2.DataRiskLevel\022D\n\024predicted_info_ty" + + "pes\030\033 \003(\0132&.google.privacy.dlp.v2.InfoTy" + + "peSummary\022E\n\020other_info_types\030\034 \003(\0132+.go" + + "ogle.privacy.dlp.v2.OtherInfoTypeSummary" + + "\022I\n\017config_snapshot\030\007 \001(\01320.google.priva" + + "cy.dlp.v2.DataProfileConfigSnapshot\0226\n\022l" + + "ast_modified_time\030\010 \001(\0132\032.google.protobu" + + "f.Timestamp\0223\n\017expiration_time\030\t \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022\034\n\024scanned_colu" + + "mn_count\030\n \001(\003\022\033\n\023failed_column_count\030\013 " + + "\001(\003\022\030\n\020table_size_bytes\030\014 \001(\003\022\021\n\trow_cou" + + "nt\030\r \001(\003\022B\n\021encryption_status\030\016 \001(\0162\'.go" + + "ogle.privacy.dlp.v2.EncryptionStatus\022F\n\023" + + "resource_visibility\030\017 \001(\0162).google.priva" + + "cy.dlp.v2.ResourceVisibility\022:\n\026profile_" + + "last_generated\030\020 \001(\0132\032.google.protobuf.T" + + "imestamp\022T\n\017resource_labels\030\021 \003(\0132;.goog" + + "le.privacy.dlp.v2.TableDataProfile.Resou" + + "rceLabelsEntry\022/\n\013create_time\030\027 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0325\n\023ResourceLabel" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"5" + + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNIN" + + "G\020\001\022\010\n\004DONE\020\002\"b\n\rProfileStatus\022\"\n\006status" + + "\030\001 \001(\0132\022.google.rpc.Status\022-\n\ttimestamp\030" + + "\003 \001(\0132\032.google.protobuf.Timestamp\"c\n\017Inf" + + "oTypeSummary\0222\n\tinfo_type\030\001 \001(\0132\037.google" + + ".privacy.dlp.v2.InfoType\022\034\n\024estimated_pr" + + "evalence\030\002 \001(\005\"h\n\024OtherInfoTypeSummary\0222" + + "\n\tinfo_type\030\001 \001(\0132\037.google.privacy.dlp.v" + + "2.InfoType\022\034\n\024estimated_prevalence\030\002 \001(\005" + + "\"\352\005\n\032DataProfilePubSubCondition\022X\n\013expre" + + "ssions\030\001 \001(\0132C.google.privacy.dlp.v2.Dat" + + "aProfilePubSubCondition.PubSubExpression" + + "s\032\351\001\n\017PubSubCondition\022b\n\022minimum_risk_sc" + + "ore\030\001 \001(\0162D.google.privacy.dlp.v2.DataPr" + + "ofilePubSubCondition.ProfileScoreBucketH" + + "\000\022i\n\031minimum_sensitivity_score\030\002 \001(\0162D.g" + + "oogle.privacy.dlp.v2.DataProfilePubSubCo" + + "ndition.ProfileScoreBucketH\000B\007\n\005value\032\253\002" + + "\n\021PubSubExpressions\022s\n\020logical_operator\030" + + "\001 \001(\0162Y.google.privacy.dlp.v2.DataProfil" + + "ePubSubCondition.PubSubExpressions.PubSu" + + "bLogicalOperator\022U\n\nconditions\030\002 \003(\0132A.g" + + "oogle.privacy.dlp.v2.DataProfilePubSubCo" + + "ndition.PubSubCondition\"J\n\025PubSubLogical" + + "Operator\022 \n\034LOGICAL_OPERATOR_UNSPECIFIED" + + "\020\000\022\006\n\002OR\020\001\022\007\n\003AND\020\002\"X\n\022ProfileScoreBucke" + + "t\022$\n PROFILE_SCORE_BUCKET_UNSPECIFIED\020\000\022" + + "\010\n\004HIGH\020\001\022\022\n\016MEDIUM_OR_HIGH\020\002\"\227\001\n\030DataPr" + + "ofilePubSubMessage\0228\n\007profile\030\001 \001(\0132\'.go" + + "ogle.privacy.dlp.v2.TableDataProfile\022A\n\005" + + "event\030\002 \001(\01622.google.privacy.dlp.v2.Data" + + "ProfileAction.EventType*\240\001\n\036Transformati" + + "onResultStatusType\022\032\n\026STATE_TYPE_UNSPECI" + + "FIED\020\000\022\025\n\021INVALID_TRANSFORM\020\001\022\"\n\036BIGQUER" + + "Y_MAX_ROW_SIZE_EXCEEDED\020\002\022\032\n\026METADATA_UN" + + "RETRIEVABLE\020\003\022\013\n\007SUCCESS\020\004*\177\n\033Transforma" + + "tionContainerType\022\037\n\033TRANSFORM_UNKNOWN_C" + + "ONTAINER\020\000\022\022\n\016TRANSFORM_BODY\020\001\022\026\n\022TRANSF" + + "ORM_METADATA\020\002\022\023\n\017TRANSFORM_TABLE\020\003*\340\002\n\022" + + "TransformationType\022#\n\037TRANSFORMATION_TYP" + + "E_UNSPECIFIED\020\000\022\026\n\022RECORD_SUPPRESSION\020\001\022" + + "\021\n\rREPLACE_VALUE\020\002\022\026\n\022REPLACE_DICTIONARY" + + "\020\017\022\n\n\006REDACT\020\003\022\022\n\016CHARACTER_MASK\020\004\022\032\n\026CR" + + "YPTO_REPLACE_FFX_FPE\020\005\022\030\n\024FIXED_SIZE_BUC" + + "KETING\020\006\022\r\n\tBUCKETING\020\007\022\032\n\026REPLACE_WITH_" + + "INFO_TYPE\020\010\022\r\n\tTIME_PART\020\t\022\017\n\013CRYPTO_HAS" + + "H\020\n\022\016\n\nDATE_SHIFT\020\014\022\037\n\033CRYPTO_DETERMINIS" + + "TIC_CONFIG\020\r\022\020\n\014REDACT_IMAGE\020\016*\273\001\n\022Relat" + + "ionalOperator\022#\n\037RELATIONAL_OPERATOR_UNS" + + "PECIFIED\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_THAN\020\004\022\032\n\026G" + + "REATER_THAN_OR_EQUALS\020\005\022\027\n\023LESS_THAN_OR_" + + "EQUALS\020\006\022\n\n\006EXISTS\020\007*\215\001\n\014MatchingType\022\035\n" + + "\031MATCHING_TYPE_UNSPECIFIED\020\000\022\034\n\030MATCHING" + + "_TYPE_FULL_MATCH\020\001\022\037\n\033MATCHING_TYPE_PART" + + "IAL_MATCH\020\002\022\037\n\033MATCHING_TYPE_INVERSE_MAT" + + "CH\020\003*M\n\rContentOption\022\027\n\023CONTENT_UNSPECI" + + "FIED\020\000\022\020\n\014CONTENT_TEXT\020\001\022\021\n\rCONTENT_IMAG" + + "E\020\002*B\n\014MetadataType\022\034\n\030METADATATYPE_UNSP" + + "ECIFIED\020\000\022\024\n\020STORAGE_METADATA\020\002*P\n\023InfoT" + + "ypeSupportedBy\022\031\n\025ENUM_TYPE_UNSPECIFIED\020" + + "\000\022\013\n\007INSPECT\020\001\022\021\n\rRISK_ANALYSIS\020\002*R\n\nDlp" + + "JobType\022\034\n\030DLP_JOB_TYPE_UNSPECIFIED\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\005REA" + + "DY\020\002\022\n\n\006FAILED\020\003\022\013\n\007INVALID\020\004*}\n\022Resourc" + + "eVisibility\022#\n\037RESOURCE_VISIBILITY_UNSPE" + + "CIFIED\020\000\022\036\n\032RESOURCE_VISIBILITY_PUBLIC\020\n" + + "\022\"\n\036RESOURCE_VISIBILITY_RESTRICTED\020\024*u\n\020" + + "EncryptionStatus\022!\n\035ENCRYPTION_STATUS_UN" + + "SPECIFIED\020\000\022\035\n\031ENCRYPTION_GOOGLE_MANAGED" + + "\020\001\022\037\n\033ENCRYPTION_CUSTOMER_MANAGED\020\0022\240L\n\n" + + "DlpService\022\333\001\n\016InspectContent\022,.google.p" + + "rivacy.dlp.v2.InspectContentRequest\032-.go" + + "ogle.privacy.dlp.v2.InspectContentRespon" + + "se\"l\202\323\344\223\002f\"\'/v2/{parent=projects/*}/cont" + + "ent:inspect:\001*Z8\"3/v2/{parent=projects/*" + + "/locations/*}/content:inspect:\001*\022\314\001\n\013Red" + + "actImage\022).google.privacy.dlp.v2.RedactI" + + "mageRequest\032*.google.privacy.dlp.v2.Reda" + + "ctImageResponse\"f\202\323\344\223\002`\"$/v2/{parent=pro" + + "jects/*}/image:redact:\001*Z5\"0/v2/{parent=" + + "projects/*/locations/*}/image:redact:\001*\022" + + "\352\001\n\021DeidentifyContent\022/.google.privacy.d" + + "lp.v2.DeidentifyContentRequest\0320.google." + + "privacy.dlp.v2.DeidentifyContentResponse" + + "\"r\202\323\344\223\002l\"*/v2/{parent=projects/*}/conten" + + "t:deidentify:\001*Z;\"6/v2/{parent=projects/" + + "*/locations/*}/content:deidentify:\001*\022\352\001\n" + + "\021ReidentifyContent\022/.google.privacy.dlp." + + "v2.ReidentifyContentRequest\0320.google.pri" + + "vacy.dlp.v2.ReidentifyContentResponse\"r\202" + + "\323\344\223\002l\"*/v2/{parent=projects/*}/content:r" + + "eidentify:\001*Z;\"6/v2/{parent=projects/*/l" + + "ocations/*}/content:reidentify:\001*\022\260\001\n\rLi" + + "stInfoTypes\022+.google.privacy.dlp.v2.List" + + "InfoTypesRequest\032,.google.privacy.dlp.v2" + + ".ListInfoTypesResponse\"D\202\323\344\223\0025\022\r/v2/info" + + "TypesZ$\022\"/v2/{parent=locations/*}/infoTy" + + "pes\332A\006parent\022\364\002\n\025CreateInspectTemplate\0223" + + ".google.privacy.dlp.v2.CreateInspectTemp" + + "lateRequest\032&.google.privacy.dlp.v2.Insp" + + "ectTemplate\"\375\001\202\323\344\223\002\334\001\"-/v2/{parent=organ" + + "izations/*}/inspectTemplates:\001*Z>\"9/v2/{" + + "parent=organizations/*/locations/*}/insp" + + "ectTemplates:\001*Z-\"(/v2/{parent=projects/" + + "*}/inspectTemplates:\001*Z9\"4/v2/{parent=pr" + + "ojects/*/locations/*}/inspectTemplates:\001" + + "*\332A\027parent,inspect_template\022\376\002\n\025UpdateIn" + + "spectTemplate\0223.google.privacy.dlp.v2.Up" + + "dateInspectTemplateRequest\032&.google.priv" + + "acy.dlp.v2.InspectTemplate\"\207\002\202\323\344\223\002\334\0012-/v" + + "2/{name=organizations/*/inspectTemplates" + + "/*}:\001*Z>29/v2/{name=organizations/*/loca" + + "tions/*/inspectTemplates/*}:\001*Z-2(/v2/{n" + + "ame=projects/*/inspectTemplates/*}:\001*Z92" + + "4/v2/{name=projects/*/locations/*/inspec" + + "tTemplates/*}:\001*\332A!name,inspect_template" + + ",update_mask\022\317\002\n\022GetInspectTemplate\0220.go" + + "ogle.privacy.dlp.v2.GetInspectTemplateRe" + + "quest\032&.google.privacy.dlp.v2.InspectTem" + + "plate\"\336\001\202\323\344\223\002\320\001\022-/v2/{name=organizations" + + "/*/inspectTemplates/*}Z;\0229/v2/{name=orga" + + "nizations/*/locations/*/inspectTemplates" + + "/*}Z*\022(/v2/{name=projects/*/inspectTempl" + + "ates/*}Z6\0224/v2/{name=projects/*/location" + + "s/*/inspectTemplates/*}\332A\004name\022\342\002\n\024ListI" + + "nspectTemplates\0222.google.privacy.dlp.v2." + + "ListInspectTemplatesRequest\0323.google.pri" + + "vacy.dlp.v2.ListInspectTemplatesResponse" + + "\"\340\001\202\323\344\223\002\320\001\022-/v2/{parent=organizations/*}" + + "/inspectTemplatesZ;\0229/v2/{parent=organiz" + + "ations/*/locations/*}/inspectTemplatesZ*" + + "\022(/v2/{parent=projects/*}/inspectTemplat" + + "esZ6\0224/v2/{parent=projects/*/locations/*" + + "}/inspectTemplates\332A\006parent\022\305\002\n\025DeleteIn" + + "spectTemplate\0223.google.privacy.dlp.v2.De" + + "leteInspectTemplateRequest\032\026.google.prot" + + "obuf.Empty\"\336\001\202\323\344\223\002\320\001*-/v2/{name=organiza" + + "tions/*/inspectTemplates/*}Z;*9/v2/{name" + + "=organizations/*/locations/*/inspectTemp" + + "lates/*}Z**(/v2/{name=projects/*/inspect" + + "Templates/*}Z6*4/v2/{name=projects/*/loc" + + "ations/*/inspectTemplates/*}\332A\004name\022\214\003\n\030" + + "CreateDeidentifyTemplate\0226.google.privac" + + "y.dlp.v2.CreateDeidentifyTemplateRequest" + + "\032).google.privacy.dlp.v2.DeidentifyTempl" + + "ate\"\214\002\202\323\344\223\002\350\001\"0/v2/{parent=organizations" + + "/*}/deidentifyTemplates:\001*ZA\"\022\022*\"9/v2/{name" + + "=projects/*/locations/*/dlpJobs/*}:hybri" + + "dInspect:\001*\332A\004name\022\221\001\n\014FinishDlpJob\022*.go" + + "ogle.privacy.dlp.v2.FinishDlpJobRequest\032" + + "\026.google.protobuf.Empty\"=\202\323\344\223\0027\"2/v2/{na" + + "me=projects/*/locations/*/dlpJobs/*}:fin" + + "ish:\001*\032F\312A\022dlp.googleapis.com\322A.https://" + + "www.googleapis.com/auth/cloud-platformB\372" + + "\002\n\031com.google.privacy.dlp.v2B\010DlpProtoP\001" + + "Z8google.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::V2\352Ar\n\035dlp.googleapis.com/DlpConten" + + "t\022\035projects/{project}/dlpContent\0222projec" + + "ts/{project}/locations/{location}/dlpCon" + + "tent\352A\\\n\'dlp.googleapis.com/Organization" + + "Location\0221organizations/{organization}/l" + + "ocations/{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", "Versions", "Categories", + }); + internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor, + new java.lang.String[] { + "LocationCategory", "IndustryCategory", "TypeCategory", "Category", + }); + internal_static_google_privacy_dlp_v2_VersionDescription_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_privacy_dlp_v2_VersionDescription_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_VersionDescription_descriptor, + new java.lang.String[] { + "Version", "Description", + }); + internal_static_google_privacy_dlp_v2_ListInfoTypesRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + 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(38); + 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(39); + 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(40); + 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(41); + 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(42); + 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(43); + 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(44); + 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(45); + 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(46); + 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(47); + 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(48); + 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", + "ImageTransformations", + "TransformationErrorHandling", + "Transformation", + }); + internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor, + new java.lang.String[] { + "Transforms", + }); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor = + internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor, + new java.lang.String[] { + "SelectedInfoTypes", "AllInfoTypes", "AllText", "RedactionColor", "Target", + }); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor = + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor, + new java.lang.String[] { + "InfoTypes", + }); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor = + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor = + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor + .getNestedTypes() + .get(2); + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor, + new java.lang.String[] {}); + internal_static_google_privacy_dlp_v2_TransformationErrorHandling_descriptor = + getDescriptor().getMessageTypes().get(50); + 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(51); + 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(52); + 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(53); + 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(54); + 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(55); + 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(56); + 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(57); + 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(58); + 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(59); + 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(60); + 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(61); + 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(62); + 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(63); + 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(64); + 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(65); + 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(66); + 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(67); + 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(68); + 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(69); + 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(70); + 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(71); + 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(72); + 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(73); + 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(74); + 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(75); + 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_TransformationDescription_descriptor = + getDescriptor().getMessageTypes().get(76); + internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationDescription_descriptor, + new java.lang.String[] { + "Type", "Description", "Condition", "InfoType", + }); + internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor = + getDescriptor().getMessageTypes().get(77); + internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor, + new java.lang.String[] { + "ResourceName", + "ContainerName", + "Transformation", + "StatusDetails", + "TransformedBytes", + "TransformationLocation", + }); + internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor = + getDescriptor().getMessageTypes().get(78); + internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor, + new java.lang.String[] { + "FindingId", "RecordTransformation", "ContainerType", "LocationType", + }); + internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor = + getDescriptor().getMessageTypes().get(79); + internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor, + new java.lang.String[] { + "FieldId", "ContainerTimestamp", "ContainerVersion", + }); + internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor = + getDescriptor().getMessageTypes().get(80); + internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor, + new java.lang.String[] { + "ResultStatusType", "Details", + }); + internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor = + getDescriptor().getMessageTypes().get(81); + internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor, + new java.lang.String[] { + "Table", "Type", + }); + internal_static_google_privacy_dlp_v2_Schedule_descriptor = + getDescriptor().getMessageTypes().get(82); + 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(83); + 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(84); + 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(85); + 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(86); + 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(87); + 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(88); + 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", + "Deidentify", + "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_Deidentify_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(4); + internal_static_google_privacy_dlp_v2_Action_Deidentify_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_Action_Deidentify_descriptor, + new java.lang.String[] { + "TransformationConfig", + "TransformationDetailsStorageConfig", + "CloudStorageOutput", + "FileTypesToTransform", + "Output", + }); + internal_static_google_privacy_dlp_v2_Action_JobNotificationEmails_descriptor = + internal_static_google_privacy_dlp_v2_Action_descriptor.getNestedTypes().get(5); + 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(6); + 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_TransformationConfig_descriptor = + getDescriptor().getMessageTypes().get(89); + internal_static_google_privacy_dlp_v2_TransformationConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TransformationConfig_descriptor, + new java.lang.String[] { + "DeidentifyTemplate", "StructuredDeidentifyTemplate", "ImageRedactTemplate", + }); + internal_static_google_privacy_dlp_v2_CreateInspectTemplateRequest_descriptor = + getDescriptor().getMessageTypes().get(90); + 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(91); + 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(92); + 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(93); + 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(94); + 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(95); + 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(96); + 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(97); + 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(98); + 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(99); + 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(100); + 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(101); + 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(102); + 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(103); + 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(104); + 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_DataProfileAction_descriptor = + getDescriptor().getMessageTypes().get(105); + internal_static_google_privacy_dlp_v2_DataProfileAction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor, + new java.lang.String[] { + "ExportData", "PubSubNotification", "Action", + }); + internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor = + internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_DataProfileAction_Export_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileAction_Export_descriptor, + new java.lang.String[] { + "ProfileTable", + }); + internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor = + internal_static_google_privacy_dlp_v2_DataProfileAction_descriptor.getNestedTypes().get(1); + internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileAction_PubSubNotification_descriptor, + new java.lang.String[] { + "Topic", "Event", "PubsubCondition", "DetailOfMessage", + }); + internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor = + getDescriptor().getMessageTypes().get(106); + internal_static_google_privacy_dlp_v2_DataProfileJobConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileJobConfig_descriptor, + new java.lang.String[] { + "Location", "ProjectId", "InspectTemplates", "DataProfileActions", + }); + internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor = + getDescriptor().getMessageTypes().get(107); + internal_static_google_privacy_dlp_v2_DataProfileLocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileLocation_descriptor, + new java.lang.String[] { + "OrganizationId", "FolderId", "Location", + }); + internal_static_google_privacy_dlp_v2_DlpJob_descriptor = + getDescriptor().getMessageTypes().get(108); + 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(109); + 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(110); + 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(111); + 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(112); + 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(113); + 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(114); + 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(115); + 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(116); + 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(117); + 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(118); + 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(119); + 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(120); + 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(121); + 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(122); + 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(123); + 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(124); + 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(125); + 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(126); + 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(127); + 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(128); + 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(129); + 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(130); + 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(131); + 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(132); + 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(133); + 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(134); + 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(135); + 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(136); + 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(137); + 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[] {}); + internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor = + getDescriptor().getMessageTypes().get(138); + internal_static_google_privacy_dlp_v2_DataRiskLevel_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataRiskLevel_descriptor, + new java.lang.String[] { + "Score", + }); + internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor = + getDescriptor().getMessageTypes().get(139); + internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfileConfigSnapshot_descriptor, + new java.lang.String[] { + "InspectConfig", "DataProfileJob", + }); + internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor = + getDescriptor().getMessageTypes().get(140); + internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor, + new java.lang.String[] { + "Name", + "ProjectDataProfile", + "DatasetProjectId", + "DatasetLocation", + "DatasetId", + "TableId", + "FullResource", + "ProfileStatus", + "State", + "SensitivityScore", + "DataRiskLevel", + "PredictedInfoTypes", + "OtherInfoTypes", + "ConfigSnapshot", + "LastModifiedTime", + "ExpirationTime", + "ScannedColumnCount", + "FailedColumnCount", + "TableSizeBytes", + "RowCount", + "EncryptionStatus", + "ResourceVisibility", + "ProfileLastGenerated", + "ResourceLabels", + "CreateTime", + }); + internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor = + internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor.getNestedTypes().get(0); + internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_TableDataProfile_ResourceLabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor = + getDescriptor().getMessageTypes().get(141); + internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor, + new java.lang.String[] { + "Status", "Timestamp", + }); + internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor = + getDescriptor().getMessageTypes().get(142); + internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor, + new java.lang.String[] { + "InfoType", "EstimatedPrevalence", + }); + internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor = + getDescriptor().getMessageTypes().get(143); + internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor, + new java.lang.String[] { + "InfoType", "EstimatedPrevalence", + }); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor = + getDescriptor().getMessageTypes().get(144); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor, + new java.lang.String[] { + "Expressions", + }); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor = + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor + .getNestedTypes() + .get(0); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubCondition_descriptor, + new java.lang.String[] { + "MinimumRiskScore", "MinimumSensitivityScore", "Value", + }); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor = + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_descriptor + .getNestedTypes() + .get(1); + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfilePubSubCondition_PubSubExpressions_descriptor, + new java.lang.String[] { + "LogicalOperator", "Conditions", + }); + internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor = + getDescriptor().getMessageTypes().get(145); + internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_DataProfilePubSubMessage_descriptor, + new java.lang.String[] { + "Profile", "Event", + }); + 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..41e99f97 --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DlpStorage.java @@ -0,0 +1,641 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_SensitivityScore_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_privacy_dlp_v2_SensitivityScore_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\"\341\001\n\020SensitivityScore\022L\n\005score\030\001 \001(\0162" + + "=.google.privacy.dlp.v2.SensitivityScore" + + ".SensitivityScoreLevel\"\177\n\025SensitivitySco" + + "reLevel\022!\n\035SENSITIVITY_SCORE_UNSPECIFIED" + + "\020\000\022\023\n\017SENSITIVITY_LOW\020\n\022\030\n\024SENSITIVITY_M" + + "ODERATE\020\024\022\024\n\020SENSITIVITY_HIGH\020\036\"K\n\nStore" + + "dType\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030\002 \001(\013" + + "2\032.google.protobuf.Timestamp\"\310\013\n\016CustomI" + + "nfoType\0222\n\tinfo_type\030\001 \001(\0132\037.google.priv" + + "acy.dlp.v2.InfoType\0225\n\nlikelihood\030\006 \001(\0162" + + "!.google.privacy.dlp.v2.Likelihood\022F\n\ndi" + + "ctionary\030\002 \001(\01320.google.privacy.dlp.v2.C" + + "ustomInfoType.DictionaryH\000\022<\n\005regex\030\003 \001(" + + "\0132+.google.privacy.dlp.v2.CustomInfoType" + + ".RegexH\000\022M\n\016surrogate_type\030\004 \001(\01323.googl" + + "e.privacy.dlp.v2.CustomInfoType.Surrogat" + + "eTypeH\000\0228\n\013stored_type\030\005 \001(\0132!.google.pr" + + "ivacy.dlp.v2.StoredTypeH\000\022L\n\017detection_r" + + "ules\030\007 \003(\01323.google.privacy.dlp.v2.Custo" + + "mInfoType.DetectionRule\022K\n\016exclusion_typ" + + "e\030\010 \001(\01623.google.privacy.dlp.v2.CustomIn" + + "foType.ExclusionType\032\310\001\n\nDictionary\022N\n\tw" + + "ord_list\030\001 \001(\01329.google.privacy.dlp.v2.C" + + "ustomInfoType.Dictionary.WordListH\000\022E\n\022c" + + "loud_storage_path\030\003 \001(\0132\'.google.privacy" + + ".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\007patt" + + "ern\030\001 \001(\t\022\025\n\rgroup_indexes\030\002 \003(\005\032\017\n\rSurr" + + "ogateType\032\276\004\n\rDetectionRule\022W\n\014hotword_r" + + "ule\030\001 \001(\0132?.google.privacy.dlp.v2.Custom" + + "InfoType.DetectionRule.HotwordRuleH\000\0328\n\t" + + "Proximity\022\025\n\rwindow_before\030\001 \001(\005\022\024\n\014wind" + + "ow_after\030\002 \001(\005\032\202\001\n\024LikelihoodAdjustment\022" + + "=\n\020fixed_likelihood\030\001 \001(\0162!.google.priva" + + "cy.dlp.v2.LikelihoodH\000\022\035\n\023relative_likel" + + "ihood\030\002 \001(\005H\000B\014\n\nadjustment\032\214\002\n\013HotwordR" + + "ule\022B\n\rhotword_regex\030\001 \001(\0132+.google.priv" + + "acy.dlp.v2.CustomInfoType.Regex\022P\n\tproxi" + + "mity\030\002 \001(\0132=.google.privacy.dlp.v2.Custo" + + "mInfoType.DetectionRule.Proximity\022g\n\025lik" + + "elihood_adjustment\030\003 \001(\0132H.google.privac" + + "y.dlp.v2.CustomInfoType.DetectionRule.Li" + + "kelihoodAdjustmentB\006\n\004type\"K\n\rExclusionT" + + "ype\022\036\n\032EXCLUSION_TYPE_UNSPECIFIED\020\000\022\032\n\026E" + + "XCLUSION_TYPE_EXCLUDE\020\001B\006\n\004type\"\027\n\007Field" + + "Id\022\014\n\004name\030\001 \001(\t\"7\n\013PartitionId\022\022\n\nproje" + + "ct_id\030\002 \001(\t\022\024\n\014namespace_id\030\004 \001(\t\"\036\n\016Kin" + + "dExpression\022\014\n\004name\030\001 \001(\t\"\201\001\n\020DatastoreO" + + "ptions\0228\n\014partition_id\030\001 \001(\0132\".google.pr" + + "ivacy.dlp.v2.PartitionId\0223\n\004kind\030\002 \001(\0132%" + + ".google.privacy.dlp.v2.KindExpression\"]\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\023CloudStorageOptions\022D\n\010" + + "file_set\030\001 \001(\01322.google.privacy.dlp.v2.C" + + "loudStorageOptions.FileSet\022\034\n\024bytes_limi" + + "t_per_file\030\004 \001(\003\022$\n\034bytes_limit_per_file" + + "_percent\030\010 \001(\005\0223\n\nfile_types\030\005 \003(\0162\037.goo" + + "gle.privacy.dlp.v2.FileType\022N\n\rsample_me" + + "thod\030\006 \001(\01627.google.privacy.dlp.v2.Cloud" + + "StorageOptions.SampleMethod\022\033\n\023files_lim" + + "it_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.privac" + + "y.dlp.v2.CloudStorageRegexFileSet\"H\n\014Sam" + + "pleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIFIED\020\000" + + "\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\"\n\023CloudStor" + + "ageFileSet\022\013\n\003url\030\001 \001(\t\" \n\020CloudStorageP" + + "ath\022\014\n\004path\030\001 \001(\t\"\304\003\n\017BigQueryOptions\022=\n" + + "\017table_reference\030\001 \001(\0132$.google.privacy." + + "dlp.v2.BigQueryTable\022:\n\022identifying_fiel" + + "ds\030\002 \003(\0132\036.google.privacy.dlp.v2.FieldId" + + "\022\022\n\nrows_limit\030\003 \001(\003\022\032\n\022rows_limit_perce" + + "nt\030\006 \001(\005\022J\n\rsample_method\030\004 \001(\01623.google" + + ".privacy.dlp.v2.BigQueryOptions.SampleMe" + + "thod\0227\n\017excluded_fields\030\005 \003(\0132\036.google.p" + + "rivacy.dlp.v2.FieldId\0227\n\017included_fields" + + "\030\007 \003(\0132\036.google.privacy.dlp.v2.FieldId\"H" + + "\n\014SampleMethod\022\035\n\031SAMPLE_METHOD_UNSPECIF" + + "IED\020\000\022\007\n\003TOP\020\001\022\020\n\014RANDOM_START\020\002\"\332\004\n\rSto" + + "rageConfig\022D\n\021datastore_options\030\002 \001(\0132\'." + + "google.privacy.dlp.v2.DatastoreOptionsH\000" + + "\022K\n\025cloud_storage_options\030\003 \001(\0132*.google" + + ".privacy.dlp.v2.CloudStorageOptionsH\000\022C\n" + + "\021big_query_options\030\004 \001(\0132&.google.privac" + + "y.dlp.v2.BigQueryOptionsH\000\022>\n\016hybrid_opt" + + "ions\030\t \001(\0132$.google.privacy.dlp.v2.Hybri" + + "dOptionsH\000\022L\n\017timespan_config\030\006 \001(\01323.go" + + "ogle.privacy.dlp.v2.StorageConfig.Timesp" + + "anConfig\032\332\001\n\016TimespanConfig\022.\n\nstart_tim" + + "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + + "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam" + + "p\0227\n\017timestamp_field\030\003 \001(\0132\036.google.priv" + + "acy.dlp.v2.FieldId\0221\n)enable_auto_popula" + + "tion_of_timespan_config\030\004 \001(\010B\006\n\004type\"\366\001" + + "\n\rHybridOptions\022\023\n\013description\030\001 \001(\t\022#\n\033" + + "required_finding_label_keys\030\002 \003(\t\022@\n\006lab" + + "els\030\003 \003(\01320.google.privacy.dlp.v2.Hybrid" + + "Options.LabelsEntry\022:\n\rtable_options\030\004 \001" + + "(\0132#.google.privacy.dlp.v2.TableOptions\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_reference" + + "\030\001 \001(\0132$.google.privacy.dlp.v2.BigQueryT" + + "able\022\022\n\nrow_number\030\002 \001(\003\">\n\014DatastoreKey" + + "\022.\n\nentity_key\030\001 \001(\0132\032.google.privacy.dl" + + "p.v2.Key\"\273\001\n\003Key\0228\n\014partition_id\030\001 \001(\0132\"" + + ".google.privacy.dlp.v2.PartitionId\0224\n\004pa" + + "th\030\002 \003(\0132&.google.privacy.dlp.v2.Key.Pat" + + "hElement\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#.go" + + "ogle.privacy.dlp.v2.DatastoreKeyH\000\022;\n\rbi" + + "g_query_key\030\003 \001(\0132\".google.privacy.dlp.v" + + "2.BigQueryKeyH\000\022\021\n\tid_values\030\005 \003(\tB\006\n\004ty" + + "pe\"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.p" + + "rivacy.dlp.v2.BigQueryTable\022-\n\005field\030\002 \001" + + "(\0132\036.google.privacy.dlp.v2.FieldId\"9\n\010En" + + "tityId\022-\n\005field\030\001 \001(\0132\036.google.privacy.d" + + "lp.v2.FieldId\"J\n\014TableOptions\022:\n\022identif" + + "ying_fields\030\001 \003(\0132\036.google.privacy.dlp.v" + + "2.FieldId*t\n\nLikelihood\022\032\n\026LIKELIHOOD_UN" + + "SPECIFIED\020\000\022\021\n\rVERY_UNLIKELY\020\001\022\014\n\010UNLIKE" + + "LY\020\002\022\014\n\010POSSIBLE\020\003\022\n\n\006LIKELY\020\004\022\017\n\013VERY_L" + + "IKELY\020\005*\232\001\n\010FileType\022\031\n\025FILE_TYPE_UNSPEC" + + "IFIED\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\t\022\016\n\nPOWERPOINT\020\013\022\t\n\005EXC" + + "EL\020\014B\250\001\n\031com.google.privacy.dlp.v2B\nDlpS" + + "torageP\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::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_SensitivityScore_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor, + new java.lang.String[] { + "Score", + }); + internal_static_google_privacy_dlp_v2_StoredType_descriptor = + getDescriptor().getMessageTypes().get(2); + 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(3); + 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(4); + 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(5); + 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(6); + 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(7); + 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(8); + 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(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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(14); + 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(15); + 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(16); + 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(17); + 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(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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 e1a55799..fd0b53df 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,18 +68,18 @@ 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) { @@ -71,35 +87,40 @@ private DocumentLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -108,6 +129,7 @@ public long getFileOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,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 (fileOffset_ != 0L) { output.writeInt64(1, fileOffset_); } @@ -134,8 +155,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; @@ -145,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.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; } @@ -166,125 +186,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() @@ -292,16 +320,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(); @@ -311,9 +338,9 @@ public Builder 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 @@ -332,7 +359,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; @@ -342,38 +370,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; @@ -414,14 +443,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 @@ -429,39 +461,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); } @@ -471,12 +509,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(); } @@ -485,16 +523,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; @@ -509,6 +547,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/EncryptionStatus.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EncryptionStatus.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EncryptionStatus.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EncryptionStatus.java index e7c5f2c0..5590e7f0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EncryptionStatus.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/EncryptionStatus.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; /** + * + * *
  * How a resource is encrypted.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.EncryptionStatus} */ -public enum EncryptionStatus - implements com.google.protobuf.ProtocolMessageEnum { +public enum EncryptionStatus implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unused.
    * 
@@ -21,6 +39,8 @@ public enum EncryptionStatus */ ENCRYPTION_STATUS_UNSPECIFIED(0), /** + * + * *
    * Google manages server-side encryption keys on your behalf.
    * 
@@ -29,6 +49,8 @@ public enum EncryptionStatus */ ENCRYPTION_GOOGLE_MANAGED(1), /** + * + * *
    * Customer provides the key.
    * 
@@ -40,6 +62,8 @@ public enum EncryptionStatus ; /** + * + * *
    * Unused.
    * 
@@ -48,6 +72,8 @@ public enum EncryptionStatus */ public static final int ENCRYPTION_STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Google manages server-side encryption keys on your behalf.
    * 
@@ -56,6 +82,8 @@ public enum EncryptionStatus */ public static final int ENCRYPTION_GOOGLE_MANAGED_VALUE = 1; /** + * + * *
    * Customer provides the key.
    * 
@@ -64,7 +92,6 @@ public enum EncryptionStatus */ public static final int ENCRYPTION_CUSTOMER_MANAGED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static EncryptionStatus valueOf(int value) { */ public static EncryptionStatus forNumber(int value) { switch (value) { - case 0: return ENCRYPTION_STATUS_UNSPECIFIED; - case 1: return ENCRYPTION_GOOGLE_MANAGED; - case 2: return ENCRYPTION_CUSTOMER_MANAGED; - default: return null; + case 0: + return ENCRYPTION_STATUS_UNSPECIFIED; + case 1: + return ENCRYPTION_GOOGLE_MANAGED; + case 2: + return ENCRYPTION_CUSTOMER_MANAGED; + 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< - EncryptionStatus> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EncryptionStatus findValueByNumber(int number) { - return EncryptionStatus.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 EncryptionStatus findValueByNumber(int number) { + return EncryptionStatus.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(11); } private static final EncryptionStatus[] VALUES = values(); - public static EncryptionStatus valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EncryptionStatus 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 EncryptionStatus(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.EncryptionStatus) } - 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 e2533207..9752349a 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,26 +72,28 @@ 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) {
@@ -83,34 +101,39 @@ private EntityId(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -118,11 +141,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 @@ -130,6 +156,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.
    * 
@@ -142,6 +170,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() { } 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 (field_ != null) { output.writeMessage(1, getField()); } @@ -168,8 +196,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; @@ -179,7 +206,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); @@ -188,8 +215,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; @@ -211,97 +237,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
@@ -312,21 +344,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()
@@ -334,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();
@@ -357,9 +390,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
@@ -392,38 +425,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;
@@ -466,24 +500,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() { @@ -494,6 +537,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -514,14 +559,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(); @@ -532,6 +578,8 @@ public Builder setField( return this; } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -542,7 +590,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; } @@ -554,6 +602,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -572,6 +622,8 @@ public Builder clearField() { return this; } /** + * + * *
      * Composite key indicating which field contains the entity identifier.
      * 
@@ -579,11 +631,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.
      * 
@@ -594,11 +648,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.
      * 
@@ -606,21 +661,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); } @@ -630,12 +688,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(); } @@ -644,16 +702,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; @@ -668,6 +726,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 03df97e0..c7ec75d5 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,35 +72,37 @@ 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) {
@@ -91,8 +110,7 @@ private Error(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -101,15 +119,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);
   }
@@ -117,11 +137,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 @@ -129,11 +152,14 @@ public boolean hasDetails() { return details_ != null; } /** + * + * *
    * Detailed error codes and messages.
    * 
* * .google.rpc.Status details = 1; + * * @return The details. */ @java.lang.Override @@ -141,6 +167,8 @@ public com.google.rpc.Status getDetails() { return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_; } /** + * + * *
    * Detailed error codes and messages.
    * 
@@ -155,6 +183,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.
    * 
@@ -166,6 +196,8 @@ public java.util.List getTimestampsList() { return timestamps_; } /** + * + * *
    * The times the error occurred.
    * 
@@ -173,11 +205,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.
    * 
@@ -189,6 +223,8 @@ public int getTimestampsCount() { return timestamps_.size(); } /** + * + * *
    * The times the error occurred.
    * 
@@ -200,6 +236,8 @@ public com.google.protobuf.Timestamp getTimestamps(int index) { return timestamps_.get(index); } /** + * + * *
    * The times the error occurred.
    * 
@@ -207,12 +245,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; @@ -224,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 { if (details_ != null) { output.writeMessage(1, getDetails()); } @@ -242,12 +279,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; @@ -257,7 +292,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); @@ -266,11 +301,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; } @@ -295,97 +328,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.
@@ -393,19 +432,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);
     }
@@ -415,17 +455,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();
@@ -445,9 +485,9 @@ public Builder 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
@@ -490,38 +530,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;
@@ -551,9 +592,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_);
           }
@@ -587,28 +629,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() { @@ -619,6 +669,8 @@ public com.google.rpc.Status getDetails() { } } /** + * + * *
      * Detailed error codes and messages.
      * 
@@ -639,14 +691,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(); @@ -657,6 +710,8 @@ public Builder setDetails( return this; } /** + * + * *
      * Detailed error codes and messages.
      * 
@@ -666,8 +721,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; } @@ -679,6 +733,8 @@ public Builder mergeDetails(com.google.rpc.Status value) { return this; } /** + * + * *
      * Detailed error codes and messages.
      * 
@@ -697,6 +753,8 @@ public Builder clearDetails() { return this; } /** + * + * *
      * Detailed error codes and messages.
      * 
@@ -704,11 +762,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.
      * 
@@ -719,11 +779,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.
      * 
@@ -731,32 +792,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.
      * 
@@ -771,6 +838,8 @@ public java.util.List getTimestampsList() { } } /** + * + * *
      * The times the error occurred.
      * 
@@ -785,6 +854,8 @@ public int getTimestampsCount() { } } /** + * + * *
      * The times the error occurred.
      * 
@@ -799,14 +870,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(); @@ -820,14 +892,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()); @@ -838,6 +911,8 @@ public Builder setTimestamps( return this; } /** + * + * *
      * The times the error occurred.
      * 
@@ -858,14 +933,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(); @@ -879,14 +955,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()); @@ -897,14 +974,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()); @@ -915,6 +993,8 @@ public Builder addTimestamps( return this; } /** + * + * *
      * The times the error occurred.
      * 
@@ -925,8 +1005,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); @@ -934,6 +1013,8 @@ public Builder addAllTimestamps( return this; } /** + * + * *
      * The times the error occurred.
      * 
@@ -951,6 +1032,8 @@ public Builder clearTimestamps() { return this; } /** + * + * *
      * The times the error occurred.
      * 
@@ -968,39 +1051,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 { @@ -1008,6 +1096,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampsOrBuilder( } } /** + * + * *
      * The times the error occurred.
      * 
@@ -1015,49 +1105,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); } @@ -1067,12 +1162,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(); } @@ -1081,16 +1176,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; @@ -1105,6 +1200,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 d8a47b8b..195548e8 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 excluded 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,22 +71,24 @@ 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) { @@ -77,8 +96,7 @@ private ExcludeInfoTypes( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -87,22 +105,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
@@ -121,6 +144,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
@@ -135,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_;
   }
   /**
+   *
+   *
    * 
    * 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,6 +185,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
@@ -176,6 +205,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
@@ -190,12 +221,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;
@@ -207,8 +238,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < infoTypes_.size(); i++) {
       output.writeMessage(1, infoTypes_.get(i));
     }
@@ -222,8 +252,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;
@@ -233,15 +262,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;
   }
@@ -262,118 +291,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 excluded 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() @@ -381,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getInfoTypesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -405,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_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 @@ -426,7 +464,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)) { @@ -445,38 +484,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; @@ -503,9 +543,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_); } @@ -539,21 +580,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
@@ -575,6 +623,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
@@ -596,6 +646,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
@@ -617,6 +669,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
@@ -630,8 +684,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();
@@ -645,6 +698,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
@@ -670,6 +725,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
@@ -697,6 +754,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
@@ -710,8 +769,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();
@@ -725,6 +783,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
@@ -738,8 +798,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());
@@ -750,6 +809,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
@@ -775,6 +836,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
@@ -792,8 +855,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);
@@ -801,6 +863,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
@@ -825,6 +889,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
@@ -849,6 +915,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
@@ -862,11 +930,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
@@ -880,14 +949,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
@@ -901,8 +972,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 {
@@ -910,6 +981,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
@@ -924,10 +997,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
@@ -941,12 +1016,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
@@ -960,27 +1036,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);
     }
 
@@ -990,12 +1068,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();
   }
@@ -1004,16 +1082,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;
@@ -1028,6 +1106,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 f6106c7c..45f27ea0 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,61 +71,70 @@ 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) {
@@ -116,36 +142,41 @@ private ExclusionRule(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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;
     }
@@ -161,31 +192,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 @@ -193,21 +231,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.
    * 
@@ -217,18 +260,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 @@ -236,21 +282,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.
    * 
@@ -260,18 +311,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 @@ -279,21 +333,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.
    * 
@@ -303,7 +362,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(); } @@ -311,31 +370,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; @@ -347,8 +416,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -358,7 +426,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); @@ -371,20 +440,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; @@ -394,7 +466,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); @@ -405,16 +477,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: @@ -453,97 +522,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.
@@ -551,21 +627,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()
@@ -573,16 +651,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();
@@ -594,9 +671,9 @@ public Builder 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
@@ -615,7 +692,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_;
@@ -647,38 +725,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;
@@ -691,21 +770,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();
@@ -735,12 +818,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() {
@@ -750,15 +833,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 @@ -766,11 +854,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 @@ -788,6 +879,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -808,6 +901,8 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -826,6 +921,8 @@ public Builder setDictionary( return this; } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -834,10 +931,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; } @@ -853,6 +953,8 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -876,6 +978,8 @@ public Builder clearDictionary() { return this; } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -886,6 +990,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -904,6 +1010,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** + * + * *
      * Dictionary which defines the rule.
      * 
@@ -911,32 +1019,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 @@ -944,11 +1064,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 @@ -966,6 +1089,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -986,6 +1111,8 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1004,6 +1131,8 @@ public Builder setRegex( return this; } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1012,10 +1141,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; } @@ -1031,6 +1163,8 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1054,6 +1188,8 @@ public Builder clearRegex() { return this; } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1064,6 +1200,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1082,6 +1220,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** + * + * *
      * Regular expression which defines the rule.
      * 
@@ -1089,32 +1229,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 @@ -1122,11 +1274,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 @@ -1144,6 +1299,8 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes() { } } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1164,6 +1321,8 @@ public Builder setExcludeInfoTypes(com.google.privacy.dlp.v2.ExcludeInfoTypes va return this; } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1182,6 +1341,8 @@ public Builder setExcludeInfoTypes( return this; } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1190,10 +1351,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; } @@ -1209,6 +1373,8 @@ public Builder mergeExcludeInfoTypes(com.google.privacy.dlp.v2.ExcludeInfoTypes return this; } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1232,6 +1398,8 @@ public Builder clearExcludeInfoTypes() { return this; } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1242,6 +1410,8 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypes.Builder getExcludeInfoTypesBui return getExcludeInfoTypesFieldBuilder().getBuilder(); } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1260,6 +1430,8 @@ public com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOr } } /** + * + * *
      * Set of infoTypes for which findings would affect this rule.
      * 
@@ -1267,71 +1439,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. */ @@ -1339,28 +1531,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); } @@ -1370,12 +1565,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(); } @@ -1384,16 +1579,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; @@ -1408,6 +1603,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 cc95f676..30c50ec3 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,19 +70,20 @@ 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) { @@ -73,34 +91,39 @@ private FieldId( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -203,118 +225,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() @@ -322,16 +352,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.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 @@ -372,38 +401,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; @@ -447,18 +477,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; @@ -467,20 +499,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 { @@ -488,61 +521,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); } @@ -552,12 +592,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(); } @@ -566,16 +606,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; @@ -590,6 +630,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 5e42d622..c4991d34 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,63 +71,79 @@ 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) { @@ -118,8 +151,7 @@ private FieldTransformation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -128,28 +160,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; } @@ -165,26 +203,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,
@@ -192,13 +235,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,
@@ -206,14 +253,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,
@@ -221,13 +272,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,
@@ -235,13 +290,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,
@@ -249,17 +308,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
@@ -271,6 +333,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 @@ -278,6 +341,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
@@ -289,13 +354,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
@@ -315,11 +385,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 @@ -327,21 +400,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.
    * 
@@ -349,21 +427,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 @@ -371,22 +453,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`.
@@ -395,14 +482,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;
@@ -414,8 +503,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -438,20 +526,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;
@@ -461,29 +549,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:
@@ -524,118 +609,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() @@ -643,17 +737,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(); @@ -675,9 +769,9 @@ public Builder 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 @@ -696,7 +790,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)) { @@ -735,38 +830,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; @@ -793,9 +889,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_); } @@ -805,17 +902,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(); @@ -845,12 +945,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() { @@ -863,18 +963,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,
@@ -882,7 +988,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) { @@ -892,6 +1000,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,
@@ -899,7 +1009,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) { @@ -909,6 +1021,8 @@ public int getFieldsCount() { } } /** + * + * *
      * Required. Input field(s) to apply the transformation to.
      * When you have columns that reference their position within a list,
@@ -916,7 +1030,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) { @@ -926,6 +1042,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,
@@ -933,10 +1051,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(); @@ -950,6 +1069,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,
@@ -957,10 +1078,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()); @@ -971,6 +1093,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,
@@ -978,7 +1102,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) { @@ -994,6 +1120,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,
@@ -1001,10 +1129,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(); @@ -1018,6 +1147,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,
@@ -1025,10 +1156,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()); @@ -1039,6 +1171,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,
@@ -1046,10 +1180,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()); @@ -1060,6 +1195,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,
@@ -1067,14 +1204,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); @@ -1082,6 +1220,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,
@@ -1089,7 +1229,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) { @@ -1102,6 +1244,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,
@@ -1109,7 +1253,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) { @@ -1122,6 +1268,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,
@@ -1129,13 +1277,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,
@@ -1143,16 +1294,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,
@@ -1160,10 +1315,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 { @@ -1171,6 +1328,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,
@@ -1178,13 +1337,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,
@@ -1192,14 +1355,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,
@@ -1207,22 +1373,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_; @@ -1230,8 +1400,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
@@ -1243,12 +1418,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
@@ -1260,16 +1438,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
@@ -1296,6 +1479,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
@@ -1308,8 +1493,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();
@@ -1320,6 +1504,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
@@ -1336,7 +1522,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;
         }
@@ -1348,6 +1536,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
@@ -1372,6 +1562,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
@@ -1385,11 +1577,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
@@ -1406,11 +1600,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
@@ -1424,27 +1621,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 @@ -1452,11 +1658,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 @@ -1474,13 +1683,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(); @@ -1494,6 +1706,8 @@ public Builder setPrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveTra return this; } /** + * + * *
      * Apply the transformation to the entire field.
      * 
@@ -1512,18 +1726,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; } @@ -1539,6 +1760,8 @@ public Builder mergePrimitiveTransformation(com.google.privacy.dlp.v2.PrimitiveT return this; } /** + * + * *
      * Apply the transformation to the entire field.
      * 
@@ -1562,16 +1785,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.
      * 
@@ -1579,7 +1807,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 { @@ -1590,6 +1819,8 @@ public com.google.privacy.dlp.v2.PrimitiveTransformationOrBuilder getPrimitiveTr } } /** + * + * *
      * Apply the transformation to the entire field.
      * 
@@ -1597,33 +1828,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 @@ -1631,12 +1874,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 @@ -1654,6 +1900,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`.
@@ -1661,7 +1909,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();
@@ -1675,6 +1924,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`.
@@ -1694,6 +1945,8 @@ public Builder setInfoTypeTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1701,12 +1954,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;
         }
@@ -1722,6 +1980,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`.
@@ -1746,6 +2006,8 @@ public Builder clearInfoTypeTransformations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Treat the contents of the field as free text, and selectively
      * transform content that matches an `InfoType`.
@@ -1753,10 +2015,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`.
@@ -1765,7 +2030,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 {
@@ -1776,6 +2042,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`.
@@ -1784,26 +2052,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);
     }
 
@@ -1813,12 +2087,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();
   }
@@ -1827,16 +2101,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;
@@ -1851,6 +2125,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 88fa787e..84263637 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,133 +77,151 @@ 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) { @@ -194,41 +229,44 @@ private Finding( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { 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
@@ -236,6 +274,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string name = 14; + * * @return The name. */ @java.lang.Override @@ -244,14 +283,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
@@ -259,16 +299,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 { @@ -279,6 +318,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.
@@ -288,6 +329,7 @@ public java.lang.String getName() {
    * 
* * string quote = 1; + * * @return The quote. */ @java.lang.Override @@ -296,14 +338,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.
@@ -313,16 +356,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 { @@ -333,12 +375,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 @@ -346,12 +391,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 @@ -359,6 +407,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.
@@ -374,38 +424,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 @@ -413,11 +475,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 @@ -425,6 +490,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.
    * 
@@ -439,11 +506,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 @@ -451,11 +521,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Timestamp when finding was detected.
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -463,6 +536,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Timestamp when finding was detected.
    * 
@@ -477,6 +552,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
@@ -484,6 +561,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 @@ -491,6 +569,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
@@ -498,13 +578,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
@@ -521,11 +606,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 @@ -534,29 +622,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 { @@ -567,11 +655,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 @@ -580,29 +671,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 { @@ -611,24 +702,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_; } @@ -637,6 +727,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
@@ -651,22 +743,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 10;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -682,11 +774,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
@@ -702,16 +795,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 NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -727,12 +820,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 NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -742,11 +834,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 @@ -754,18 +849,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.
    * 
@@ -780,11 +882,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 @@ -793,29 +898,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 { @@ -826,11 +931,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 @@ -839,29 +947,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 { @@ -870,6 +978,7 @@ public java.lang.String getFindingId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -881,8 +990,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -907,12 +1015,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()); } @@ -938,24 +1042,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_); @@ -963,19 +1062,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_); @@ -994,53 +1092,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; } @@ -1095,140 +1181,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() @@ -1236,16 +1328,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(); @@ -1298,9 +1389,9 @@ public Builder 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 @@ -1363,38 +1454,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; @@ -1434,8 +1526,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()); } @@ -1475,10 +1566,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
@@ -1486,13 +1580,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; @@ -1501,6 +1595,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1508,15 +1604,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 { @@ -1524,6 +1619,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name in format
      * projects/{project}/locations/{location}/findings/{finding} Populated only
@@ -1531,20 +1628,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
@@ -1552,15 +1651,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
@@ -1568,16 +1670,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; @@ -1585,6 +1687,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.
@@ -1594,13 +1698,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; @@ -1609,6 +1713,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.
@@ -1618,15 +1724,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 { @@ -1634,6 +1739,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.
@@ -1643,20 +1750,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.
@@ -1666,15 +1775,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.
@@ -1684,16 +1796,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; @@ -1701,36 +1813,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.
@@ -1752,6 +1877,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.
@@ -1759,8 +1886,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();
@@ -1771,6 +1897,8 @@ public Builder setInfoType(
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1782,7 +1910,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;
         }
@@ -1794,6 +1924,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.
@@ -1813,6 +1945,8 @@ public Builder clearInfoType() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The type of content that might have been found.
      * Provided if `excluded_types` is false.
@@ -1821,11 +1955,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.
@@ -1837,11 +1973,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.
@@ -1850,14 +1989,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_;
@@ -1865,51 +2007,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. */ @@ -1917,21 +2073,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; @@ -1939,34 +2098,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.
      * 
@@ -1987,14 +2159,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(); @@ -2005,6 +2178,8 @@ public Builder setLocation( return this; } /** + * + * *
      * Where the content was found.
      * 
@@ -2015,7 +2190,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; } @@ -2027,6 +2204,8 @@ public Builder mergeLocation(com.google.privacy.dlp.v2.Location value) { return this; } /** + * + * *
      * Where the content was found.
      * 
@@ -2045,6 +2224,8 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Where the content was found.
      * 
@@ -2052,11 +2233,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.
      * 
@@ -2067,11 +2250,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.
      * 
@@ -2079,14 +2265,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_; @@ -2094,34 +2283,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.
      * 
@@ -2142,14 +2344,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(); @@ -2160,6 +2363,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Timestamp when finding was detected.
      * 
@@ -2170,7 +2375,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; } @@ -2182,6 +2387,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Timestamp when finding was detected.
      * 
@@ -2200,6 +2407,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Timestamp when finding was detected.
      * 
@@ -2207,11 +2416,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.
      * 
@@ -2222,11 +2433,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.
      * 
@@ -2234,14 +2448,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_; @@ -2249,8 +2466,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
@@ -2258,12 +2480,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
@@ -2271,16 +2496,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
@@ -2303,6 +2533,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
@@ -2311,8 +2543,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();
@@ -2323,6 +2554,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
@@ -2335,7 +2568,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;
         }
@@ -2347,6 +2582,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
@@ -2367,6 +2604,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
@@ -2376,11 +2615,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
@@ -2393,11 +2634,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
@@ -2407,14 +2651,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_;
@@ -2422,18 +2669,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; @@ -2442,20 +2691,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 { @@ -2463,54 +2713,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; @@ -2518,18 +2775,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; @@ -2538,20 +2797,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 { @@ -2559,75 +2819,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(); @@ -2639,6 +2905,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
@@ -2653,22 +2921,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 10;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2684,11 +2952,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
@@ -2704,16 +2973,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 NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2729,12 +2999,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 NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2742,11 +3011,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
@@ -2761,23 +3031,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 10;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2792,19 +3060,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 10;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The labels associated with this `Finding`.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -2819,44 +3088,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.
      * 
@@ -2877,14 +3156,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(); @@ -2895,6 +3175,8 @@ public Builder setJobCreateTime( return this; } /** + * + * *
      * Time the job started that produced this finding.
      * 
@@ -2905,7 +3187,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; } @@ -2917,6 +3201,8 @@ public Builder mergeJobCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the job started that produced this finding.
      * 
@@ -2935,6 +3221,8 @@ public Builder clearJobCreateTime() { return this; } /** + * + * *
      * Time the job started that produced this finding.
      * 
@@ -2942,11 +3230,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.
      * 
@@ -2957,11 +3247,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.
      * 
@@ -2969,14 +3262,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_; @@ -2984,18 +3280,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; @@ -3004,20 +3302,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 { @@ -3025,54 +3324,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; @@ -3080,18 +3386,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; @@ -3100,20 +3408,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 { @@ -3121,61 +3430,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); } @@ -3185,12 +3501,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(); } @@ -3199,16 +3515,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; @@ -3223,6 +3539,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 2785b260..43ca2207 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
@@ -308,11 +385,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The labels associated with this `Finding`.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -327,29 +406,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.
    * 
@@ -359,42 +444,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 d788c5fd..96f0f803 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,19 +70,20 @@ 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) { @@ -73,34 +91,41 @@ private FinishDlpJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -109,29 +134,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 { @@ -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.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; } @@ -203,118 +230,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() @@ -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_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 @@ -362,7 +397,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; @@ -372,38 +408,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; @@ -447,18 +484,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; @@ -467,20 +508,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 { @@ -488,61 +532,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); } @@ -552,12 +609,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(); } @@ -566,16 +623,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; @@ -590,6 +647,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 53c5efc1..1ef23ab7 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,44 +79,48 @@ 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) {
@@ -108,36 +128,42 @@ private FixedSizeBucketingConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -145,13 +171,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 @@ -159,13 +189,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() { @@ -175,13 +208,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 @@ -189,13 +226,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 @@ -203,13 +244,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() { @@ -219,6 +263,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
@@ -227,6 +273,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
    * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketSize. */ @java.lang.Override @@ -235,6 +282,7 @@ public double getBucketSize() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +294,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (lowerBound_ != null) { output.writeMessage(1, getLowerBound()); } @@ -267,16 +314,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 (java.lang.Double.doubleToRawLongBits(bucketSize_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(3, bucketSize_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, bucketSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,26 +330,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; } @@ -326,104 +368,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,
@@ -441,21 +492,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()
@@ -463,16 +516,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();
@@ -494,9 +546,9 @@ public Builder 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
@@ -515,7 +567,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 {
@@ -535,38 +588,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;
@@ -574,7 +628,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());
       }
@@ -603,7 +658,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) {
@@ -615,45 +671,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) { @@ -669,16 +741,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(); @@ -689,19 +763,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; } @@ -713,13 +792,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) { @@ -733,54 +815,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_; @@ -788,45 +883,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) { @@ -842,16 +953,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(); @@ -862,19 +975,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; } @@ -886,13 +1004,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) { @@ -906,61 +1027,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
@@ -969,6 +1105,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getUpperBoundOrBuilder() {
      * 
* * double bucket_size = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bucketSize. */ @java.lang.Override @@ -976,6 +1113,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
@@ -984,16 +1123,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
@@ -1002,17 +1144,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); } @@ -1022,12 +1165,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(); } @@ -1036,16 +1179,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; @@ -1060,6 +1203,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 cddb3333..8723c898 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,19 +70,20 @@ 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) { @@ -73,36 +91,43 @@ private GetDeidentifyTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -111,31 +136,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 { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,15 +207,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; } @@ -208,117 +235,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() @@ -326,16 +363,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,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_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 @@ -366,7 +402,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; @@ -376,38 +413,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; @@ -415,7 +453,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(); @@ -439,7 +478,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) { @@ -451,20 +491,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; @@ -473,22 +517,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 { @@ -496,67 +543,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); } @@ -566,12 +626,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(); } @@ -580,16 +640,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; @@ -604,6 +664,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 65% 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 66ba9520..452390b8 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,19 +70,20 @@ 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) { @@ -73,34 +91,41 @@ private GetDlpJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -109,29 +134,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 { @@ -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.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; } @@ -203,118 +230,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() @@ -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_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 @@ -362,7 +397,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; @@ -372,38 +408,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; @@ -447,18 +484,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; @@ -467,20 +508,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 { @@ -488,61 +532,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); } @@ -552,12 +609,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(); } @@ -566,16 +623,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; @@ -590,6 +647,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 ea5c8393..668c2c32 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,19 +70,20 @@ 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) { @@ -73,36 +91,43 @@ private GetInspectTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -111,31 +136,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 { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,15 +207,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; } @@ -208,117 +235,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() @@ -326,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(); @@ -345,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_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 @@ -366,7 +401,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; @@ -376,38 +412,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; @@ -415,7 +452,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(); @@ -439,7 +477,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) { @@ -451,20 +490,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; @@ -473,22 +516,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 { @@ -496,67 +542,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); } @@ -566,12 +625,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(); } @@ -580,16 +639,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; @@ -604,6 +663,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 86cf3020..2ff2fdee 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,19 +70,20 @@ 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) { @@ -73,35 +91,42 @@ private GetJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -110,30 +135,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 { @@ -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.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; } @@ -205,118 +232,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() @@ -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_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 @@ -364,7 +399,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; @@ -374,38 +410,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; @@ -449,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; @@ -470,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 { @@ -492,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); } @@ -559,12 +616,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(); } @@ -573,16 +630,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; @@ -597,6 +654,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 5390be39..9d9d301a 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,19 +70,20 @@ 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) { @@ -73,36 +91,43 @@ private GetStoredInfoTypeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -111,31 +136,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 { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -180,15 +207,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; } @@ -208,117 +235,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() @@ -326,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(); @@ -345,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_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 @@ -366,7 +401,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; @@ -376,38 +412,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; @@ -415,7 +452,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(); @@ -439,7 +477,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) { @@ -451,20 +490,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; @@ -473,22 +516,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 { @@ -496,67 +542,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); } @@ -566,12 +625,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(); } @@ -580,16 +639,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; @@ -604,6 +663,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 6d20e31c..d89ef45c 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,39 +69,45 @@ 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) {
@@ -93,34 +115,39 @@ private HybridContentItem(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -128,11 +155,14 @@ public boolean hasItem() { return item_ != null; } /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ @java.lang.Override @@ -140,6 +170,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** + * + * *
    * The item to inspect.
    * 
@@ -154,11 +186,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 @@ -166,18 +201,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.
    * 
@@ -190,6 +232,7 @@ public com.google.privacy.dlp.v2.HybridFindingDetailsOrBuilder getFindingDetails } 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 (item_ != null) { output.writeMessage(1, getItem()); } @@ -219,12 +261,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; @@ -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.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; @@ -275,97 +314,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.
@@ -373,21 +419,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()
@@ -395,16 +443,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();
@@ -424,9 +471,9 @@ public Builder 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
@@ -445,7 +492,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 {
@@ -464,38 +512,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;
@@ -541,24 +590,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() { @@ -569,6 +627,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The item to inspect.
      * 
@@ -589,14 +649,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(); @@ -607,6 +668,8 @@ public Builder setItem( return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -617,7 +680,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; } @@ -629,6 +694,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -647,6 +714,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -654,11 +723,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.
      * 
@@ -669,11 +740,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.
      * 
@@ -681,14 +753,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_; @@ -696,34 +771,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.
      * 
@@ -744,6 +832,8 @@ public Builder setFindingDetails(com.google.privacy.dlp.v2.HybridFindingDetails return this; } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -762,6 +852,8 @@ public Builder setFindingDetails( return this; } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -772,7 +864,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; } @@ -784,6 +878,8 @@ public Builder mergeFindingDetails(com.google.privacy.dlp.v2.HybridFindingDetail return this; } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -802,6 +898,8 @@ public Builder clearFindingDetails() { return this; } /** + * + * *
      * Supplementary information that will be added to each finding.
      * 
@@ -809,11 +907,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.
      * 
@@ -824,11 +924,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.
      * 
@@ -836,21 +939,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); } @@ -860,12 +966,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(); } @@ -874,16 +980,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; @@ -898,6 +1004,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 9e665c47..8bb2205b 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,62 +69,68 @@ 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) { @@ -116,46 +138,50 @@ private HybridFindingDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -163,18 +189,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.
    * 
@@ -189,6 +222,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
@@ -197,6 +232,7 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder
    * 
* * int64 file_offset = 2; + * * @return The fileOffset. */ @java.lang.Override @@ -207,6 +243,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
@@ -214,6 +252,7 @@ public long getFileOffset() {
    * 
* * int64 row_offset = 3; + * * @return The rowOffset. */ @java.lang.Override @@ -224,6 +263,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
@@ -233,6 +274,7 @@ public long getRowOffset() {
    * 
* * .google.privacy.dlp.v2.TableOptions table_options = 4; + * * @return Whether the tableOptions field is set. */ @java.lang.Override @@ -240,6 +282,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
@@ -249,13 +293,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
@@ -272,24 +321,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_;
   }
@@ -298,6 +346,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.
@@ -315,22 +365,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 5;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -349,11 +399,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.
@@ -372,16 +423,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 NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -400,12 +451,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 NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -413,6 +463,7 @@ public java.lang.String getLabelsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -424,8 +475,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (containerDetails_ != null) {
       output.writeMessage(1, getContainerDetails());
     }
@@ -438,12 +488,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);
   }
 
@@ -454,30 +500,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;
@@ -487,29 +529,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;
   }
@@ -526,11 +564,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();
@@ -544,140 +580,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() @@ -685,16 +728,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(); @@ -719,9 +761,9 @@ public Builder 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 @@ -740,7 +782,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_; @@ -764,38 +807,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; @@ -816,8 +860,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; @@ -846,38 +889,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.
      * 
@@ -898,6 +955,8 @@ public Builder setContainerDetails(com.google.privacy.dlp.v2.Container value) { return this; } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -916,6 +975,8 @@ public Builder setContainerDetails( return this; } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -926,7 +987,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; } @@ -938,6 +1001,8 @@ public Builder mergeContainerDetails(com.google.privacy.dlp.v2.Container value) return this; } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -956,6 +1021,8 @@ public Builder clearContainerDetails() { return this; } /** + * + * *
      * Details about the container where the content being inspected is from.
      * 
@@ -963,11 +1030,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.
      * 
@@ -978,11 +1047,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.
      * 
@@ -990,21 +1062,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
@@ -1013,6 +1090,7 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerDetailsOrBuilder
      * 
* * int64 file_offset = 2; + * * @return The fileOffset. */ @java.lang.Override @@ -1020,6 +1098,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
@@ -1028,16 +1108,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
@@ -1046,17 +1129,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
@@ -1064,6 +1150,7 @@ public Builder clearFileOffset() {
      * 
* * int64 row_offset = 3; + * * @return The rowOffset. */ @java.lang.Override @@ -1071,6 +1158,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
@@ -1078,16 +1167,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
@@ -1095,10 +1187,11 @@ public Builder setRowOffset(long value) {
      * 
* * int64 row_offset = 3; + * * @return This builder for chaining. */ public Builder clearRowOffset() { - + rowOffset_ = 0L; onChanged(); return this; @@ -1106,8 +1199,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
@@ -1117,12 +1215,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
@@ -1132,16 +1233,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
@@ -1166,6 +1272,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
@@ -1176,8 +1284,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();
@@ -1188,6 +1295,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
@@ -1202,7 +1311,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;
         }
@@ -1214,6 +1325,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
@@ -1236,6 +1349,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
@@ -1247,11 +1362,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
@@ -1266,11 +1383,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
@@ -1282,35 +1402,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();
@@ -1322,6 +1444,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.
@@ -1339,22 +1463,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 5;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1373,11 +1497,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.
@@ -1396,16 +1521,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 NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1424,12 +1550,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 NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1437,11 +1562,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.
@@ -1459,23 +1585,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1493,19 +1617,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels to represent user provided metadata about the data being inspected.
      * If configured by the job, some key values may be required.
@@ -1523,16 +1648,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);
     }
 
@@ -1542,12 +1664,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();
   }
@@ -1556,16 +1678,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;
@@ -1580,6 +1702,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 9bd710ab..5ec287eb 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.
@@ -183,11 +224,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels to represent user provided metadata about the data being inspected.
    * If configured by the job, some key values may be required.
@@ -205,7 +248,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 06c3862f..ff1cf2f2 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,32 +70,36 @@ 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) { @@ -86,35 +107,42 @@ private HybridInspectDlpJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -123,30 +151,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 { @@ -157,11 +187,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 @@ -169,18 +202,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.
    * 
@@ -193,6 +233,7 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -225,8 +265,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; @@ -236,19 +275,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; @@ -273,117 +311,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() @@ -391,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(); @@ -416,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_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 @@ -437,7 +483,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_; @@ -452,38 +499,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; @@ -491,7 +539,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(); @@ -518,7 +567,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) { @@ -530,19 +580,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; @@ -551,21 +605,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 { @@ -573,57 +630,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; @@ -631,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.
      * 
@@ -679,6 +762,8 @@ public Builder setHybridItem(com.google.privacy.dlp.v2.HybridContentItem value) return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -697,6 +782,8 @@ public Builder setHybridItem( return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -707,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; } @@ -719,6 +808,8 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -737,6 +828,8 @@ public Builder clearHybridItem() { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -744,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.
      * 
@@ -759,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.
      * 
@@ -771,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); } @@ -795,12 +896,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(); } @@ -809,16 +910,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; @@ -833,6 +934,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 213baaed..e2d830a6 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,32 +71,36 @@ 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) { @@ -86,35 +108,42 @@ private HybridInspectJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -123,30 +152,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 { @@ -157,11 +188,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 @@ -169,18 +203,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.
    * 
@@ -193,6 +234,7 @@ public com.google.privacy.dlp.v2.HybridContentItemOrBuilder getHybridItemOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +246,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -225,8 +266,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; @@ -236,19 +276,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; @@ -273,117 +312,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() @@ -391,16 +440,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,9 +464,9 @@ public Builder 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 @@ -437,7 +485,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_; @@ -452,38 +501,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; @@ -491,7 +541,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(); @@ -518,7 +569,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) { @@ -530,19 +582,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; @@ -551,21 +607,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 { @@ -573,57 +632,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; @@ -631,34 +703,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.
      * 
@@ -679,6 +764,8 @@ public Builder setHybridItem(com.google.privacy.dlp.v2.HybridContentItem value) return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -697,6 +784,8 @@ public Builder setHybridItem( return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -707,7 +796,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; } @@ -719,6 +810,8 @@ public Builder mergeHybridItem(com.google.privacy.dlp.v2.HybridContentItem value return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -737,6 +830,8 @@ public Builder clearHybridItem() { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -744,11 +839,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.
      * 
@@ -759,11 +856,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.
      * 
@@ -771,21 +871,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); } @@ -795,12 +898,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(); } @@ -809,16 +912,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; @@ -833,6 +936,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 3f470a7b..3e232eec 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,13 +68,13 @@ 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) { @@ -66,27 +82,30 @@ private HybridInspectResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; @@ -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,12 +135,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; @@ -140,118 +159,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() @@ -259,16 +287,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 +303,9 @@ public Builder 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 @@ -297,7 +324,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; } @@ -306,38 +334,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; @@ -345,7 +374,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; @@ -374,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); } @@ -386,12 +416,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(); } @@ -400,16 +430,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; @@ -424,6 +454,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 5fa5a605..884f8751 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,28 +68,28 @@ 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) { @@ -81,34 +97,39 @@ private HybridInspectStatistics( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -119,12 +140,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 @@ -135,6 +159,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`.
@@ -144,6 +170,7 @@ public long getAbortedCount() {
    * 
* * int64 pending_count = 3; + * * @return The pendingCount. */ @java.lang.Override @@ -152,6 +179,7 @@ public long getPendingCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +191,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (processedCount_ != 0L) { output.writeInt64(1, processedCount_); } @@ -184,16 +211,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; @@ -203,19 +227,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -228,131 +250,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() @@ -360,16 +388,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(); @@ -383,9 +410,9 @@ public Builder 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 @@ -404,7 +431,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_; @@ -416,38 +444,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; @@ -455,7 +484,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()); } @@ -484,7 +514,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) { @@ -494,13 +525,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 @@ -508,43 +542,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 @@ -552,39 +595,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`.
@@ -594,6 +645,7 @@ public Builder clearAbortedCount() {
      * 
* * int64 pending_count = 3; + * * @return The pendingCount. */ @java.lang.Override @@ -601,6 +653,8 @@ public long getPendingCount() { return pendingCount_; } /** + * + * *
      * The number of hybrid requests currently being processed. Only populated
      * when called via method `getDlpJob`.
@@ -610,16 +664,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`.
@@ -629,17 +686,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); } @@ -649,12 +707,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(); } @@ -663,16 +721,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; @@ -687,6 +745,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 b2e4a66d..787e2251 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,54 +73,59 @@ 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) {
@@ -111,8 +133,7 @@ private HybridOptions(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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();
@@ -121,40 +142,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 @@ -163,30 +189,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 { @@ -197,6 +223,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
@@ -207,13 +235,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
@@ -224,12 +254,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
@@ -240,6 +273,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. */ @@ -247,6 +281,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
@@ -257,33 +293,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_; } @@ -292,6 +327,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
@@ -306,22 +343,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 3;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -337,11 +374,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
@@ -357,16 +395,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 NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -382,12 +420,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 NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -397,12 +434,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 @@ -410,19 +450,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.
@@ -436,6 +483,7 @@ public com.google.privacy.dlp.v2.TableOptionsOrBuilder getTableOptionsOrBuilder(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -447,20 +495,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());
     }
@@ -484,19 +528,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;
@@ -506,23 +549,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;
@@ -554,97 +594,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.
@@ -652,43 +699,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()
@@ -696,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();
@@ -724,9 +770,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
@@ -745,7 +791,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)) {
@@ -768,38 +815,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;
@@ -822,8 +870,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());
       }
@@ -855,23 +902,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; @@ -880,21 +930,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 { @@ -902,70 +953,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
@@ -976,13 +1039,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
@@ -993,12 +1058,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
@@ -1009,6 +1077,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. */ @@ -1016,6 +1085,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
@@ -1026,14 +1097,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
@@ -1044,21 +1117,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
@@ -1069,20 +1144,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
@@ -1093,18 +1170,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
@@ -1115,6 +1193,7 @@ public Builder addAllRequiredFindingLabelKeys(
      * 
* * repeated string required_finding_label_keys = 2; + * * @return This builder for chaining. */ public Builder clearRequiredFindingLabelKeys() { @@ -1124,6 +1203,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
@@ -1134,37 +1215,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(); @@ -1176,6 +1256,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
@@ -1190,22 +1272,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 3;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1221,11 +1303,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
@@ -1241,16 +1324,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 NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1266,12 +1350,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 NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1279,11 +1362,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
@@ -1298,23 +1382,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 3;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1329,19 +1411,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 3;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * To organize findings, these labels will be added to each finding.
      * Label keys must be between 1 and 63 characters long and must conform
@@ -1356,46 +1439,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.
@@ -1417,6 +1510,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.
@@ -1424,8 +1519,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();
@@ -1436,6 +1530,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.
@@ -1447,7 +1543,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;
         }
@@ -1459,6 +1557,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.
@@ -1478,6 +1578,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.
@@ -1486,11 +1588,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.
@@ -1502,11 +1606,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.
@@ -1515,21 +1622,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);
     }
 
@@ -1539,12 +1649,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();
   }
@@ -1553,16 +1663,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;
@@ -1577,6 +1687,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 bb6e8730..c8235ff3 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
@@ -163,11 +197,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * To organize findings, these labels will be added to each finding.
    * Label keys must be between 1 and 63 characters long and must conform
@@ -182,31 +218,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 75%
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 9feba61d..44be34a4 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,22 +71,24 @@ 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) { @@ -77,8 +96,7 @@ private ImageLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -87,22 +105,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.
    * 
@@ -114,6 +137,8 @@ public java.util.List getBoundingBoxesLis return boundingBoxes_; } /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -121,11 +146,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.
    * 
@@ -137,6 +164,8 @@ public int getBoundingBoxesCount() { return boundingBoxes_.size(); } /** + * + * *
    * Bounding boxes locating the pixels within the image containing the finding.
    * 
@@ -148,6 +177,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.
    * 
@@ -155,12 +186,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; @@ -172,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < boundingBoxes_.size(); i++) { output.writeMessage(1, boundingBoxes_.get(i)); } @@ -187,8 +217,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; @@ -198,15 +227,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; } @@ -227,118 +255,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() @@ -346,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) { getBoundingBoxesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,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_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 @@ -391,7 +428,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)) { @@ -410,38 +448,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; @@ -468,9 +507,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_); } @@ -504,21 +544,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.
      * 
@@ -533,6 +581,8 @@ public java.util.List getBoundingBoxesLis } } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -547,6 +597,8 @@ public int getBoundingBoxesCount() { } } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -561,14 +613,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(); @@ -582,6 +635,8 @@ public Builder setBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -600,6 +655,8 @@ public Builder setBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -620,14 +677,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(); @@ -641,14 +699,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()); @@ -659,6 +718,8 @@ public Builder addBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -677,6 +738,8 @@ public Builder addBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -687,8 +750,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); @@ -696,6 +758,8 @@ public Builder addAllBoundingBoxes( return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -713,6 +777,8 @@ public Builder clearBoundingBoxes() { return this; } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -730,39 +796,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 { @@ -770,6 +841,8 @@ public com.google.privacy.dlp.v2.BoundingBoxOrBuilder getBoundingBoxesOrBuilder( } } /** + * + * *
      * Bounding boxes locating the pixels within the image containing the finding.
      * 
@@ -777,38 +850,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(), @@ -817,9 +899,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); } @@ -829,12 +911,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(); } @@ -843,16 +925,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; @@ -867,6 +949,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/ImageTransformations.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformations.java similarity index 60% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformations.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformations.java index 7843de56..1dd743a5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformations.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformations.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; /** + * + * *
  * A type of transformation that is applied over images.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations} */ -public final class ImageTransformations extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImageTransformations extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageTransformations) ImageTransformationsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImageTransformations.newBuilder() to construct. private ImageTransformations(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImageTransformations() { transforms_ = 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 ImageTransformations(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImageTransformations( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,27 @@ private ImageTransformations( case 0: done = true; break; - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - transforms_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + transforms_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation>(); + mutable_bitField0_ |= 0x00000001; + } + transforms_.add( + input.readMessage( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.parser(), + extensionRegistry)); + break; } - transforms_.add( - input.readMessage(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +99,7 @@ private ImageTransformations( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { transforms_ = java.util.Collections.unmodifiableList(transforms_); @@ -87,134 +108,190 @@ private ImageTransformations( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageTransformations.class, com.google.privacy.dlp.v2.ImageTransformations.Builder.class); + com.google.privacy.dlp.v2.ImageTransformations.class, + com.google.privacy.dlp.v2.ImageTransformations.Builder.class); } - public interface ImageTransformationOrBuilder extends + public interface ImageTransformationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations.ImageTransformation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Apply transformation to the selected info_types.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * * @return Whether the selectedInfoTypes field is set. */ boolean hasSelectedInfoTypes(); /** + * + * *
      * Apply transformation to the selected info_types.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * * @return The selectedInfoTypes. */ - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getSelectedInfoTypes(); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + getSelectedInfoTypes(); /** + * + * *
      * Apply transformation to the selected info_types.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * */ - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder getSelectedInfoTypesOrBuilder(); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder + getSelectedInfoTypesOrBuilder(); /** + * + * *
      * Apply transformation to all findings not specified in other
      * ImageTransformation's selected_info_types. Only one instance is allowed
      * within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * * @return Whether the allInfoTypes field is set. */ boolean hasAllInfoTypes(); /** + * + * *
      * Apply transformation to all findings not specified in other
      * ImageTransformation's selected_info_types. Only one instance is allowed
      * within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * * @return The allInfoTypes. */ - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getAllInfoTypes(); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + getAllInfoTypes(); /** + * + * *
      * Apply transformation to all findings not specified in other
      * ImageTransformation's selected_info_types. Only one instance is allowed
      * within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * */ - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder getAllInfoTypesOrBuilder(); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder + getAllInfoTypesOrBuilder(); /** + * + * *
      * Apply transformation to all text that doesn't match an infoType. Only
      * one instance is allowed within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * + * * @return Whether the allText field is set. */ boolean hasAllText(); /** + * + * *
      * Apply transformation to all text that doesn't match an infoType. Only
      * one instance is allowed within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * + * * @return The allText. */ com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getAllText(); /** + * + * *
      * Apply transformation to all text that doesn't match an infoType. Only
      * one instance is allowed within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * */ - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder getAllTextOrBuilder(); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder + getAllTextOrBuilder(); /** + * + * *
      * 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.
@@ -224,39 +301,41 @@ public interface ImageTransformationOrBuilder extends
      */
     com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder();
 
-    public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.TargetCase getTargetCase();
+    public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.TargetCase
+        getTargetCase();
   }
   /**
+   *
+   *
    * 
    * Configuration for determining how redaction of images should occur.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation} */ - public static final class ImageTransformation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ImageTransformation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation) ImageTransformationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImageTransformation.newBuilder() to construct. private ImageTransformation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImageTransformation() { - } + + private ImageTransformation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImageTransformation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImageTransformation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -275,68 +354,106 @@ private ImageTransformation( case 0: done = true; break; - 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(); - } + 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; - } - case 34: { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder subBuilder = null; - if (targetCase_ == 4) { - subBuilder = ((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_).toBuilder(); - } - target_ = - input.readMessage(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_); - target_ = subBuilder.buildPartial(); - } - targetCase_ = 4; - break; - } - case 42: { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder subBuilder = null; - if (targetCase_ == 5) { - subBuilder = ((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_).toBuilder(); + break; } - target_ = - input.readMessage(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_); - target_ = subBuilder.buildPartial(); + case 34: + { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .Builder + subBuilder = null; + if (targetCase_ == 4) { + subBuilder = + ((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) + target_) + .toBuilder(); + } + target_ = + input.readMessage( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) + target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 4; + break; } - targetCase_ = 5; - break; - } - case 50: { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder subBuilder = null; - if (targetCase_ == 6) { - subBuilder = ((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_).toBuilder(); + case 42: + { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .Builder + subBuilder = null; + if (targetCase_ == 5) { + subBuilder = + ((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllInfoTypes) + target_) + .toBuilder(); + } + target_ = + input.readMessage( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllInfoTypes.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllInfoTypes) + target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 5; + break; } - target_ = - input.readMessage(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_); - target_ = subBuilder.buildPartial(); + case 50: + { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder + subBuilder = null; + if (targetCase_ == 6) { + subBuilder = + ((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + target_) + .toBuilder(); + } + target_ = + input.readMessage( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 6; + break; } - targetCase_ = 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) { @@ -344,111 +461,135 @@ private ImageTransformation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_ImageTransformations_ImageTransformation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder.class); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.class, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder.class); } - public interface SelectedInfoTypesOrBuilder extends + public interface SelectedInfoTypesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
        * must be unique within the ImageTransformations message.
        * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getInfoTypesList(); + java.util.List getInfoTypesList(); /** + * + * *
        * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
        * must be unique within the ImageTransformations message.
        * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.privacy.dlp.v2.InfoType getInfoTypes(int index); /** + * + * *
        * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
        * must be unique within the ImageTransformations message.
        * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ int getInfoTypesCount(); /** + * + * *
        * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
        * must be unique within the ImageTransformations message.
        * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getInfoTypesOrBuilderList(); /** + * + * *
        * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
        * must be unique within the ImageTransformations message.
        * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( - int index); + com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index); } /** + * + * *
      * Apply transformation to the selected info_types.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes} + * Protobuf type {@code + * google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes} */ - public static final class SelectedInfoTypes extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class SelectedInfoTypes extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) SelectedInfoTypesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SelectedInfoTypes.newBuilder() to construct. private SelectedInfoTypes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SelectedInfoTypes() { 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 SelectedInfoTypes(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SelectedInfoTypes( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -468,22 +609,24 @@ private SelectedInfoTypes( case 0: done = true; break; - case 42: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - infoTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 42: + { + 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) { @@ -491,8 +634,8 @@ private SelectedInfoTypes( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -501,85 +644,110 @@ private SelectedInfoTypes( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder.class); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .class, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .Builder.class); } public static final int INFO_TYPES_FIELD_NUMBER = 5; private java.util.List infoTypes_; /** + * + * *
        * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
        * must be unique within the ImageTransformations message.
        * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getInfoTypesList() { return infoTypes_; } /** + * + * *
        * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
        * must be unique within the ImageTransformations message.
        * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getInfoTypesOrBuilderList() { return infoTypes_; } /** + * + * *
        * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
        * must be unique within the ImageTransformations message.
        * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getInfoTypesCount() { return infoTypes_.size(); } /** + * + * *
        * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
        * must be unique within the ImageTransformations message.
        * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { return infoTypes_.get(index); } /** + * + * *
        * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
        * must be unique within the ImageTransformations message.
        * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @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; @@ -591,8 +759,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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(5, infoTypes_.get(i)); } @@ -606,8 +773,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < infoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, infoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, infoTypes_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -617,15 +783,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.ImageTransformations.ImageTransformation.SelectedInfoTypes)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes other = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) obj; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes other = + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) + obj; - if (!getInfoTypesList() - .equals(other.getInfoTypesList())) return false; + if (!getInfoTypesList().equals(other.getInfoTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -646,88 +815,116 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes + 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.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes + 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.ImageTransformations.ImageTransformation.SelectedInfoTypes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes 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.ImageTransformations.ImageTransformation + .SelectedInfoTypes + 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.ImageTransformations.ImageTransformation.SelectedInfoTypes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parseDelimitedFrom( - java.io.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.ImageTransformations.ImageTransformation + .SelectedInfoTypes + parseDelimitedFrom( + java.io.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.ImageTransformations.ImageTransformation.SelectedInfoTypes 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.ImageTransformations.ImageTransformation + .SelectedInfoTypes + 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.ImageTransformations.ImageTransformation.SelectedInfoTypes 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.ImageTransformations.ImageTransformation + .SelectedInfoTypes + 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.ImageTransformations.ImageTransformation.SelectedInfoTypes prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -737,45 +934,55 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Apply transformation to the selected info_types.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes} + * Protobuf type {@code + * google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder.class); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes.class, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes.Builder.class); } - // Construct using com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.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(); @@ -789,19 +996,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_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_SelectedInfoTypes_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes.getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes build() { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes result = buildPartial(); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + build() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -809,8 +1020,12 @@ public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Select } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes buildPartial() { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes result = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes(this); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + buildPartial() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + result = + new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes(this); int from_bitField0_ = bitField0_; if (infoTypesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -829,46 +1044,59 @@ public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Select public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) { - return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes)other); + if (other + instanceof + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) { + return mergeFrom( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes other) { - if (other == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + other) { + if (other + == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes.getDefaultInstance()) return this; if (infoTypesBuilder_ == null) { if (!other.infoTypes_.isEmpty()) { if (infoTypes_.isEmpty()) { @@ -887,9 +1115,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations.ImageTra 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_); } @@ -910,11 +1139,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes parsedMessage = null; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -923,27 +1156,36 @@ 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_; /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getInfoTypesList() { if (infoTypesBuilder_ == null) { @@ -953,12 +1195,16 @@ public java.util.List getInfoTypesList() { } } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getInfoTypesCount() { if (infoTypesBuilder_ == null) { @@ -968,12 +1214,16 @@ public int getInfoTypesCount() { } } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { if (infoTypesBuilder_ == null) { @@ -983,15 +1233,18 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { } } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - 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(); @@ -1005,12 +1258,16 @@ public Builder setInfoTypes( return this; } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInfoTypes( int index, com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { @@ -1024,12 +1281,16 @@ public Builder setInfoTypes( return this; } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) { if (infoTypesBuilder_ == null) { @@ -1045,15 +1306,18 @@ public Builder addInfoTypes(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - 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(); @@ -1067,15 +1331,18 @@ public Builder addInfoTypes( return this; } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - 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()); @@ -1086,12 +1353,16 @@ public Builder addInfoTypes( return this; } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addInfoTypes( int index, com.google.privacy.dlp.v2.InfoType.Builder builderForValue) { @@ -1105,19 +1376,22 @@ public Builder addInfoTypes( return this; } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ 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); @@ -1125,12 +1399,16 @@ public Builder addAllInfoTypes( return this; } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInfoTypes() { if (infoTypesBuilder_ == null) { @@ -1143,12 +1421,16 @@ public Builder clearInfoTypes() { return this; } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeInfoTypes(int index) { if (infoTypesBuilder_ == null) { @@ -1161,42 +1443,53 @@ public Builder removeInfoTypes(int index) { return this; } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - 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); } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - 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); } } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getInfoTypesOrBuilderList() { + public java.util.List + getInfoTypesOrBuilderList() { if (infoTypesBuilder_ != null) { return infoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -1204,48 +1497,65 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( } } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ 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()); } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - 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()); } /** + * + * *
          * Required. InfoTypes to apply the transformation to. Required. Provided InfoType
          * must be unique within the ImageTransformations message.
          * 
* - * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.privacy.dlp.v2.InfoType info_types = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - 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>( + 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(), @@ -1254,6 +1564,7 @@ public com.google.privacy.dlp.v2.InfoType.Builder addInfoTypesBuilder( } return infoTypesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1266,30 +1577,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) - private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes(); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getDefaultInstance() { + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SelectedInfoTypes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SelectedInfoTypes(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SelectedInfoTypes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SelectedInfoTypes(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1301,47 +1618,49 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AllInfoTypesOrBuilder extends + public interface AllInfoTypesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
      * Apply transformation to all findings.
      * 
* - * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes} + * Protobuf type {@code + * google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes} */ - public static final class AllInfoTypes extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AllInfoTypes extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) AllInfoTypesOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AllInfoTypes.newBuilder() to construct. private AllInfoTypes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AllInfoTypes() { - } + + private AllInfoTypes() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AllInfoTypes(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AllInfoTypes( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1360,13 +1679,13 @@ private AllInfoTypes( 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) { @@ -1374,27 +1693,33 @@ private AllInfoTypes( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder.class); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .class, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1406,8 +1731,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -1425,12 +1749,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.ImageTransformations.ImageTransformation.AllInfoTypes)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes other = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) obj; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes other = + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1448,88 +1775,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + 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.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + 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.ImageTransformations.ImageTransformation.AllInfoTypes parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes 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.ImageTransformations.ImageTransformation.AllInfoTypes + 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.ImageTransformations.ImageTransformation.AllInfoTypes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parseDelimitedFrom( - java.io.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.ImageTransformations.ImageTransformation.AllInfoTypes + parseDelimitedFrom( + java.io.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.ImageTransformations.ImageTransformation.AllInfoTypes 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.ImageTransformations.ImageTransformation.AllInfoTypes + 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.ImageTransformations.ImageTransformation.AllInfoTypes 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.ImageTransformations.ImageTransformation.AllInfoTypes + 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.ImageTransformations.ImageTransformation.AllInfoTypes prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1539,44 +1882,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Apply transformation to all findings.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes} + * Protobuf type {@code + * google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder.class); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .class, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .Builder.class); } - // Construct using com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.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(); @@ -1584,19 +1935,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_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllInfoTypes_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .getDefaultInstance(); } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes build() { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes result = buildPartial(); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + build() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1604,8 +1959,11 @@ public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInf } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes buildPartial() { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes result = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes(this); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + buildPartial() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes result = + new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes( + this); onBuilt(); return result; } @@ -1614,46 +1972,56 @@ public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) { - return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes)other); + if (other + instanceof + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) { + return mergeFrom( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes other) { - if (other == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes other) { + if (other + == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1669,11 +2037,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes parsedMessage = null; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1682,6 +2053,7 @@ public Builder mergeFrom( } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1694,30 +2066,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) - private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllInfoTypes + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes(); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getDefaultInstance() { + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AllInfoTypes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AllInfoTypes(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllInfoTypes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AllInfoTypes(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1729,47 +2105,48 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AllTextOrBuilder extends + public interface AllTextOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
      * Apply to all text.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText} */ - public static final class AllText extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AllText extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) AllTextOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AllText.newBuilder() to construct. private AllText(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AllText() { - } + + private AllText() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AllText(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AllText( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1788,13 +2165,13 @@ private AllText( 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) { @@ -1802,27 +2179,32 @@ private AllText( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_ImageTransformations_ImageTransformation_AllText_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder.class); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.class, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder + .class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1834,8 +2216,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -1853,12 +2234,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.ImageTransformations.ImageTransformation.AllText)) { + if (!(obj + instanceof + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText)) { return super.equals(obj); } - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText other = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) obj; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText other = + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1876,88 +2260,103 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + 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.ImageTransformations.ImageTransformation.AllText parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + 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.ImageTransformations.ImageTransformation.AllText parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText 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.ImageTransformations.ImageTransformation.AllText + 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.ImageTransformations.ImageTransformation.AllText parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parseDelimitedFrom( - java.io.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.ImageTransformations.ImageTransformation.AllText + parseDelimitedFrom( + java.io.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.ImageTransformations.ImageTransformation.AllText 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.ImageTransformations.ImageTransformation.AllText + 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.ImageTransformations.ImageTransformation.AllText 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.ImageTransformations.ImageTransformation.AllText + 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.ImageTransformations.ImageTransformation.AllText prototype) { + + public static Builder newBuilder( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1967,44 +2366,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Apply to all text.
        * 
* - * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText} + * Protobuf type {@code + * google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder.class); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.class, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder + .class); } - // Construct using com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.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(); @@ -2012,19 +2418,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_ImageTransformations_ImageTransformation_AllText_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_AllText_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .getDefaultInstance(); } @java.lang.Override public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText build() { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText result = buildPartial(); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2032,8 +2441,10 @@ public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTex } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText buildPartial() { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText result = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText(this); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + buildPartial() { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText result = + new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText(this); onBuilt(); return result; } @@ -2042,46 +2453,55 @@ public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTex public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) { - return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText)other); + if (other + instanceof + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) { + return mergeFrom( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText other) { - if (other == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText other) { + if (other + == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2097,11 +2517,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parsedMessage = null; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2110,6 +2533,7 @@ public Builder mergeFrom( } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2122,30 +2546,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) - private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText DEFAULT_INSTANCE; + private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllText + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText(); + DEFAULT_INSTANCE = + new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText(); } - public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getDefaultInstance() { + public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AllText parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AllText(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllText parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AllText(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2157,22 +2585,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } 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 { SELECTED_INFO_TYPES(4), ALL_INFO_TYPES(5), ALL_TEXT(6), TARGET_NOT_SET(0); private final int value; + private TargetCase(int value) { this.value = value; } @@ -2188,31 +2619,40 @@ public static TargetCase valueOf(int value) { public static TargetCase forNumber(int value) { switch (value) { - case 4: return SELECTED_INFO_TYPES; - case 5: return ALL_INFO_TYPES; - case 6: return ALL_TEXT; - case 0: return TARGET_NOT_SET; - default: return null; + case 4: + return SELECTED_INFO_TYPES; + case 5: + return ALL_INFO_TYPES; + case 6: + return 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 SELECTED_INFO_TYPES_FIELD_NUMBER = 4; /** + * + * *
      * Apply transformation to the selected info_types.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * * @return Whether the selectedInfoTypes field is set. */ @java.lang.Override @@ -2220,44 +2660,67 @@ public boolean hasSelectedInfoTypes() { return targetCase_ == 4; } /** + * + * *
      * Apply transformation to the selected info_types.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * * @return The selectedInfoTypes. */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getSelectedInfoTypes() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + getSelectedInfoTypes() { if (targetCase_ == 4) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) + target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .getDefaultInstance(); } /** + * + * *
      * Apply transformation to the selected info_types.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder getSelectedInfoTypesOrBuilder() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypesOrBuilder + getSelectedInfoTypesOrBuilder() { if (targetCase_ == 4) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) + target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .getDefaultInstance(); } public static final int ALL_INFO_TYPES_FIELD_NUMBER = 5; /** + * + * *
      * Apply transformation to all findings not specified in other
      * ImageTransformation's selected_info_types. Only one instance is allowed
      * within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * * @return Whether the allInfoTypes field is set. */ @java.lang.Override @@ -2265,47 +2728,66 @@ public boolean hasAllInfoTypes() { return targetCase_ == 5; } /** + * + * *
      * Apply transformation to all findings not specified in other
      * ImageTransformation's selected_info_types. Only one instance is allowed
      * within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * * @return The allInfoTypes. */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getAllInfoTypes() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + getAllInfoTypes() { if (targetCase_ == 5) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .getDefaultInstance(); } /** + * + * *
      * Apply transformation to all findings not specified in other
      * ImageTransformation's selected_info_types. Only one instance is allowed
      * within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder getAllInfoTypesOrBuilder() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder + getAllInfoTypesOrBuilder() { if (targetCase_ == 5) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .getDefaultInstance(); } public static final int ALL_TEXT_FIELD_NUMBER = 6; /** + * + * *
      * Apply transformation to all text that doesn't match an infoType. Only
      * one instance is allowed within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * + * * @return Whether the allText field is set. */ @java.lang.Override @@ -2313,46 +2795,59 @@ public boolean hasAllText() { return targetCase_ == 6; } /** + * + * *
      * Apply transformation to all text that doesn't match an infoType. Only
      * one instance is allowed within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * + * * @return The allText. */ @java.lang.Override public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getAllText() { if (targetCase_ == 6) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .getDefaultInstance(); } /** + * + * *
      * Apply transformation to all text that doesn't match an infoType. Only
      * one instance is allowed within the ImageTransformations message.
      * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder getAllTextOrBuilder() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder + getAllTextOrBuilder() { if (targetCase_ == 6) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .getDefaultInstance(); } 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 @@ -2360,19 +2855,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.
@@ -2386,6 +2888,7 @@ public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2397,19 +2900,26 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (redactionColor_ != null) {
         output.writeMessage(3, getRedactionColor());
       }
       if (targetCase_ == 4) {
-        output.writeMessage(4, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_);
+        output.writeMessage(
+            4,
+            (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes)
+                target_);
       }
       if (targetCase_ == 5) {
-        output.writeMessage(5, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_);
+        output.writeMessage(
+            5,
+            (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes)
+                target_);
       }
       if (targetCase_ == 6) {
-        output.writeMessage(6, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_);
+        output.writeMessage(
+            6,
+            (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_);
       }
       unknownFields.writeTo(output);
     }
@@ -2421,20 +2931,29 @@ public int getSerializedSize() {
 
       size = 0;
       if (redactionColor_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getRedactionColor());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRedactionColor());
       }
       if (targetCase_ == 4) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                4,
+                (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation
+                        .SelectedInfoTypes)
+                    target_);
       }
       if (targetCase_ == 5) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                5,
+                (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes)
+                    target_);
       }
       if (targetCase_ == 6) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                6,
+                (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText)
+                    target_);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -2444,31 +2963,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.ImageTransformations.ImageTransformation)) {
         return super.equals(obj);
       }
-      com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation other = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation) obj;
+      com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation other =
+          (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation) 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 4:
-          if (!getSelectedInfoTypes()
-              .equals(other.getSelectedInfoTypes())) return false;
+          if (!getSelectedInfoTypes().equals(other.getSelectedInfoTypes())) return false;
           break;
         case 5:
-          if (!getAllInfoTypes()
-              .equals(other.getAllInfoTypes())) return false;
+          if (!getAllInfoTypes().equals(other.getAllInfoTypes())) return false;
           break;
         case 6:
-          if (!getAllText()
-              .equals(other.getAllText())) return false;
+          if (!getAllText().equals(other.getAllText())) return false;
           break;
         case 0:
         default:
@@ -2510,87 +3026,95 @@ public int hashCode() {
     }
 
     public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(
-        java.nio.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.ImageTransformations.ImageTransformation parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseDelimitedFrom(
-        java.io.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.ImageTransformations.ImageTransformation
+        parseDelimitedFrom(
+            java.io.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.ImageTransformations.ImageTransformation parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation prototype) {
+
+    public static Builder newBuilder(
+        com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2600,44 +3124,49 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Configuration for determining how redaction of images should occur.
      * 
* * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations.ImageTransformation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageTransformations.ImageTransformation) com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.class, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder.class); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.class, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder.class); } - // Construct using com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.newBuilder() + // Construct using + // com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.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(); @@ -2653,14 +3182,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_ImageTransformations_ImageTransformation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_ImageTransformation_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getDefaultInstanceForType() { - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.getDefaultInstance(); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + getDefaultInstanceForType() { + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .getDefaultInstance(); } @java.lang.Override @@ -2674,7 +3205,8 @@ public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation build( @java.lang.Override public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation buildPartial() { - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation result = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation(this); + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation result = + new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation(this); if (targetCase_ == 4) { if (selectedInfoTypesBuilder_ == null) { result.target_ = target_; @@ -2710,65 +3242,76 @@ public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation 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.ImageTransformations.ImageTransformation) { - return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation)other); + return mergeFrom( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation other) { - if (other == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation other) { + if (other + == com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .getDefaultInstance()) return this; if (other.hasRedactionColor()) { mergeRedactionColor(other.getRedactionColor()); } switch (other.getTargetCase()) { - case SELECTED_INFO_TYPES: { - mergeSelectedInfoTypes(other.getSelectedInfoTypes()); - break; - } - case ALL_INFO_TYPES: { - mergeAllInfoTypes(other.getAllInfoTypes()); - break; - } - case ALL_TEXT: { - mergeAllText(other.getAllText()); - break; - } - case TARGET_NOT_SET: { - break; - } + case SELECTED_INFO_TYPES: + { + mergeSelectedInfoTypes(other.getSelectedInfoTypes()); + break; + } + case ALL_INFO_TYPES: + { + mergeAllInfoTypes(other.getAllInfoTypes()); + break; + } + case ALL_TEXT: + { + mergeAllText(other.getAllText()); + break; + } + case TARGET_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2789,7 +3332,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2798,12 +3343,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() { @@ -2813,15 +3358,24 @@ public Builder clearTarget() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder> selectedInfoTypesBuilder_; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypesOrBuilder> + selectedInfoTypesBuilder_; /** + * + * *
        * Apply transformation to the selected info_types.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * * @return Whether the selectedInfoTypes field is set. */ @java.lang.Override @@ -2829,35 +3383,51 @@ public boolean hasSelectedInfoTypes() { return targetCase_ == 4; } /** + * + * *
        * Apply transformation to the selected info_types.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * * @return The selectedInfoTypes. */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes getSelectedInfoTypes() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + getSelectedInfoTypes() { if (selectedInfoTypesBuilder_ == null) { if (targetCase_ == 4) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) + target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes.getDefaultInstance(); } else { if (targetCase_ == 4) { return selectedInfoTypesBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes.getDefaultInstance(); } } /** + * + * *
        * Apply transformation to the selected info_types.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * */ - public Builder setSelectedInfoTypes(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes value) { + public Builder setSelectedInfoTypes( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + value) { if (selectedInfoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2871,14 +3441,20 @@ public Builder setSelectedInfoTypes(com.google.privacy.dlp.v2.ImageTransformatio return this; } /** + * + * *
        * Apply transformation to the selected info_types.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * */ public Builder setSelectedInfoTypes( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder builderForValue) { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .Builder + builderForValue) { if (selectedInfoTypesBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -2889,18 +3465,32 @@ public Builder setSelectedInfoTypes( return this; } /** + * + * *
        * Apply transformation to the selected info_types.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * */ - public Builder mergeSelectedInfoTypes(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes value) { + public Builder mergeSelectedInfoTypes( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + value) { if (selectedInfoTypesBuilder_ == null) { - if (targetCase_ == 4 && - target_ != com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance()) { - target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.newBuilder((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_) - .mergeFrom(value).buildPartial(); + if (targetCase_ == 4 + && target_ + != com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes.getDefaultInstance()) { + target_ = + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .newBuilder( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) + target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -2916,11 +3506,15 @@ public Builder mergeSelectedInfoTypes(com.google.privacy.dlp.v2.ImageTransformat return this; } /** + * + * *
        * Apply transformation to the selected info_types.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * */ public Builder clearSelectedInfoTypes() { if (selectedInfoTypesBuilder_ == null) { @@ -2939,69 +3533,113 @@ public Builder clearSelectedInfoTypes() { return this; } /** + * + * *
        * Apply transformation to the selected info_types.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * */ - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder getSelectedInfoTypesBuilder() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .Builder + getSelectedInfoTypesBuilder() { return getSelectedInfoTypesFieldBuilder().getBuilder(); } /** + * + * *
        * Apply transformation to the selected info_types.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder getSelectedInfoTypesOrBuilder() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypesOrBuilder + getSelectedInfoTypesOrBuilder() { if ((targetCase_ == 4) && (selectedInfoTypesBuilder_ != null)) { return selectedInfoTypesBuilder_.getMessageOrBuilder(); } else { if (targetCase_ == 4) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) + target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes.getDefaultInstance(); } } /** + * + * *
        * Apply transformation to the selected info_types.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder> + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypesOrBuilder> getSelectedInfoTypesFieldBuilder() { if (selectedInfoTypesBuilder_ == null) { if (!(targetCase_ == 4)) { - target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.getDefaultInstance(); + target_ = + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes + .getDefaultInstance(); } - selectedInfoTypesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesOrBuilder>( - (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes) target_, + selectedInfoTypesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes.Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypesOrBuilder>( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .SelectedInfoTypes) + target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 4; - onChanged();; + onChanged(); + ; return selectedInfoTypesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder> allInfoTypesBuilder_; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllInfoTypesOrBuilder> + allInfoTypesBuilder_; /** + * + * *
        * Apply transformation to all findings not specified in other
        * ImageTransformation's selected_info_types. Only one instance is allowed
        * within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * * @return Whether the allInfoTypes field is set. */ @java.lang.Override @@ -3009,39 +3647,53 @@ public boolean hasAllInfoTypes() { return targetCase_ == 5; } /** + * + * *
        * Apply transformation to all findings not specified in other
        * ImageTransformation's selected_info_types. Only one instance is allowed
        * within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * * @return The allInfoTypes. */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes getAllInfoTypes() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + getAllInfoTypes() { if (allInfoTypesBuilder_ == null) { if (targetCase_ == 5) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .getDefaultInstance(); } else { if (targetCase_ == 5) { return allInfoTypesBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .getDefaultInstance(); } } /** + * + * *
        * Apply transformation to all findings not specified in other
        * ImageTransformation's selected_info_types. Only one instance is allowed
        * within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * */ - public Builder setAllInfoTypes(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes value) { + public Builder setAllInfoTypes( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes value) { if (allInfoTypesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3055,16 +3707,21 @@ public Builder setAllInfoTypes(com.google.privacy.dlp.v2.ImageTransformations.Im return this; } /** + * + * *
        * Apply transformation to all findings not specified in other
        * ImageTransformation's selected_info_types. Only one instance is allowed
        * within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * */ public Builder setAllInfoTypes( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder builderForValue) { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder + builderForValue) { if (allInfoTypesBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -3075,20 +3732,33 @@ public Builder setAllInfoTypes( return this; } /** + * + * *
        * Apply transformation to all findings not specified in other
        * ImageTransformation's selected_info_types. Only one instance is allowed
        * within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * */ - public Builder mergeAllInfoTypes(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes value) { + public Builder mergeAllInfoTypes( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes value) { if (allInfoTypesBuilder_ == null) { - if (targetCase_ == 5 && - target_ != com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance()) { - target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.newBuilder((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_) - .mergeFrom(value).buildPartial(); + if (targetCase_ == 5 + && target_ + != com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .getDefaultInstance()) { + target_ = + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .newBuilder( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllInfoTypes) + target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -3104,13 +3774,17 @@ public Builder mergeAllInfoTypes(com.google.privacy.dlp.v2.ImageTransformations. return this; } /** + * + * *
        * Apply transformation to all findings not specified in other
        * ImageTransformation's selected_info_types. Only one instance is allowed
        * within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * */ public Builder clearAllInfoTypes() { if (allInfoTypesBuilder_ == null) { @@ -3129,74 +3803,111 @@ public Builder clearAllInfoTypes() { return this; } /** + * + * *
        * Apply transformation to all findings not specified in other
        * ImageTransformation's selected_info_types. Only one instance is allowed
        * within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * */ - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder getAllInfoTypesBuilder() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder + getAllInfoTypesBuilder() { return getAllInfoTypesFieldBuilder().getBuilder(); } /** + * + * *
        * Apply transformation to all findings not specified in other
        * ImageTransformation's selected_info_types. Only one instance is allowed
        * within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder getAllInfoTypesOrBuilder() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllInfoTypesOrBuilder + getAllInfoTypesOrBuilder() { if ((targetCase_ == 5) && (allInfoTypesBuilder_ != null)) { return allInfoTypesBuilder_.getMessageOrBuilder(); } else { if (targetCase_ == 5) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .getDefaultInstance(); } } /** + * + * *
        * Apply transformation to all findings not specified in other
        * ImageTransformation's selected_info_types. Only one instance is allowed
        * within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder> + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllInfoTypesOrBuilder> getAllInfoTypesFieldBuilder() { if (allInfoTypesBuilder_ == null) { if (!(targetCase_ == 5)) { - target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.getDefaultInstance(); + target_ = + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .getDefaultInstance(); } - allInfoTypesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesOrBuilder>( - (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) target_, + allInfoTypesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes + .Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllInfoTypesOrBuilder>( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes) + target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 5; - onChanged();; + onChanged(); + ; return allInfoTypesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder> allTextBuilder_; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder> + allTextBuilder_; /** + * + * *
        * Apply transformation to all text that doesn't match an infoType. Only
        * one instance is allowed within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * + * * @return Whether the allText field is set. */ @java.lang.Override @@ -3204,37 +3915,49 @@ public boolean hasAllText() { return targetCase_ == 6; } /** + * + * *
        * Apply transformation to all text that doesn't match an infoType. Only
        * one instance is allowed within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * + * * @return The allText. */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText getAllText() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + getAllText() { if (allTextBuilder_ == null) { if (targetCase_ == 6) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .getDefaultInstance(); } else { if (targetCase_ == 6) { return allTextBuilder_.getMessage(); } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .getDefaultInstance(); } } /** + * + * *
        * Apply transformation to all text that doesn't match an infoType. Only
        * one instance is allowed within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * */ - public Builder setAllText(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText value) { + public Builder setAllText( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText value) { if (allTextBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3248,15 +3971,19 @@ public Builder setAllText(com.google.privacy.dlp.v2.ImageTransformations.ImageTr return this; } /** + * + * *
        * Apply transformation to all text that doesn't match an infoType. Only
        * one instance is allowed within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * */ public Builder setAllText( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder builderForValue) { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder + builderForValue) { if (allTextBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -3267,19 +3994,30 @@ public Builder setAllText( return this; } /** + * + * *
        * Apply transformation to all text that doesn't match an infoType. Only
        * one instance is allowed within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * */ - public Builder mergeAllText(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText value) { + public Builder mergeAllText( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText value) { if (allTextBuilder_ == null) { - if (targetCase_ == 6 && - target_ != com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance()) { - target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.newBuilder((com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_) - .mergeFrom(value).buildPartial(); + if (targetCase_ == 6 + && target_ + != com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .getDefaultInstance()) { + target_ = + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .newBuilder( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -3295,12 +4033,15 @@ public Builder mergeAllText(com.google.privacy.dlp.v2.ImageTransformations.Image return this; } /** + * + * *
        * Apply transformation to all text that doesn't match an infoType. Only
        * one instance is allowed within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * */ public Builder clearAllText() { if (allTextBuilder_ == null) { @@ -3319,94 +4060,131 @@ public Builder clearAllText() { return this; } /** + * + * *
        * Apply transformation to all text that doesn't match an infoType. Only
        * one instance is allowed within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * */ - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder getAllTextBuilder() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder + getAllTextBuilder() { return getAllTextFieldBuilder().getBuilder(); } /** + * + * *
        * Apply transformation to all text that doesn't match an infoType. Only
        * one instance is allowed within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * */ @java.lang.Override - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder getAllTextOrBuilder() { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder + getAllTextOrBuilder() { if ((targetCase_ == 6) && (allTextBuilder_ != null)) { return allTextBuilder_.getMessageOrBuilder(); } else { if (targetCase_ == 6) { - return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_; + return (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + target_; } - return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + return com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .getDefaultInstance(); } } /** + * + * *
        * Apply transformation to all text that doesn't match an infoType. Only
        * one instance is allowed within the ImageTransformations message.
        * 
* - * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder> + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder> getAllTextFieldBuilder() { if (allTextBuilder_ == null) { if (!(targetCase_ == 6)) { - target_ = com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.getDefaultInstance(); + target_ = + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .getDefaultInstance(); } - allTextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextOrBuilder>( - (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) target_, + allTextBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText + .Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .AllTextOrBuilder>( + (com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText) + target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 6; - onChanged();; + onChanged(); + ; return allTextBuilder_; } 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.
@@ -3428,6 +4206,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.
@@ -3435,8 +4215,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();
@@ -3447,6 +4226,8 @@ public Builder setRedactionColor(
         return this;
       }
       /**
+       *
+       *
        * 
        * The color to use when redacting content from an image. If not
        * specified, the default is black.
@@ -3458,7 +4239,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;
           }
@@ -3470,6 +4253,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.
@@ -3489,6 +4274,8 @@ public Builder clearRedactionColor() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The color to use when redacting content from an image. If not
        * specified, the default is black.
@@ -3497,11 +4284,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.
@@ -3513,11 +4302,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.
@@ -3526,18 +4318,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) {
@@ -3550,30 +4346,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation)
     }
 
     // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageTransformations.ImageTransformation)
-    private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation DEFAULT_INSTANCE;
+    private static final com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation();
     }
 
-    public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getDefaultInstance() {
+    public static com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public ImageTransformation parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new ImageTransformation(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public ImageTransformation parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new ImageTransformation(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -3585,53 +4383,63 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getDefaultInstanceForType() {
+    public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int TRANSFORMS_FIELD_NUMBER = 2;
-  private java.util.List transforms_;
+  private java.util.List
+      transforms_;
   /**
-   * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
+   * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
+   * 
    */
   @java.lang.Override
-  public java.util.List getTransformsList() {
+  public java.util.List
+      getTransformsList() {
     return transforms_;
   }
   /**
-   * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
+   * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder>
       getTransformsOrBuilderList() {
     return transforms_;
   }
   /**
-   * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
+   * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
+   * 
    */
   @java.lang.Override
   public int getTransformsCount() {
     return transforms_.size();
   }
   /**
-   * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
+   * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
+   * 
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getTransforms(int index) {
+  public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getTransforms(
+      int index) {
     return transforms_.get(index);
   }
   /**
-   * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
+   * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2;
+   * 
    */
   @java.lang.Override
-  public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder getTransformsOrBuilder(
-      int index) {
+  public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder
+      getTransformsOrBuilder(int index) {
     return transforms_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -3643,8 +4451,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < transforms_.size(); i++) {
       output.writeMessage(2, transforms_.get(i));
     }
@@ -3658,8 +4465,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < transforms_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, transforms_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, transforms_.get(i));
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -3669,15 +4475,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.ImageTransformations)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.ImageTransformations other = (com.google.privacy.dlp.v2.ImageTransformations) obj;
+    com.google.privacy.dlp.v2.ImageTransformations other =
+        (com.google.privacy.dlp.v2.ImageTransformations) obj;
 
-    if (!getTransformsList()
-        .equals(other.getTransformsList())) return false;
+    if (!getTransformsList().equals(other.getTransformsList())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -3698,118 +4504,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(java.io.InputStream input)
       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.ImageTransformations parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.ImageTransformations parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.ImageTransformations parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.ImageTransformations parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.ImageTransformations parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.privacy.dlp.v2.ImageTransformations prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 images.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.ImageTransformations} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ImageTransformations) com.google.privacy.dlp.v2.ImageTransformationsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ImageTransformations.class, com.google.privacy.dlp.v2.ImageTransformations.Builder.class); + com.google.privacy.dlp.v2.ImageTransformations.class, + com.google.privacy.dlp.v2.ImageTransformations.Builder.class); } // Construct using com.google.privacy.dlp.v2.ImageTransformations.newBuilder() @@ -3817,17 +4632,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) { getTransformsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3841,9 +4656,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ImageTransformations_descriptor; } @java.lang.Override @@ -3862,7 +4677,8 @@ public com.google.privacy.dlp.v2.ImageTransformations build() { @java.lang.Override public com.google.privacy.dlp.v2.ImageTransformations buildPartial() { - com.google.privacy.dlp.v2.ImageTransformations result = new com.google.privacy.dlp.v2.ImageTransformations(this); + com.google.privacy.dlp.v2.ImageTransformations result = + new com.google.privacy.dlp.v2.ImageTransformations(this); int from_bitField0_ = bitField0_; if (transformsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3881,38 +4697,39 @@ public com.google.privacy.dlp.v2.ImageTransformations buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ImageTransformations) { - return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations)other); + return mergeFrom((com.google.privacy.dlp.v2.ImageTransformations) other); } else { super.mergeFrom(other); return this; @@ -3939,9 +4756,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.ImageTransformations other) { transformsBuilder_ = null; transforms_ = other.transforms_; bitField0_ = (bitField0_ & ~0x00000001); - transformsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTransformsFieldBuilder() : null; + transformsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTransformsFieldBuilder() + : null; } else { transformsBuilder_.addAllMessages(other.transforms_); } @@ -3975,24 +4793,34 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List transforms_ = - java.util.Collections.emptyList(); + private java.util.List + transforms_ = java.util.Collections.emptyList(); + private void ensureTransformsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transforms_ = new java.util.ArrayList(transforms_); + transforms_ = + new java.util.ArrayList< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation>(transforms_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder> transformsBuilder_; + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder> + transformsBuilder_; /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ - public java.util.List getTransformsList() { + public java.util.List + getTransformsList() { if (transformsBuilder_ == null) { return java.util.Collections.unmodifiableList(transforms_); } else { @@ -4000,7 +4828,9 @@ public java.util.Listrepeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ public int getTransformsCount() { if (transformsBuilder_ == null) { @@ -4010,9 +4840,12 @@ public int getTransformsCount() { } } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getTransforms(int index) { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getTransforms( + int index) { if (transformsBuilder_ == null) { return transforms_.get(index); } else { @@ -4020,7 +4853,9 @@ public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getTra } } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ public Builder setTransforms( int index, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation value) { @@ -4037,10 +4872,14 @@ public Builder setTransforms( return this; } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ public Builder setTransforms( - int index, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder + builderForValue) { if (transformsBuilder_ == null) { ensureTransformsIsMutable(); transforms_.set(index, builderForValue.build()); @@ -4051,9 +4890,12 @@ public Builder setTransforms( return this; } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ - public Builder addTransforms(com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation value) { + public Builder addTransforms( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation value) { if (transformsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4067,7 +4909,9 @@ public Builder addTransforms(com.google.privacy.dlp.v2.ImageTransformations.Imag return this; } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ public Builder addTransforms( int index, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation value) { @@ -4084,10 +4928,13 @@ public Builder addTransforms( return this; } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ public Builder addTransforms( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder builderForValue) { + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder + builderForValue) { if (transformsBuilder_ == null) { ensureTransformsIsMutable(); transforms_.add(builderForValue.build()); @@ -4098,10 +4945,14 @@ public Builder addTransforms( return this; } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ public Builder addTransforms( - int index, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder builderForValue) { + int index, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder + builderForValue) { if (transformsBuilder_ == null) { ensureTransformsIsMutable(); transforms_.add(index, builderForValue.build()); @@ -4112,14 +4963,17 @@ public Builder addTransforms( return this; } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ public Builder addAllTransforms( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation> + values) { if (transformsBuilder_ == null) { ensureTransformsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, transforms_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transforms_); onChanged(); } else { transformsBuilder_.addAllMessages(values); @@ -4127,7 +4981,9 @@ public Builder addAllTransforms( return this; } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ public Builder clearTransforms() { if (transformsBuilder_ == null) { @@ -4140,7 +4996,9 @@ public Builder clearTransforms() { return this; } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ public Builder removeTransforms(int index) { if (transformsBuilder_ == null) { @@ -4153,27 +5011,35 @@ public Builder removeTransforms(int index) { return this; } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder getTransformsBuilder( - int index) { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder + getTransformsBuilder(int index) { return getTransformsFieldBuilder().getBuilder(index); } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder getTransformsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder + getTransformsOrBuilder(int index) { if (transformsBuilder_ == null) { - return transforms_.get(index); } else { + return transforms_.get(index); + } else { return transformsBuilder_.getMessageOrBuilder(index); } } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ - public java.util.List - getTransformsOrBuilderList() { + public java.util.List< + ? extends com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder> + getTransformsOrBuilderList() { if (transformsBuilder_ != null) { return transformsBuilder_.getMessageOrBuilderList(); } else { @@ -4181,44 +5047,60 @@ public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuild } } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder addTransformsBuilder() { - return getTransformsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.getDefaultInstance()); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder + addTransformsBuilder() { + return getTransformsFieldBuilder() + .addBuilder( + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .getDefaultInstance()); } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ - public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder addTransformsBuilder( - int index) { - return getTransformsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.getDefaultInstance()); + public com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder + addTransformsBuilder(int index) { + return getTransformsFieldBuilder() + .addBuilder( + index, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation + .getDefaultInstance()); } /** - * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * */ - public java.util.List - getTransformsBuilderList() { + public java.util.List< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder> + getTransformsBuilderList() { return getTransformsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder> + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder> getTransformsFieldBuilder() { if (transformsBuilder_ == null) { - transformsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder, com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder>( - transforms_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + transformsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.Builder, + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder>( + transforms_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); transforms_ = null; } return transformsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4228,12 +5110,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ImageTransformations) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ImageTransformations) private static final com.google.privacy.dlp.v2.ImageTransformations DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ImageTransformations(); } @@ -4242,16 +5124,16 @@ public static com.google.privacy.dlp.v2.ImageTransformations getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImageTransformations parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImageTransformations(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageTransformations parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImageTransformations(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4266,6 +5148,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ImageTransformations getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformationsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformationsOrBuilder.java new file mode 100644 index 00000000..afbf878f --- /dev/null +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ImageTransformationsOrBuilder.java @@ -0,0 +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 ImageTransformationsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ImageTransformations) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + */ + java.util.List + getTransformsList(); + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + */ + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformation getTransforms(int index); + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + */ + int getTransformsCount(); + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + */ + java.util.List< + ? extends com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder> + getTransformsOrBuilderList(); + /** + * repeated .google.privacy.dlp.v2.ImageTransformations.ImageTransformation transforms = 2; + * + */ + com.google.privacy.dlp.v2.ImageTransformations.ImageTransformationOrBuilder + getTransformsOrBuilder(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 72% 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 82bf89b6..a72b0454 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,25 +71,27 @@ 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) { @@ -80,29 +99,33 @@ private InfoType( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -112,6 +135,7 @@ private InfoType(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -120,14 +144,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
@@ -137,16 +162,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,11 +181,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 @@ -170,29 +197,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 { @@ -201,6 +228,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -243,17 +270,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; } @@ -274,118 +299,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() @@ -393,16 +426,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +446,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 @@ -446,38 +478,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; @@ -525,6 +558,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
@@ -534,13 +569,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; @@ -549,6 +584,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
@@ -558,15 +595,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 { @@ -574,6 +610,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
@@ -583,20 +621,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
@@ -606,15 +646,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
@@ -624,16 +667,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; @@ -641,18 +684,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; @@ -661,20 +706,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 { @@ -682,61 +728,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); } @@ -746,12 +799,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(); } @@ -760,16 +813,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; @@ -784,6 +837,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/InfoTypeCategory.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.java index 61c4ee29..50279022 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategory.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; /** + * + * *
  * Classification of infoTypes to organize them according to geographic
  * location, industry, and data type.
@@ -11,30 +28,29 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.InfoTypeCategory}
  */
-public final class InfoTypeCategory extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class InfoTypeCategory extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeCategory)
     InfoTypeCategoryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use InfoTypeCategory.newBuilder() to construct.
   private InfoTypeCategory(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private InfoTypeCategory() {
-  }
+
+  private InfoTypeCategory() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new InfoTypeCategory();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private InfoTypeCategory(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,31 +69,34 @@ private InfoTypeCategory(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
-            categoryCase_ = 1;
-            category_ = rawValue;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
-            categoryCase_ = 2;
-            category_ = rawValue;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
-            categoryCase_ = 3;
-            category_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 8:
+            {
+              int rawValue = input.readEnum();
+              categoryCase_ = 1;
+              category_ = rawValue;
+              break;
+            }
+          case 16:
+            {
+              int rawValue = input.readEnum();
+              categoryCase_ = 2;
+              category_ = rawValue;
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
+              categoryCase_ = 3;
+              category_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,27 +104,31 @@ private InfoTypeCategory(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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_InfoTypeCategory_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.InfoTypeCategory.class, com.google.privacy.dlp.v2.InfoTypeCategory.Builder.class);
+            com.google.privacy.dlp.v2.InfoTypeCategory.class,
+            com.google.privacy.dlp.v2.InfoTypeCategory.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Enum of the current locations.
    * We might add more locations in the future.
@@ -113,9 +136,10 @@ private InfoTypeCategory(
    *
    * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeCategory.LocationCategory}
    */
-  public enum LocationCategory
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum LocationCategory implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unused location
      * 
@@ -124,6 +148,8 @@ public enum LocationCategory */ LOCATION_UNSPECIFIED(0), /** + * + * *
      * The infoType is not issued by or tied to a specific region, but is used
      * almost everywhere.
@@ -133,6 +159,8 @@ public enum LocationCategory
      */
     GLOBAL(1),
     /**
+     *
+     *
      * 
      * The infoType is typically used in Argentina.
      * 
@@ -141,6 +169,8 @@ public enum LocationCategory */ ARGENTINA(2), /** + * + * *
      * The infoType is typically used in Australia.
      * 
@@ -149,6 +179,8 @@ public enum LocationCategory */ AUSTRALIA(3), /** + * + * *
      * The infoType is typically used in Belgium.
      * 
@@ -157,6 +189,8 @@ public enum LocationCategory */ BELGIUM(4), /** + * + * *
      * The infoType is typically used in Brazil.
      * 
@@ -165,6 +199,8 @@ public enum LocationCategory */ BRAZIL(5), /** + * + * *
      * The infoType is typically used in Canada.
      * 
@@ -173,6 +209,8 @@ public enum LocationCategory */ CANADA(6), /** + * + * *
      * The infoType is typically used in Chile.
      * 
@@ -181,6 +219,8 @@ public enum LocationCategory */ CHILE(7), /** + * + * *
      * The infoType is typically used in China.
      * 
@@ -189,6 +229,8 @@ public enum LocationCategory */ CHINA(8), /** + * + * *
      * The infoType is typically used in Colombia.
      * 
@@ -197,6 +239,8 @@ public enum LocationCategory */ COLOMBIA(9), /** + * + * *
      * The infoType is typically used in Denmark.
      * 
@@ -205,6 +249,8 @@ public enum LocationCategory */ DENMARK(10), /** + * + * *
      * The infoType is typically used in France.
      * 
@@ -213,6 +259,8 @@ public enum LocationCategory */ FRANCE(11), /** + * + * *
      * The infoType is typically used in Finland.
      * 
@@ -221,6 +269,8 @@ public enum LocationCategory */ FINLAND(12), /** + * + * *
      * The infoType is typically used in Germany.
      * 
@@ -229,6 +279,8 @@ public enum LocationCategory */ GERMANY(13), /** + * + * *
      * The infoType is typically used in Hong Kong.
      * 
@@ -237,6 +289,8 @@ public enum LocationCategory */ HONG_KONG(14), /** + * + * *
      * The infoType is typically used in India.
      * 
@@ -245,6 +299,8 @@ public enum LocationCategory */ INDIA(15), /** + * + * *
      * The infoType is typically used in Indonesia.
      * 
@@ -253,6 +309,8 @@ public enum LocationCategory */ INDONESIA(16), /** + * + * *
      * The infoType is typically used in Ireland.
      * 
@@ -261,6 +319,8 @@ public enum LocationCategory */ IRELAND(17), /** + * + * *
      * The infoType is typically used in Israel.
      * 
@@ -269,6 +329,8 @@ public enum LocationCategory */ ISRAEL(18), /** + * + * *
      * The infoType is typically used in Italy.
      * 
@@ -277,6 +339,8 @@ public enum LocationCategory */ ITALY(19), /** + * + * *
      * The infoType is typically used in Japan.
      * 
@@ -285,6 +349,8 @@ public enum LocationCategory */ JAPAN(20), /** + * + * *
      * The infoType is typically used in Korea.
      * 
@@ -293,6 +359,8 @@ public enum LocationCategory */ KOREA(21), /** + * + * *
      * The infoType is typically used in Mexico.
      * 
@@ -301,6 +369,8 @@ public enum LocationCategory */ MEXICO(22), /** + * + * *
      * The infoType is typically used in the Netherlands.
      * 
@@ -309,6 +379,8 @@ public enum LocationCategory */ THE_NETHERLANDS(23), /** + * + * *
      * The infoType is typically used in Norway.
      * 
@@ -317,6 +389,8 @@ public enum LocationCategory */ NORWAY(24), /** + * + * *
      * The infoType is typically used in Paraguay.
      * 
@@ -325,6 +399,8 @@ public enum LocationCategory */ PARAGUAY(25), /** + * + * *
      * The infoType is typically used in Peru.
      * 
@@ -333,6 +409,8 @@ public enum LocationCategory */ PERU(26), /** + * + * *
      * The infoType is typically used in Poland.
      * 
@@ -341,6 +419,8 @@ public enum LocationCategory */ POLAND(27), /** + * + * *
      * The infoType is typically used in Portugal.
      * 
@@ -349,6 +429,8 @@ public enum LocationCategory */ PORTUGAL(28), /** + * + * *
      * The infoType is typically used in Singapore.
      * 
@@ -357,6 +439,8 @@ public enum LocationCategory */ SINGAPORE(29), /** + * + * *
      * The infoType is typically used in South Africa.
      * 
@@ -365,6 +449,8 @@ public enum LocationCategory */ SOUTH_AFRICA(30), /** + * + * *
      * The infoType is typically used in Spain.
      * 
@@ -373,6 +459,8 @@ public enum LocationCategory */ SPAIN(31), /** + * + * *
      * The infoType is typically used in Sweden.
      * 
@@ -381,6 +469,8 @@ public enum LocationCategory */ SWEDEN(32), /** + * + * *
      * The infoType is typically used in Taiwan.
      * 
@@ -389,6 +479,8 @@ public enum LocationCategory */ TAIWAN(33), /** + * + * *
      * The infoType is typically used in Thailand.
      * 
@@ -397,6 +489,8 @@ public enum LocationCategory */ THAILAND(34), /** + * + * *
      * The infoType is typically used in Turkey.
      * 
@@ -405,6 +499,8 @@ public enum LocationCategory */ TURKEY(35), /** + * + * *
      * The infoType is typically used in the United Kingdom.
      * 
@@ -413,6 +509,8 @@ public enum LocationCategory */ UNITED_KINGDOM(36), /** + * + * *
      * The infoType is typically used in the United States.
      * 
@@ -421,6 +519,8 @@ public enum LocationCategory */ UNITED_STATES(37), /** + * + * *
      * The infoType is typically used in Uruguay.
      * 
@@ -429,6 +529,8 @@ public enum LocationCategory */ URUGUAY(38), /** + * + * *
      * The infoType is typically used in Venezuela.
      * 
@@ -437,6 +539,8 @@ public enum LocationCategory */ VENEZUELA(39), /** + * + * *
      * The infoType is typically used in Google internally.
      * 
@@ -448,6 +552,8 @@ public enum LocationCategory ; /** + * + * *
      * Unused location
      * 
@@ -456,6 +562,8 @@ public enum LocationCategory */ public static final int LOCATION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The infoType is not issued by or tied to a specific region, but is used
      * almost everywhere.
@@ -465,6 +573,8 @@ public enum LocationCategory
      */
     public static final int GLOBAL_VALUE = 1;
     /**
+     *
+     *
      * 
      * The infoType is typically used in Argentina.
      * 
@@ -473,6 +583,8 @@ public enum LocationCategory */ public static final int ARGENTINA_VALUE = 2; /** + * + * *
      * The infoType is typically used in Australia.
      * 
@@ -481,6 +593,8 @@ public enum LocationCategory */ public static final int AUSTRALIA_VALUE = 3; /** + * + * *
      * The infoType is typically used in Belgium.
      * 
@@ -489,6 +603,8 @@ public enum LocationCategory */ public static final int BELGIUM_VALUE = 4; /** + * + * *
      * The infoType is typically used in Brazil.
      * 
@@ -497,6 +613,8 @@ public enum LocationCategory */ public static final int BRAZIL_VALUE = 5; /** + * + * *
      * The infoType is typically used in Canada.
      * 
@@ -505,6 +623,8 @@ public enum LocationCategory */ public static final int CANADA_VALUE = 6; /** + * + * *
      * The infoType is typically used in Chile.
      * 
@@ -513,6 +633,8 @@ public enum LocationCategory */ public static final int CHILE_VALUE = 7; /** + * + * *
      * The infoType is typically used in China.
      * 
@@ -521,6 +643,8 @@ public enum LocationCategory */ public static final int CHINA_VALUE = 8; /** + * + * *
      * The infoType is typically used in Colombia.
      * 
@@ -529,6 +653,8 @@ public enum LocationCategory */ public static final int COLOMBIA_VALUE = 9; /** + * + * *
      * The infoType is typically used in Denmark.
      * 
@@ -537,6 +663,8 @@ public enum LocationCategory */ public static final int DENMARK_VALUE = 10; /** + * + * *
      * The infoType is typically used in France.
      * 
@@ -545,6 +673,8 @@ public enum LocationCategory */ public static final int FRANCE_VALUE = 11; /** + * + * *
      * The infoType is typically used in Finland.
      * 
@@ -553,6 +683,8 @@ public enum LocationCategory */ public static final int FINLAND_VALUE = 12; /** + * + * *
      * The infoType is typically used in Germany.
      * 
@@ -561,6 +693,8 @@ public enum LocationCategory */ public static final int GERMANY_VALUE = 13; /** + * + * *
      * The infoType is typically used in Hong Kong.
      * 
@@ -569,6 +703,8 @@ public enum LocationCategory */ public static final int HONG_KONG_VALUE = 14; /** + * + * *
      * The infoType is typically used in India.
      * 
@@ -577,6 +713,8 @@ public enum LocationCategory */ public static final int INDIA_VALUE = 15; /** + * + * *
      * The infoType is typically used in Indonesia.
      * 
@@ -585,6 +723,8 @@ public enum LocationCategory */ public static final int INDONESIA_VALUE = 16; /** + * + * *
      * The infoType is typically used in Ireland.
      * 
@@ -593,6 +733,8 @@ public enum LocationCategory */ public static final int IRELAND_VALUE = 17; /** + * + * *
      * The infoType is typically used in Israel.
      * 
@@ -601,6 +743,8 @@ public enum LocationCategory */ public static final int ISRAEL_VALUE = 18; /** + * + * *
      * The infoType is typically used in Italy.
      * 
@@ -609,6 +753,8 @@ public enum LocationCategory */ public static final int ITALY_VALUE = 19; /** + * + * *
      * The infoType is typically used in Japan.
      * 
@@ -617,6 +763,8 @@ public enum LocationCategory */ public static final int JAPAN_VALUE = 20; /** + * + * *
      * The infoType is typically used in Korea.
      * 
@@ -625,6 +773,8 @@ public enum LocationCategory */ public static final int KOREA_VALUE = 21; /** + * + * *
      * The infoType is typically used in Mexico.
      * 
@@ -633,6 +783,8 @@ public enum LocationCategory */ public static final int MEXICO_VALUE = 22; /** + * + * *
      * The infoType is typically used in the Netherlands.
      * 
@@ -641,6 +793,8 @@ public enum LocationCategory */ public static final int THE_NETHERLANDS_VALUE = 23; /** + * + * *
      * The infoType is typically used in Norway.
      * 
@@ -649,6 +803,8 @@ public enum LocationCategory */ public static final int NORWAY_VALUE = 24; /** + * + * *
      * The infoType is typically used in Paraguay.
      * 
@@ -657,6 +813,8 @@ public enum LocationCategory */ public static final int PARAGUAY_VALUE = 25; /** + * + * *
      * The infoType is typically used in Peru.
      * 
@@ -665,6 +823,8 @@ public enum LocationCategory */ public static final int PERU_VALUE = 26; /** + * + * *
      * The infoType is typically used in Poland.
      * 
@@ -673,6 +833,8 @@ public enum LocationCategory */ public static final int POLAND_VALUE = 27; /** + * + * *
      * The infoType is typically used in Portugal.
      * 
@@ -681,6 +843,8 @@ public enum LocationCategory */ public static final int PORTUGAL_VALUE = 28; /** + * + * *
      * The infoType is typically used in Singapore.
      * 
@@ -689,6 +853,8 @@ public enum LocationCategory */ public static final int SINGAPORE_VALUE = 29; /** + * + * *
      * The infoType is typically used in South Africa.
      * 
@@ -697,6 +863,8 @@ public enum LocationCategory */ public static final int SOUTH_AFRICA_VALUE = 30; /** + * + * *
      * The infoType is typically used in Spain.
      * 
@@ -705,6 +873,8 @@ public enum LocationCategory */ public static final int SPAIN_VALUE = 31; /** + * + * *
      * The infoType is typically used in Sweden.
      * 
@@ -713,6 +883,8 @@ public enum LocationCategory */ public static final int SWEDEN_VALUE = 32; /** + * + * *
      * The infoType is typically used in Taiwan.
      * 
@@ -721,6 +893,8 @@ public enum LocationCategory */ public static final int TAIWAN_VALUE = 33; /** + * + * *
      * The infoType is typically used in Thailand.
      * 
@@ -729,6 +903,8 @@ public enum LocationCategory */ public static final int THAILAND_VALUE = 34; /** + * + * *
      * The infoType is typically used in Turkey.
      * 
@@ -737,6 +913,8 @@ public enum LocationCategory */ public static final int TURKEY_VALUE = 35; /** + * + * *
      * The infoType is typically used in the United Kingdom.
      * 
@@ -745,6 +923,8 @@ public enum LocationCategory */ public static final int UNITED_KINGDOM_VALUE = 36; /** + * + * *
      * The infoType is typically used in the United States.
      * 
@@ -753,6 +933,8 @@ public enum LocationCategory */ public static final int UNITED_STATES_VALUE = 37; /** + * + * *
      * The infoType is typically used in Uruguay.
      * 
@@ -761,6 +943,8 @@ public enum LocationCategory */ public static final int URUGUAY_VALUE = 38; /** + * + * *
      * The infoType is typically used in Venezuela.
      * 
@@ -769,6 +953,8 @@ public enum LocationCategory */ public static final int VENEZUELA_VALUE = 39; /** + * + * *
      * The infoType is typically used in Google internally.
      * 
@@ -777,7 +963,6 @@ public enum LocationCategory */ public static final int INTERNAL_VALUE = 40; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -802,77 +987,118 @@ public static LocationCategory valueOf(int value) { */ public static LocationCategory forNumber(int value) { switch (value) { - case 0: return LOCATION_UNSPECIFIED; - case 1: return GLOBAL; - case 2: return ARGENTINA; - case 3: return AUSTRALIA; - case 4: return BELGIUM; - case 5: return BRAZIL; - case 6: return CANADA; - case 7: return CHILE; - case 8: return CHINA; - case 9: return COLOMBIA; - case 10: return DENMARK; - case 11: return FRANCE; - case 12: return FINLAND; - case 13: return GERMANY; - case 14: return HONG_KONG; - case 15: return INDIA; - case 16: return INDONESIA; - case 17: return IRELAND; - case 18: return ISRAEL; - case 19: return ITALY; - case 20: return JAPAN; - case 21: return KOREA; - case 22: return MEXICO; - case 23: return THE_NETHERLANDS; - case 24: return NORWAY; - case 25: return PARAGUAY; - case 26: return PERU; - case 27: return POLAND; - case 28: return PORTUGAL; - case 29: return SINGAPORE; - case 30: return SOUTH_AFRICA; - case 31: return SPAIN; - case 32: return SWEDEN; - case 33: return TAIWAN; - case 34: return THAILAND; - case 35: return TURKEY; - case 36: return UNITED_KINGDOM; - case 37: return UNITED_STATES; - case 38: return URUGUAY; - case 39: return VENEZUELA; - case 40: return INTERNAL; - default: return null; + case 0: + return LOCATION_UNSPECIFIED; + case 1: + return GLOBAL; + case 2: + return ARGENTINA; + case 3: + return AUSTRALIA; + case 4: + return BELGIUM; + case 5: + return BRAZIL; + case 6: + return CANADA; + case 7: + return CHILE; + case 8: + return CHINA; + case 9: + return COLOMBIA; + case 10: + return DENMARK; + case 11: + return FRANCE; + case 12: + return FINLAND; + case 13: + return GERMANY; + case 14: + return HONG_KONG; + case 15: + return INDIA; + case 16: + return INDONESIA; + case 17: + return IRELAND; + case 18: + return ISRAEL; + case 19: + return ITALY; + case 20: + return JAPAN; + case 21: + return KOREA; + case 22: + return MEXICO; + case 23: + return THE_NETHERLANDS; + case 24: + return NORWAY; + case 25: + return PARAGUAY; + case 26: + return PERU; + case 27: + return POLAND; + case 28: + return PORTUGAL; + case 29: + return SINGAPORE; + case 30: + return SOUTH_AFRICA; + case 31: + return SPAIN; + case 32: + return SWEDEN; + case 33: + return TAIWAN; + case 34: + return THAILAND; + case 35: + return TURKEY; + case 36: + return UNITED_KINGDOM; + case 37: + return UNITED_STATES; + case 38: + return URUGUAY; + case 39: + return VENEZUELA; + case 40: + return INTERNAL; + 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< - LocationCategory> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationCategory findValueByNumber(int number) { - return LocationCategory.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 LocationCategory findValueByNumber(int number) { + return LocationCategory.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.InfoTypeCategory.getDescriptor().getEnumTypes().get(0); } @@ -881,8 +1107,7 @@ public LocationCategory findValueByNumber(int number) { public static LocationCategory 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; @@ -900,6 +1125,8 @@ private LocationCategory(int value) { } /** + * + * *
    * Enum of the current industries in the category.
    * We might add more industries in the future.
@@ -907,9 +1134,10 @@ private LocationCategory(int value) {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory}
    */
-  public enum IndustryCategory
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum IndustryCategory implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unused industry
      * 
@@ -918,6 +1146,8 @@ public enum IndustryCategory */ INDUSTRY_UNSPECIFIED(0), /** + * + * *
      * The infoType is typically used in the finance industry.
      * 
@@ -926,6 +1156,8 @@ public enum IndustryCategory */ FINANCE(1), /** + * + * *
      * The infoType is typically used in the health industry.
      * 
@@ -934,6 +1166,8 @@ public enum IndustryCategory */ HEALTH(2), /** + * + * *
      * The infoType is typically used in the telecommunications industry.
      * 
@@ -945,6 +1179,8 @@ public enum IndustryCategory ; /** + * + * *
      * Unused industry
      * 
@@ -953,6 +1189,8 @@ public enum IndustryCategory */ public static final int INDUSTRY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The infoType is typically used in the finance industry.
      * 
@@ -961,6 +1199,8 @@ public enum IndustryCategory */ public static final int FINANCE_VALUE = 1; /** + * + * *
      * The infoType is typically used in the health industry.
      * 
@@ -969,6 +1209,8 @@ public enum IndustryCategory */ public static final int HEALTH_VALUE = 2; /** + * + * *
      * The infoType is typically used in the telecommunications industry.
      * 
@@ -977,7 +1219,6 @@ public enum IndustryCategory */ public static final int TELECOMMUNICATIONS_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1002,40 +1243,44 @@ public static IndustryCategory valueOf(int value) { */ public static IndustryCategory forNumber(int value) { switch (value) { - case 0: return INDUSTRY_UNSPECIFIED; - case 1: return FINANCE; - case 2: return HEALTH; - case 3: return TELECOMMUNICATIONS; - default: return null; + case 0: + return INDUSTRY_UNSPECIFIED; + case 1: + return FINANCE; + case 2: + return HEALTH; + case 3: + return TELECOMMUNICATIONS; + 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< - IndustryCategory> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IndustryCategory findValueByNumber(int number) { - return IndustryCategory.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 IndustryCategory findValueByNumber(int number) { + return IndustryCategory.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.InfoTypeCategory.getDescriptor().getEnumTypes().get(1); } @@ -1044,8 +1289,7 @@ public IndustryCategory findValueByNumber(int number) { public static IndustryCategory 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; @@ -1063,6 +1307,8 @@ private IndustryCategory(int value) { } /** + * + * *
    * Enum of the current types in the category.
    * We might add more types in the future.
@@ -1070,9 +1316,10 @@ private IndustryCategory(int value) {
    *
    * Protobuf enum {@code google.privacy.dlp.v2.InfoTypeCategory.TypeCategory}
    */
-  public enum TypeCategory
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum TypeCategory implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unused type
      * 
@@ -1081,6 +1328,8 @@ public enum TypeCategory */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Personally identifiable information, for example, a
      * name or phone number
@@ -1090,6 +1339,8 @@ public enum TypeCategory
      */
     PII(1),
     /**
+     *
+     *
      * 
      * Personally identifiable information that is especially sensitive, for
      * example, a passport number.
@@ -1099,6 +1350,8 @@ public enum TypeCategory
      */
     SPII(2),
     /**
+     *
+     *
      * 
      * Attributes that can partially identify someone, especially in
      * combination with other attributes, like age, height, and gender.
@@ -1108,6 +1361,8 @@ public enum TypeCategory
      */
     DEMOGRAPHIC(3),
     /**
+     *
+     *
      * 
      * Confidential or secret information, for example, a password.
      * 
@@ -1116,6 +1371,8 @@ public enum TypeCategory */ CREDENTIAL(4), /** + * + * *
      * An identification document issued by a government.
      * 
@@ -1124,6 +1381,8 @@ public enum TypeCategory */ GOVERNMENT_ID(5), /** + * + * *
      * A document, for example, a resume or source code.
      * 
@@ -1132,6 +1391,8 @@ public enum TypeCategory */ DOCUMENT(6), /** + * + * *
      * Information that is not sensitive on its own, but provides details about
      * the circumstances surrounding an entity or an event.
@@ -1144,6 +1405,8 @@ public enum TypeCategory
     ;
 
     /**
+     *
+     *
      * 
      * Unused type
      * 
@@ -1152,6 +1415,8 @@ public enum TypeCategory */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Personally identifiable information, for example, a
      * name or phone number
@@ -1161,6 +1426,8 @@ public enum TypeCategory
      */
     public static final int PII_VALUE = 1;
     /**
+     *
+     *
      * 
      * Personally identifiable information that is especially sensitive, for
      * example, a passport number.
@@ -1170,6 +1437,8 @@ public enum TypeCategory
      */
     public static final int SPII_VALUE = 2;
     /**
+     *
+     *
      * 
      * Attributes that can partially identify someone, especially in
      * combination with other attributes, like age, height, and gender.
@@ -1179,6 +1448,8 @@ public enum TypeCategory
      */
     public static final int DEMOGRAPHIC_VALUE = 3;
     /**
+     *
+     *
      * 
      * Confidential or secret information, for example, a password.
      * 
@@ -1187,6 +1458,8 @@ public enum TypeCategory */ public static final int CREDENTIAL_VALUE = 4; /** + * + * *
      * An identification document issued by a government.
      * 
@@ -1195,6 +1468,8 @@ public enum TypeCategory */ public static final int GOVERNMENT_ID_VALUE = 5; /** + * + * *
      * A document, for example, a resume or source code.
      * 
@@ -1203,6 +1478,8 @@ public enum TypeCategory */ public static final int DOCUMENT_VALUE = 6; /** + * + * *
      * Information that is not sensitive on its own, but provides details about
      * the circumstances surrounding an entity or an event.
@@ -1212,7 +1489,6 @@ public enum TypeCategory
      */
     public static final int CONTEXTUAL_INFORMATION_VALUE = 7;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -1237,54 +1513,59 @@ public static TypeCategory valueOf(int value) {
      */
     public static TypeCategory forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return PII;
-        case 2: return SPII;
-        case 3: return DEMOGRAPHIC;
-        case 4: return CREDENTIAL;
-        case 5: return GOVERNMENT_ID;
-        case 6: return DOCUMENT;
-        case 7: return CONTEXTUAL_INFORMATION;
-        default: return null;
+        case 0:
+          return TYPE_UNSPECIFIED;
+        case 1:
+          return PII;
+        case 2:
+          return SPII;
+        case 3:
+          return DEMOGRAPHIC;
+        case 4:
+          return CREDENTIAL;
+        case 5:
+          return GOVERNMENT_ID;
+        case 6:
+          return DOCUMENT;
+        case 7:
+          return CONTEXTUAL_INFORMATION;
+        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<
-        TypeCategory> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public TypeCategory findValueByNumber(int number) {
-              return TypeCategory.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 TypeCategory findValueByNumber(int number) {
+            return TypeCategory.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.InfoTypeCategory.getDescriptor().getEnumTypes().get(2);
     }
 
     private static final TypeCategory[] VALUES = values();
 
-    public static TypeCategory valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static TypeCategory 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;
@@ -1303,14 +1584,17 @@ private TypeCategory(int value) {
 
   private int categoryCase_ = 0;
   private java.lang.Object category_;
+
   public enum CategoryCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     LOCATION_CATEGORY(1),
     INDUSTRY_CATEGORY(2),
     TYPE_CATEGORY(3),
     CATEGORY_NOT_SET(0);
     private final int value;
+
     private CategoryCase(int value) {
       this.value = value;
     }
@@ -1326,44 +1610,54 @@ public static CategoryCase valueOf(int value) {
 
     public static CategoryCase forNumber(int value) {
       switch (value) {
-        case 1: return LOCATION_CATEGORY;
-        case 2: return INDUSTRY_CATEGORY;
-        case 3: return TYPE_CATEGORY;
-        case 0: return CATEGORY_NOT_SET;
-        default: return null;
+        case 1:
+          return LOCATION_CATEGORY;
+        case 2:
+          return INDUSTRY_CATEGORY;
+        case 3:
+          return TYPE_CATEGORY;
+        case 0:
+          return CATEGORY_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public CategoryCase
-  getCategoryCase() {
-    return CategoryCase.forNumber(
-        categoryCase_);
+  public CategoryCase getCategoryCase() {
+    return CategoryCase.forNumber(categoryCase_);
   }
 
   public static final int LOCATION_CATEGORY_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @return Whether the locationCategory field is set. */ public boolean hasLocationCategory() { return categoryCase_ == 1; } /** + * + * *
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @return The enum numeric value on the wire for locationCategory. */ public int getLocationCategoryValue() { @@ -1373,42 +1667,54 @@ public int getLocationCategoryValue() { return 0; } /** + * + * *
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @return The locationCategory. */ public com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory getLocationCategory() { if (categoryCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.valueOf( - (java.lang.Integer) category_); - return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory result = + com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.valueOf( + (java.lang.Integer) category_); + return result == null + ? com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.UNRECOGNIZED + : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.LOCATION_UNSPECIFIED; } public static final int INDUSTRY_CATEGORY_FIELD_NUMBER = 2; /** + * + * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @return Whether the industryCategory field is set. */ public boolean hasIndustryCategory() { return categoryCase_ == 2; } /** + * + * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @return The enum numeric value on the wire for industryCategory. */ public int getIndustryCategoryValue() { @@ -1418,41 +1724,53 @@ public int getIndustryCategoryValue() { return 0; } /** + * + * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @return The industryCategory. */ public com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory getIndustryCategory() { if (categoryCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.valueOf( - (java.lang.Integer) category_); - return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory result = + com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.valueOf( + (java.lang.Integer) category_); + return result == null + ? com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.UNRECOGNIZED + : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.INDUSTRY_UNSPECIFIED; } public static final int TYPE_CATEGORY_FIELD_NUMBER = 3; /** + * + * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @return Whether the typeCategory field is set. */ public boolean hasTypeCategory() { return categoryCase_ == 3; } /** + * + * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @return The enum numeric value on the wire for typeCategory. */ public int getTypeCategoryValue() { @@ -1462,24 +1780,31 @@ public int getTypeCategoryValue() { return 0; } /** + * + * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @return The typeCategory. */ public com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory getTypeCategory() { if (categoryCase_ == 3) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.valueOf( - (java.lang.Integer) category_); - return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory result = + com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.valueOf( + (java.lang.Integer) category_); + return result == null + ? com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.UNRECOGNIZED + : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.TYPE_UNSPECIFIED; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1491,8 +1816,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (categoryCase_ == 1) { output.writeEnum(1, ((java.lang.Integer) category_)); } @@ -1512,16 +1836,16 @@ public int getSerializedSize() { size = 0; if (categoryCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, ((java.lang.Integer) category_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(1, ((java.lang.Integer) category_)); } if (categoryCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, ((java.lang.Integer) category_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(2, ((java.lang.Integer) category_)); } if (categoryCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, ((java.lang.Integer) category_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(3, ((java.lang.Integer) category_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1531,26 +1855,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.InfoTypeCategory)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InfoTypeCategory other = (com.google.privacy.dlp.v2.InfoTypeCategory) obj; + com.google.privacy.dlp.v2.InfoTypeCategory other = + (com.google.privacy.dlp.v2.InfoTypeCategory) obj; if (!getCategoryCase().equals(other.getCategoryCase())) return false; switch (categoryCase_) { case 1: - if (getLocationCategoryValue() - != other.getLocationCategoryValue()) return false; + if (getLocationCategoryValue() != other.getLocationCategoryValue()) return false; break; case 2: - if (getIndustryCategoryValue() - != other.getIndustryCategoryValue()) return false; + if (getIndustryCategoryValue() != other.getIndustryCategoryValue()) return false; break; case 3: - if (getTypeCategoryValue() - != other.getTypeCategoryValue()) return false; + if (getTypeCategoryValue() != other.getTypeCategoryValue()) return false; break; case 0: default: @@ -1587,97 +1909,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom(java.io.InputStream input) 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.InfoTypeCategory parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeCategory parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InfoTypeCategory parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeCategory parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeCategory parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeCategory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Classification of infoTypes to organize them according to geographic
    * location, industry, and data type.
@@ -1685,21 +2014,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.InfoTypeCategory}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeCategory)
       com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InfoTypeCategory_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.InfoTypeCategory.class, com.google.privacy.dlp.v2.InfoTypeCategory.Builder.class);
+              com.google.privacy.dlp.v2.InfoTypeCategory.class,
+              com.google.privacy.dlp.v2.InfoTypeCategory.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.InfoTypeCategory.newBuilder()
@@ -1707,16 +2038,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();
@@ -1726,9 +2056,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_InfoTypeCategory_descriptor;
     }
 
     @java.lang.Override
@@ -1747,7 +2077,8 @@ public com.google.privacy.dlp.v2.InfoTypeCategory build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.InfoTypeCategory buildPartial() {
-      com.google.privacy.dlp.v2.InfoTypeCategory result = new com.google.privacy.dlp.v2.InfoTypeCategory(this);
+      com.google.privacy.dlp.v2.InfoTypeCategory result =
+          new com.google.privacy.dlp.v2.InfoTypeCategory(this);
       if (categoryCase_ == 1) {
         result.category_ = category_;
       }
@@ -1766,38 +2097,39 @@ public com.google.privacy.dlp.v2.InfoTypeCategory buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.InfoTypeCategory) {
-        return mergeFrom((com.google.privacy.dlp.v2.InfoTypeCategory)other);
+        return mergeFrom((com.google.privacy.dlp.v2.InfoTypeCategory) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1807,21 +2139,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeCategory other) {
       if (other == com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance()) return this;
       switch (other.getCategoryCase()) {
-        case LOCATION_CATEGORY: {
-          setLocationCategoryValue(other.getLocationCategoryValue());
-          break;
-        }
-        case INDUSTRY_CATEGORY: {
-          setIndustryCategoryValue(other.getIndustryCategoryValue());
-          break;
-        }
-        case TYPE_CATEGORY: {
-          setTypeCategoryValue(other.getTypeCategoryValue());
-          break;
-        }
-        case CATEGORY_NOT_SET: {
-          break;
-        }
+        case LOCATION_CATEGORY:
+          {
+            setLocationCategoryValue(other.getLocationCategoryValue());
+            break;
+          }
+        case INDUSTRY_CATEGORY:
+          {
+            setIndustryCategoryValue(other.getIndustryCategoryValue());
+            break;
+          }
+        case TYPE_CATEGORY:
+          {
+            setTypeCategoryValue(other.getTypeCategoryValue());
+            break;
+          }
+        case CATEGORY_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1851,12 +2187,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int categoryCase_ = 0;
     private java.lang.Object category_;
-    public CategoryCase
-        getCategoryCase() {
-      return CategoryCase.forNumber(
-          categoryCase_);
+
+    public CategoryCase getCategoryCase() {
+      return CategoryCase.forNumber(categoryCase_);
     }
 
     public Builder clearCategory() {
@@ -1866,14 +2202,16 @@ public Builder clearCategory() {
       return this;
     }
 
-
     /**
+     *
+     *
      * 
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @return Whether the locationCategory field is set. */ @java.lang.Override @@ -1881,12 +2219,15 @@ public boolean hasLocationCategory() { return categoryCase_ == 1; } /** + * + * *
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @return The enum numeric value on the wire for locationCategory. */ @java.lang.Override @@ -1897,12 +2238,15 @@ public int getLocationCategoryValue() { return 0; } /** + * + * *
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @param value The enum numeric value on the wire for locationCategory to set. * @return This builder for chaining. */ @@ -1913,35 +2257,45 @@ public Builder setLocationCategoryValue(int value) { return this; } /** + * + * *
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @return The locationCategory. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory getLocationCategory() { if (categoryCase_ == 1) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.valueOf( - (java.lang.Integer) category_); - return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory result = + com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.valueOf( + (java.lang.Integer) category_); + return result == null + ? com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.UNRECOGNIZED + : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory.LOCATION_UNSPECIFIED; } /** + * + * *
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @param value The locationCategory to set. * @return This builder for chaining. */ - public Builder setLocationCategory(com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory value) { + public Builder setLocationCategory( + com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory value) { if (value == null) { throw new NullPointerException(); } @@ -1951,12 +2305,15 @@ public Builder setLocationCategory(com.google.privacy.dlp.v2.InfoTypeCategory.Lo return this; } /** + * + * *
      * The region or country that issued the ID or document represented by the
      * infoType.
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @return This builder for chaining. */ public Builder clearLocationCategory() { @@ -1969,11 +2326,14 @@ public Builder clearLocationCategory() { } /** + * + * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @return Whether the industryCategory field is set. */ @java.lang.Override @@ -1981,11 +2341,14 @@ public boolean hasIndustryCategory() { return categoryCase_ == 2; } /** + * + * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @return The enum numeric value on the wire for industryCategory. */ @java.lang.Override @@ -1996,11 +2359,14 @@ public int getIndustryCategoryValue() { return 0; } /** + * + * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @param value The enum numeric value on the wire for industryCategory to set. * @return This builder for chaining. */ @@ -2011,33 +2377,43 @@ public Builder setIndustryCategoryValue(int value) { return this; } /** + * + * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @return The industryCategory. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory getIndustryCategory() { if (categoryCase_ == 2) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.valueOf( - (java.lang.Integer) category_); - return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory result = + com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.valueOf( + (java.lang.Integer) category_); + return result == null + ? com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.UNRECOGNIZED + : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory.INDUSTRY_UNSPECIFIED; } /** + * + * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @param value The industryCategory to set. * @return This builder for chaining. */ - public Builder setIndustryCategory(com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory value) { + public Builder setIndustryCategory( + com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory value) { if (value == null) { throw new NullPointerException(); } @@ -2047,11 +2423,14 @@ public Builder setIndustryCategory(com.google.privacy.dlp.v2.InfoTypeCategory.In return this; } /** + * + * *
      * The group of relevant businesses where this infoType is commonly used
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @return This builder for chaining. */ public Builder clearIndustryCategory() { @@ -2064,11 +2443,14 @@ public Builder clearIndustryCategory() { } /** + * + * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @return Whether the typeCategory field is set. */ @java.lang.Override @@ -2076,11 +2458,14 @@ public boolean hasTypeCategory() { return categoryCase_ == 3; } /** + * + * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @return The enum numeric value on the wire for typeCategory. */ @java.lang.Override @@ -2091,11 +2476,14 @@ public int getTypeCategoryValue() { return 0; } /** + * + * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @param value The enum numeric value on the wire for typeCategory to set. * @return This builder for chaining. */ @@ -2106,29 +2494,38 @@ public Builder setTypeCategoryValue(int value) { return this; } /** + * + * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @return The typeCategory. */ @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory getTypeCategory() { if (categoryCase_ == 3) { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory result = com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.valueOf( - (java.lang.Integer) category_); - return result == null ? com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory result = + com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.valueOf( + (java.lang.Integer) category_); + return result == null + ? com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.UNRECOGNIZED + : result; } return com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory.TYPE_UNSPECIFIED; } /** + * + * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @param value The typeCategory to set. * @return This builder for chaining. */ @@ -2142,11 +2539,14 @@ public Builder setTypeCategory(com.google.privacy.dlp.v2.InfoTypeCategory.TypeCa return this; } /** + * + * *
      * The class of identifiers where this infoType belongs
      * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @return This builder for chaining. */ public Builder clearTypeCategory() { @@ -2157,9 +2557,9 @@ public Builder clearTypeCategory() { } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2169,12 +2569,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeCategory) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeCategory) private static final com.google.privacy.dlp.v2.InfoTypeCategory DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeCategory(); } @@ -2183,16 +2583,16 @@ public static com.google.privacy.dlp.v2.InfoTypeCategory getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeCategory parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeCategory(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeCategory parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeCategory(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2207,6 +2607,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoTypeCategory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java index c96f41bb..455ade9b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeCategoryOrBuilder.java @@ -1,95 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under 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 InfoTypeCategoryOrBuilder extends +public interface InfoTypeCategoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeCategory) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @return Whether the locationCategory field is set. */ boolean hasLocationCategory(); /** + * + * *
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @return The enum numeric value on the wire for locationCategory. */ int getLocationCategoryValue(); /** + * + * *
    * The region or country that issued the ID or document represented by the
    * infoType.
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.LocationCategory location_category = 1; + * * @return The locationCategory. */ com.google.privacy.dlp.v2.InfoTypeCategory.LocationCategory getLocationCategory(); /** + * + * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @return Whether the industryCategory field is set. */ boolean hasIndustryCategory(); /** + * + * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @return The enum numeric value on the wire for industryCategory. */ int getIndustryCategoryValue(); /** + * + * *
    * The group of relevant businesses where this infoType is commonly used
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory industry_category = 2; + * * @return The industryCategory. */ com.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategory getIndustryCategory(); /** + * + * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @return Whether the typeCategory field is set. */ boolean hasTypeCategory(); /** + * + * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @return The enum numeric value on the wire for typeCategory. */ int getTypeCategoryValue(); /** + * + * *
    * The class of identifiers where this infoType belongs
    * 
* * .google.privacy.dlp.v2.InfoTypeCategory.TypeCategory type_category = 3; + * * @return The typeCategory. */ com.google.privacy.dlp.v2.InfoTypeCategory.TypeCategory getTypeCategory(); 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 76% 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 97e00328..a8b235c8 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_ = ""; @@ -30,16 +48,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) @@ -59,72 +76,81 @@ 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; - } - case 74: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - versions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + description_ = s; + break; } - versions_.add( - input.readMessage(com.google.privacy.dlp.v2.VersionDescription.parser(), extensionRegistry)); - break; - } - case 82: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - categories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; + case 74: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + versions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + versions_.add( + input.readMessage( + com.google.privacy.dlp.v2.VersionDescription.parser(), extensionRegistry)); + break; } - categories_.add( - input.readMessage(com.google.privacy.dlp.v2.InfoTypeCategory.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 82: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + categories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + categories_.add( + input.readMessage( + com.google.privacy.dlp.v2.InfoTypeCategory.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -132,8 +158,7 @@ private InfoTypeDescription( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -148,27 +173,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 @@ -177,29 +208,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 { @@ -210,11 +241,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 @@ -223,29 +257,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 { @@ -256,34 +290,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 @@ -291,11 +336,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. */ @@ -304,24 +352,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. */ @@ -329,17 +382,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 @@ -348,30 +405,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 { @@ -382,6 +439,8 @@ public java.lang.String getDescription() { public static final int VERSIONS_FIELD_NUMBER = 9; private java.util.List versions_; /** + * + * *
    * A list of available versions for the infotype.
    * 
@@ -393,6 +452,8 @@ public java.util.List getVersionsL return versions_; } /** + * + * *
    * A list of available versions for the infotype.
    * 
@@ -400,11 +461,13 @@ public java.util.List getVersionsL * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** + * + * *
    * A list of available versions for the infotype.
    * 
@@ -416,6 +479,8 @@ public int getVersionsCount() { return versions_.size(); } /** + * + * *
    * A list of available versions for the infotype.
    * 
@@ -427,6 +492,8 @@ public com.google.privacy.dlp.v2.VersionDescription getVersions(int index) { return versions_.get(index); } /** + * + * *
    * A list of available versions for the infotype.
    * 
@@ -434,14 +501,15 @@ public com.google.privacy.dlp.v2.VersionDescription getVersions(int index) { * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ @java.lang.Override - public com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder(int index) { return versions_.get(index); } public static final int CATEGORIES_FIELD_NUMBER = 10; private java.util.List categories_; /** + * + * *
    * The category of the infoType.
    * 
@@ -453,6 +521,8 @@ public java.util.List getCategoriesL return categories_; } /** + * + * *
    * The category of the infoType.
    * 
@@ -460,11 +530,13 @@ public java.util.List getCategoriesL * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ @java.lang.Override - public java.util.List + public java.util.List getCategoriesOrBuilderList() { return categories_; } /** + * + * *
    * The category of the infoType.
    * 
@@ -476,6 +548,8 @@ public int getCategoriesCount() { return categories_.size(); } /** + * + * *
    * The category of the infoType.
    * 
@@ -487,6 +561,8 @@ public com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index) { return categories_.get(index); } /** + * + * *
    * The category of the infoType.
    * 
@@ -494,12 +570,12 @@ public com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index) { * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ @java.lang.Override - public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index) { return categories_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -511,8 +587,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -554,25 +629,23 @@ 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_); } for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, versions_.get(i)); } for (int i = 0; i < categories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, categories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, categories_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -582,24 +655,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 (!getVersionsList() - .equals(other.getVersionsList())) return false; - if (!getCategoriesList() - .equals(other.getCategoriesList())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getVersionsList().equals(other.getVersionsList())) return false; + if (!getCategoriesList().equals(other.getCategoriesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -634,118 +703,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() @@ -753,18 +831,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) { getVersionsFieldBuilder(); getCategoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -792,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_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 @@ -813,7 +891,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_; @@ -849,38 +928,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; @@ -929,9 +1009,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeDescription other) { versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000002); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVersionsFieldBuilder() : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionsFieldBuilder() + : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -955,9 +1036,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.InfoTypeDescription other) { categoriesBuilder_ = null; categories_ = other.categories_; bitField0_ = (bitField0_ & ~0x00000004); - categoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCategoriesFieldBuilder() : null; + categoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCategoriesFieldBuilder() + : null; } else { categoriesBuilder_.addAllMessages(other.categories_); } @@ -991,22 +1073,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; @@ -1015,20 +1100,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 { @@ -1036,54 +1122,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; @@ -1091,18 +1184,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; @@ -1111,20 +1206,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 { @@ -1132,61 +1228,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_); @@ -1194,34 +1297,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. */ @@ -1229,17 +1342,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(); } @@ -1249,11 +1364,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. */ @@ -1267,11 +1385,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. */ @@ -1285,11 +1406,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() { @@ -1299,23 +1423,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. */ @@ -1323,28 +1452,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 to set the value at. * @param value The enum numeric value on the wire for supportedBy to set. * @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. */ @@ -1355,16 +1489,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); @@ -1375,19 +1511,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; @@ -1396,21 +1534,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 { @@ -1418,75 +1557,89 @@ 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; } private java.util.List versions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - versions_ = new java.util.ArrayList(versions_); + versions_ = + new java.util.ArrayList(versions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.VersionDescription, com.google.privacy.dlp.v2.VersionDescription.Builder, com.google.privacy.dlp.v2.VersionDescriptionOrBuilder> versionsBuilder_; + com.google.privacy.dlp.v2.VersionDescription, + com.google.privacy.dlp.v2.VersionDescription.Builder, + com.google.privacy.dlp.v2.VersionDescriptionOrBuilder> + versionsBuilder_; /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1501,6 +1654,8 @@ public java.util.List getVersionsL } } /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1515,6 +1670,8 @@ public int getVersionsCount() { } } /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1529,14 +1686,15 @@ public com.google.privacy.dlp.v2.VersionDescription getVersions(int index) { } } /** + * + * *
      * A list of available versions for the infotype.
      * 
* * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - public Builder setVersions( - int index, com.google.privacy.dlp.v2.VersionDescription value) { + public Builder setVersions(int index, com.google.privacy.dlp.v2.VersionDescription value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1550,6 +1708,8 @@ public Builder setVersions( return this; } /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1568,6 +1728,8 @@ public Builder setVersions( return this; } /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1588,14 +1750,15 @@ public Builder addVersions(com.google.privacy.dlp.v2.VersionDescription value) { return this; } /** + * + * *
      * A list of available versions for the infotype.
      * 
* * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - public Builder addVersions( - int index, com.google.privacy.dlp.v2.VersionDescription value) { + public Builder addVersions(int index, com.google.privacy.dlp.v2.VersionDescription value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1609,6 +1772,8 @@ public Builder addVersions( return this; } /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1627,6 +1792,8 @@ public Builder addVersions( return this; } /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1645,6 +1812,8 @@ public Builder addVersions( return this; } /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1655,8 +1824,7 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -1664,6 +1832,8 @@ public Builder addAllVersions( return this; } /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1681,6 +1851,8 @@ public Builder clearVersions() { return this; } /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1698,39 +1870,44 @@ public Builder removeVersions(int index) { return this; } /** + * + * *
      * A list of available versions for the infotype.
      * 
* * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - public com.google.privacy.dlp.v2.VersionDescription.Builder getVersionsBuilder( - int index) { + public com.google.privacy.dlp.v2.VersionDescription.Builder getVersionsBuilder(int index) { return getVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of available versions for the infotype.
      * 
* * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - public com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder( - int index) { + public com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder(int index) { if (versionsBuilder_ == null) { - return versions_.get(index); } else { + return versions_.get(index); + } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of available versions for the infotype.
      * 
* * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -1738,6 +1915,8 @@ public com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilde } } /** + * + * *
      * A list of available versions for the infotype.
      * 
@@ -1745,60 +1924,73 @@ public com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilde * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ public com.google.privacy.dlp.v2.VersionDescription.Builder addVersionsBuilder() { - return getVersionsFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.VersionDescription.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.VersionDescription.getDefaultInstance()); } /** + * + * *
      * A list of available versions for the infotype.
      * 
* * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - public com.google.privacy.dlp.v2.VersionDescription.Builder addVersionsBuilder( - int index) { - return getVersionsFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.VersionDescription.getDefaultInstance()); + public com.google.privacy.dlp.v2.VersionDescription.Builder addVersionsBuilder(int index) { + return getVersionsFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.VersionDescription.getDefaultInstance()); } /** + * + * *
      * A list of available versions for the infotype.
      * 
* * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.VersionDescription, com.google.privacy.dlp.v2.VersionDescription.Builder, com.google.privacy.dlp.v2.VersionDescriptionOrBuilder> + com.google.privacy.dlp.v2.VersionDescription, + com.google.privacy.dlp.v2.VersionDescription.Builder, + com.google.privacy.dlp.v2.VersionDescriptionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.VersionDescription, com.google.privacy.dlp.v2.VersionDescription.Builder, com.google.privacy.dlp.v2.VersionDescriptionOrBuilder>( - versions_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + versionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.VersionDescription, + com.google.privacy.dlp.v2.VersionDescription.Builder, + com.google.privacy.dlp.v2.VersionDescriptionOrBuilder>( + versions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); versions_ = null; } return versionsBuilder_; } private java.util.List categories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCategoriesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - categories_ = new java.util.ArrayList(categories_); + categories_ = + new java.util.ArrayList(categories_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeCategory, com.google.privacy.dlp.v2.InfoTypeCategory.Builder, com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder> categoriesBuilder_; + com.google.privacy.dlp.v2.InfoTypeCategory, + com.google.privacy.dlp.v2.InfoTypeCategory.Builder, + com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder> + categoriesBuilder_; /** + * + * *
      * The category of the infoType.
      * 
@@ -1813,6 +2005,8 @@ public java.util.List getCategoriesL } } /** + * + * *
      * The category of the infoType.
      * 
@@ -1827,6 +2021,8 @@ public int getCategoriesCount() { } } /** + * + * *
      * The category of the infoType.
      * 
@@ -1841,14 +2037,15 @@ public com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index) { } } /** + * + * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public Builder setCategories( - int index, com.google.privacy.dlp.v2.InfoTypeCategory value) { + public Builder setCategories(int index, com.google.privacy.dlp.v2.InfoTypeCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1862,6 +2059,8 @@ public Builder setCategories( return this; } /** + * + * *
      * The category of the infoType.
      * 
@@ -1880,6 +2079,8 @@ public Builder setCategories( return this; } /** + * + * *
      * The category of the infoType.
      * 
@@ -1900,14 +2101,15 @@ public Builder addCategories(com.google.privacy.dlp.v2.InfoTypeCategory value) { return this; } /** + * + * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public Builder addCategories( - int index, com.google.privacy.dlp.v2.InfoTypeCategory value) { + public Builder addCategories(int index, com.google.privacy.dlp.v2.InfoTypeCategory value) { if (categoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1921,6 +2123,8 @@ public Builder addCategories( return this; } /** + * + * *
      * The category of the infoType.
      * 
@@ -1939,6 +2143,8 @@ public Builder addCategories( return this; } /** + * + * *
      * The category of the infoType.
      * 
@@ -1957,6 +2163,8 @@ public Builder addCategories( return this; } /** + * + * *
      * The category of the infoType.
      * 
@@ -1967,8 +2175,7 @@ public Builder addAllCategories( java.lang.Iterable values) { if (categoriesBuilder_ == null) { ensureCategoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, categories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, categories_); onChanged(); } else { categoriesBuilder_.addAllMessages(values); @@ -1976,6 +2183,8 @@ public Builder addAllCategories( return this; } /** + * + * *
      * The category of the infoType.
      * 
@@ -1993,6 +2202,8 @@ public Builder clearCategories() { return this; } /** + * + * *
      * The category of the infoType.
      * 
@@ -2010,39 +2221,44 @@ public Builder removeCategories(int index) { return this; } /** + * + * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public com.google.privacy.dlp.v2.InfoTypeCategory.Builder getCategoriesBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeCategory.Builder getCategoriesBuilder(int index) { return getCategoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder( - int index) { + public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index) { if (categoriesBuilder_ == null) { - return categories_.get(index); } else { + return categories_.get(index); + } else { return categoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public java.util.List - getCategoriesOrBuilderList() { + public java.util.List + getCategoriesOrBuilderList() { if (categoriesBuilder_ != null) { return categoriesBuilder_.getMessageOrBuilderList(); } else { @@ -2050,6 +2266,8 @@ public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilde } } /** + * + * *
      * The category of the infoType.
      * 
@@ -2057,49 +2275,55 @@ public com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilde * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ public com.google.privacy.dlp.v2.InfoTypeCategory.Builder addCategoriesBuilder() { - return getCategoriesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance()); + return getCategoriesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance()); } /** + * + * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public com.google.privacy.dlp.v2.InfoTypeCategory.Builder addCategoriesBuilder( - int index) { - return getCategoriesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance()); + public com.google.privacy.dlp.v2.InfoTypeCategory.Builder addCategoriesBuilder(int index) { + return getCategoriesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.InfoTypeCategory.getDefaultInstance()); } /** + * + * *
      * The category of the infoType.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - public java.util.List - getCategoriesBuilderList() { + public java.util.List + getCategoriesBuilderList() { return getCategoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeCategory, com.google.privacy.dlp.v2.InfoTypeCategory.Builder, com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder> + com.google.privacy.dlp.v2.InfoTypeCategory, + com.google.privacy.dlp.v2.InfoTypeCategory.Builder, + com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder> getCategoriesFieldBuilder() { if (categoriesBuilder_ == null) { - categoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeCategory, com.google.privacy.dlp.v2.InfoTypeCategory.Builder, com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder>( - categories_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + categoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoTypeCategory, + com.google.privacy.dlp.v2.InfoTypeCategory.Builder, + com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder>( + categories_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); categories_ = null; } return categoriesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2109,12 +2333,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(); } @@ -2123,16 +2347,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; @@ -2147,6 +2371,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 78% 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 4cff91fb..cf0ba1b5 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,133 +1,181 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); /** + * + * *
    * A list of available versions for the infotype.
    * 
* * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - java.util.List - getVersionsList(); + java.util.List getVersionsList(); /** + * + * *
    * A list of available versions for the infotype.
    * 
@@ -136,6 +184,8 @@ public interface InfoTypeDescriptionOrBuilder extends */ com.google.privacy.dlp.v2.VersionDescription getVersions(int index); /** + * + * *
    * A list of available versions for the infotype.
    * 
@@ -144,34 +194,40 @@ public interface InfoTypeDescriptionOrBuilder extends */ int getVersionsCount(); /** + * + * *
    * A list of available versions for the infotype.
    * 
* * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** + * + * *
    * A list of available versions for the infotype.
    * 
* * repeated .google.privacy.dlp.v2.VersionDescription versions = 9; */ - com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder( - int index); + com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder(int index); /** + * + * *
    * The category of the infoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - java.util.List - getCategoriesList(); + java.util.List getCategoriesList(); /** + * + * *
    * The category of the infoType.
    * 
@@ -180,6 +236,8 @@ com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder( */ com.google.privacy.dlp.v2.InfoTypeCategory getCategories(int index); /** + * + * *
    * The category of the infoType.
    * 
@@ -188,21 +246,24 @@ com.google.privacy.dlp.v2.VersionDescriptionOrBuilder getVersionsOrBuilder( */ int getCategoriesCount(); /** + * + * *
    * The category of the infoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - java.util.List + java.util.List getCategoriesOrBuilderList(); /** + * + * *
    * The category of the infoType.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10; */ - com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder( - int index); + com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index); } 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 888d991e..c945199f 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,31 +68,33 @@ 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) { @@ -84,34 +102,39 @@ private InfoTypeStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -119,11 +142,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 @@ -131,6 +157,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.
    * 
@@ -145,11 +173,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 @@ -158,6 +189,7 @@ public long getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -187,12 +218,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; @@ -202,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.InfoTypeStats)) { return super.equals(obj); @@ -211,11 +240,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; } @@ -232,125 +259,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() @@ -358,16 +393,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(); @@ -383,9 +417,9 @@ public Builder 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 @@ -404,7 +438,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 { @@ -419,38 +454,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; @@ -496,34 +532,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.
      * 
@@ -544,14 +593,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(); @@ -562,6 +612,8 @@ public Builder setInfoType( return this; } /** + * + * *
      * The type of finding this stat is for.
      * 
@@ -572,7 +624,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; } @@ -584,6 +638,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * The type of finding this stat is for.
      * 
@@ -602,6 +658,8 @@ public Builder clearInfoType() { return this; } /** + * + * *
      * The type of finding this stat is for.
      * 
@@ -609,11 +667,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.
      * 
@@ -624,11 +684,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.
      * 
@@ -636,26 +699,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 @@ -663,37 +732,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); } @@ -703,12 +778,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(); } @@ -717,16 +792,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; @@ -741,6 +816,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/InfoTypeSummary.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummary.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummary.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummary.java index e626f5c9..43d1b74e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummary.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummary.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 infoType details for this column.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeSummary} */ -public final class InfoTypeSummary extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InfoTypeSummary extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.InfoTypeSummary) InfoTypeSummaryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InfoTypeSummary.newBuilder() to construct. private InfoTypeSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InfoTypeSummary() { - } + + private InfoTypeSummary() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InfoTypeSummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InfoTypeSummary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,33 @@ private InfoTypeSummary( 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: + { + estimatedPrevalence_ = input.readInt32(); + break; } - - break; - } - case 16: { - - estimatedPrevalence_ = 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) { @@ -84,34 +102,39 @@ private InfoTypeSummary( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_InfoTypeSummary_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeSummary.class, com.google.privacy.dlp.v2.InfoTypeSummary.Builder.class); + com.google.privacy.dlp.v2.InfoTypeSummary.class, + com.google.privacy.dlp.v2.InfoTypeSummary.Builder.class); } public static final int INFO_TYPE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InfoType infoType_; /** + * + * *
    * The infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -119,11 +142,14 @@ public boolean hasInfoType() { return infoType_ != null; } /** + * + * *
    * The infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ @java.lang.Override @@ -131,6 +157,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** + * + * *
    * The infoType.
    * 
@@ -145,12 +173,15 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { public static final int ESTIMATED_PREVALENCE_FIELD_NUMBER = 2; private int estimatedPrevalence_; /** + * + * *
    * Approximate percentage of non-null rows that contained data detected by
    * this infotype.
    * 
* * int32 estimated_prevalence = 2; + * * @return The estimatedPrevalence. */ @java.lang.Override @@ -159,6 +190,7 @@ public int getEstimatedPrevalence() { } 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 { if (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -188,12 +219,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 (estimatedPrevalence_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, estimatedPrevalence_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, estimatedPrevalence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,20 +232,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.InfoTypeSummary)) { return super.equals(obj); } - com.google.privacy.dlp.v2.InfoTypeSummary other = (com.google.privacy.dlp.v2.InfoTypeSummary) obj; + com.google.privacy.dlp.v2.InfoTypeSummary other = + (com.google.privacy.dlp.v2.InfoTypeSummary) obj; if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType() - .equals(other.getInfoType())) return false; + if (!getInfoType().equals(other.getInfoType())) return false; } - if (getEstimatedPrevalence() - != other.getEstimatedPrevalence()) return false; + if (getEstimatedPrevalence() != other.getEstimatedPrevalence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,118 +267,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom(java.io.InputStream input) 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.InfoTypeSummary parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.InfoTypeSummary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.InfoTypeSummary parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeSummary parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.InfoTypeSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.InfoTypeSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 infoType details for this column.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.InfoTypeSummary} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.InfoTypeSummary) com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.InfoTypeSummary.class, com.google.privacy.dlp.v2.InfoTypeSummary.Builder.class); + com.google.privacy.dlp.v2.InfoTypeSummary.class, + com.google.privacy.dlp.v2.InfoTypeSummary.Builder.class); } // Construct using com.google.privacy.dlp.v2.InfoTypeSummary.newBuilder() @@ -358,16 +395,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(); @@ -383,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_InfoTypeSummary_descriptor; } @java.lang.Override @@ -404,7 +440,8 @@ public com.google.privacy.dlp.v2.InfoTypeSummary build() { @java.lang.Override public com.google.privacy.dlp.v2.InfoTypeSummary buildPartial() { - com.google.privacy.dlp.v2.InfoTypeSummary result = new com.google.privacy.dlp.v2.InfoTypeSummary(this); + com.google.privacy.dlp.v2.InfoTypeSummary result = + new com.google.privacy.dlp.v2.InfoTypeSummary(this); if (infoTypeBuilder_ == null) { result.infoType_ = infoType_; } else { @@ -419,38 +456,39 @@ public com.google.privacy.dlp.v2.InfoTypeSummary buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.InfoTypeSummary) { - return mergeFrom((com.google.privacy.dlp.v2.InfoTypeSummary)other); + return mergeFrom((com.google.privacy.dlp.v2.InfoTypeSummary) other); } else { super.mergeFrom(other); return this; @@ -496,34 +534,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 infoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** + * + * *
      * The 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(); } } /** + * + * *
      * The infoType.
      * 
@@ -544,14 +595,15 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * The 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(); @@ -562,6 +614,8 @@ public Builder setInfoType( return this; } /** + * + * *
      * The infoType.
      * 
@@ -572,7 +626,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; } @@ -584,6 +640,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * The infoType.
      * 
@@ -602,6 +660,8 @@ public Builder clearInfoType() { return this; } /** + * + * *
      * The infoType.
      * 
@@ -609,11 +669,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 infoType.
      * 
@@ -624,11 +686,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 infoType.
      * 
@@ -636,27 +701,33 @@ 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 estimatedPrevalence_ ; + private int estimatedPrevalence_; /** + * + * *
      * Approximate percentage of non-null rows that contained data detected by
      * this infotype.
      * 
* * int32 estimated_prevalence = 2; + * * @return The estimatedPrevalence. */ @java.lang.Override @@ -664,39 +735,45 @@ public int getEstimatedPrevalence() { return estimatedPrevalence_; } /** + * + * *
      * Approximate percentage of non-null rows that contained data detected by
      * this infotype.
      * 
* * int32 estimated_prevalence = 2; + * * @param value The estimatedPrevalence to set. * @return This builder for chaining. */ public Builder setEstimatedPrevalence(int value) { - + estimatedPrevalence_ = value; onChanged(); return this; } /** + * + * *
      * Approximate percentage of non-null rows that contained data detected by
      * this infotype.
      * 
* * int32 estimated_prevalence = 2; + * * @return This builder for chaining. */ public Builder clearEstimatedPrevalence() { - + estimatedPrevalence_ = 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); } @@ -706,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.InfoTypeSummary) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeSummary) private static final com.google.privacy.dlp.v2.InfoTypeSummary DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.InfoTypeSummary(); } @@ -720,16 +797,16 @@ public static com.google.privacy.dlp.v2.InfoTypeSummary getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InfoTypeSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InfoTypeSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InfoTypeSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InfoTypeSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -744,6 +821,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.InfoTypeSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.java index cd8629d7..336a0e85 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InfoTypeSummaryOrBuilder.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 InfoTypeSummaryOrBuilder extends +public interface InfoTypeSummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InfoTypeSummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** + * + * *
    * The infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
    * The infoType.
    * 
@@ -35,12 +59,15 @@ public interface InfoTypeSummaryOrBuilder extends com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); /** + * + * *
    * Approximate percentage of non-null rows that contained data detected by
    * this infotype.
    * 
* * int32 estimated_prevalence = 2; + * * @return The estimatedPrevalence. */ int getEstimatedPrevalence(); 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 71eedcbc..405aea60 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(7); } @@ -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 4b759eb0..4d06eb7d 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,22 +74,28 @@ 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) {
@@ -80,8 +103,7 @@ private InfoTypeTransformations(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -90,24 +112,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
@@ -116,9 +144,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
@@ -129,6 +158,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
@@ -139,6 +170,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
@@ -147,9 +180,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
@@ -158,37 +193,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.
@@ -196,31 +247,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)
@@ -240,35 +291,41 @@ 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) {
@@ -276,8 +333,7 @@ private InfoTypeTransformation(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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_);
@@ -286,22 +342,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
@@ -315,6 +377,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
@@ -324,11 +388,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
@@ -342,6 +408,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
@@ -355,6 +423,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
@@ -364,19 +434,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 @@ -384,30 +458,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; @@ -419,8 +506,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -437,12 +523,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; @@ -452,19 +538,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; @@ -490,88 +576,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 @@ -581,6 +680,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A transformation to apply to text that is identified as a specific
      * info_type.
@@ -588,39 +689,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();
@@ -640,19 +746,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);
         }
@@ -660,8 +769,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)) {
@@ -685,46 +796,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()) {
@@ -743,9 +862,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_);
             }
@@ -769,11 +889,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) {
@@ -782,21 +905,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
@@ -813,6 +943,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
@@ -829,6 +961,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
@@ -845,6 +979,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
@@ -853,8 +989,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();
@@ -868,6 +1003,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
@@ -888,6 +1025,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
@@ -910,6 +1049,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
@@ -918,8 +1059,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();
@@ -933,6 +1073,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
@@ -941,8 +1083,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());
@@ -953,6 +1094,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
@@ -973,6 +1116,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
@@ -985,8 +1130,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);
@@ -994,6 +1138,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
@@ -1013,6 +1159,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
@@ -1032,6 +1180,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
@@ -1040,11 +1190,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
@@ -1053,14 +1204,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
@@ -1069,8 +1222,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 {
@@ -1078,6 +1231,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
@@ -1087,10 +1242,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
@@ -1099,12 +1256,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
@@ -1113,20 +1271,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_;
@@ -1134,41 +1294,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(); @@ -1182,11 +1362,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) { @@ -1200,17 +1384,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; } @@ -1222,11 +1414,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) { @@ -1240,52 +1436,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) { @@ -1298,30 +1513,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; @@ -1333,78 +1551,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; @@ -1416,8 +1660,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1431,8 +1674,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; @@ -1442,15 +1684,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; } @@ -1472,96 +1714,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
@@ -1571,21 +1820,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()
@@ -1593,17 +1844,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();
@@ -1617,9 +1868,9 @@ public Builder 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
@@ -1638,7 +1889,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)) {
@@ -1657,38 +1909,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;
@@ -1696,7 +1949,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()) {
@@ -1715,9 +1969,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_);
           }
@@ -1742,7 +1997,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) {
@@ -1751,29 +2007,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 { @@ -1781,12 +2050,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) { @@ -1796,14 +2069,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 { @@ -1811,12 +2089,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) { @@ -1833,15 +2115,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()); @@ -1852,14 +2140,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(); @@ -1873,12 +2166,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) { @@ -1895,15 +2192,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()); @@ -1914,15 +2216,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()); @@ -1933,19 +2241,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); @@ -1953,12 +2266,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) { @@ -1971,12 +2288,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) { @@ -1989,42 +2310,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 { @@ -2032,48 +2368,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(), @@ -2082,9 +2443,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); } @@ -2094,12 +2455,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(); } @@ -2108,16 +2469,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; @@ -2132,6 +2493,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 78% 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 3896eabf..2f47ce95 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,92 +77,106 @@ 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) {
@@ -153,8 +184,7 @@ private InspectConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -172,24 +202,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`,
@@ -198,11 +234,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
@@ -210,55 +249,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.
@@ -271,31 +335,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)
@@ -315,32 +379,38 @@ 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) {
@@ -348,8 +418,7 @@ private FindingLimits(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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_);
@@ -358,24 +427,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
@@ -384,10 +459,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
@@ -396,10 +474,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
@@ -412,16 +493,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.
@@ -429,30 +515,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)
@@ -471,31 +556,34 @@ 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) {
@@ -503,29 +591,34 @@ private InfoTypeLimit(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(
-              e).setUnfinishedMessage(this);
+          throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -534,6 +627,7 @@ private InfoTypeLimit(
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -541,6 +635,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
@@ -549,13 +645,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
@@ -573,11 +674,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 @@ -586,6 +690,7 @@ public int getMaxFindings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -597,8 +702,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -615,12 +719,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; @@ -630,20 +732,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; } @@ -667,87 +768,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 @@ -757,6 +867,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Max findings configuration per infoType, per content item or long
        * running DlpJob.
@@ -764,38 +876,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();
@@ -811,19 +927,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);
           }
@@ -832,7 +951,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 {
@@ -847,46 +967,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());
           }
@@ -912,7 +1040,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) {
@@ -924,8 +1054,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
@@ -934,12 +1069,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
@@ -948,16 +1086,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
@@ -981,6 +1124,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
@@ -990,8 +1135,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();
@@ -1002,6 +1146,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
@@ -1015,7 +1161,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;
             }
@@ -1027,6 +1175,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
@@ -1048,6 +1198,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
@@ -1058,11 +1210,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
@@ -1076,11 +1230,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
@@ -1091,26 +1248,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 @@ -1118,34 +1281,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) { @@ -1158,30 +1328,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; @@ -1193,15 +1366,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`,
@@ -1210,6 +1385,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit getDe
      * 
* * int32 max_findings_per_item = 1; + * * @return The maxFindingsPerItem. */ @java.lang.Override @@ -1220,6 +1396,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
@@ -1227,6 +1405,7 @@ public int getMaxFindingsPerItem() {
      * 
* * int32 max_findings_per_request = 2; + * * @return The maxFindingsPerRequest. */ @java.lang.Override @@ -1235,66 +1414,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; @@ -1306,8 +1510,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1327,16 +1530,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; @@ -1346,19 +1548,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; } @@ -1384,87 +1585,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 @@ -1474,6 +1682,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.
@@ -1486,21 +1696,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()
@@ -1508,17 +1721,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();
@@ -1536,9 +1749,9 @@ public Builder 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
@@ -1557,13 +1770,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_;
@@ -1578,38 +1793,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;
@@ -1617,7 +1835,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());
         }
@@ -1642,9 +1861,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_);
             }
@@ -1669,7 +1889,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) {
@@ -1678,10 +1899,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`,
@@ -1690,6 +1914,7 @@ public Builder mergeFrom(
        * 
* * int32 max_findings_per_item = 1; + * * @return The maxFindingsPerItem. */ @java.lang.Override @@ -1697,6 +1922,8 @@ public int getMaxFindingsPerItem() { return maxFindingsPerItem_; } /** + * + * *
        * Max number of findings that will be returned for each item scanned.
        * When set within `InspectJobConfig`,
@@ -1705,16 +1932,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`,
@@ -1723,17 +1953,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
@@ -1741,6 +1974,7 @@ public Builder clearMaxFindingsPerItem() {
        * 
* * int32 max_findings_per_request = 2; + * * @return The maxFindingsPerRequest. */ @java.lang.Override @@ -1748,6 +1982,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
@@ -1755,16 +1991,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
@@ -1772,35 +2011,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 { @@ -1808,11 +2060,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) { @@ -1822,13 +2078,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 { @@ -1836,11 +2097,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) { @@ -1857,14 +2122,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()); @@ -1875,13 +2146,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(); @@ -1895,11 +2171,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) { @@ -1916,14 +2196,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()); @@ -1934,14 +2219,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()); @@ -1952,18 +2243,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); @@ -1971,11 +2267,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) { @@ -1988,11 +2288,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) { @@ -2005,39 +2309,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 { @@ -2045,45 +2364,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(), @@ -2092,6 +2436,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) { @@ -2104,12 +2449,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(); } @@ -2118,16 +2463,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; @@ -2142,12 +2487,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
@@ -2167,6 +2513,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
@@ -2182,11 +2530,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
@@ -2206,6 +2556,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
@@ -2225,6 +2577,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
@@ -2240,14 +2594,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.
@@ -2255,12 +2610,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.
@@ -2268,17 +2627,22 @@ 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.
@@ -2290,6 +2654,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    * 
* * .google.privacy.dlp.v2.InspectConfig.FindingLimits limits = 3; + * * @return Whether the limits field is set. */ @java.lang.Override @@ -2297,6 +2662,8 @@ public boolean hasLimits() { return limits_ != null; } /** + * + * *
    * Configuration to control the number of findings returned.
    * This is not used for data profiling.
@@ -2308,13 +2675,18 @@ public boolean hasLimits() {
    * 
* * .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.
@@ -2335,6 +2707,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][google.privacy.dlp.v2.Finding.quote].
@@ -2342,6 +2716,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
    * 
* * bool include_quote = 4; + * * @return The includeQuote. */ @java.lang.Override @@ -2352,12 +2727,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 @@ -2368,6 +2746,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.
@@ -2380,6 +2760,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.
@@ -2388,11 +2770,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.
@@ -2405,6 +2789,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.
@@ -2417,6 +2803,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.
@@ -2425,42 +2813,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 @@ -2468,11 +2864,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. */ @@ -2481,24 +2880,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. */ @@ -2506,11 +2910,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
@@ -2524,6 +2931,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
@@ -2533,11 +2942,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
@@ -2551,6 +2962,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
@@ -2564,6 +2977,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
@@ -2573,12 +2988,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;
@@ -2590,8 +3005,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
@@ -2631,44 +3045,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;
@@ -2678,30 +3086,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;
   }
@@ -2724,11 +3126,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();
@@ -2746,97 +3146,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
@@ -2845,21 +3252,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()
@@ -2867,19 +3276,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();
@@ -2919,9 +3328,9 @@ public Builder 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
@@ -2940,7 +3349,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)) {
@@ -2990,38 +3400,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;
@@ -3048,9 +3459,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_);
           }
@@ -3086,9 +3498,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_);
           }
@@ -3122,9 +3535,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_);
           }
@@ -3158,21 +3572,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
@@ -3195,6 +3616,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
@@ -3217,6 +3640,8 @@ public int getInfoTypesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Restricts what info_types to look for. The values must correspond to
      * InfoType values returned by ListInfoTypes or listed at
@@ -3239,6 +3664,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
@@ -3253,8 +3680,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();
@@ -3268,6 +3694,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
@@ -3294,6 +3722,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
@@ -3322,6 +3752,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
@@ -3336,8 +3768,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();
@@ -3351,6 +3782,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
@@ -3365,8 +3798,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());
@@ -3377,6 +3809,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
@@ -3403,6 +3837,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
@@ -3421,8 +3857,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);
@@ -3430,6 +3865,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
@@ -3455,6 +3892,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
@@ -3480,6 +3919,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
@@ -3494,11 +3935,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
@@ -3513,14 +3955,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
@@ -3535,8 +3979,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 {
@@ -3544,6 +3988,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
@@ -3559,10 +4005,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
@@ -3577,12 +4025,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
@@ -3597,20 +4046,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_;
@@ -3618,6 +4069,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.
@@ -3625,12 +4078,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.
@@ -3638,16 +4095,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.
@@ -3655,15 +4115,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.
@@ -3671,6 +4135,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. */ @@ -3678,12 +4143,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.
@@ -3691,10 +4158,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; @@ -3702,8 +4170,13 @@ 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.
@@ -3715,12 +4188,15 @@ public Builder clearMinLikelihood() {
      * 
* * .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.
@@ -3732,16 +4208,21 @@ public boolean hasLimits() {
      * 
* * .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.
@@ -3768,6 +4249,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.
@@ -3792,6 +4275,8 @@ public Builder setLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
@@ -3808,7 +4293,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;
         }
@@ -3820,6 +4307,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.
@@ -3844,6 +4333,8 @@ public Builder clearLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration to control the number of findings returned.
      * This is not used for data profiling.
@@ -3857,11 +4348,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.
@@ -3878,11 +4371,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.
@@ -3896,21 +4392,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][google.privacy.dlp.v2.Finding.quote].
@@ -3918,6 +4419,7 @@ public com.google.privacy.dlp.v2.InspectConfig.FindingLimitsOrBuilder getLimitsO
      * 
* * bool include_quote = 4; + * * @return The includeQuote. */ @java.lang.Override @@ -3925,6 +4427,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][google.privacy.dlp.v2.Finding.quote].
@@ -3932,16 +4436,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][google.privacy.dlp.v2.Finding.quote].
@@ -3949,23 +4456,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 @@ -3973,50 +4484,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.
@@ -4032,6 +4556,8 @@ public java.util.List getCustomInfoTyp
       }
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4047,6 +4573,8 @@ public int getCustomInfoTypesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4062,6 +4590,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.
@@ -4069,8 +4599,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();
@@ -4084,6 +4613,8 @@ public Builder setCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4103,6 +4634,8 @@ public Builder setCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4124,6 +4657,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.
@@ -4131,8 +4666,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();
@@ -4146,6 +4680,8 @@ public Builder addCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4165,6 +4701,8 @@ public Builder addCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4184,6 +4722,8 @@ public Builder addCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4195,8 +4735,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);
@@ -4204,6 +4743,8 @@ public Builder addAllCustomInfoTypes(
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4222,6 +4763,8 @@ public Builder clearCustomInfoTypes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * CustomInfoTypes provided by the user. See
      * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
@@ -4240,6 +4783,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.
@@ -4247,11 +4792,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.
@@ -4262,11 +4808,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.
@@ -4274,8 +4823,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 {
@@ -4283,6 +4832,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.
@@ -4291,10 +4842,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.
@@ -4302,12 +4855,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.
@@ -4315,16 +4869,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(),
@@ -4334,8 +4894,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_);
@@ -4343,34 +4903,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. */ @@ -4378,17 +4948,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(); } @@ -4398,11 +4970,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. */ @@ -4416,11 +4991,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. */ @@ -4434,11 +5012,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() { @@ -4448,23 +5029,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. */ @@ -4472,28 +5058,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 to set the value at. * @param value The enum numeric value on the wire for contentOptions to set. * @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. */ @@ -4504,16 +5095,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); @@ -4523,18 +5116,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
@@ -4551,6 +5150,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
@@ -4567,6 +5168,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
@@ -4583,6 +5186,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
@@ -4591,8 +5196,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();
@@ -4606,6 +5210,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
@@ -4626,6 +5232,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
@@ -4648,6 +5256,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
@@ -4656,8 +5266,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();
@@ -4671,6 +5280,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
@@ -4679,8 +5290,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());
@@ -4691,6 +5301,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
@@ -4711,6 +5323,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
@@ -4723,8 +5337,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);
@@ -4732,6 +5345,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
@@ -4751,6 +5366,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
@@ -4770,6 +5387,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
@@ -4778,11 +5397,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
@@ -4791,14 +5411,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
@@ -4807,8 +5429,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 {
@@ -4816,6 +5438,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
@@ -4825,10 +5449,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
@@ -4837,12 +5463,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
@@ -4851,27 +5478,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);
     }
 
@@ -4881,12 +5511,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();
   }
@@ -4895,16 +5525,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;
@@ -4919,6 +5549,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 89%
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 13f7f9cd..1278105b 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,11 +138,14 @@ 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.
@@ -126,10 +157,13 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    * 
* * .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.
@@ -141,10 +175,13 @@ com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(
    * 
* * .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.
@@ -160,6 +197,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][google.privacy.dlp.v2.Finding.quote].
@@ -167,22 +206,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.
@@ -190,9 +235,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.
@@ -202,6 +248,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.
@@ -211,6 +259,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.
@@ -218,9 +268,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.
@@ -228,59 +280,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
@@ -289,9 +356,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
@@ -302,6 +370,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
@@ -312,6 +382,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
@@ -320,9 +392,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
@@ -331,6 +405,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 76%
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 5f376ac9..1d6efa59 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,57 +72,66 @@ 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) { @@ -113,29 +139,33 @@ private InspectContentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -152,6 +182,7 @@ private InspectContentRequest(
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ @java.lang.Override @@ -160,14 +191,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
@@ -184,16 +216,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 { @@ -204,12 +235,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 @@ -217,19 +251,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.
@@ -245,11 +286,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 @@ -257,11 +301,14 @@ public boolean hasItem() { return item_ != null; } /** + * + * *
    * The item to inspect.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 3; + * * @return The item. */ @java.lang.Override @@ -269,6 +316,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** + * + * *
    * The item to inspect.
    * 
@@ -283,6 +332,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
@@ -292,6 +343,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 4; + * * @return The inspectTemplateName. */ @java.lang.Override @@ -300,14 +352,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
@@ -317,16 +370,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 { @@ -337,11 +389,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 @@ -350,29 +405,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 { @@ -381,6 +436,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,8 +448,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -422,12 +477,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_); @@ -443,29 +496,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; } @@ -496,118 +545,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() @@ -615,16 +673,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 +707,9 @@ public Builder 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 @@ -671,7 +728,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_; @@ -693,38 +751,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; @@ -732,7 +791,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(); @@ -782,6 +842,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
@@ -798,13 +860,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; @@ -813,6 +875,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -829,15 +893,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 { @@ -845,6 +908,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -861,20 +926,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
@@ -891,15 +958,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
@@ -916,16 +986,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; @@ -933,36 +1003,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.
@@ -984,6 +1067,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.
@@ -1003,6 +1088,8 @@ public Builder setInspectConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1014,7 +1101,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;
         }
@@ -1026,6 +1115,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.
@@ -1045,6 +1136,8 @@ public Builder clearInspectConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the inspector. What specified here will override
      * the template referenced by the inspect_template_name argument.
@@ -1053,11 +1146,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.
@@ -1069,11 +1164,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.
@@ -1082,14 +1180,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_;
@@ -1097,24 +1198,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() { @@ -1125,6 +1235,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The item to inspect.
      * 
@@ -1145,14 +1257,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(); @@ -1163,6 +1276,8 @@ public Builder setItem( return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -1173,7 +1288,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; } @@ -1185,6 +1302,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -1203,6 +1322,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The item to inspect.
      * 
@@ -1210,11 +1331,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.
      * 
@@ -1225,11 +1348,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.
      * 
@@ -1237,14 +1361,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_; @@ -1252,6 +1379,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
@@ -1261,13 +1390,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; @@ -1276,6 +1405,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
@@ -1285,15 +1416,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 { @@ -1301,6 +1431,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
@@ -1310,20 +1442,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
@@ -1333,15 +1467,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
@@ -1351,16 +1488,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; @@ -1368,18 +1505,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; @@ -1388,20 +1527,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 { @@ -1409,61 +1549,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); } @@ -1473,12 +1620,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(); } @@ -1487,16 +1634,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; @@ -1511,6 +1658,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 68% 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 5e4eb7d8..f8fe804f 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,26 +68,29 @@ 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) { @@ -79,34 +98,39 @@ private InspectContentResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -114,11 +138,14 @@ public boolean hasResult() { return result_ != null; } /** + * + * *
    * The findings.
    * 
* * .google.privacy.dlp.v2.InspectResult result = 1; + * * @return The result. */ @java.lang.Override @@ -126,6 +153,8 @@ public com.google.privacy.dlp.v2.InspectResult getResult() { return result_ == null ? com.google.privacy.dlp.v2.InspectResult.getDefaultInstance() : result_; } /** + * + * *
    * The findings.
    * 
@@ -138,6 +167,7 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getResultOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,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 (result_ != null) { output.writeMessage(1, getResult()); } @@ -164,8 +193,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; @@ -175,17 +203,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -207,118 +235,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() @@ -326,16 +363,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +385,9 @@ public Builder 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 @@ -370,7 +406,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 { @@ -384,38 +421,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; @@ -423,7 +461,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()); } @@ -458,34 +497,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.
      * 
@@ -506,14 +558,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(); @@ -524,6 +577,8 @@ public Builder setResult( return this; } /** + * + * *
      * The findings.
      * 
@@ -534,7 +589,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; } @@ -546,6 +603,8 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectResult value) { return this; } /** + * + * *
      * The findings.
      * 
@@ -564,6 +623,8 @@ public Builder clearResult() { return this; } /** + * + * *
      * The findings.
      * 
@@ -571,11 +632,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.
      * 
@@ -586,11 +649,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.
      * 
@@ -598,21 +664,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); } @@ -622,12 +691,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(); } @@ -636,16 +705,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; @@ -660,6 +729,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 63d91f13..586a8a9d 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,39 +68,48 @@ 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) { @@ -92,51 +117,62 @@ private InspectDataSourceDetails( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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.
@@ -147,24 +183,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.
      * 
@@ -174,36 +218,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) @@ -222,39 +267,45 @@ 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) { @@ -262,35 +313,40 @@ private RequestedOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -298,19 +354,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.
@@ -319,18 +382,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 @@ -338,18 +405,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.
      * 
@@ -362,6 +436,7 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getJobConfigOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -373,8 +448,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -391,12 +465,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; @@ -406,22 +480,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; @@ -448,87 +521,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 @@ -538,44 +619,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(); @@ -595,14 +681,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 @@ -616,7 +704,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 { @@ -635,46 +724,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()); } @@ -700,7 +796,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) { @@ -712,36 +810,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.
@@ -763,6 +874,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.
@@ -782,6 +895,8 @@ public Builder setSnapshotInspectTemplate(
         return this;
       }
       /**
+       *
+       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -793,7 +908,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;
           }
@@ -805,6 +922,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.
@@ -824,6 +943,8 @@ public Builder clearSnapshotInspectTemplate() {
         return this;
       }
       /**
+       *
+       *
        * 
        * If run with an InspectTemplate, a snapshot of its state at the time of
        * this run.
@@ -832,11 +953,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.
@@ -844,15 +967,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.
@@ -861,14 +988,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_;
@@ -876,34 +1006,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.
        * 
@@ -924,6 +1067,8 @@ public Builder setJobConfig(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** + * + * *
        * Inspect config.
        * 
@@ -942,6 +1087,8 @@ public Builder setJobConfig( return this; } /** + * + * *
        * Inspect config.
        * 
@@ -952,7 +1099,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; } @@ -964,6 +1113,8 @@ public Builder mergeJobConfig(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** + * + * *
        * Inspect config.
        * 
@@ -982,6 +1133,8 @@ public Builder clearJobConfig() { return this; } /** + * + * *
        * Inspect config.
        * 
@@ -989,11 +1142,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.
        * 
@@ -1004,11 +1159,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.
        * 
@@ -1016,18 +1174,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) { @@ -1040,30 +1202,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; @@ -1075,37 +1239,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.
@@ -1113,9 +1286,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.
@@ -1125,6 +1299,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.
@@ -1134,6 +1310,8 @@ public interface ResultOrBuilder extends
      */
     int getInfoTypeStatsCount();
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1141,9 +1319,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.
@@ -1151,28 +1331,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.
      * 
@@ -1182,37 +1369,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) @@ -1232,45 +1421,52 @@ 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) { @@ -1278,8 +1474,7 @@ private Result( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -1288,27 +1483,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 @@ -1319,11 +1520,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 @@ -1334,6 +1538,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.
@@ -1346,6 +1552,8 @@ public java.util.List getInfoTypeStatsL
       return infoTypeStats_;
     }
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1354,11 +1562,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.
@@ -1371,6 +1581,8 @@ public int getInfoTypeStatsCount() {
       return infoTypeStats_.size();
     }
     /**
+     *
+     *
      * 
      * Statistics of how many instances of each info type were found during
      * inspect job.
@@ -1383,6 +1595,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.
@@ -1391,19 +1605,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 @@ -1411,18 +1627,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.
      * 
@@ -1435,6 +1658,7 @@ public com.google.privacy.dlp.v2.HybridInspectStatisticsOrBuilder getHybridStats } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1446,8 +1670,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1470,20 +1693,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; @@ -1493,23 +1712,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; @@ -1523,11 +1739,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(); @@ -1542,87 +1756,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 @@ -1632,27 +1853,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() @@ -1660,17 +1886,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(); @@ -1694,9 +1920,9 @@ public Builder 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 @@ -1715,7 +1941,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_; @@ -1741,38 +1968,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; @@ -1780,7 +2010,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()); } @@ -1805,9 +2036,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_); } @@ -1835,7 +2067,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) { @@ -1844,15 +2077,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 @@ -1860,42 +2097,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 @@ -1903,48 +2149,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.
@@ -1960,6 +2219,8 @@ public java.util.List getInfoTypeStatsL
         }
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -1975,6 +2236,8 @@ public int getInfoTypeStatsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -1990,6 +2253,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.
@@ -1997,8 +2262,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();
@@ -2012,6 +2276,8 @@ public Builder setInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2031,6 +2297,8 @@ public Builder setInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2052,6 +2320,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.
@@ -2059,8 +2329,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();
@@ -2074,6 +2343,8 @@ public Builder addInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2093,6 +2364,8 @@ public Builder addInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2112,6 +2385,8 @@ public Builder addInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2123,8 +2398,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);
@@ -2132,6 +2406,8 @@ public Builder addAllInfoTypeStats(
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2150,6 +2426,8 @@ public Builder clearInfoTypeStats() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2168,6 +2446,8 @@ public Builder removeInfoTypeStats(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2175,11 +2455,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.
@@ -2187,14 +2468,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.
@@ -2202,8 +2485,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 {
@@ -2211,6 +2494,8 @@ public com.google.privacy.dlp.v2.InfoTypeStatsOrBuilder getInfoTypeStatsOrBuilde
         }
       }
       /**
+       *
+       *
        * 
        * Statistics of how many instances of each info type were found during
        * inspect job.
@@ -2219,10 +2504,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.
@@ -2230,12 +2517,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.
@@ -2243,16 +2531,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(),
@@ -2264,34 +2558,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.
        * 
@@ -2312,6 +2619,8 @@ public Builder setHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistics return this; } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2330,6 +2639,8 @@ public Builder setHybridStats( return this; } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2340,7 +2651,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; } @@ -2352,6 +2665,8 @@ public Builder mergeHybridStats(com.google.privacy.dlp.v2.HybridInspectStatistic return this; } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2370,6 +2685,8 @@ public Builder clearHybridStats() { return this; } /** + * + * *
        * Statistics related to the processing of hybrid inspect.
        * 
@@ -2377,11 +2694,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.
        * 
@@ -2392,11 +2711,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.
        * 
@@ -2404,18 +2726,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) { @@ -2428,12 +2754,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(); } @@ -2442,16 +2768,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; @@ -2466,17 +2792,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 @@ -2484,37 +2813,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 @@ -2522,18 +2864,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.
    * 
@@ -2546,6 +2895,7 @@ public com.google.privacy.dlp.v2.InspectDataSourceDetails.ResultOrBuilder getRes } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2557,8 +2907,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -2575,12 +2924,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; @@ -2590,22 +2937,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; @@ -2632,117 +2978,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() @@ -2750,16 +3105,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2779,9 +3133,9 @@ public Builder 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 @@ -2800,7 +3154,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 { @@ -2819,38 +3174,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; @@ -2858,7 +3214,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()); } @@ -2884,7 +3241,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) { @@ -2896,41 +3254,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(); @@ -2944,14 +3321,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(); @@ -2962,17 +3343,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; } @@ -2984,11 +3372,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) { @@ -3002,48 +3393,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_; @@ -3051,34 +3458,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.
      * 
@@ -3099,6 +3519,8 @@ public Builder setResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Resu return this; } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3117,6 +3539,8 @@ public Builder setResult( return this; } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3127,7 +3551,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; } @@ -3139,6 +3565,8 @@ public Builder mergeResult(com.google.privacy.dlp.v2.InspectDataSourceDetails.Re return this; } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3157,6 +3585,8 @@ public Builder clearResult() { return this; } /** + * + * *
      * A summary of the outcome of this inspection job.
      * 
@@ -3164,11 +3594,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.
      * 
@@ -3179,11 +3611,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.
      * 
@@ -3191,21 +3626,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); } @@ -3215,12 +3653,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(); } @@ -3229,16 +3667,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; @@ -3253,6 +3691,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 c20c2080..6acb9148 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,54 +72,62 @@ 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) { @@ -110,8 +135,7 @@ private InspectJobConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -120,27 +144,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 @@ -148,18 +178,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.
    * 
@@ -174,11 +211,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 @@ -186,18 +226,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.
    * 
@@ -212,6 +259,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
@@ -219,6 +268,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde
    * 
* * string inspect_template_name = 3; + * * @return The inspectTemplateName. */ @java.lang.Override @@ -227,14 +277,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
@@ -242,16 +293,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 { @@ -262,6 +312,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.
    * 
@@ -273,6 +325,8 @@ public java.util.List getActionsList() { return actions_; } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -280,11 +334,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.
    * 
@@ -296,6 +352,8 @@ public int getActionsCount() { return actions_.size(); } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -307,6 +365,8 @@ public com.google.privacy.dlp.v2.Action getActions(int index) { return actions_.get(index); } /** + * + * *
    * Actions to execute at the completion of the job.
    * 
@@ -314,12 +374,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; @@ -331,8 +391,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -355,19 +414,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; @@ -377,27 +433,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; } @@ -428,118 +481,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() @@ -547,17 +609,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(); @@ -585,9 +647,9 @@ public Builder 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 @@ -606,7 +668,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_; @@ -636,38 +699,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; @@ -704,9 +768,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_); } @@ -740,38 +805,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.
      * 
@@ -792,6 +871,8 @@ public Builder setStorageConfig(com.google.privacy.dlp.v2.StorageConfig value) { return this; } /** + * + * *
      * The data to scan.
      * 
@@ -810,6 +891,8 @@ public Builder setStorageConfig( return this; } /** + * + * *
      * The data to scan.
      * 
@@ -820,7 +903,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; } @@ -832,6 +917,8 @@ public Builder mergeStorageConfig(com.google.privacy.dlp.v2.StorageConfig value) return this; } /** + * + * *
      * The data to scan.
      * 
@@ -850,6 +937,8 @@ public Builder clearStorageConfig() { return this; } /** + * + * *
      * The data to scan.
      * 
@@ -857,11 +946,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.
      * 
@@ -872,11 +963,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.
      * 
@@ -884,14 +978,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_; @@ -899,34 +996,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.
      * 
@@ -947,6 +1057,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** + * + * *
      * How and what to scan for.
      * 
@@ -965,6 +1077,8 @@ public Builder setInspectConfig( return this; } /** + * + * *
      * How and what to scan for.
      * 
@@ -975,7 +1089,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; } @@ -987,6 +1103,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** + * + * *
      * How and what to scan for.
      * 
@@ -1005,6 +1123,8 @@ public Builder clearInspectConfig() { return this; } /** + * + * *
      * How and what to scan for.
      * 
@@ -1012,11 +1132,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.
      * 
@@ -1027,11 +1149,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.
      * 
@@ -1039,14 +1164,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_; @@ -1054,6 +1182,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
@@ -1061,13 +1191,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; @@ -1076,6 +1206,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
@@ -1083,15 +1215,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 { @@ -1099,6 +1230,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
@@ -1106,20 +1239,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
@@ -1127,15 +1262,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
@@ -1143,34 +1281,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.
      * 
@@ -1185,6 +1329,8 @@ public java.util.List getActionsList() { } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1199,6 +1345,8 @@ public int getActionsCount() { } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1213,14 +1361,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(); @@ -1234,14 +1383,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()); @@ -1252,6 +1402,8 @@ public Builder setActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1272,14 +1424,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(); @@ -1293,14 +1446,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()); @@ -1311,14 +1465,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()); @@ -1329,6 +1484,8 @@ public Builder addActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1339,8 +1496,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); @@ -1348,6 +1504,8 @@ public Builder addAllActions( return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1365,6 +1523,8 @@ public Builder clearActions() { return this; } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1382,39 +1542,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 { @@ -1422,6 +1587,8 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder( } } /** + * + * *
      * Actions to execute at the completion of the job.
      * 
@@ -1429,49 +1596,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); } @@ -1481,12 +1653,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(); } @@ -1495,16 +1667,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; @@ -1519,6 +1691,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 14f25ff5..321a30a9 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,27 +71,28 @@ 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) { @@ -82,8 +100,7 @@ private InspectResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -92,22 +109,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.
    * 
@@ -119,6 +141,8 @@ public java.util.List getFindingsList() { return findings_; } /** + * + * *
    * List of findings for an item.
    * 
@@ -126,11 +150,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.
    * 
@@ -142,6 +168,8 @@ public int getFindingsCount() { return findings_.size(); } /** + * + * *
    * List of findings for an item.
    * 
@@ -153,6 +181,8 @@ public com.google.privacy.dlp.v2.Finding getFindings(int index) { return findings_.get(index); } /** + * + * *
    * List of findings for an item.
    * 
@@ -160,14 +190,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.
@@ -178,6 +209,7 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(
    * 
* * bool findings_truncated = 2; + * * @return The findingsTruncated. */ @java.lang.Override @@ -186,6 +218,7 @@ public boolean getFindingsTruncated() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < findings_.size(); i++) { output.writeMessage(1, findings_.get(i)); } @@ -215,12 +247,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; @@ -230,17 +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.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; } @@ -257,125 +285,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() @@ -383,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getFindingsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +445,9 @@ public Builder 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 @@ -430,7 +466,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)) { @@ -450,38 +487,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; @@ -508,9 +546,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_); } @@ -547,21 +586,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.
      * 
@@ -576,6 +622,8 @@ public java.util.List getFindingsList() { } } /** + * + * *
      * List of findings for an item.
      * 
@@ -590,6 +638,8 @@ public int getFindingsCount() { } } /** + * + * *
      * List of findings for an item.
      * 
@@ -604,14 +654,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(); @@ -625,6 +676,8 @@ public Builder setFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -643,6 +696,8 @@ public Builder setFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -663,14 +718,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(); @@ -684,14 +740,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()); @@ -702,6 +759,8 @@ public Builder addFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -720,6 +779,8 @@ public Builder addFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -730,8 +791,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); @@ -739,6 +799,8 @@ public Builder addAllFindings( return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -756,6 +818,8 @@ public Builder clearFindings() { return this; } /** + * + * *
      * List of findings for an item.
      * 
@@ -773,39 +837,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 { @@ -813,6 +882,8 @@ public com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder( } } /** + * + * *
      * List of findings for an item.
      * 
@@ -820,49 +891,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.
@@ -873,6 +951,7 @@ public com.google.privacy.dlp.v2.Finding.Builder addFindingsBuilder(
      * 
* * bool findings_truncated = 2; + * * @return The findingsTruncated. */ @java.lang.Override @@ -880,6 +959,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.
@@ -890,16 +971,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.
@@ -910,17 +994,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); } @@ -930,12 +1015,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(); } @@ -944,16 +1029,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; @@ -968,6 +1053,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 d4d91041..beda0191 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,70 +75,80 @@ 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) {
@@ -129,29 +156,33 @@ private InspectTemplate(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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:
@@ -160,6 +191,7 @@ private InspectTemplate(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -168,14 +200,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:
@@ -184,16 +217,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 { @@ -204,11 +236,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 @@ -217,29 +252,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 { @@ -250,11 +285,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 @@ -263,29 +301,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 { @@ -296,11 +334,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 @@ -308,11 +350,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 @@ -320,11 +366,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() { @@ -334,11 +383,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 @@ -346,11 +399,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 @@ -358,11 +415,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() { @@ -372,11 +432,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 @@ -384,18 +447,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.
    * 
@@ -408,6 +478,7 @@ public com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -419,8 +490,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -458,16 +528,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; @@ -477,33 +544,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; @@ -539,97 +601,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
@@ -639,21 +708,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()
@@ -661,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();
@@ -702,9 +772,9 @@ public Builder 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
@@ -723,7 +793,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_;
@@ -750,38 +821,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;
@@ -842,6 +914,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -850,13 +924,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; @@ -865,6 +939,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -873,15 +949,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 { @@ -889,6 +964,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The template name.
      * The template will have one of the following formats:
@@ -897,20 +974,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:
@@ -919,15 +998,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:
@@ -936,16 +1018,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; @@ -953,18 +1035,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; @@ -973,20 +1057,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 { @@ -994,54 +1079,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; @@ -1049,18 +1141,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; @@ -1069,20 +1163,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 { @@ -1090,54 +1185,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; @@ -1145,39 +1247,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) { @@ -1193,14 +1314,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(); @@ -1211,17 +1335,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; } @@ -1233,11 +1361,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) { @@ -1251,48 +1383,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_; @@ -1300,39 +1448,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) { @@ -1348,14 +1515,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(); @@ -1366,17 +1536,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; } @@ -1388,11 +1562,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) { @@ -1406,48 +1584,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_; @@ -1455,34 +1649,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.
      * 
@@ -1503,6 +1710,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1521,6 +1730,8 @@ public Builder setInspectConfig( return this; } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1531,7 +1742,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; } @@ -1543,6 +1756,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1561,6 +1776,8 @@ public Builder clearInspectConfig() { return this; } /** + * + * *
      * The core content of the template. Configuration of the scanning process.
      * 
@@ -1568,11 +1785,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.
      * 
@@ -1583,11 +1802,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.
      * 
@@ -1595,21 +1817,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); } @@ -1619,12 +1844,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(); } @@ -1633,16 +1858,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; @@ -1657,6 +1882,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 0a062e2b..fbcb6702 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 add9b787..6bc309bf 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,41 +69,50 @@ 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) {
@@ -95,35 +120,40 @@ private InspectionRule(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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;
     }
@@ -139,30 +169,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 @@ -170,21 +206,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.
    * 
@@ -192,20 +233,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 @@ -213,21 +258,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.
    * 
@@ -237,12 +287,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; @@ -254,10 +305,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_); @@ -272,12 +323,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; @@ -287,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.InspectionRule)) { return super.equals(obj); @@ -297,12 +350,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: @@ -335,97 +386,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`.
@@ -433,21 +491,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()
@@ -455,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();
@@ -474,9 +533,9 @@ public Builder 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
@@ -495,7 +554,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_;
@@ -519,38 +579,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;
@@ -560,17 +621,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();
@@ -600,12 +664,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() {
@@ -615,15 +679,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 @@ -631,11 +701,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 @@ -644,22 +718,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(); @@ -673,14 +753,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(); @@ -691,18 +775,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; } @@ -718,11 +811,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) { @@ -741,67 +837,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 @@ -809,11 +931,14 @@ public boolean hasExclusionRule() { return typeCase_ == 2; } /** + * + * *
      * Exclusion rule.
      * 
* * .google.privacy.dlp.v2.ExclusionRule exclusion_rule = 2; + * * @return The exclusionRule. */ @java.lang.Override @@ -831,6 +956,8 @@ public com.google.privacy.dlp.v2.ExclusionRule getExclusionRule() { } } /** + * + * *
      * Exclusion rule.
      * 
@@ -851,6 +978,8 @@ public Builder setExclusionRule(com.google.privacy.dlp.v2.ExclusionRule value) { return this; } /** + * + * *
      * Exclusion rule.
      * 
@@ -869,6 +998,8 @@ public Builder setExclusionRule( return this; } /** + * + * *
      * Exclusion rule.
      * 
@@ -877,10 +1008,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; } @@ -896,6 +1030,8 @@ public Builder mergeExclusionRule(com.google.privacy.dlp.v2.ExclusionRule value) return this; } /** + * + * *
      * Exclusion rule.
      * 
@@ -919,6 +1055,8 @@ public Builder clearExclusionRule() { return this; } /** + * + * *
      * Exclusion rule.
      * 
@@ -929,6 +1067,8 @@ public com.google.privacy.dlp.v2.ExclusionRule.Builder getExclusionRuleBuilder() return getExclusionRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Exclusion rule.
      * 
@@ -947,6 +1087,8 @@ public com.google.privacy.dlp.v2.ExclusionRuleOrBuilder getExclusionRuleOrBuilde } } /** + * + * *
      * Exclusion rule.
      * 
@@ -954,26 +1096,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); } @@ -983,12 +1129,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(); } @@ -997,16 +1143,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; @@ -1021,6 +1167,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 950f00c6..64d6a90a 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,31 +73,35 @@ 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) {
@@ -88,8 +109,7 @@ private InspectionRuleSet(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -101,22 +121,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.
    * 
@@ -128,6 +153,8 @@ public java.util.List getInfoTypesList() { return infoTypes_; } /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -135,11 +162,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.
    * 
@@ -151,6 +180,8 @@ public int getInfoTypesCount() { return infoTypes_.size(); } /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -162,6 +193,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { return infoTypes_.get(index); } /** + * + * *
    * List of infoTypes this rule set is applied to.
    * 
@@ -169,14 +202,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.
    * 
@@ -188,6 +222,8 @@ public java.util.List getRulesList() { return rules_; } /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -195,11 +231,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.
    * 
@@ -211,6 +249,8 @@ public int getRulesCount() { return rules_.size(); } /** + * + * *
    * Set of rules to be applied to infoTypes. The rules are applied in order.
    * 
@@ -222,6 +262,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.
    * 
@@ -229,12 +271,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; @@ -246,8 +288,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < infoTypes_.size(); i++) { output.writeMessage(1, infoTypes_.get(i)); } @@ -264,12 +305,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; @@ -279,17 +318,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; } @@ -314,97 +352,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.
@@ -412,21 +457,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()
@@ -434,18 +481,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();
@@ -465,9 +512,9 @@ public Builder 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
@@ -486,7 +533,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)) {
@@ -514,38 +562,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;
@@ -572,9 +621,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_);
           }
@@ -598,9 +648,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_);
           }
@@ -634,21 +685,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.
      * 
@@ -663,6 +721,8 @@ public java.util.List getInfoTypesList() { } } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -677,6 +737,8 @@ public int getInfoTypesCount() { } } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -691,14 +753,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(); @@ -712,6 +775,8 @@ public Builder setInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -730,6 +795,8 @@ public Builder setInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -750,14 +817,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(); @@ -771,14 +839,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()); @@ -789,6 +858,8 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -807,6 +878,8 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -817,8 +890,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); @@ -826,6 +898,8 @@ public Builder addAllInfoTypes( return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -843,6 +917,8 @@ public Builder clearInfoTypes() { return this; } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -860,39 +936,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 { @@ -900,6 +981,8 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder( } } /** + * + * *
      * List of infoTypes this rule set is applied to.
      * 
@@ -907,60 +990,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.
      * 
@@ -975,6 +1069,8 @@ public java.util.List getRulesList() { } } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -989,6 +1085,8 @@ public int getRulesCount() { } } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1003,14 +1101,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(); @@ -1024,6 +1123,8 @@ public Builder setRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1042,6 +1143,8 @@ public Builder setRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1062,14 +1165,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(); @@ -1083,14 +1187,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()); @@ -1101,6 +1206,8 @@ public Builder addRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1119,6 +1226,8 @@ public Builder addRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1129,8 +1238,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); @@ -1138,6 +1246,8 @@ public Builder addAllRules( return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1155,6 +1265,8 @@ public Builder clearRules() { return this; } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1172,39 +1284,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 { @@ -1212,6 +1329,8 @@ public com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder( } } /** + * + * *
      * Set of rules to be applied to infoTypes. The rules are applied in order.
      * 
@@ -1219,49 +1338,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); } @@ -1271,12 +1395,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(); } @@ -1285,16 +1409,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; @@ -1309,6 +1433,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 5f84912e..a0a79b9a 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,108 +77,123 @@ 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) {
@@ -169,8 +201,7 @@ private JobTrigger(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -182,20 +213,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
@@ -205,9 +241,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.
      * 
@@ -216,6 +253,8 @@ public enum Status */ STATUS_UNSPECIFIED(0), /** + * + * *
      * Trigger is healthy.
      * 
@@ -224,6 +263,8 @@ public enum Status */ HEALTHY(1), /** + * + * *
      * Trigger is temporarily paused.
      * 
@@ -232,6 +273,8 @@ public enum Status */ PAUSED(2), /** + * + * *
      * Trigger is cancelled and can not be resumed.
      * 
@@ -243,6 +286,8 @@ public enum Status ; /** + * + * *
      * Unused.
      * 
@@ -251,6 +296,8 @@ public enum Status */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Trigger is healthy.
      * 
@@ -259,6 +306,8 @@ public enum Status */ public static final int HEALTHY_VALUE = 1; /** + * + * *
      * Trigger is temporarily paused.
      * 
@@ -267,6 +316,8 @@ public enum Status */ public static final int PAUSED_VALUE = 2; /** + * + * *
      * Trigger is cancelled and can not be resumed.
      * 
@@ -275,7 +326,6 @@ public enum Status */ public static final int CANCELLED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -300,50 +350,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; @@ -360,29 +411,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.
      * 
@@ -392,24 +452,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.
      * 
@@ -421,36 +489,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) @@ -469,41 +538,44 @@ 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) { @@ -511,35 +583,40 @@ private Trigger( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; } @@ -555,30 +632,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 @@ -586,21 +669,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.
      * 
@@ -610,18 +698,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 @@ -629,21 +720,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.
      * 
@@ -653,12 +749,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; @@ -670,8 +767,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (triggerCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.Schedule) trigger_); } @@ -688,12 +784,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; @@ -703,22 +801,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: @@ -751,88 +848,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 @@ -842,27 +945,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() @@ -870,16 +978,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(); @@ -889,9 +996,9 @@ public Builder 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 @@ -910,7 +1017,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_; @@ -934,38 +1042,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; @@ -975,17 +1086,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(); @@ -1015,12 +1129,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() { @@ -1030,15 +1144,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 @@ -1046,11 +1165,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 @@ -1068,6 +1190,8 @@ public com.google.privacy.dlp.v2.Schedule getSchedule() { } } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1088,14 +1212,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(); @@ -1106,6 +1231,8 @@ public Builder setSchedule( return this; } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1114,10 +1241,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; } @@ -1133,6 +1263,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.
        * 
@@ -1156,6 +1288,8 @@ public Builder clearSchedule() { return this; } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1166,6 +1300,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.
        * 
@@ -1184,6 +1320,8 @@ public com.google.privacy.dlp.v2.ScheduleOrBuilder getScheduleOrBuilder() { } } /** + * + * *
        * Create a job on a repeating basis based on the elapse of time.
        * 
@@ -1191,32 +1329,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 @@ -1224,11 +1372,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 @@ -1246,6 +1397,8 @@ public com.google.privacy.dlp.v2.Manual getManual() { } } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1266,14 +1419,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(); @@ -1284,6 +1438,8 @@ public Builder setManual( return this; } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1292,10 +1448,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; } @@ -1311,6 +1470,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.
        * 
@@ -1334,6 +1495,8 @@ public Builder clearManual() { return this; } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1344,6 +1507,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.
        * 
@@ -1362,6 +1527,8 @@ public com.google.privacy.dlp.v2.ManualOrBuilder getManualOrBuilder() { } } /** + * + * *
        * For use with hybrid jobs. Jobs must be manually created and finished.
        * 
@@ -1369,23 +1536,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) { @@ -1398,12 +1570,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(); } @@ -1412,16 +1584,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; @@ -1436,17 +1608,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; } @@ -1462,25 +1636,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
@@ -1488,6 +1666,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1496,14 +1675,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
@@ -1511,16 +1691,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 { @@ -1531,11 +1710,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 @@ -1544,29 +1726,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 { @@ -1577,11 +1759,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 @@ -1590,29 +1775,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 { @@ -1622,11 +1807,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 @@ -1634,21 +1822,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.
    * 
@@ -1658,7 +1851,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(); } @@ -1666,6 +1859,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
@@ -1679,6 +1874,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
@@ -1688,11 +1885,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
@@ -1706,6 +1905,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
@@ -1719,6 +1920,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
@@ -1728,14 +1931,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.
@@ -1743,13 +1947,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.
@@ -1757,14 +1965,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.
@@ -1772,13 +1984,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.
@@ -1786,13 +2002,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.
@@ -1800,22 +2020,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 @@ -1823,11 +2048,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 @@ -1835,11 +2064,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() { @@ -1849,11 +2081,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 @@ -1861,11 +2097,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 @@ -1873,11 +2113,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() { @@ -1887,11 +2130,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 @@ -1899,11 +2147,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 @@ -1911,11 +2164,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() { @@ -1925,31 +2182,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; @@ -1961,8 +2232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2012,32 +2282,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; @@ -2047,44 +2312,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: @@ -2141,97 +2397,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.
@@ -2239,21 +2501,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()
@@ -2261,18 +2525,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();
@@ -2320,9 +2584,9 @@ public Builder 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
@@ -2396,38 +2660,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;
@@ -2466,9 +2731,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_);
           }
@@ -2492,9 +2758,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_);
           }
@@ -2513,13 +2780,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();
@@ -2549,12 +2818,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() {
@@ -2568,6 +2837,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
@@ -2575,13 +2846,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; @@ -2590,6 +2861,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2597,15 +2870,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 { @@ -2613,6 +2885,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Unique resource name for the triggeredJob, assigned by the service when the
      * triggeredJob is created, for example
@@ -2620,20 +2894,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
@@ -2641,15 +2917,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
@@ -2657,16 +2936,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; @@ -2674,18 +2953,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; @@ -2694,20 +2975,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 { @@ -2715,54 +2997,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; @@ -2770,18 +3059,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; @@ -2790,20 +3081,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 { @@ -2811,67 +3103,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 @@ -2879,11 +3184,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 @@ -2901,6 +3209,8 @@ public com.google.privacy.dlp.v2.InspectJobConfig getInspectJob() { } } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -2921,6 +3231,8 @@ public Builder setInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) { return this; } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -2939,6 +3251,8 @@ public Builder setInspectJob( return this; } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -2947,10 +3261,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; } @@ -2966,6 +3283,8 @@ public Builder mergeInspectJob(com.google.privacy.dlp.v2.InspectJobConfig value) return this; } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -2989,6 +3308,8 @@ public Builder clearInspectJob() { return this; } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -2999,6 +3320,8 @@ public com.google.privacy.dlp.v2.InspectJobConfig.Builder getInspectJobBuilder() return getInspectJobFieldBuilder().getBuilder(); } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3017,6 +3340,8 @@ public com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilde } } /** + * + * *
      * For inspect jobs, a snapshot of the configuration.
      * 
@@ -3024,37 +3349,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
@@ -3071,6 +3409,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
@@ -3087,6 +3427,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
@@ -3103,6 +3445,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
@@ -3111,8 +3455,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();
@@ -3126,6 +3469,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
@@ -3146,6 +3491,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
@@ -3168,6 +3515,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
@@ -3176,8 +3525,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();
@@ -3191,6 +3539,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
@@ -3211,6 +3561,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
@@ -3231,6 +3583,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
@@ -3243,8 +3597,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);
@@ -3252,6 +3605,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
@@ -3271,6 +3626,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
@@ -3290,6 +3647,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
@@ -3298,11 +3657,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
@@ -3311,14 +3671,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
@@ -3327,8 +3689,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 {
@@ -3336,6 +3698,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
@@ -3345,10 +3709,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
@@ -3357,12 +3723,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
@@ -3371,38 +3738,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.
@@ -3410,7 +3786,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) { @@ -3420,6 +3798,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.
@@ -3427,7 +3807,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) { @@ -3437,6 +3819,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.
@@ -3444,7 +3828,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) { @@ -3454,6 +3840,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.
@@ -3461,10 +3849,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(); @@ -3478,6 +3867,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.
@@ -3485,10 +3876,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()); @@ -3499,6 +3891,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.
@@ -3506,7 +3900,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) { @@ -3522,6 +3918,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.
@@ -3529,10 +3927,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(); @@ -3546,6 +3945,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.
@@ -3553,10 +3954,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()); @@ -3567,6 +3969,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.
@@ -3574,10 +3978,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()); @@ -3588,6 +3993,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.
@@ -3595,14 +4002,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); @@ -3610,6 +4018,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.
@@ -3617,7 +4027,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) { @@ -3630,6 +4042,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.
@@ -3637,7 +4051,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) { @@ -3650,6 +4066,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.
@@ -3657,13 +4075,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.
@@ -3671,16 +4092,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.
@@ -3688,10 +4113,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 { @@ -3699,6 +4126,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.
@@ -3706,13 +4135,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.
@@ -3720,14 +4153,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.
@@ -3735,22 +4171,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_; @@ -3758,39 +4198,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) { @@ -3806,14 +4265,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(); @@ -3824,17 +4286,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; } @@ -3846,11 +4312,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) { @@ -3864,48 +4334,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_; @@ -3913,39 +4399,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) { @@ -3961,14 +4466,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(); @@ -3979,17 +4487,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; } @@ -4001,11 +4513,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) { @@ -4019,48 +4535,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_; @@ -4068,39 +4600,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) { @@ -4116,14 +4667,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(); @@ -4134,17 +4688,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; } @@ -4156,11 +4716,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) { @@ -4174,48 +4738,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_; @@ -4223,51 +4803,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. */ @@ -4275,28 +4877,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); } @@ -4306,12 +4913,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(); } @@ -4320,16 +4927,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; @@ -4344,6 +4951,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 4772756c..74bddfff 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,35 +74,40 @@ 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) {
@@ -93,8 +115,7 @@ private Key(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -103,24 +124,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.
@@ -129,10 +155,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.
@@ -141,12 +170,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
@@ -154,10 +185,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
@@ -165,11 +199,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.
@@ -178,10 +215,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.
@@ -190,10 +230,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.
@@ -202,14 +245,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.
@@ -218,31 +263,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)
@@ -261,30 +306,33 @@ 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: {
-              idType_ = input.readInt64();
-              idTypeCase_ = 2;
-              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:
+              {
+                idType_ = input.readInt64();
+                idTypeCase_ = 2;
+                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) {
@@ -292,35 +340,40 @@ private PathElement(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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;
       }
@@ -336,26 +389,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.
@@ -364,6 +422,7 @@ public int getNumber() {
      * 
* * string kind = 1; + * * @return The kind. */ @java.lang.Override @@ -372,14 +431,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.
@@ -388,16 +448,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 { @@ -407,6 +466,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
@@ -414,6 +475,7 @@ public java.lang.String getKind() {
      * 
* * int64 id = 2; + * * @return Whether the id field is set. */ @java.lang.Override @@ -421,6 +483,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
@@ -428,6 +492,7 @@ public boolean hasId() {
      * 
* * int64 id = 2; + * * @return The id. */ @java.lang.Override @@ -440,6 +505,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.
@@ -448,12 +515,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.
@@ -462,6 +532,7 @@ public boolean hasName() {
      * 
* * string name = 3; + * * @return The name. */ public java.lang.String getName() { @@ -472,8 +543,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; @@ -482,6 +552,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the entity.
      * A name matching regex `__.*__` is reserved/read-only.
@@ -490,18 +562,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; } @@ -512,6 +583,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -523,14 +595,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_); @@ -548,9 +618,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_); @@ -563,24 +633,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: @@ -601,8 +669,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; @@ -616,88 +683,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 @@ -707,6 +780,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.
@@ -715,21 +790,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()
@@ -737,16 +815,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();
@@ -758,9 +835,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
@@ -779,7 +856,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_;
@@ -796,38 +874,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;
@@ -841,19 +922,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();
@@ -883,12 +967,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() {
@@ -898,9 +982,10 @@ public Builder clearIdType() {
         return this;
       }
 
-
       private java.lang.Object kind_ = "";
       /**
+       *
+       *
        * 
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -909,13 +994,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; @@ -924,6 +1009,8 @@ public java.lang.String getKind() { } } /** + * + * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -932,15 +1019,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 { @@ -948,6 +1034,8 @@ public java.lang.String getKind() { } } /** + * + * *
        * The kind of the entity.
        * A kind matching regex `__.*__` is reserved/read-only.
@@ -956,20 +1044,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.
@@ -978,15 +1068,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.
@@ -995,22 +1088,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
@@ -1018,12 +1113,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
@@ -1031,6 +1129,7 @@ public boolean hasId() {
        * 
* * int64 id = 2; + * * @return The id. */ public long getId() { @@ -1040,6 +1139,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
@@ -1047,6 +1148,7 @@ public long getId() {
        * 
* * int64 id = 2; + * * @param value The id to set. * @return This builder for chaining. */ @@ -1057,6 +1159,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
@@ -1064,6 +1168,7 @@ public Builder setId(long value) {
        * 
* * int64 id = 2; + * * @return This builder for chaining. */ public Builder clearId() { @@ -1076,6 +1181,8 @@ public Builder clearId() { } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1084,6 +1191,7 @@ public Builder clearId() {
        * 
* * string name = 3; + * * @return Whether the name field is set. */ @java.lang.Override @@ -1091,6 +1199,8 @@ public boolean hasName() { return idTypeCase_ == 3; } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1099,6 +1209,7 @@ public boolean hasName() {
        * 
* * string name = 3; + * * @return The name. */ @java.lang.Override @@ -1108,8 +1219,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; @@ -1120,6 +1230,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1128,19 +1240,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; } @@ -1150,6 +1261,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1158,20 +1271,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.
@@ -1180,6 +1295,7 @@ public Builder setName(
        * 
* * string name = 3; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1191,6 +1307,8 @@ public Builder clearName() { return this; } /** + * + * *
        * The name of the entity.
        * A name matching regex `__.*__` is reserved/read-only.
@@ -1199,20 +1317,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) { @@ -1225,12 +1344,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(); } @@ -1239,16 +1358,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; @@ -1263,12 +1382,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.
@@ -1276,6 +1396,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 @@ -1283,6 +1404,8 @@ public boolean hasPartitionId() { return partitionId_ != null; } /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1290,13 +1413,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.
@@ -1313,6 +1441,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
@@ -1331,6 +1461,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
@@ -1345,11 +1477,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
@@ -1368,6 +1502,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
@@ -1386,6 +1522,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
@@ -1400,12 +1538,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;
@@ -1417,8 +1555,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -1435,12 +1572,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;
@@ -1450,7 +1585,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);
@@ -1459,11 +1594,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;
   }
@@ -1488,97 +1621,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
@@ -1588,19 +1727,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);
     }
@@ -1610,17 +1750,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();
@@ -1640,9 +1780,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
@@ -1685,38 +1825,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;
@@ -1746,9 +1887,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_);
           }
@@ -1782,12 +1924,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.
@@ -1795,12 +1943,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.
@@ -1808,16 +1959,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.
@@ -1840,6 +1996,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.
@@ -1848,8 +2006,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();
@@ -1860,6 +2017,8 @@ public Builder setPartitionId(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1872,7 +2031,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;
         }
@@ -1884,6 +2045,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.
@@ -1904,6 +2067,8 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1913,11 +2078,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.
@@ -1930,11 +2097,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.
@@ -1944,32 +2114,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
@@ -1991,6 +2170,8 @@ public java.util.List getPathList() {
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2012,6 +2193,8 @@ public int getPathCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2033,6 +2216,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
@@ -2046,8 +2231,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();
@@ -2061,6 +2245,8 @@ public Builder setPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2086,6 +2272,8 @@ public Builder setPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2113,6 +2301,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
@@ -2126,8 +2316,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();
@@ -2141,6 +2330,8 @@ public Builder addPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2154,8 +2345,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());
@@ -2166,6 +2356,8 @@ public Builder addPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2191,6 +2383,8 @@ public Builder addPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2208,8 +2402,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);
@@ -2217,6 +2410,8 @@ public Builder addAllPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2241,6 +2436,8 @@ public Builder clearPath() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2265,6 +2462,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
@@ -2278,11 +2477,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
@@ -2296,14 +2496,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
@@ -2317,8 +2519,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 {
@@ -2326,6 +2528,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
@@ -2340,10 +2544,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
@@ -2357,12 +2563,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
@@ -2376,27 +2583,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);
     }
 
@@ -2406,12 +2615,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();
   }
@@ -2420,16 +2629,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;
@@ -2444,6 +2653,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 67f3b4c7..abb80c1a 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,19 +70,20 @@ 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) { @@ -73,34 +91,39 @@ private KindExpression( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -109,29 +132,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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } 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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -203,118 +225,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() @@ -322,16 +353,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 +371,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 @@ -362,7 +392,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; @@ -372,38 +403,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; @@ -447,18 +479,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; @@ -467,20 +501,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 { @@ -488,61 +523,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); } @@ -552,12 +594,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(); } @@ -566,16 +608,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; @@ -590,6 +632,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 691e82ed..d01ed916 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,24 +79,25 @@ 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) {
@@ -87,34 +105,39 @@ private KmsWrappedCryptoKey(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -125,11 +148,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 @@ -138,29 +164,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 { @@ -169,6 +195,7 @@ public java.lang.String getCryptoKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,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 (!wrappedKey_.isEmpty()) { output.writeBytes(1, wrappedKey_); } @@ -198,8 +224,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_); @@ -212,17 +237,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -243,97 +267,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.
@@ -348,21 +379,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()
@@ -370,16 +403,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();
@@ -391,9 +423,9 @@ public Builder 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
@@ -412,7 +444,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();
@@ -423,38 +456,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;
@@ -501,11 +535,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 @@ -513,33 +550,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; @@ -547,18 +590,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; @@ -567,20 +612,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 { @@ -588,61 +634,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); } @@ -652,12 +705,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(); } @@ -666,16 +719,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; @@ -690,6 +743,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 b0a4fe4c..7b0fc3d9 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,54 +73,61 @@ 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) {
@@ -112,35 +135,40 @@ private LargeCustomDictionaryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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;
     }
@@ -156,26 +184,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 Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -184,6 +217,7 @@ public int getNumber() {
    * 
* * .google.privacy.dlp.v2.CloudStoragePath output_path = 1; + * * @return Whether the outputPath field is set. */ @java.lang.Override @@ -191,6 +225,8 @@ public boolean hasOutputPath() { return outputPath_ != null; } /** + * + * *
    * Location to store dictionary artifacts in Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -199,13 +235,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 Cloud Storage. These files
    * will only be accessible by project owners and the DLP API. If any of these
@@ -222,11 +263,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 @@ -234,21 +278,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.
    * 
@@ -258,18 +307,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 @@ -277,21 +329,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.
    * 
@@ -301,12 +358,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; @@ -318,8 +376,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -339,16 +396,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; @@ -358,27 +416,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: @@ -416,96 +472,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
@@ -517,21 +581,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()
@@ -539,16 +605,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();
@@ -564,9 +629,9 @@ public Builder 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
@@ -585,7 +650,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 {
@@ -614,38 +680,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;
@@ -653,22 +720,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();
@@ -689,7 +760,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) {
@@ -698,12 +770,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() {
@@ -713,11 +785,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 Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -726,12 +802,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 Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -740,16 +819,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 Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -773,6 +857,8 @@ public Builder setOutputPath(com.google.privacy.dlp.v2.CloudStoragePath value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -794,6 +880,8 @@ public Builder setOutputPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -807,7 +895,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;
         }
@@ -819,6 +909,8 @@ public Builder mergeOutputPath(com.google.privacy.dlp.v2.CloudStoragePath value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -840,6 +932,8 @@ public Builder clearOutputPath() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Location to store dictionary artifacts in Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -850,11 +944,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 Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -868,11 +964,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 Cloud Storage. These files
      * will only be accessible by project owners and the DLP API. If any of these
@@ -883,27 +982,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 @@ -911,11 +1019,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 @@ -933,6 +1044,8 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet getCloudStorageFileSet() { } } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -953,6 +1066,8 @@ public Builder setCloudStorageFileSet(com.google.privacy.dlp.v2.CloudStorageFile return this; } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -971,6 +1086,8 @@ public Builder setCloudStorageFileSet( return this; } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -979,10 +1096,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; } @@ -998,6 +1118,8 @@ public Builder mergeCloudStorageFileSet(com.google.privacy.dlp.v2.CloudStorageFi return this; } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1021,6 +1143,8 @@ public Builder clearCloudStorageFileSet() { return this; } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1031,6 +1155,8 @@ public com.google.privacy.dlp.v2.CloudStorageFileSet.Builder getCloudStorageFile return getCloudStorageFileSetFieldBuilder().getBuilder(); } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1038,7 +1164,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 { @@ -1049,6 +1176,8 @@ public com.google.privacy.dlp.v2.CloudStorageFileSetOrBuilder getCloudStorageFil } } /** + * + * *
      * Set of files containing newline-delimited lists of dictionary phrases.
      * 
@@ -1056,32 +1185,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 @@ -1089,11 +1230,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 @@ -1111,6 +1255,8 @@ public com.google.privacy.dlp.v2.BigQueryField getBigQueryField() { } } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1131,6 +1277,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.
      * 
@@ -1149,6 +1297,8 @@ public Builder setBigQueryField( return this; } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1157,10 +1307,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; } @@ -1176,6 +1329,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.
      * 
@@ -1199,6 +1354,8 @@ public Builder clearBigQueryField() { return this; } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1209,6 +1366,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.
      * 
@@ -1227,6 +1386,8 @@ public com.google.privacy.dlp.v2.BigQueryFieldOrBuilder getBigQueryFieldOrBuilde } } /** + * + * *
      * Field in a BigQuery table where each cell represents a dictionary phrase.
      * 
@@ -1234,26 +1395,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); } @@ -1263,12 +1430,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(); } @@ -1277,16 +1444,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; @@ -1301,6 +1468,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 3a7a606f..b32bb12e 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 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 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 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 78632a2c..bb38684c 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,18 +68,18 @@ 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) { @@ -71,34 +87,39 @@ private LargeCustomDictionaryStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -107,6 +128,7 @@ public long getApproxNumPhrases() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +140,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (approxNumPhrases_ != 0L) { output.writeInt64(1, approxNumPhrases_); } @@ -133,8 +154,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; @@ -144,15 +164,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -165,125 +185,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() @@ -291,16 +319,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 +337,9 @@ public Builder 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 @@ -331,7 +358,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; @@ -341,38 +369,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; @@ -380,7 +409,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()); } @@ -403,7 +433,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) { @@ -413,13 +444,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 @@ -427,37 +461,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); } @@ -467,12 +507,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(); } @@ -481,16 +521,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; @@ -505,6 +545,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 08a8f5fd..1b88f38e 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,42 +74,46 @@ 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) { @@ -99,29 +121,33 @@ private ListDeidentifyTemplatesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -141,7 +167,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 @@ -150,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
@@ -177,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 { @@ -198,12 +229,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 @@ -212,30 +246,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 { @@ -246,12 +280,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 the server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -262,6 +299,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,
@@ -276,6 +315,7 @@ public int getPageSize() {
    * 
* * string order_by = 4; + * * @return The orderBy. */ @java.lang.Override @@ -284,14 +324,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 +347,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 +366,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 +382,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 +413,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -414,8 +457,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 +473,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; } @@ -475,117 +513,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() @@ -593,16 +641,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 +667,9 @@ public Builder 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 @@ -641,7 +688,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_; @@ -655,38 +703,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; @@ -694,7 +743,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(); @@ -733,7 +783,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) { @@ -745,6 +796,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 +817,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 +835,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 +856,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 +874,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 +895,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 +933,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 +967,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 +987,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; @@ -937,21 +1010,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 { @@ -959,70 +1033,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 the server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1030,32 +1114,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Size of the page, can be limited by the 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 the 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 +1153,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,
@@ -1077,13 +1169,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; @@ -1092,6 +1184,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,
@@ -1106,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 { @@ -1122,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,
@@ -1136,20 +1231,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,
@@ -1164,15 +1261,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,
@@ -1187,16 +1287,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; @@ -1204,18 +1304,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; @@ -1224,20 +1326,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 { @@ -1245,61 +1348,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); } @@ -1309,12 +1419,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(); } @@ -1323,16 +1433,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; @@ -1347,6 +1457,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 90eccd27..0344d040 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 the 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 196f26c1..803e0126 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,28 +73,32 @@ 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) { @@ -84,8 +106,7 @@ private ListDeidentifyTemplatesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -94,22 +115,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.
@@ -122,6 +148,8 @@ public java.util.List getDeidentif
     return deidentifyTemplates_;
   }
   /**
+   *
+   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -130,11 +158,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.
@@ -147,6 +177,8 @@ public int getDeidentifyTemplatesCount() {
     return deidentifyTemplates_.size();
   }
   /**
+   *
+   *
    * 
    * List of deidentify templates, up to page_size in
    * ListDeidentifyTemplatesRequest.
@@ -159,6 +191,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.
@@ -175,12 +209,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 @@ -189,30 +226,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 { @@ -221,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < deidentifyTemplates_.size(); i++) { output.writeMessage(1, deidentifyTemplates_.get(i)); } @@ -250,8 +287,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_); @@ -264,17 +301,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; } @@ -298,117 +334,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() @@ -416,17 +462,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(); @@ -442,9 +488,9 @@ public Builder 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 @@ -463,7 +509,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)) { @@ -483,38 +530,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; @@ -522,7 +570,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()) { @@ -541,9 +590,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_); } @@ -572,7 +622,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) { @@ -581,21 +632,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.
@@ -603,7 +663,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 {
@@ -611,6 +672,8 @@ public java.util.List getDeidentif
       }
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -626,6 +689,8 @@ public int getDeidentifyTemplatesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -641,6 +706,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate getDeidentifyTemplates(int i
       }
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -663,6 +730,8 @@ public Builder setDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -682,6 +751,8 @@ public Builder setDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -703,6 +774,8 @@ public Builder addDeidentifyTemplates(com.google.privacy.dlp.v2.DeidentifyTempla
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -725,6 +798,8 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -744,6 +819,8 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -763,6 +840,8 @@ public Builder addDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -774,8 +853,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);
@@ -783,6 +861,8 @@ public Builder addAllDeidentifyTemplates(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -801,6 +881,8 @@ public Builder clearDeidentifyTemplates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -819,6 +901,8 @@ public Builder removeDeidentifyTemplates(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -831,6 +915,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplate.Builder getDeidentifyTemplat
       return getDeidentifyTemplatesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -841,11 +927,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.
@@ -853,8 +942,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 {
@@ -862,6 +951,8 @@ public com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder getDeidentifyTempla
       }
     }
     /**
+     *
+     *
      * 
      * List of deidentify templates, up to page_size in
      * ListDeidentifyTemplatesRequest.
@@ -870,10 +961,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.
@@ -883,10 +976,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.
@@ -894,16 +989,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(),
@@ -915,19 +1016,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; @@ -936,21 +1039,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 { @@ -958,64 +1062,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); } @@ -1025,12 +1136,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(); } @@ -1039,16 +1150,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; @@ -1063,6 +1174,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 0ecbdd17..f7fc1b20 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,54 +75,60 @@ 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) { @@ -113,29 +136,33 @@ private ListDlpJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -151,7 +178,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 @@ -160,14 +190,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
@@ -183,17 +214,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 { @@ -204,6 +236,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 1; private volatile java.lang.Object filter_; /** + * + * *
    * Allows filtering.
    * Supported syntax:
@@ -231,6 +265,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 1; + * * @return The filter. */ @java.lang.Override @@ -239,14 +274,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:
@@ -274,16 +310,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 { @@ -294,11 +329,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 @@ -309,11 +347,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 @@ -322,29 +363,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 { @@ -355,33 +396,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,
@@ -396,6 +448,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 6; + * * @return The orderBy. */ @java.lang.Override @@ -404,14 +457,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,
@@ -426,16 +480,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 { @@ -446,11 +499,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 @@ -459,29 +515,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 { @@ -490,6 +546,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -501,8 +558,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -537,8 +593,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_); @@ -547,8 +602,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_); @@ -564,26 +618,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -614,118 +663,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() @@ -733,16 +791,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(); @@ -764,9 +821,9 @@ public Builder 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 @@ -785,7 +842,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_; @@ -801,38 +859,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; @@ -898,6 +957,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
@@ -913,14 +974,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; @@ -929,6 +992,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -944,16 +1009,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 { @@ -961,6 +1027,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -976,21 +1044,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
@@ -1006,16 +1078,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
@@ -1031,17 +1108,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; @@ -1049,6 +1128,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1076,13 +1157,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; @@ -1091,6 +1172,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1118,15 +1201,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 { @@ -1134,6 +1216,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1161,20 +1245,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:
@@ -1202,15 +1288,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:
@@ -1238,28 +1327,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 @@ -1267,30 +1359,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; @@ -1298,18 +1396,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; @@ -1318,20 +1418,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 { @@ -1339,54 +1440,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; @@ -1394,51 +1502,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. */ @@ -1446,21 +1568,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; @@ -1468,6 +1593,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,
@@ -1482,13 +1609,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; @@ -1497,6 +1624,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,
@@ -1511,15 +1640,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 { @@ -1527,6 +1655,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,
@@ -1541,20 +1671,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,
@@ -1569,15 +1701,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,
@@ -1592,16 +1727,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; @@ -1609,18 +1744,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; @@ -1629,20 +1766,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 { @@ -1650,61 +1788,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); } @@ -1714,12 +1859,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(); } @@ -1728,16 +1873,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; @@ -1752,6 +1897,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 186ddb37..c8cccf79 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 17051660..cacf7747 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,28 +72,30 @@ 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) { @@ -84,8 +103,7 @@ private ListDlpJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -94,22 +112,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.
    * 
@@ -121,6 +144,8 @@ public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -128,11 +153,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.
    * 
@@ -144,6 +171,8 @@ public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * A list of DlpJobs that matches the specified filter in the request.
    * 
@@ -155,6 +184,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.
    * 
@@ -162,19 +193,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 @@ -183,29 +216,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 { @@ -214,6 +247,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } @@ -243,8 +276,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_); @@ -257,17 +289,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; } @@ -290,118 +321,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() @@ -409,17 +449,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(); @@ -435,9 +475,9 @@ public Builder 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 @@ -456,7 +496,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)) { @@ -476,38 +517,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; @@ -534,9 +576,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_); } @@ -574,21 +617,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.
      * 
@@ -603,6 +653,8 @@ public java.util.List getJobsList() { } } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -617,6 +669,8 @@ public int getJobsCount() { } } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -631,14 +685,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(); @@ -652,14 +707,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()); @@ -670,6 +726,8 @@ public Builder setJobs( return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -690,14 +748,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(); @@ -711,14 +770,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()); @@ -729,14 +789,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()); @@ -747,6 +808,8 @@ public Builder addJobs( return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -757,8 +820,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); @@ -766,6 +828,8 @@ public Builder addAllJobs( return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -783,6 +847,8 @@ public Builder clearJobs() { return this; } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -800,39 +866,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 { @@ -840,6 +911,8 @@ public com.google.privacy.dlp.v2.DlpJobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * A list of DlpJobs that matches the specified filter in the request.
      * 
@@ -847,42 +920,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_; @@ -890,18 +968,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; @@ -910,20 +990,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 { @@ -931,61 +1012,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); } @@ -995,12 +1083,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(); } @@ -1009,16 +1097,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; @@ -1033,6 +1121,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 07eb287c..0631f3b1 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,37 +73,41 @@ 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) { @@ -94,29 +115,33 @@ private ListInfoTypesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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:
@@ -124,6 +149,7 @@ private ListInfoTypesRequest(
    * 
* * string parent = 4; + * * @return The parent. */ @java.lang.Override @@ -132,14 +158,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent resource name.
    * The format of this value is as follows:
@@ -147,16 +174,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 { @@ -167,6 +193,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,
@@ -174,6 +202,7 @@ public java.lang.String getParent() {
    * 
* * string language_code = 1; + * * @return The languageCode. */ @java.lang.Override @@ -182,14 +211,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,
@@ -197,16 +227,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 { @@ -217,12 +246,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 @@ -231,30 +263,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 { @@ -265,11 +297,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 @@ -278,29 +313,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 { @@ -309,6 +344,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,8 +356,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_); } @@ -363,21 +398,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; } @@ -402,118 +434,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() @@ -521,16 +562,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -546,9 +586,9 @@ public Builder 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 @@ -567,7 +607,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_; @@ -580,38 +621,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; @@ -667,6 +709,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -674,13 +718,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; @@ -689,6 +733,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -696,15 +742,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 { @@ -712,6 +757,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent resource name.
      * The format of this value is as follows:
@@ -719,20 +766,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:
@@ -740,15 +789,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:
@@ -756,16 +808,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; @@ -773,6 +825,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,
@@ -780,13 +834,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; @@ -795,6 +849,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -802,15 +858,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 { @@ -818,6 +873,8 @@ public java.lang.String getLanguageCode() { } } /** + * + * *
      * BCP-47 language code for localized infoType friendly
      * names. If omitted, or if localized strings are not available,
@@ -825,20 +882,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,
@@ -846,15 +905,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,
@@ -862,16 +924,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; @@ -879,19 +941,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; @@ -900,21 +964,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 { @@ -922,57 +987,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; @@ -980,18 +1052,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; @@ -1000,20 +1074,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 { @@ -1021,61 +1096,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); } @@ -1085,12 +1167,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(); } @@ -1099,16 +1181,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; @@ -1123,6 +1205,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 5bcc92b0..ac5c81a7 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,22 +71,25 @@ 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) { @@ -77,8 +97,7 @@ private ListInfoTypesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -87,22 +106,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.
    * 
@@ -114,6 +138,8 @@ public java.util.List getInfoType return infoTypes_; } /** + * + * *
    * Set of sensitive infoTypes.
    * 
@@ -121,11 +147,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.
    * 
@@ -137,6 +165,8 @@ public int getInfoTypesCount() { return infoTypes_.size(); } /** + * + * *
    * Set of sensitive infoTypes.
    * 
@@ -148,6 +178,8 @@ public com.google.privacy.dlp.v2.InfoTypeDescription getInfoTypes(int index) { return infoTypes_.get(index); } /** + * + * *
    * Set of sensitive infoTypes.
    * 
@@ -155,12 +187,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; @@ -172,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < infoTypes_.size(); i++) { output.writeMessage(1, infoTypes_.get(i)); } @@ -187,8 +218,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; @@ -198,15 +228,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -227,118 +257,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() @@ -346,17 +385,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getInfoTypesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.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 @@ -391,7 +430,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)) { @@ -410,38 +450,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; @@ -449,7 +490,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()) { @@ -468,9 +510,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_); } @@ -504,21 +547,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.
      * 
@@ -533,6 +584,8 @@ public java.util.List getInfoType } } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -547,6 +600,8 @@ public int getInfoTypesCount() { } } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -561,14 +616,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(); @@ -582,6 +638,8 @@ public Builder setInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -600,6 +658,8 @@ public Builder setInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -620,14 +680,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(); @@ -641,6 +702,8 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -659,6 +722,8 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -677,6 +742,8 @@ public Builder addInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -687,8 +754,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); @@ -696,6 +762,8 @@ public Builder addAllInfoTypes( return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -713,6 +781,8 @@ public Builder clearInfoTypes() { return this; } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -730,39 +800,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 { @@ -770,6 +845,8 @@ public com.google.privacy.dlp.v2.InfoTypeDescriptionOrBuilder getInfoTypesOrBuil } } /** + * + * *
      * Set of sensitive infoTypes.
      * 
@@ -777,49 +854,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); } @@ -829,12 +912,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(); } @@ -843,16 +926,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; @@ -867,6 +950,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 121bf522..21285f35 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,42 +73,46 @@ 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) { @@ -99,29 +120,33 @@ private ListInspectTemplatesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -141,7 +166,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 @@ -150,14 +178,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
@@ -177,17 +206,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 { @@ -198,12 +228,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 @@ -212,30 +245,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 { @@ -246,12 +279,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 the server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -262,6 +298,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,
@@ -276,6 +314,7 @@ public int getPageSize() {
    * 
* * string order_by = 4; + * * @return The orderBy. */ @java.lang.Override @@ -284,14 +323,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.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; } @@ -475,117 +512,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() @@ -593,16 +640,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -620,9 +666,9 @@ public Builder 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 @@ -641,7 +687,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_; @@ -655,38 +702,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; @@ -694,7 +742,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(); @@ -733,7 +782,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) { @@ -745,6 +795,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 +816,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 +834,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 +855,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 +873,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 +894,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 +932,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 +966,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 +986,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; @@ -937,21 +1009,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 { @@ -959,70 +1032,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 the server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1030,32 +1113,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Size of the page, can be limited by the 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 the 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 +1152,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,
@@ -1077,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; @@ -1092,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,
@@ -1106,15 +1199,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 { @@ -1122,6 +1214,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,
@@ -1136,20 +1230,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,
@@ -1164,15 +1260,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,
@@ -1187,16 +1286,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; @@ -1204,18 +1303,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; @@ -1224,20 +1325,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 { @@ -1245,61 +1347,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); } @@ -1309,12 +1418,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(); } @@ -1323,16 +1432,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; @@ -1347,6 +1456,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 b7710cc6..3047a260 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 the 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 75% 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 28bccc12..af31681e 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,28 +72,32 @@ 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) { @@ -84,8 +105,7 @@ private ListInspectTemplatesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -94,22 +114,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.
    * 
@@ -121,6 +146,8 @@ public java.util.List getInspectTempl return inspectTemplates_; } /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -128,11 +155,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.
    * 
@@ -144,6 +173,8 @@ public int getInspectTemplatesCount() { return inspectTemplates_.size(); } /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -155,6 +186,8 @@ public com.google.privacy.dlp.v2.InspectTemplate getInspectTemplates(int index) return inspectTemplates_.get(index); } /** + * + * *
    * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
    * 
@@ -170,12 +203,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 @@ -184,30 +220,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 { @@ -216,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < inspectTemplates_.size(); i++) { output.writeMessage(1, inspectTemplates_.get(i)); } @@ -245,8 +281,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_); @@ -259,17 +294,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; } @@ -293,117 +327,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() @@ -411,17 +455,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(); @@ -437,9 +481,9 @@ public Builder 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 @@ -458,7 +502,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)) { @@ -478,38 +523,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; @@ -517,7 +563,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()) { @@ -536,9 +583,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_); } @@ -567,7 +615,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) { @@ -576,21 +625,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.
      * 
@@ -605,6 +662,8 @@ public java.util.List getInspectTempl } } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -619,6 +678,8 @@ public int getInspectTemplatesCount() { } } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -633,14 +694,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(); @@ -654,6 +716,8 @@ public Builder setInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -672,6 +736,8 @@ public Builder setInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -692,14 +758,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(); @@ -713,6 +780,8 @@ public Builder addInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -731,6 +800,8 @@ public Builder addInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -749,6 +820,8 @@ public Builder addInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -759,8 +832,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); @@ -768,6 +840,8 @@ public Builder addAllInspectTemplates( return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -785,6 +859,8 @@ public Builder clearInspectTemplates() { return this; } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -802,17 +878,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.
      * 
@@ -822,19 +901,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 { @@ -842,6 +924,8 @@ public com.google.privacy.dlp.v2.InspectTemplateOrBuilder getInspectTemplatesOrB } } /** + * + * *
      * List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
      * 
@@ -849,38 +933,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(), @@ -892,19 +985,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; @@ -913,21 +1008,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 { @@ -935,64 +1031,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); } @@ -1002,12 +1105,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(); } @@ -1016,16 +1119,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; @@ -1040,6 +1143,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 7498690b..fd18c6db 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,54 +75,60 @@ 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) { @@ -113,29 +136,33 @@ private ListJobTriggersRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -151,7 +178,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 @@ -160,14 +190,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
@@ -183,17 +214,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 { @@ -204,6 +236,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
@@ -211,6 +245,7 @@ public java.lang.String getParent() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -219,14 +254,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
@@ -234,16 +270,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 { @@ -254,11 +289,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 @@ -269,6 +307,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,
@@ -285,6 +325,7 @@ public int getPageSize() {
    * 
* * string order_by = 4; + * * @return The orderBy. */ @java.lang.Override @@ -293,14 +334,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,
@@ -317,16 +359,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 { @@ -337,6 +378,8 @@ public java.lang.String getOrderBy() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * Allows filtering.
    * Supported syntax:
@@ -360,6 +403,7 @@ public java.lang.String getOrderBy() {
    * 
* * string filter = 5; + * * @return The filter. */ @java.lang.Override @@ -368,14 +412,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:
@@ -399,16 +444,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 { @@ -419,38 +463,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 @@ -459,29 +515,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 { @@ -490,6 +546,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -501,8 +558,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -540,8 +596,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_); @@ -550,8 +605,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_); @@ -564,26 +618,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -614,118 +663,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() @@ -733,16 +791,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(); @@ -764,9 +821,9 @@ public Builder 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 @@ -785,7 +842,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_; @@ -801,38 +859,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; @@ -840,7 +899,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(); @@ -898,6 +958,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
@@ -913,14 +975,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; @@ -929,6 +993,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -944,16 +1010,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 { @@ -961,6 +1028,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -976,21 +1045,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
@@ -1006,16 +1079,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
@@ -1031,17 +1109,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; @@ -1049,6 +1129,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
@@ -1056,13 +1138,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; @@ -1071,6 +1153,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1078,15 +1162,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 { @@ -1094,6 +1177,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Page token to continue retrieval. Comes from previous call
      * to ListJobTriggers. `order_by` field must not
@@ -1101,20 +1186,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
@@ -1122,15 +1209,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
@@ -1138,28 +1228,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 @@ -1167,30 +1260,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; @@ -1198,6 +1297,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,
@@ -1214,13 +1315,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; @@ -1229,6 +1330,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,
@@ -1245,15 +1348,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 { @@ -1261,6 +1363,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,
@@ -1277,20 +1381,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,
@@ -1307,15 +1413,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,
@@ -1332,16 +1441,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; @@ -1349,6 +1458,8 @@ public Builder setOrderByBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1372,13 +1483,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; @@ -1387,6 +1498,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1410,15 +1523,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 { @@ -1426,6 +1538,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Allows filtering.
      * Supported syntax:
@@ -1449,20 +1563,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:
@@ -1486,15 +1602,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:
@@ -1518,16 +1637,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; @@ -1535,51 +1654,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. */ @@ -1587,21 +1720,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; @@ -1609,18 +1745,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; @@ -1629,20 +1767,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 { @@ -1650,61 +1789,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); } @@ -1714,12 +1860,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(); } @@ -1728,16 +1874,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; @@ -1752,6 +1898,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 e0bdcb97..5099ae37 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 84ef275a..1ab38bb7 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,28 +72,31 @@ 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) { @@ -84,8 +104,7 @@ private ListJobTriggersResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -94,22 +113,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.
    * 
@@ -121,6 +145,8 @@ public java.util.List getJobTriggersList() return jobTriggers_; } /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -128,11 +154,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.
    * 
@@ -144,6 +172,8 @@ public int getJobTriggersCount() { return jobTriggers_.size(); } /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -155,6 +185,8 @@ public com.google.privacy.dlp.v2.JobTrigger getJobTriggers(int index) { return jobTriggers_.get(index); } /** + * + * *
    * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
    * 
@@ -162,20 +194,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 @@ -184,30 +218,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * 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 { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < jobTriggers_.size(); i++) { output.writeMessage(1, jobTriggers_.get(i)); } @@ -245,8 +279,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_); @@ -259,17 +292,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -293,117 +325,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() @@ -411,17 +452,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getJobTriggersFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.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 @@ -458,7 +499,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)) { @@ -478,38 +520,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; @@ -517,7 +560,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()) { @@ -536,9 +580,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_); } @@ -567,7 +612,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) { @@ -576,21 +622,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.
      * 
@@ -605,6 +658,8 @@ public java.util.List getJobTriggersList() } } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -619,6 +674,8 @@ public int getJobTriggersCount() { } } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -633,14 +690,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(); @@ -654,6 +712,8 @@ public Builder setJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -672,6 +732,8 @@ public Builder setJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -692,14 +754,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(); @@ -713,14 +776,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()); @@ -731,6 +795,8 @@ public Builder addJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -749,6 +815,8 @@ public Builder addJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -759,8 +827,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); @@ -768,6 +835,8 @@ public Builder addAllJobTriggers( return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -785,6 +854,8 @@ public Builder clearJobTriggers() { return this; } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -802,39 +873,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 { @@ -842,6 +918,8 @@ public com.google.privacy.dlp.v2.JobTriggerOrBuilder getJobTriggersOrBuilder( } } /** + * + * *
      * List of triggeredJobs, up to page_size in ListJobTriggersRequest.
      * 
@@ -849,42 +927,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_; @@ -892,19 +976,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; @@ -913,21 +999,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 { @@ -935,64 +1022,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); } @@ -1002,12 +1096,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(); } @@ -1016,16 +1110,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; @@ -1040,6 +1134,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 75% 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 62521e1a..0077ea74 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,42 +73,46 @@ 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) { @@ -99,29 +120,33 @@ private ListStoredInfoTypesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -137,7 +162,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 @@ -146,14 +174,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
@@ -169,17 +198,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 { @@ -190,12 +220,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 @@ -204,30 +237,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 { @@ -238,12 +271,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 the server. If zero server returns
    * a page of max size 100.
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -254,6 +290,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,
@@ -269,6 +307,7 @@ public int getPageSize() {
    * 
* * string order_by = 4; + * * @return The orderBy. */ @java.lang.Override @@ -277,14 +316,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,
@@ -300,16 +340,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 { @@ -320,11 +359,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 @@ -333,29 +375,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 { @@ -364,6 +406,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -375,8 +418,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -408,8 +450,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_); @@ -425,23 +466,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; } @@ -469,117 +506,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() @@ -587,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(); @@ -614,9 +659,9 @@ public Builder 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 @@ -635,7 +680,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_; @@ -649,38 +695,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; @@ -688,7 +735,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(); @@ -727,7 +775,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) { @@ -739,6 +788,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
@@ -754,14 +805,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; @@ -770,6 +823,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -785,16 +840,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 { @@ -802,6 +858,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on the scope of the request
@@ -817,21 +875,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
@@ -847,16 +909,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
@@ -872,17 +939,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; @@ -890,19 +959,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; @@ -911,21 +982,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 { @@ -933,70 +1005,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 the server. If zero server returns
      * a page of max size 100.
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -1004,32 +1086,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Size of the page, can be limited by the 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 the 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; @@ -1037,6 +1125,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,
@@ -1052,13 +1142,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; @@ -1067,6 +1157,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,
@@ -1082,15 +1174,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 { @@ -1098,6 +1189,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,
@@ -1113,20 +1206,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,
@@ -1142,15 +1237,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,
@@ -1166,16 +1264,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; @@ -1183,18 +1281,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; @@ -1203,20 +1303,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 { @@ -1224,61 +1325,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); } @@ -1288,12 +1396,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(); } @@ -1302,16 +1410,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; @@ -1326,6 +1434,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 77% 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 ea880644..c354e9dd 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
@@ -23,11 +41,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
@@ -43,46 +66,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 the 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,
@@ -98,10 +133,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,
@@ -117,28 +155,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 3bf268a1..65a7ea3d 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,28 +72,32 @@ 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) { @@ -84,8 +105,7 @@ private ListStoredInfoTypesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -94,22 +114,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.
    * 
@@ -121,6 +146,8 @@ public java.util.List getStoredInfoTyp return storedInfoTypes_; } /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -128,11 +155,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.
    * 
@@ -144,6 +173,8 @@ public int getStoredInfoTypesCount() { return storedInfoTypes_.size(); } /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -155,6 +186,8 @@ public com.google.privacy.dlp.v2.StoredInfoType getStoredInfoTypes(int index) { return storedInfoTypes_.get(index); } /** + * + * *
    * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
    * 
@@ -162,20 +195,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 @@ -184,30 +219,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 { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -245,8 +280,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_); @@ -259,17 +293,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; } @@ -293,117 +326,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() @@ -411,17 +454,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(); @@ -437,9 +480,9 @@ public Builder 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 @@ -458,7 +501,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)) { @@ -478,38 +522,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; @@ -517,7 +562,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()) { @@ -536,9 +582,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_); } @@ -567,7 +614,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) { @@ -576,21 +624,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.
      * 
@@ -605,6 +661,8 @@ public java.util.List getStoredInfoTyp } } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -619,6 +677,8 @@ public int getStoredInfoTypesCount() { } } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -633,14 +693,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(); @@ -654,6 +715,8 @@ public Builder setStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -672,6 +735,8 @@ public Builder setStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -692,14 +757,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(); @@ -713,6 +779,8 @@ public Builder addStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -731,6 +799,8 @@ public Builder addStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -749,6 +819,8 @@ public Builder addStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -759,8 +831,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); @@ -768,6 +839,8 @@ public Builder addAllStoredInfoTypes( return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -785,6 +858,8 @@ public Builder clearStoredInfoTypes() { return this; } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -802,17 +877,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.
      * 
@@ -822,19 +900,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 { @@ -842,6 +923,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeOrBuilder getStoredInfoTypesOrBui } } /** + * + * *
      * List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
      * 
@@ -849,38 +932,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(), @@ -892,19 +984,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; @@ -913,21 +1007,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 { @@ -935,64 +1030,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); } @@ -1002,12 +1104,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(); } @@ -1016,16 +1118,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; @@ -1040,6 +1142,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 7cdf077b..7eda4935 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,61 +71,71 @@ 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) { @@ -116,8 +143,7 @@ private Location( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -126,22 +152,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.
@@ -151,6 +182,7 @@ private Location(
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; + * * @return Whether the byteRange field is set. */ @java.lang.Override @@ -158,6 +190,8 @@ public boolean hasByteRange() { return byteRange_ != null; } /** + * + * *
    * Zero-based byte offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -167,6 +201,7 @@ public boolean hasByteRange() {
    * 
* * .google.privacy.dlp.v2.Range byte_range = 1; + * * @return The byteRange. */ @java.lang.Override @@ -174,6 +209,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.
@@ -192,6 +229,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.
@@ -199,6 +238,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 @@ -206,6 +246,8 @@ public boolean hasCodepointRange() { return codepointRange_ != null; } /** + * + * *
    * Unicode character offsets delimiting the finding.
    * These are relative to the finding's containing element.
@@ -213,13 +255,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.
@@ -236,6 +283,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.
@@ -248,6 +297,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.
@@ -256,11 +307,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.
@@ -273,6 +326,8 @@ public int getContentLocationsCount() {
     return contentLocations_.size();
   }
   /**
+   *
+   *
    * 
    * List of nested objects pointing to the precise location of the finding
    * within the file or record.
@@ -285,6 +340,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.
@@ -301,11 +358,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 @@ -313,18 +373,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.
    * 
@@ -337,6 +404,7 @@ public com.google.privacy.dlp.v2.ContainerOrBuilder getContainerOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,8 +416,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -372,20 +439,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; @@ -395,7 +458,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); @@ -404,20 +467,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; @@ -451,118 +510,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() @@ -570,17 +637,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(); @@ -612,9 +679,9 @@ public Builder 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 @@ -667,38 +734,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; @@ -731,9 +799,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_); } @@ -770,12 +839,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.
@@ -785,12 +860,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.
@@ -800,16 +878,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.
@@ -834,6 +917,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.
@@ -844,8 +929,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();
@@ -856,6 +940,8 @@ public Builder setByteRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -870,7 +956,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;
         }
@@ -882,6 +970,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.
@@ -904,6 +994,8 @@ public Builder clearByteRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Zero-based byte offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -915,11 +1007,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.
@@ -934,11 +1028,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.
@@ -950,14 +1047,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_;
@@ -965,8 +1065,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.
@@ -974,12 +1079,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.
@@ -987,16 +1095,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.
@@ -1019,6 +1132,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.
@@ -1027,8 +1142,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();
@@ -1039,6 +1153,8 @@ public Builder setCodepointRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1051,7 +1167,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;
         }
@@ -1063,6 +1181,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.
@@ -1083,6 +1203,8 @@ public Builder clearCodepointRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Unicode character offsets delimiting the finding.
      * These are relative to the finding's containing element.
@@ -1092,11 +1214,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.
@@ -1109,11 +1233,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.
@@ -1123,32 +1250,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.
@@ -1164,6 +1301,8 @@ public java.util.List getContentLocat
       }
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1179,6 +1318,8 @@ public int getContentLocationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1194,6 +1335,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.
@@ -1201,8 +1344,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();
@@ -1216,6 +1358,8 @@ public Builder setContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1235,6 +1379,8 @@ public Builder setContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1256,6 +1402,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.
@@ -1263,8 +1411,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();
@@ -1278,6 +1425,8 @@ public Builder addContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1297,6 +1446,8 @@ public Builder addContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1316,6 +1467,8 @@ public Builder addContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1327,8 +1480,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);
@@ -1336,6 +1488,8 @@ public Builder addAllContentLocations(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1354,6 +1508,8 @@ public Builder clearContentLocations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of nested objects pointing to the precise location of the finding
      * within the file or record.
@@ -1372,6 +1528,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.
@@ -1379,11 +1537,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.
@@ -1394,11 +1553,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.
@@ -1406,8 +1568,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 {
@@ -1415,6 +1577,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.
@@ -1423,10 +1587,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.
@@ -1434,12 +1600,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.
@@ -1447,16 +1614,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(),
@@ -1468,34 +1641,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.
      * 
@@ -1516,14 +1702,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(); @@ -1534,6 +1721,8 @@ public Builder setContainer( return this; } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1544,7 +1733,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; } @@ -1556,6 +1747,8 @@ public Builder mergeContainer(com.google.privacy.dlp.v2.Container value) { return this; } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1574,6 +1767,8 @@ public Builder clearContainer() { return this; } /** + * + * *
      * Information about the container where this finding occurred, if available.
      * 
@@ -1581,11 +1776,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.
      * 
@@ -1596,11 +1793,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.
      * 
@@ -1608,21 +1808,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); } @@ -1632,12 +1835,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(); } @@ -1646,16 +1849,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; @@ -1670,6 +1873,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 77fc3ae0..90ae4ba6 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,13 +69,13 @@ 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) {
@@ -67,27 +83,29 @@ private Manual(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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;
@@ -99,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);
   }
 
@@ -118,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.Manual)) {
       return super.equals(obj);
@@ -141,97 +158,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.
@@ -239,21 +262,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()
@@ -261,16 +286,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 +302,9 @@ public Builder 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
@@ -308,38 +332,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;
@@ -376,9 +401,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 +413,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();
   }
@@ -402,16 +427,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;
@@ -426,6 +451,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 599c6b89..b57c84af 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(4);
   }
 
   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 71%
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 0058f6c7..4e9c1143 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,33 +70,36 @@ 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) { @@ -87,34 +107,39 @@ private MetadataLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; } @@ -130,56 +155,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 @@ -187,21 +226,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.
    * 
@@ -211,12 +255,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; @@ -228,8 +273,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (type_ != com.google.privacy.dlp.v2.MetadataType.METADATATYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } @@ -246,12 +290,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; @@ -261,19 +305,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: @@ -304,118 +348,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() @@ -423,16 +476,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(); @@ -444,9 +496,9 @@ public Builder 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 @@ -465,7 +517,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) { @@ -483,38 +536,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; @@ -527,13 +581,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(); @@ -563,12 +619,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() { @@ -578,54 +634,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. */ @@ -633,34 +702,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 @@ -668,11 +746,14 @@ public boolean hasStorageLabel() { return labelCase_ == 3; } /** + * + * *
      * Storage metadata.
      * 
* * .google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3; + * * @return The storageLabel. */ @java.lang.Override @@ -690,6 +771,8 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel getStorageLabel() { } } /** + * + * *
      * Storage metadata.
      * 
@@ -710,6 +793,8 @@ public Builder setStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel va return this; } /** + * + * *
      * Storage metadata.
      * 
@@ -728,6 +813,8 @@ public Builder setStorageLabel( return this; } /** + * + * *
      * Storage metadata.
      * 
@@ -736,10 +823,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; } @@ -755,6 +845,8 @@ public Builder mergeStorageLabel(com.google.privacy.dlp.v2.StorageMetadataLabel return this; } /** + * + * *
      * Storage metadata.
      * 
@@ -778,6 +870,8 @@ public Builder clearStorageLabel() { return this; } /** + * + * *
      * Storage metadata.
      * 
@@ -788,6 +882,8 @@ public com.google.privacy.dlp.v2.StorageMetadataLabel.Builder getStorageLabelBui return getStorageLabelFieldBuilder().getBuilder(); } /** + * + * *
      * Storage metadata.
      * 
@@ -806,6 +902,8 @@ public com.google.privacy.dlp.v2.StorageMetadataLabelOrBuilder getStorageLabelOr } } /** + * + * *
      * Storage metadata.
      * 
@@ -813,26 +911,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); } @@ -842,12 +946,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(); } @@ -856,16 +960,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; @@ -880,6 +984,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 e9065a0e..4b6dd93d 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(6); } 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/OtherInfoTypeSummary.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummary.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummary.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummary.java index 89636aaa..0de4357f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummary.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummary.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; /** + * + * *
  * Infotype details for other infoTypes found within a column.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.OtherInfoTypeSummary} */ -public final class OtherInfoTypeSummary extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OtherInfoTypeSummary extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.OtherInfoTypeSummary) OtherInfoTypeSummaryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OtherInfoTypeSummary.newBuilder() to construct. private OtherInfoTypeSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OtherInfoTypeSummary() { - } + + private OtherInfoTypeSummary() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OtherInfoTypeSummary(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OtherInfoTypeSummary( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,31 +68,33 @@ private OtherInfoTypeSummary( 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: + { + estimatedPrevalence_ = input.readInt32(); + break; } - - break; - } - case 16: { - - estimatedPrevalence_ = 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) { @@ -84,34 +102,39 @@ private OtherInfoTypeSummary( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_OtherInfoTypeSummary_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.OtherInfoTypeSummary.class, com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder.class); + com.google.privacy.dlp.v2.OtherInfoTypeSummary.class, + com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder.class); } public static final int INFO_TYPE_FIELD_NUMBER = 1; private com.google.privacy.dlp.v2.InfoType infoType_; /** + * + * *
    * The other infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -119,11 +142,14 @@ public boolean hasInfoType() { return infoType_ != null; } /** + * + * *
    * The other infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ @java.lang.Override @@ -131,6 +157,8 @@ public com.google.privacy.dlp.v2.InfoType getInfoType() { return infoType_ == null ? com.google.privacy.dlp.v2.InfoType.getDefaultInstance() : infoType_; } /** + * + * *
    * The other infoType.
    * 
@@ -145,12 +173,15 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { public static final int ESTIMATED_PREVALENCE_FIELD_NUMBER = 2; private int estimatedPrevalence_; /** + * + * *
    * Approximate percentage of non-null rows that contained data detected by
    * this infotype.
    * 
* * int32 estimated_prevalence = 2; + * * @return The estimatedPrevalence. */ @java.lang.Override @@ -159,6 +190,7 @@ public int getEstimatedPrevalence() { } 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 { if (infoType_ != null) { output.writeMessage(1, getInfoType()); } @@ -188,12 +219,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 (estimatedPrevalence_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, estimatedPrevalence_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, estimatedPrevalence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,20 +232,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.OtherInfoTypeSummary)) { return super.equals(obj); } - com.google.privacy.dlp.v2.OtherInfoTypeSummary other = (com.google.privacy.dlp.v2.OtherInfoTypeSummary) obj; + com.google.privacy.dlp.v2.OtherInfoTypeSummary other = + (com.google.privacy.dlp.v2.OtherInfoTypeSummary) obj; if (hasInfoType() != other.hasInfoType()) return false; if (hasInfoType()) { - if (!getInfoType() - .equals(other.getInfoType())) return false; + if (!getInfoType().equals(other.getInfoType())) return false; } - if (getEstimatedPrevalence() - != other.getEstimatedPrevalence()) return false; + if (getEstimatedPrevalence() != other.getEstimatedPrevalence()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -239,118 +267,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom(java.io.InputStream input) 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.OtherInfoTypeSummary parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.OtherInfoTypeSummary parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.OtherInfoTypeSummary prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 details for other infoTypes found within a column.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.OtherInfoTypeSummary} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.OtherInfoTypeSummary) com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.OtherInfoTypeSummary.class, com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder.class); + com.google.privacy.dlp.v2.OtherInfoTypeSummary.class, + com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder.class); } // Construct using com.google.privacy.dlp.v2.OtherInfoTypeSummary.newBuilder() @@ -358,16 +395,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(); @@ -383,9 +419,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_OtherInfoTypeSummary_descriptor; } @java.lang.Override @@ -404,7 +440,8 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary build() { @java.lang.Override public com.google.privacy.dlp.v2.OtherInfoTypeSummary buildPartial() { - com.google.privacy.dlp.v2.OtherInfoTypeSummary result = new com.google.privacy.dlp.v2.OtherInfoTypeSummary(this); + com.google.privacy.dlp.v2.OtherInfoTypeSummary result = + new com.google.privacy.dlp.v2.OtherInfoTypeSummary(this); if (infoTypeBuilder_ == null) { result.infoType_ = infoType_; } else { @@ -419,38 +456,39 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.OtherInfoTypeSummary) { - return mergeFrom((com.google.privacy.dlp.v2.OtherInfoTypeSummary)other); + return mergeFrom((com.google.privacy.dlp.v2.OtherInfoTypeSummary) other); } else { super.mergeFrom(other); return this; @@ -496,34 +534,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 other infoType.
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ public boolean hasInfoType() { return infoTypeBuilder_ != null || infoType_ != null; } /** + * + * *
      * The other 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(); } } /** + * + * *
      * The other infoType.
      * 
@@ -544,14 +595,15 @@ public Builder setInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * The other 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(); @@ -562,6 +614,8 @@ public Builder setInfoType( return this; } /** + * + * *
      * The other infoType.
      * 
@@ -572,7 +626,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; } @@ -584,6 +640,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * The other infoType.
      * 
@@ -602,6 +660,8 @@ public Builder clearInfoType() { return this; } /** + * + * *
      * The other infoType.
      * 
@@ -609,11 +669,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 other infoType.
      * 
@@ -624,11 +686,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 other infoType.
      * 
@@ -636,27 +701,33 @@ 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 estimatedPrevalence_ ; + private int estimatedPrevalence_; /** + * + * *
      * Approximate percentage of non-null rows that contained data detected by
      * this infotype.
      * 
* * int32 estimated_prevalence = 2; + * * @return The estimatedPrevalence. */ @java.lang.Override @@ -664,39 +735,45 @@ public int getEstimatedPrevalence() { return estimatedPrevalence_; } /** + * + * *
      * Approximate percentage of non-null rows that contained data detected by
      * this infotype.
      * 
* * int32 estimated_prevalence = 2; + * * @param value The estimatedPrevalence to set. * @return This builder for chaining. */ public Builder setEstimatedPrevalence(int value) { - + estimatedPrevalence_ = value; onChanged(); return this; } /** + * + * *
      * Approximate percentage of non-null rows that contained data detected by
      * this infotype.
      * 
* * int32 estimated_prevalence = 2; + * * @return This builder for chaining. */ public Builder clearEstimatedPrevalence() { - + estimatedPrevalence_ = 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); } @@ -706,12 +783,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.OtherInfoTypeSummary) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.OtherInfoTypeSummary) private static final com.google.privacy.dlp.v2.OtherInfoTypeSummary DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.OtherInfoTypeSummary(); } @@ -720,16 +797,16 @@ public static com.google.privacy.dlp.v2.OtherInfoTypeSummary getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OtherInfoTypeSummary parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OtherInfoTypeSummary(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OtherInfoTypeSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OtherInfoTypeSummary(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -744,6 +821,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.OtherInfoTypeSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.java index 471c73ef..f9f80b3d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/OtherInfoTypeSummaryOrBuilder.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 OtherInfoTypeSummaryOrBuilder extends +public interface OtherInfoTypeSummaryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.OtherInfoTypeSummary) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The other infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ boolean hasInfoType(); /** + * + * *
    * The other infoType.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
    * The other infoType.
    * 
@@ -35,12 +59,15 @@ public interface OtherInfoTypeSummaryOrBuilder extends com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder(); /** + * + * *
    * Approximate percentage of non-null rows that contained data detected by
    * this infotype.
    * 
* * int32 estimated_prevalence = 2; + * * @return The estimatedPrevalence. */ int getEstimatedPrevalence(); 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 bd8ca873..664060bd 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,33 +70,36 @@ 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) { @@ -87,27 +107,31 @@ private OutputStorageConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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.
@@ -115,9 +139,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.
      * 
@@ -126,6 +151,8 @@ public enum OutputSchema */ OUTPUT_SCHEMA_UNSPECIFIED(0), /** + * + * *
      * Basic schema including only `info_type`, `quote`, `certainty`, and
      * `timestamp`.
@@ -135,6 +162,8 @@ public enum OutputSchema
      */
     BASIC_COLUMNS(1),
     /**
+     *
+     *
      * 
      * Schema tailored to findings from scanning Cloud Storage.
      * 
@@ -143,6 +172,8 @@ public enum OutputSchema */ GCS_COLUMNS(2), /** + * + * *
      * Schema tailored to findings from scanning Google Datastore.
      * 
@@ -151,6 +182,8 @@ public enum OutputSchema */ DATASTORE_COLUMNS(3), /** + * + * *
      * Schema tailored to findings from scanning Google BigQuery.
      * 
@@ -159,6 +192,8 @@ public enum OutputSchema */ BIG_QUERY_COLUMNS(4), /** + * + * *
      * Schema containing all columns.
      * 
@@ -170,6 +205,8 @@ public enum OutputSchema ; /** + * + * *
      * Unused.
      * 
@@ -178,6 +215,8 @@ public enum OutputSchema */ public static final int OUTPUT_SCHEMA_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Basic schema including only `info_type`, `quote`, `certainty`, and
      * `timestamp`.
@@ -187,6 +226,8 @@ public enum OutputSchema
      */
     public static final int BASIC_COLUMNS_VALUE = 1;
     /**
+     *
+     *
      * 
      * Schema tailored to findings from scanning Cloud Storage.
      * 
@@ -195,6 +236,8 @@ public enum OutputSchema */ public static final int GCS_COLUMNS_VALUE = 2; /** + * + * *
      * Schema tailored to findings from scanning Google Datastore.
      * 
@@ -203,6 +246,8 @@ public enum OutputSchema */ public static final int DATASTORE_COLUMNS_VALUE = 3; /** + * + * *
      * Schema tailored to findings from scanning Google BigQuery.
      * 
@@ -211,6 +256,8 @@ public enum OutputSchema */ public static final int BIG_QUERY_COLUMNS_VALUE = 4; /** + * + * *
      * Schema containing all columns.
      * 
@@ -219,7 +266,6 @@ public enum OutputSchema */ public static final int ALL_COLUMNS_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -244,52 +290,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; @@ -308,12 +357,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; } @@ -329,24 +381,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
@@ -363,6 +419,7 @@ public int getNumber() {
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ @java.lang.Override @@ -370,6 +427,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
@@ -386,16 +445,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
@@ -416,7 +478,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();
   }
@@ -424,6 +486,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
@@ -437,12 +501,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
@@ -456,15 +524,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; @@ -476,12 +550,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); @@ -494,12 +569,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; @@ -509,19 +586,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: @@ -552,118 +629,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() @@ -671,16 +757,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(); @@ -692,9 +777,9 @@ public Builder 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 @@ -713,7 +798,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_; @@ -731,38 +817,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; @@ -775,13 +862,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(); @@ -811,12 +900,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() { @@ -826,10 +915,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
@@ -846,6 +939,7 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ @java.lang.Override @@ -853,6 +947,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
@@ -869,6 +965,7 @@ public boolean hasTable() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return The table. */ @java.lang.Override @@ -886,6 +983,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
@@ -917,6 +1016,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
@@ -934,8 +1035,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();
@@ -946,6 +1046,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
@@ -965,10 +1067,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;
         }
@@ -984,6 +1089,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
@@ -1018,6 +1125,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
@@ -1039,6 +1148,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
@@ -1068,6 +1179,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
@@ -1086,26 +1199,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
@@ -1119,12 +1238,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
@@ -1138,16 +1261,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
@@ -1161,15 +1287,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
@@ -1183,19 +1315,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
@@ -1209,17 +1345,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); } @@ -1229,12 +1366,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(); } @@ -1243,16 +1380,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; @@ -1267,6 +1404,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 1c192782..258fee82 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 71% 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 a71296aa..a68debd0 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,25 +75,27 @@ 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) {
@@ -84,34 +103,39 @@ private PartitionId(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -120,29 +144,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 { @@ -153,11 +177,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 @@ -166,29 +193,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 { @@ -197,6 +224,7 @@ public java.lang.String getNamespaceId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectId_); } @@ -239,17 +266,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; } @@ -270,97 +295,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
@@ -371,21 +402,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()
@@ -393,16 +426,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -414,9 +446,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
@@ -435,7 +467,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();
@@ -446,38 +479,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;
@@ -525,18 +559,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; @@ -545,20 +581,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 { @@ -566,54 +603,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; @@ -621,18 +665,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; @@ -641,20 +687,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 { @@ -662,61 +709,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); } @@ -726,12 +780,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(); } @@ -740,16 +794,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; @@ -764,6 +818,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 64e35f5f..b57e3a9b 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,181 +68,233 @@ 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) { @@ -234,30 +302,34 @@ private PrimitiveTransformation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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), @@ -273,6 +345,7 @@ public enum TransformationCase REPLACE_DICTIONARY_CONFIG(13), TRANSFORMATION_NOT_SET(0); private final int value; + private TransformationCase(int value) { this.value = value; } @@ -288,40 +361,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 @@ -329,21 +418,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.
    * 
@@ -353,18 +447,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 @@ -372,21 +469,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
    * 
@@ -396,18 +498,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 @@ -415,21 +520,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
    * 
@@ -439,18 +549,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 @@ -458,42 +572,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 @@ -501,21 +626,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
    * 
@@ -523,20 +653,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 @@ -544,21 +678,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
    * 
@@ -568,18 +707,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 @@ -587,42 +730,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 @@ -630,21 +784,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
    * 
@@ -654,18 +813,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 @@ -673,21 +835,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
    * 
@@ -697,18 +864,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 @@ -716,21 +886,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
    * 
@@ -740,18 +915,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 @@ -759,21 +937,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
    * 
@@ -781,20 +964,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 @@ -802,21 +989,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.
    * 
@@ -824,14 +1016,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; @@ -843,8 +1037,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -876,7 +1069,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_); @@ -891,52 +1085,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; @@ -946,62 +1152,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: @@ -1075,117 +1274,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() @@ -1193,16 +1401,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(); @@ -1212,9 +1419,9 @@ public Builder 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 @@ -1233,7 +1440,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_; @@ -1327,38 +1535,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; @@ -1366,59 +1575,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(); @@ -1439,7 +1662,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) { @@ -1448,12 +1672,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() { @@ -1463,15 +1687,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 @@ -1479,11 +1708,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 @@ -1501,6 +1733,8 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig getReplaceConfig() { } } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1521,6 +1755,8 @@ public Builder setReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig val return this; } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1539,6 +1775,8 @@ public Builder setReplaceConfig( return this; } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1547,10 +1785,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; } @@ -1566,6 +1808,8 @@ public Builder mergeReplaceConfig(com.google.privacy.dlp.v2.ReplaceValueConfig v return this; } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1589,6 +1833,8 @@ public Builder clearReplaceConfig() { return this; } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1599,6 +1845,8 @@ public com.google.privacy.dlp.v2.ReplaceValueConfig.Builder getReplaceConfigBuil return getReplaceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1617,6 +1865,8 @@ public com.google.privacy.dlp.v2.ReplaceValueConfigOrBuilder getReplaceConfigOrB } } /** + * + * *
      * Replace with a specified value.
      * 
@@ -1624,32 +1874,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 @@ -1657,11 +1919,14 @@ public boolean hasRedactConfig() { return transformationCase_ == 2; } /** + * + * *
      * Redact
      * 
* * .google.privacy.dlp.v2.RedactConfig redact_config = 2; + * * @return The redactConfig. */ @java.lang.Override @@ -1679,6 +1944,8 @@ public com.google.privacy.dlp.v2.RedactConfig getRedactConfig() { } } /** + * + * *
      * Redact
      * 
@@ -1699,14 +1966,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(); @@ -1717,6 +1985,8 @@ public Builder setRedactConfig( return this; } /** + * + * *
      * Redact
      * 
@@ -1725,10 +1995,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; } @@ -1744,6 +2017,8 @@ public Builder mergeRedactConfig(com.google.privacy.dlp.v2.RedactConfig value) { return this; } /** + * + * *
      * Redact
      * 
@@ -1767,6 +2042,8 @@ public Builder clearRedactConfig() { return this; } /** + * + * *
      * Redact
      * 
@@ -1777,6 +2054,8 @@ public com.google.privacy.dlp.v2.RedactConfig.Builder getRedactConfigBuilder() { return getRedactConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Redact
      * 
@@ -1795,6 +2074,8 @@ public com.google.privacy.dlp.v2.RedactConfigOrBuilder getRedactConfigOrBuilder( } } /** + * + * *
      * Redact
      * 
@@ -1802,32 +2083,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 @@ -1835,11 +2128,14 @@ public boolean hasCharacterMaskConfig() { return transformationCase_ == 3; } /** + * + * *
      * Mask
      * 
* * .google.privacy.dlp.v2.CharacterMaskConfig character_mask_config = 3; + * * @return The characterMaskConfig. */ @java.lang.Override @@ -1857,6 +2153,8 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig getCharacterMaskConfig() { } } /** + * + * *
      * Mask
      * 
@@ -1877,6 +2175,8 @@ public Builder setCharacterMaskConfig(com.google.privacy.dlp.v2.CharacterMaskCon return this; } /** + * + * *
      * Mask
      * 
@@ -1895,6 +2195,8 @@ public Builder setCharacterMaskConfig( return this; } /** + * + * *
      * Mask
      * 
@@ -1903,10 +2205,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; } @@ -1922,6 +2228,8 @@ public Builder mergeCharacterMaskConfig(com.google.privacy.dlp.v2.CharacterMaskC return this; } /** + * + * *
      * Mask
      * 
@@ -1945,6 +2253,8 @@ public Builder clearCharacterMaskConfig() { return this; } /** + * + * *
      * Mask
      * 
@@ -1955,6 +2265,8 @@ public com.google.privacy.dlp.v2.CharacterMaskConfig.Builder getCharacterMaskCon return getCharacterMaskConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Mask
      * 
@@ -1962,7 +2274,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 { @@ -1973,6 +2286,8 @@ public com.google.privacy.dlp.v2.CharacterMaskConfigOrBuilder getCharacterMaskCo } } /** + * + * *
      * Mask
      * 
@@ -1980,32 +2295,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 @@ -2013,11 +2341,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 @@ -2035,13 +2367,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(); @@ -2055,11 +2391,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) { @@ -2073,18 +2412,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; } @@ -2100,11 +2447,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) { @@ -2123,24 +2473,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 { @@ -2151,39 +2509,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 @@ -2191,11 +2565,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 @@ -2213,13 +2590,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(); @@ -2233,6 +2613,8 @@ public Builder setFixedSizeBucketingConfig(com.google.privacy.dlp.v2.FixedSizeBu return this; } /** + * + * *
      * Fixed size bucketing
      * 
@@ -2251,18 +2633,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; } @@ -2278,6 +2667,8 @@ public Builder mergeFixedSizeBucketingConfig(com.google.privacy.dlp.v2.FixedSize return this; } /** + * + * *
      * Fixed size bucketing
      * 
@@ -2301,16 +2692,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
      * 
@@ -2318,7 +2714,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 { @@ -2329,6 +2726,8 @@ public com.google.privacy.dlp.v2.FixedSizeBucketingConfigOrBuilder getFixedSizeB } } /** + * + * *
      * Fixed size bucketing
      * 
@@ -2336,32 +2735,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 @@ -2369,11 +2780,14 @@ public boolean hasBucketingConfig() { return transformationCase_ == 6; } /** + * + * *
      * Bucketing
      * 
* * .google.privacy.dlp.v2.BucketingConfig bucketing_config = 6; + * * @return The bucketingConfig. */ @java.lang.Override @@ -2391,6 +2805,8 @@ public com.google.privacy.dlp.v2.BucketingConfig getBucketingConfig() { } } /** + * + * *
      * Bucketing
      * 
@@ -2411,6 +2827,8 @@ public Builder setBucketingConfig(com.google.privacy.dlp.v2.BucketingConfig valu return this; } /** + * + * *
      * Bucketing
      * 
@@ -2429,6 +2847,8 @@ public Builder setBucketingConfig( return this; } /** + * + * *
      * Bucketing
      * 
@@ -2437,10 +2857,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; } @@ -2456,6 +2879,8 @@ public Builder mergeBucketingConfig(com.google.privacy.dlp.v2.BucketingConfig va return this; } /** + * + * *
      * Bucketing
      * 
@@ -2479,6 +2904,8 @@ public Builder clearBucketingConfig() { return this; } /** + * + * *
      * Bucketing
      * 
@@ -2489,6 +2916,8 @@ public com.google.privacy.dlp.v2.BucketingConfig.Builder getBucketingConfigBuild return getBucketingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Bucketing
      * 
@@ -2507,6 +2936,8 @@ public com.google.privacy.dlp.v2.BucketingConfigOrBuilder getBucketingConfigOrBu } } /** + * + * *
      * Bucketing
      * 
@@ -2514,32 +2945,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 @@ -2547,11 +2991,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 @@ -2569,13 +3017,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(); @@ -2589,11 +3041,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) { @@ -2607,18 +3062,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; } @@ -2634,11 +3097,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) { @@ -2657,24 +3123,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 { @@ -2685,39 +3159,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 @@ -2725,11 +3215,14 @@ public boolean hasTimePartConfig() { return transformationCase_ == 8; } /** + * + * *
      * Time extraction
      * 
* * .google.privacy.dlp.v2.TimePartConfig time_part_config = 8; + * * @return The timePartConfig. */ @java.lang.Override @@ -2747,6 +3240,8 @@ public com.google.privacy.dlp.v2.TimePartConfig getTimePartConfig() { } } /** + * + * *
      * Time extraction
      * 
@@ -2767,6 +3262,8 @@ public Builder setTimePartConfig(com.google.privacy.dlp.v2.TimePartConfig value) return this; } /** + * + * *
      * Time extraction
      * 
@@ -2785,6 +3282,8 @@ public Builder setTimePartConfig( return this; } /** + * + * *
      * Time extraction
      * 
@@ -2793,10 +3292,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; } @@ -2812,6 +3314,8 @@ public Builder mergeTimePartConfig(com.google.privacy.dlp.v2.TimePartConfig valu return this; } /** + * + * *
      * Time extraction
      * 
@@ -2835,6 +3339,8 @@ public Builder clearTimePartConfig() { return this; } /** + * + * *
      * Time extraction
      * 
@@ -2845,6 +3351,8 @@ public com.google.privacy.dlp.v2.TimePartConfig.Builder getTimePartConfigBuilder return getTimePartConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Time extraction
      * 
@@ -2863,6 +3371,8 @@ public com.google.privacy.dlp.v2.TimePartConfigOrBuilder getTimePartConfigOrBuil } } /** + * + * *
      * Time extraction
      * 
@@ -2870,32 +3380,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 @@ -2903,11 +3425,14 @@ public boolean hasCryptoHashConfig() { return transformationCase_ == 9; } /** + * + * *
      * Crypto
      * 
* * .google.privacy.dlp.v2.CryptoHashConfig crypto_hash_config = 9; + * * @return The cryptoHashConfig. */ @java.lang.Override @@ -2925,6 +3450,8 @@ public com.google.privacy.dlp.v2.CryptoHashConfig getCryptoHashConfig() { } } /** + * + * *
      * Crypto
      * 
@@ -2945,6 +3472,8 @@ public Builder setCryptoHashConfig(com.google.privacy.dlp.v2.CryptoHashConfig va return this; } /** + * + * *
      * Crypto
      * 
@@ -2963,6 +3492,8 @@ public Builder setCryptoHashConfig( return this; } /** + * + * *
      * Crypto
      * 
@@ -2971,10 +3502,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; } @@ -2990,6 +3524,8 @@ public Builder mergeCryptoHashConfig(com.google.privacy.dlp.v2.CryptoHashConfig return this; } /** + * + * *
      * Crypto
      * 
@@ -3013,6 +3549,8 @@ public Builder clearCryptoHashConfig() { return this; } /** + * + * *
      * Crypto
      * 
@@ -3023,6 +3561,8 @@ public com.google.privacy.dlp.v2.CryptoHashConfig.Builder getCryptoHashConfigBui return getCryptoHashConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Crypto
      * 
@@ -3041,6 +3581,8 @@ public com.google.privacy.dlp.v2.CryptoHashConfigOrBuilder getCryptoHashConfigOr } } /** + * + * *
      * Crypto
      * 
@@ -3048,32 +3590,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 @@ -3081,11 +3635,14 @@ public boolean hasDateShiftConfig() { return transformationCase_ == 11; } /** + * + * *
      * Date Shift
      * 
* * .google.privacy.dlp.v2.DateShiftConfig date_shift_config = 11; + * * @return The dateShiftConfig. */ @java.lang.Override @@ -3103,6 +3660,8 @@ public com.google.privacy.dlp.v2.DateShiftConfig getDateShiftConfig() { } } /** + * + * *
      * Date Shift
      * 
@@ -3123,6 +3682,8 @@ public Builder setDateShiftConfig(com.google.privacy.dlp.v2.DateShiftConfig valu return this; } /** + * + * *
      * Date Shift
      * 
@@ -3141,6 +3702,8 @@ public Builder setDateShiftConfig( return this; } /** + * + * *
      * Date Shift
      * 
@@ -3149,10 +3712,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; } @@ -3168,6 +3734,8 @@ public Builder mergeDateShiftConfig(com.google.privacy.dlp.v2.DateShiftConfig va return this; } /** + * + * *
      * Date Shift
      * 
@@ -3191,6 +3759,8 @@ public Builder clearDateShiftConfig() { return this; } /** + * + * *
      * Date Shift
      * 
@@ -3201,6 +3771,8 @@ public com.google.privacy.dlp.v2.DateShiftConfig.Builder getDateShiftConfigBuild return getDateShiftConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Date Shift
      * 
@@ -3219,6 +3791,8 @@ public com.google.privacy.dlp.v2.DateShiftConfigOrBuilder getDateShiftConfigOrBu } } /** + * + * *
      * Date Shift
      * 
@@ -3226,32 +3800,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 @@ -3259,11 +3846,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 @@ -3281,13 +3872,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(); @@ -3301,11 +3896,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) { @@ -3319,18 +3917,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; } @@ -3346,11 +3952,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) { @@ -3369,24 +3978,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 { @@ -3397,39 +4014,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 @@ -3437,11 +4070,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 @@ -3459,13 +4095,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(); @@ -3479,6 +4118,8 @@ public Builder setReplaceDictionaryConfig(com.google.privacy.dlp.v2.ReplaceDicti return this; } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -3497,18 +4138,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; } @@ -3524,6 +4172,8 @@ public Builder mergeReplaceDictionaryConfig(com.google.privacy.dlp.v2.ReplaceDic return this; } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -3547,16 +4197,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.
      * 
@@ -3564,7 +4219,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 { @@ -3575,6 +4231,8 @@ public com.google.privacy.dlp.v2.ReplaceDictionaryConfigOrBuilder getReplaceDict } } /** + * + * *
      * Replace with a value randomly drawn (with replacement) from a dictionary.
      * 
@@ -3582,26 +4240,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); } @@ -3611,12 +4275,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(); } @@ -3625,16 +4289,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; @@ -3649,6 +4313,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 e5c533b2..c6fc1547 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,97 +68,136 @@ 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) { @@ -150,51 +205,62 @@ private PrivacyMetric( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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.
@@ -205,6 +271,8 @@ public interface NumericalStatsConfigOrBuilder extends
     com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Compute numerical stats over an individual column, including
    * min, max, and quantiles.
@@ -212,30 +280,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)
@@ -254,26 +321,29 @@ 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) {
@@ -281,35 +351,40 @@ private NumericalStatsConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -317,12 +392,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 @@ -330,6 +408,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.
@@ -343,6 +423,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -354,8 +435,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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());
       }
@@ -369,8 +449,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;
@@ -380,17 +459,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;
@@ -413,87 +492,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
@@ -503,6 +589,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Compute numerical stats over an individual column, including
      * min, max, and quantiles.
@@ -510,21 +598,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()
@@ -532,16 +623,15 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -555,13 +645,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();
       }
 
@@ -576,7 +667,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 {
@@ -590,38 +682,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;
@@ -629,7 +724,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());
         }
@@ -652,7 +749,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) {
@@ -664,26 +763,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() { @@ -694,6 +802,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -715,6 +825,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.
@@ -722,8 +834,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();
@@ -734,6 +845,8 @@ public Builder setField(
         return this;
       }
       /**
+       *
+       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -745,7 +858,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;
           }
@@ -757,6 +872,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.
@@ -776,6 +893,8 @@ public Builder clearField() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Field to compute numerical stats on. Supported types are
        * integer, float, date, datetime, timestamp, time.
@@ -784,11 +903,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.
@@ -800,11 +921,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.
@@ -813,18 +935,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) {
@@ -837,30 +963,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;
@@ -872,17 +1000,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
@@ -891,10 +1022,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
@@ -903,10 +1037,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
@@ -919,6 +1056,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.
@@ -926,30 +1065,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)
@@ -968,26 +1106,29 @@ 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) {
@@ -995,29 +1136,33 @@ private CategoricalStatsConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -1026,6 +1171,7 @@ private CategoricalStatsConfig(
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return Whether the field field is set. */ @java.lang.Override @@ -1033,6 +1179,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
@@ -1041,6 +1189,7 @@ public boolean hasField() {
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ @java.lang.Override @@ -1048,6 +1197,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
@@ -1063,6 +1214,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1074,8 +1226,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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());
       }
@@ -1089,8 +1240,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;
@@ -1100,17 +1250,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;
@@ -1133,87 +1283,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
@@ -1223,6 +1380,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Compute numerical stats over an individual column, including
      * number of distinct values and value count distribution.
@@ -1230,21 +1389,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()
@@ -1252,16 +1414,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();
@@ -1275,13 +1436,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();
       }
 
@@ -1296,7 +1458,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 {
@@ -1310,46 +1473,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());
         }
@@ -1372,7 +1541,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) {
@@ -1384,8 +1555,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
@@ -1394,12 +1570,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
@@ -1408,6 +1587,7 @@ public boolean hasField() {
        * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ public com.google.privacy.dlp.v2.FieldId getField() { @@ -1418,6 +1598,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
@@ -1441,6 +1623,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
@@ -1450,8 +1634,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();
@@ -1462,6 +1645,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
@@ -1475,7 +1660,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;
           }
@@ -1487,6 +1674,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
@@ -1508,6 +1697,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
@@ -1518,11 +1709,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
@@ -1536,11 +1729,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
@@ -1551,18 +1745,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) {
@@ -1575,30 +1773,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;
@@ -1610,17 +1810,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
@@ -1631,9 +1834,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
@@ -1646,6 +1850,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
@@ -1658,6 +1864,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
@@ -1668,9 +1876,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
@@ -1681,10 +1890,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
@@ -1698,10 +1908,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
@@ -1715,10 +1928,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
@@ -1736,37 +1952,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) @@ -1786,35 +2004,40 @@ 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) { @@ -1822,8 +2045,7 @@ private KAnonymityConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -1832,22 +2054,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
@@ -1863,6 +2090,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
@@ -1874,11 +2103,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
@@ -1894,6 +2125,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
@@ -1909,6 +2142,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
@@ -1920,14 +2155,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
@@ -1941,6 +2177,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 @@ -1948,6 +2185,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
@@ -1961,13 +2200,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
@@ -1988,6 +2232,7 @@ public com.google.privacy.dlp.v2.EntityIdOrBuilder getEntityIdOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1999,8 +2244,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -2017,12 +2261,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;
@@ -2032,19 +2274,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;
@@ -2071,87 +2312,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
@@ -2161,27 +2409,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() @@ -2189,17 +2442,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(); @@ -2219,9 +2472,9 @@ public Builder 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 @@ -2240,7 +2493,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)) { @@ -2264,38 +2518,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; @@ -2303,7 +2560,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()) { @@ -2322,9 +2580,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_); } @@ -2352,7 +2611,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) { @@ -2361,21 +2621,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
@@ -2394,6 +2661,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
@@ -2412,6 +2681,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
@@ -2430,6 +2701,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
@@ -2440,8 +2713,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();
@@ -2455,6 +2727,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
@@ -2477,6 +2751,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
@@ -2501,6 +2777,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
@@ -2511,8 +2789,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();
@@ -2526,6 +2803,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
@@ -2536,8 +2815,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());
@@ -2548,6 +2826,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
@@ -2570,6 +2850,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
@@ -2584,8 +2866,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);
@@ -2593,6 +2874,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
@@ -2614,6 +2897,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
@@ -2635,6 +2920,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
@@ -2645,11 +2932,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
@@ -2660,14 +2948,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
@@ -2678,8 +2968,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 {
@@ -2687,6 +2977,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
@@ -2698,10 +2990,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
@@ -2712,12 +3006,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
@@ -2728,20 +3023,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_;
@@ -2749,8 +3046,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
@@ -2764,12 +3066,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
@@ -2783,16 +3088,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
@@ -2821,6 +3131,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
@@ -2835,8 +3147,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();
@@ -2847,6 +3158,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
@@ -2865,7 +3178,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;
           }
@@ -2877,6 +3192,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
@@ -2903,6 +3220,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
@@ -2918,11 +3237,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
@@ -2941,11 +3262,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
@@ -2961,18 +3285,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) {
@@ -2985,12 +3313,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();
     }
@@ -2999,16 +3327,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;
@@ -3023,14 +3351,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
@@ -3039,9 +3369,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
@@ -3052,6 +3383,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
@@ -3062,6 +3395,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
@@ -3070,9 +3405,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
@@ -3081,28 +3417,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.
      * 
@@ -3112,37 +3455,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) @@ -3162,35 +3507,40 @@ 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) { @@ -3198,8 +3548,7 @@ private LDiversityConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -3208,22 +3557,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
@@ -3237,6 +3591,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
@@ -3246,11 +3602,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
@@ -3264,6 +3622,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
@@ -3277,6 +3637,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
@@ -3286,19 +3648,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 @@ -3306,18 +3670,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.
      * 
@@ -3330,6 +3701,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getSensitiveAttributeOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3341,8 +3713,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -3359,12 +3730,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; @@ -3374,19 +3744,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; @@ -3413,87 +3782,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 @@ -3503,27 +3879,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() @@ -3531,17 +3912,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(); @@ -3561,9 +3942,9 @@ public Builder 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 @@ -3582,7 +3963,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)) { @@ -3606,38 +3988,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; @@ -3645,7 +4030,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()) { @@ -3664,9 +4050,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_); } @@ -3694,7 +4081,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) { @@ -3703,21 +4091,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
@@ -3734,6 +4129,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
@@ -3750,6 +4147,8 @@ public int getQuasiIdsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * Set of quasi-identifiers indicating how equivalence classes are
        * defined for the l-diversity computation. When multiple fields are
@@ -3766,6 +4165,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
@@ -3774,8 +4175,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();
@@ -3789,6 +4189,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
@@ -3809,6 +4211,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
@@ -3831,6 +4235,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
@@ -3839,8 +4245,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();
@@ -3854,6 +4259,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
@@ -3862,8 +4269,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());
@@ -3874,6 +4280,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
@@ -3894,6 +4302,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
@@ -3906,8 +4316,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);
@@ -3915,6 +4324,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
@@ -3934,6 +4345,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
@@ -3953,6 +4366,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
@@ -3961,11 +4376,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
@@ -3974,14 +4390,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
@@ -3990,8 +4408,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 {
@@ -3999,6 +4417,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
@@ -4008,10 +4428,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
@@ -4020,12 +4442,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
@@ -4034,20 +4457,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_;
@@ -4055,34 +4480,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.
        * 
@@ -4103,6 +4541,8 @@ public Builder setSensitiveAttribute(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4121,6 +4561,8 @@ public Builder setSensitiveAttribute( return this; } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4131,7 +4573,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; } @@ -4143,6 +4587,8 @@ public Builder mergeSensitiveAttribute(com.google.privacy.dlp.v2.FieldId value) return this; } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4161,6 +4607,8 @@ public Builder clearSensitiveAttribute() { return this; } /** + * + * *
        * Sensitive field for computing the l-value.
        * 
@@ -4168,11 +4616,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.
        * 
@@ -4183,11 +4633,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.
        * 
@@ -4195,18 +4648,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) { @@ -4219,12 +4676,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(); } @@ -4233,16 +4690,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; @@ -4257,63 +4714,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
@@ -4321,10 +4802,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
@@ -4332,66 +4816,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
@@ -4403,15 +4913,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_ = "";
@@ -4420,16 +4931,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)
@@ -4449,37 +4959,52 @@ 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) {
@@ -4487,8 +5012,7 @@ private KMapEstimationConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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_);
@@ -4500,51 +5024,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
@@ -4554,10 +5095,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
@@ -4567,10 +5111,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
@@ -4584,6 +5131,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
@@ -4591,10 +5140,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
@@ -4602,10 +5154,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
@@ -4613,32 +5168,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
@@ -4648,39 +5211,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) @@ -4699,60 +5264,66 @@ 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) { @@ -4760,36 +5331,43 @@ private TaggedField( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; } @@ -4805,32 +5383,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 @@ -4838,11 +5424,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 @@ -4850,11 +5440,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() { @@ -4863,6 +5456,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
@@ -4872,6 +5467,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 @@ -4879,6 +5475,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
@@ -4888,16 +5486,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
@@ -4911,13 +5512,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
@@ -4925,12 +5528,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
@@ -4938,6 +5544,7 @@ public boolean hasCustomTag() {
        * 
* * string custom_tag = 3; + * * @return The customTag. */ public java.lang.String getCustomTag() { @@ -4948,8 +5555,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; @@ -4958,6 +5564,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
@@ -4965,18 +5573,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; } @@ -4988,12 +5595,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 @@ -5001,22 +5611,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
@@ -5027,12 +5642,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;
@@ -5044,8 +5660,7 @@ public final boolean isInitialized() {
       }
 
       @java.lang.Override
-      public 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());
         }
@@ -5068,19 +5683,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;
@@ -5090,31 +5706,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:
@@ -5155,88 +5769,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
@@ -5246,44 +5875,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(); @@ -5299,19 +5934,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); } @@ -5319,8 +5957,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 { @@ -5352,67 +5992,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(); @@ -5429,11 +6081,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) { @@ -5442,12 +6097,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() { @@ -5457,27 +6112,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() { @@ -5488,11 +6153,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) { @@ -5508,14 +6176,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(); @@ -5526,17 +6196,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; } @@ -5548,11 +6223,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) { @@ -5566,56 +6244,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
@@ -5625,6 +6319,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 @@ -5632,6 +6327,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
@@ -5641,6 +6338,7 @@ public boolean hasInfoType() {
          * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ @java.lang.Override @@ -5658,6 +6356,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
@@ -5682,6 +6382,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
@@ -5692,8 +6394,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();
@@ -5704,6 +6405,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
@@ -5716,10 +6419,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;
             }
@@ -5735,6 +6440,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
@@ -5762,6 +6469,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
@@ -5776,6 +6485,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
@@ -5798,6 +6509,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
@@ -5809,25 +6522,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
@@ -5835,6 +6554,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
          * 
* * string custom_tag = 3; + * * @return Whether the customTag field is set. */ @java.lang.Override @@ -5842,6 +6562,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
@@ -5849,6 +6571,7 @@ public boolean hasCustomTag() {
          * 
* * string custom_tag = 3; + * * @return The customTag. */ @java.lang.Override @@ -5858,8 +6581,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; @@ -5870,6 +6592,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
@@ -5877,19 +6601,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; } @@ -5899,6 +6622,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
@@ -5906,20 +6631,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
@@ -5927,6 +6654,7 @@ public Builder setCustomTag(
          * 
* * string custom_tag = 3; + * * @return This builder for chaining. */ public Builder clearCustomTag() { @@ -5938,6 +6666,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
@@ -5945,15 +6675,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(); @@ -5961,14 +6691,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 @@ -5976,12 +6712,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 @@ -5999,6 +6738,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
@@ -6020,6 +6761,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
@@ -6027,8 +6770,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();
@@ -6039,6 +6781,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
@@ -6048,10 +6792,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;
             }
@@ -6067,6 +6812,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
@@ -6091,6 +6838,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
@@ -6102,6 +6851,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
@@ -6121,6 +6872,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
@@ -6129,23 +6882,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) {
@@ -6158,30 +6916,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;
@@ -6193,118 +6954,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
@@ -6317,31 +7136,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)
@@ -6361,48 +7180,61 @@ 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) {
@@ -6410,8 +7242,8 @@ private AuxiliaryTable(
         } catch (com.google.protobuf.UninitializedMessageException e) {
           throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
         } 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_);
@@ -6420,42 +7252,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.
          * 
@@ -6465,58 +7310,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) @@ -6535,32 +7388,36 @@ 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) { @@ -6568,34 +7425,42 @@ private QuasiIdField( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -6603,11 +7468,14 @@ public boolean hasField() { return field_ != null; } /** + * + * *
          * Identifies the column.
          * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ @java.lang.Override @@ -6615,6 +7483,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
          * Identifies the column.
          * 
@@ -6629,11 +7499,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 @@ -6642,29 +7515,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 { @@ -6673,6 +7546,7 @@ public java.lang.String getCustomTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6685,7 +7559,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()); } @@ -6702,8 +7576,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_); @@ -6716,20 +7589,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; } @@ -6752,88 +7630,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 @@ -6843,45 +7751,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(); @@ -6897,19 +7814,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); } @@ -6917,8 +7840,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 { @@ -6933,46 +7861,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()); } @@ -6995,11 +7937,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) { @@ -7011,34 +7957,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.
            * 
@@ -7059,14 +8018,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(); @@ -7077,6 +8037,8 @@ public Builder setField( return this; } /** + * + * *
            * Identifies the column.
            * 
@@ -7087,7 +8049,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; } @@ -7099,6 +8063,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
            * Identifies the column.
            * 
@@ -7117,6 +8083,8 @@ public Builder clearField() { return this; } /** + * + * *
            * Identifies the column.
            * 
@@ -7124,11 +8092,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.
            * 
@@ -7139,11 +8109,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.
            * 
@@ -7151,14 +8124,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_; @@ -7166,18 +8142,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; @@ -7186,20 +8164,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 { @@ -7207,58 +8186,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) { @@ -7271,30 +8258,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; @@ -7306,20 +8299,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 @@ -7327,23 +8326,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() { @@ -7351,74 +8361,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 @@ -7426,25 +8473,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() { @@ -7452,6 +8510,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7463,8 +8522,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -7484,16 +8542,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; @@ -7503,24 +8559,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; @@ -7550,88 +8606,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 @@ -7641,6 +8712,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
@@ -7651,41 +8724,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(); @@ -7711,19 +8790,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); } @@ -7731,8 +8813,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_; @@ -7761,46 +8845,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()); } @@ -7822,9 +8916,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_); } @@ -7848,11 +8943,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) { @@ -7861,43 +8959,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) { @@ -7913,14 +9031,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(); @@ -7931,17 +9052,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; } @@ -7953,11 +9080,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) { @@ -7971,73 +9102,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 { @@ -8045,11 +9211,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) { @@ -8059,13 +9229,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 { @@ -8073,14 +9249,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(); @@ -8094,14 +9276,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()); @@ -8112,13 +9301,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(); @@ -8132,14 +9327,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(); @@ -8153,14 +9354,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()); @@ -8171,14 +9378,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()); @@ -8189,18 +9403,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); @@ -8208,11 +9429,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) { @@ -8225,11 +9450,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) { @@ -8242,39 +9471,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 { @@ -8282,49 +9529,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_; @@ -8332,42 +9610,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) { @@ -8383,12 +9680,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) { @@ -8402,18 +9703,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; } @@ -8425,12 +9732,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) { @@ -8444,55 +9755,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) { @@ -8505,30 +9833,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; @@ -8540,80 +9872,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
@@ -8621,6 +9980,7 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldO
      * 
* * string region_code = 2; + * * @return The regionCode. */ @java.lang.Override @@ -8629,14 +9989,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
@@ -8644,16 +10005,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 { @@ -8662,76 +10022,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; @@ -8743,8 +10132,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -8764,15 +10152,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; @@ -8782,19 +10169,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; } @@ -8822,87 +10207,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 @@ -8912,6 +10304,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
@@ -8923,21 +10317,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()
@@ -8945,18 +10342,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();
@@ -8978,13 +10375,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();
       }
 
@@ -8999,7 +10397,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)) {
@@ -9028,38 +10427,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;
@@ -9067,7 +10469,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()) {
@@ -9086,9 +10490,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_);
             }
@@ -9116,9 +10521,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_);
             }
@@ -9143,7 +10549,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) {
@@ -9152,29 +10560,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 { @@ -9182,12 +10605,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) { @@ -9197,14 +10624,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 { @@ -9212,15 +10644,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(); @@ -9234,15 +10671,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()); @@ -9253,14 +10696,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(); @@ -9274,15 +10722,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(); @@ -9296,15 +10749,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()); @@ -9315,15 +10773,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()); @@ -9334,19 +10798,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); @@ -9354,12 +10824,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) { @@ -9372,12 +10846,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) { @@ -9390,42 +10868,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 { @@ -9433,52 +10926,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_; @@ -9486,6 +11002,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
@@ -9493,13 +11011,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; @@ -9508,6 +11026,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
@@ -9515,15 +11035,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 { @@ -9531,6 +11050,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
@@ -9538,20 +11059,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
@@ -9559,15 +11082,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
@@ -9575,43 +11101,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 { @@ -9619,13 +11159,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) { @@ -9635,15 +11179,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 { @@ -9651,16 +11200,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(); @@ -9674,16 +11228,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()); @@ -9694,15 +11254,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(); @@ -9716,16 +11281,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(); @@ -9739,16 +11309,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()); @@ -9759,16 +11334,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()); @@ -9779,20 +11360,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); @@ -9800,13 +11387,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) { @@ -9819,13 +11410,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) { @@ -9838,45 +11433,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 { @@ -9884,51 +11495,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(), @@ -9937,6 +11575,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) { @@ -9949,30 +11588,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; @@ -9984,66 +11625,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
@@ -10051,10 +11712,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
@@ -10062,12 +11726,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
@@ -10076,9 +11742,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
@@ -10089,6 +11756,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
@@ -10099,6 +11768,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
@@ -10107,9 +11778,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
@@ -10118,10 +11791,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.
@@ -10131,15 +11805,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_ = "";
@@ -10148,16 +11825,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)
@@ -10177,37 +11853,43 @@ 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) {
@@ -10215,8 +11897,7 @@ private DeltaPresenceEstimationConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } 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_);
@@ -10228,87 +11909,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
@@ -10316,6 +12021,7 @@ public com.google.privacy.dlp.v2.QuasiIdOrBuilder getQuasiIdsOrBuilder(
      * 
* * string region_code = 2; + * * @return The regionCode. */ @java.lang.Override @@ -10324,14 +12030,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
@@ -10339,16 +12046,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 { @@ -10359,6 +12065,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
@@ -10372,6 +12080,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
@@ -10381,11 +12091,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
@@ -10399,6 +12111,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
@@ -10412,6 +12126,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
@@ -10427,6 +12143,7 @@ public com.google.privacy.dlp.v2.StatisticalTableOrBuilder getAuxiliaryTablesOrB
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -10438,8 +12155,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -10459,15 +12175,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;
@@ -10477,19 +12192,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;
     }
@@ -10517,87 +12230,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
@@ -10607,6 +12328,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.
@@ -10616,40 +12339,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();
@@ -10671,19 +12399,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);
         }
@@ -10692,7 +12423,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)) {
@@ -10721,46 +12453,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()) {
@@ -10779,9 +12519,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_);
             }
@@ -10809,9 +12550,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_);
             }
@@ -10836,7 +12578,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) {
@@ -10845,27 +12589,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) { @@ -10875,12 +12628,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) { @@ -10890,12 +12647,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) { @@ -10905,15 +12666,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(); @@ -10927,12 +12691,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) { @@ -10946,12 +12714,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) { @@ -10967,15 +12739,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(); @@ -10989,15 +12764,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()); @@ -11008,12 +12786,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) { @@ -11027,19 +12809,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); @@ -11047,12 +12832,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) { @@ -11065,12 +12854,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) { @@ -11083,42 +12876,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 { @@ -11126,52 +12930,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_; @@ -11179,6 +12996,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
@@ -11186,13 +13005,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; @@ -11201,6 +13020,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
@@ -11208,15 +13029,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 { @@ -11224,6 +13044,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
@@ -11231,20 +13053,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
@@ -11252,15 +13076,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
@@ -11268,34 +13095,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
@@ -11312,6 +13146,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
@@ -11328,6 +13164,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
@@ -11344,6 +13182,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
@@ -11367,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 +13229,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
@@ -11409,6 +13253,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
@@ -11432,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
@@ -11452,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
@@ -11472,6 +13322,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
@@ -11484,8 +13336,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);
@@ -11493,6 +13344,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
@@ -11512,6 +13365,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
@@ -11531,6 +13386,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
@@ -11544,6 +13401,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
@@ -11555,11 +13414,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
@@ -11568,8 +13430,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 {
@@ -11577,6 +13439,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
@@ -11586,10 +13450,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
@@ -11600,10 +13466,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
@@ -11612,16 +13480,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(),
@@ -11630,6 +13504,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) {
@@ -11642,30 +13517,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;
@@ -11677,16 +13555,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),
@@ -11696,6 +13576,7 @@ public enum TypeCase
     DELTA_PRESENCE_ESTIMATION_CONFIG(6),
     TYPE_NOT_SET(0);
     private final int value;
+
     private TypeCase(int value) {
       this.value = value;
     }
@@ -11711,34 +13592,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 @@ -11746,42 +13638,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 @@ -11789,42 +13693,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 @@ -11832,21 +13748,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
    * 
@@ -11854,20 +13775,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 @@ -11875,21 +13800,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
    * 
@@ -11897,20 +13827,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 @@ -11918,42 +13853,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 @@ -11961,36 +13909,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; @@ -12002,13 +13964,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_); @@ -12020,7 +13982,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); } @@ -12032,28 +13995,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; @@ -12063,7 +14032,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); @@ -12073,28 +14042,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: @@ -12143,118 +14107,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() @@ -12262,16 +14235,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(); @@ -12281,9 +14253,9 @@ public Builder 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 @@ -12302,7 +14274,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_; @@ -12354,38 +14327,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; @@ -12395,33 +14369,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(); @@ -12451,12 +14432,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() { @@ -12466,15 +14447,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 @@ -12482,11 +14469,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 @@ -12504,13 +14495,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(); @@ -12524,11 +14519,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) { @@ -12542,18 +14540,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; } @@ -12569,11 +14576,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) { @@ -12592,24 +14602,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 { @@ -12620,39 +14638,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 @@ -12660,15 +14695,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_; @@ -12682,13 +14723,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(); @@ -12702,11 +14748,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) { @@ -12720,18 +14770,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; } @@ -12747,11 +14807,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) { @@ -12770,24 +14834,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 { @@ -12798,39 +14872,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 @@ -12838,11 +14929,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 @@ -12860,13 +14954,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(); @@ -12880,6 +14977,8 @@ public Builder setKAnonymityConfig(com.google.privacy.dlp.v2.PrivacyMetric.KAnon return this; } /** + * + * *
      * K-anonymity
      * 
@@ -12898,18 +14997,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; } @@ -12925,6 +15031,8 @@ public Builder mergeKAnonymityConfig(com.google.privacy.dlp.v2.PrivacyMetric.KAn return this; } /** + * + * *
      * K-anonymity
      * 
@@ -12948,16 +15056,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
      * 
@@ -12965,7 +15078,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 { @@ -12976,6 +15090,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigOrBuilder getKAno } } /** + * + * *
      * K-anonymity
      * 
@@ -12983,32 +15099,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 @@ -13016,11 +15144,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 @@ -13038,13 +15169,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(); @@ -13058,6 +15192,8 @@ public Builder setLDiversityConfig(com.google.privacy.dlp.v2.PrivacyMetric.LDive return this; } /** + * + * *
      * l-diversity
      * 
@@ -13076,18 +15212,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; } @@ -13103,6 +15246,8 @@ public Builder mergeLDiversityConfig(com.google.privacy.dlp.v2.PrivacyMetric.LDi return this; } /** + * + * *
      * l-diversity
      * 
@@ -13126,16 +15271,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
      * 
@@ -13143,7 +15293,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 { @@ -13154,6 +15305,8 @@ public com.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigOrBuilder getLDiv } } /** + * + * *
      * l-diversity
      * 
@@ -13161,32 +15314,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 @@ -13194,11 +15360,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 @@ -13216,13 +15386,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(); @@ -13236,11 +15410,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) { @@ -13254,18 +15431,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; } @@ -13281,11 +15467,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) { @@ -13304,24 +15493,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 { @@ -13332,39 +15529,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 @@ -13372,35 +15586,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(); @@ -13414,14 +15641,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(); @@ -13432,18 +15664,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; } @@ -13459,11 +15701,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) { @@ -13482,61 +15728,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); } @@ -13546,12 +15815,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(); } @@ -13560,16 +15829,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; @@ -13584,6 +15853,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/ProfileStatus.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatus.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatus.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatus.java index 5bac3337..5eabf356 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatus.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatus.java @@ -1,35 +1,47 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -/** - * Protobuf type {@code google.privacy.dlp.v2.ProfileStatus} - */ -public final class ProfileStatus extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.privacy.dlp.v2.ProfileStatus} */ +public final class ProfileStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.ProfileStatus) ProfileStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProfileStatus.newBuilder() to construct. private ProfileStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProfileStatus() { - } + + private ProfileStatus() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProfileStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProfileStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -48,39 +60,42 @@ private ProfileStatus( case 0: done = true; break; - case 10: { - com.google.rpc.Status.Builder subBuilder = null; - if (status_ != null) { - subBuilder = status_.toBuilder(); - } - status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(status_); - status_ = subBuilder.buildPartial(); + case 10: + { + com.google.rpc.Status.Builder subBuilder = null; + if (status_ != null) { + subBuilder = status_.toBuilder(); + } + status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(status_); + status_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (timestamp_ != null) { - subBuilder = timestamp_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (timestamp_ != null) { + subBuilder = timestamp_.toBuilder(); + } + timestamp_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timestamp_); + timestamp_ = subBuilder.buildPartial(); + } + + break; } - timestamp_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timestamp_); - timestamp_ = 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) { @@ -88,34 +103,39 @@ private ProfileStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_ProfileStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ProfileStatus.class, com.google.privacy.dlp.v2.ProfileStatus.Builder.class); + com.google.privacy.dlp.v2.ProfileStatus.class, + com.google.privacy.dlp.v2.ProfileStatus.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private com.google.rpc.Status status_; /** + * + * *
    * Profiling status code and optional message
    * 
* * .google.rpc.Status status = 1; + * * @return Whether the status field is set. */ @java.lang.Override @@ -123,11 +143,14 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Profiling status code and optional message
    * 
* * .google.rpc.Status status = 1; + * * @return The status. */ @java.lang.Override @@ -135,6 +158,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * Profiling status code and optional message
    * 
@@ -149,11 +174,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int TIMESTAMP_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp timestamp_; /** + * + * *
    * Time when the profile generation status was updated
    * 
* * .google.protobuf.Timestamp timestamp = 3; + * * @return Whether the timestamp field is set. */ @java.lang.Override @@ -161,11 +189,14 @@ public boolean hasTimestamp() { return timestamp_ != null; } /** + * + * *
    * Time when the profile generation status was updated
    * 
* * .google.protobuf.Timestamp timestamp = 3; + * * @return The timestamp. */ @java.lang.Override @@ -173,6 +204,8 @@ public com.google.protobuf.Timestamp getTimestamp() { return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_; } /** + * + * *
    * Time when the profile generation status was updated
    * 
@@ -185,6 +218,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,8 +230,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != null) { output.writeMessage(1, getStatus()); } @@ -214,12 +247,10 @@ public int getSerializedSize() { size = 0; if (status_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStatus()); } if (timestamp_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTimestamp()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTimestamp()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,7 +260,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.ProfileStatus)) { return super.equals(obj); @@ -238,13 +269,11 @@ public boolean equals(final java.lang.Object obj) { if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus() - .equals(other.getStatus())) return false; + if (!getStatus().equals(other.getStatus())) return false; } if (hasTimestamp() != other.hasTimestamp()) return false; if (hasTimestamp()) { - if (!getTimestamp() - .equals(other.getTimestamp())) return false; + if (!getTimestamp().equals(other.getTimestamp())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -270,114 +299,119 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.ProfileStatus parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ProfileStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.ProfileStatus parseFrom(java.io.InputStream input) 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.ProfileStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.ProfileStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.ProfileStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ProfileStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.ProfileStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.ProfileStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.privacy.dlp.v2.ProfileStatus} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.privacy.dlp.v2.ProfileStatus} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.ProfileStatus) com.google.privacy.dlp.v2.ProfileStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ProfileStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.ProfileStatus.class, com.google.privacy.dlp.v2.ProfileStatus.Builder.class); + com.google.privacy.dlp.v2.ProfileStatus.class, + com.google.privacy.dlp.v2.ProfileStatus.Builder.class); } // Construct using com.google.privacy.dlp.v2.ProfileStatus.newBuilder() @@ -385,16 +419,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 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_ProfileStatus_descriptor; } @java.lang.Override @@ -435,7 +468,8 @@ public com.google.privacy.dlp.v2.ProfileStatus build() { @java.lang.Override public com.google.privacy.dlp.v2.ProfileStatus buildPartial() { - com.google.privacy.dlp.v2.ProfileStatus result = new com.google.privacy.dlp.v2.ProfileStatus(this); + com.google.privacy.dlp.v2.ProfileStatus result = + new com.google.privacy.dlp.v2.ProfileStatus(this); if (statusBuilder_ == null) { result.status_ = status_; } else { @@ -454,38 +488,39 @@ public com.google.privacy.dlp.v2.ProfileStatus buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.ProfileStatus) { - return mergeFrom((com.google.privacy.dlp.v2.ProfileStatus)other); + return mergeFrom((com.google.privacy.dlp.v2.ProfileStatus) other); } else { super.mergeFrom(other); return this; @@ -531,24 +566,31 @@ public Builder mergeFrom( private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + statusBuilder_; /** + * + * *
      * Profiling status code and optional message
      * 
* * .google.rpc.Status status = 1; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * Profiling status code and optional message
      * 
* * .google.rpc.Status status = 1; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -559,6 +601,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * Profiling status code and optional message
      * 
@@ -579,14 +623,15 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Profiling status code and optional message
      * 
* * .google.rpc.Status status = 1; */ - public Builder setStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -597,6 +642,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Profiling status code and optional message
      * 
@@ -606,8 +653,7 @@ public Builder setStatus( public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = - com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -619,6 +665,8 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Profiling status code and optional message
      * 
@@ -637,6 +685,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Profiling status code and optional message
      * 
@@ -644,11 +694,13 @@ public Builder clearStatus() { * .google.rpc.Status status = 1; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Profiling status code and optional message
      * 
@@ -659,11 +711,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } } /** + * + * *
      * Profiling status code and optional message
      * 
@@ -671,14 +724,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 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> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; @@ -686,24 +739,33 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private com.google.protobuf.Timestamp timestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timestampBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + timestampBuilder_; /** + * + * *
      * Time when the profile generation status was updated
      * 
* * .google.protobuf.Timestamp timestamp = 3; + * * @return Whether the timestamp field is set. */ public boolean hasTimestamp() { return timestampBuilder_ != null || timestamp_ != null; } /** + * + * *
      * Time when the profile generation status was updated
      * 
* * .google.protobuf.Timestamp timestamp = 3; + * * @return The timestamp. */ public com.google.protobuf.Timestamp getTimestamp() { @@ -714,6 +776,8 @@ public com.google.protobuf.Timestamp getTimestamp() { } } /** + * + * *
      * Time when the profile generation status was updated
      * 
@@ -734,14 +798,15 @@ public Builder setTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the profile generation status was updated
      * 
* * .google.protobuf.Timestamp timestamp = 3; */ - public Builder setTimestamp( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) { if (timestampBuilder_ == null) { timestamp_ = builderForValue.build(); onChanged(); @@ -752,6 +817,8 @@ public Builder setTimestamp( return this; } /** + * + * *
      * Time when the profile generation status was updated
      * 
@@ -762,7 +829,7 @@ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { if (timestampBuilder_ == null) { if (timestamp_ != null) { timestamp_ = - com.google.protobuf.Timestamp.newBuilder(timestamp_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(timestamp_).mergeFrom(value).buildPartial(); } else { timestamp_ = value; } @@ -774,6 +841,8 @@ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when the profile generation status was updated
      * 
@@ -792,6 +861,8 @@ public Builder clearTimestamp() { return this; } /** + * + * *
      * Time when the profile generation status was updated
      * 
@@ -799,11 +870,13 @@ public Builder clearTimestamp() { * .google.protobuf.Timestamp timestamp = 3; */ public com.google.protobuf.Timestamp.Builder getTimestampBuilder() { - + onChanged(); return getTimestampFieldBuilder().getBuilder(); } /** + * + * *
      * Time when the profile generation status was updated
      * 
@@ -814,11 +887,12 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { if (timestampBuilder_ != null) { return timestampBuilder_.getMessageOrBuilder(); } else { - return timestamp_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_; + return timestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timestamp_; } } /** + * + * *
      * Time when the profile generation status was updated
      * 
@@ -826,21 +900,24 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * .google.protobuf.Timestamp timestamp = 3; */ 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> getTimestampFieldBuilder() { if (timestampBuilder_ == null) { - timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getTimestamp(), - getParentForChildren(), - isClean()); + timestampBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getTimestamp(), getParentForChildren(), isClean()); timestamp_ = null; } return timestampBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -850,12 +927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.ProfileStatus) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ProfileStatus) private static final com.google.privacy.dlp.v2.ProfileStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.ProfileStatus(); } @@ -864,16 +941,16 @@ public static com.google.privacy.dlp.v2.ProfileStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProfileStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProfileStatus(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProfileStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProfileStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -888,6 +965,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.ProfileStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.java index f2752c9f..9cc38b54 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ProfileStatusOrBuilder.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 ProfileStatusOrBuilder extends +public interface ProfileStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ProfileStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Profiling status code and optional message
    * 
* * .google.rpc.Status status = 1; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Profiling status code and optional message
    * 
* * .google.rpc.Status status = 1; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
    * Profiling status code and optional message
    * 
@@ -35,24 +59,32 @@ public interface ProfileStatusOrBuilder extends com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** + * + * *
    * Time when the profile generation status was updated
    * 
* * .google.protobuf.Timestamp timestamp = 3; + * * @return Whether the timestamp field is set. */ boolean hasTimestamp(); /** + * + * *
    * Time when the profile generation status was updated
    * 
* * .google.protobuf.Timestamp timestamp = 3; + * * @return The timestamp. */ com.google.protobuf.Timestamp getTimestamp(); /** + * + * *
    * Time when the profile generation status was updated
    * 
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 07dea059..f0adbb34 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,60 +68,64 @@ 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) { @@ -113,36 +133,41 @@ private QuasiId( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; } @@ -158,32 +183,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 @@ -191,11 +224,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 @@ -203,11 +240,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() { @@ -216,6 +256,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
@@ -225,6 +267,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 @@ -232,6 +275,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
@@ -241,16 +286,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
@@ -264,13 +312,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
@@ -278,12 +328,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
@@ -291,6 +344,7 @@ public boolean hasCustomTag() {
    * 
* * string custom_tag = 3; + * * @return The customTag. */ public java.lang.String getCustomTag() { @@ -301,8 +355,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; @@ -311,6 +364,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
@@ -318,18 +373,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; } @@ -341,12 +395,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 @@ -354,22 +411,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
@@ -380,12 +442,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;
@@ -397,8 +460,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (field_ != null) {
       output.writeMessage(1, getField());
     }
@@ -421,19 +483,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;
@@ -443,7 +506,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);
@@ -452,22 +515,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:
@@ -508,118 +567,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() @@ -627,16 +694,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(); @@ -652,9 +718,9 @@ public Builder 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 @@ -705,38 +771,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; @@ -749,23 +816,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(); @@ -795,12 +866,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() { @@ -810,27 +881,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() { @@ -841,11 +922,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) { @@ -861,14 +945,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(); @@ -879,17 +965,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; } @@ -901,11 +990,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) { @@ -919,56 +1011,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
@@ -978,6 +1086,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 @@ -985,6 +1094,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
@@ -994,6 +1105,7 @@ public boolean hasInfoType() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 2; + * * @return The infoType. */ @java.lang.Override @@ -1011,6 +1123,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
@@ -1035,6 +1149,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
@@ -1045,8 +1161,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();
@@ -1057,6 +1172,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
@@ -1069,10 +1186,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;
         }
@@ -1088,6 +1207,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
@@ -1115,6 +1236,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
@@ -1129,6 +1252,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
@@ -1151,6 +1276,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
@@ -1162,25 +1289,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
@@ -1188,6 +1321,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() {
      * 
* * string custom_tag = 3; + * * @return Whether the customTag field is set. */ @java.lang.Override @@ -1195,6 +1329,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
@@ -1202,6 +1338,7 @@ public boolean hasCustomTag() {
      * 
* * string custom_tag = 3; + * * @return The customTag. */ @java.lang.Override @@ -1211,8 +1348,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; @@ -1223,6 +1359,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
@@ -1230,19 +1368,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; } @@ -1252,6 +1389,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
@@ -1259,20 +1398,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
@@ -1280,6 +1421,7 @@ public Builder setCustomTag(
      * 
* * string custom_tag = 3; + * * @return This builder for chaining. */ public Builder clearCustomTag() { @@ -1291,6 +1433,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
@@ -1298,15 +1442,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(); @@ -1314,14 +1458,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 @@ -1329,12 +1479,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 @@ -1352,6 +1505,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
@@ -1373,6 +1528,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
@@ -1380,8 +1537,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();
@@ -1392,6 +1548,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
@@ -1401,10 +1559,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;
         }
@@ -1420,6 +1579,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
@@ -1444,6 +1605,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
@@ -1455,6 +1618,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
@@ -1474,6 +1639,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
@@ -1482,26 +1649,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);
     }
 
@@ -1511,12 +1682,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();
   }
@@ -1525,16 +1696,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;
@@ -1549,6 +1720,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 0eb3ee79..d790dbf5 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,27 +68,28 @@ 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) { @@ -80,34 +97,39 @@ private QuoteInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; } @@ -123,29 +145,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 @@ -153,21 +180,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.
    * 
@@ -177,12 +209,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; @@ -194,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (parsedQuoteCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.DateTime) parsedQuote_); } @@ -209,8 +241,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; @@ -220,7 +253,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); @@ -230,8 +263,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: @@ -260,118 +292,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() @@ -379,16 +419,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +437,9 @@ public Builder 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 @@ -436,38 +475,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; @@ -477,13 +517,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(); @@ -513,12 +555,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() { @@ -528,15 +570,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 @@ -544,11 +591,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 @@ -566,6 +616,8 @@ public com.google.privacy.dlp.v2.DateTime getDateTime() { } } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -586,14 +638,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(); @@ -604,6 +657,8 @@ public Builder setDateTime( return this; } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -612,10 +667,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; } @@ -631,6 +689,8 @@ public Builder mergeDateTime(com.google.privacy.dlp.v2.DateTime value) { return this; } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -654,6 +714,8 @@ public Builder clearDateTime() { return this; } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -664,6 +726,8 @@ public com.google.privacy.dlp.v2.DateTime.Builder getDateTimeBuilder() { return getDateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -682,6 +746,8 @@ public com.google.privacy.dlp.v2.DateTimeOrBuilder getDateTimeOrBuilder() { } } /** + * + * *
      * The date time indicated by the quote.
      * 
@@ -689,26 +755,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); } @@ -718,12 +790,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(); } @@ -732,16 +804,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; @@ -756,6 +828,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 b0c41c38..590b2ac2 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,23 +68,23 @@ 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) { @@ -76,22 +92,23 @@ private Range( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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); } @@ -99,11 +116,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 @@ -114,11 +134,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 @@ -127,6 +150,7 @@ public long getEnd() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,8 +162,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -156,12 +179,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; @@ -171,17 +192,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; } @@ -194,126 +213,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); } @@ -323,16 +347,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(); @@ -344,9 +367,9 @@ public Builder 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 @@ -376,38 +399,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; @@ -451,13 +475,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 @@ -465,42 +492,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 @@ -508,37 +544,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); } @@ -548,12 +590,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(); } @@ -562,16 +604,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; @@ -586,6 +628,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 23a067cf..6fc73355 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,26 +69,30 @@ 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) {
@@ -80,95 +100,127 @@ private RecordCondition(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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.]
      * 
@@ -178,6 +230,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.
@@ -200,31 +254,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)
@@ -243,45 +297,51 @@ 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) {
@@ -289,34 +349,40 @@ private Condition(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -324,11 +390,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 @@ -336,11 +406,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() { @@ -350,38 +423,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 @@ -389,11 +478,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 @@ -401,6 +493,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.]
      * 
@@ -413,6 +507,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,12 +519,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) { @@ -445,16 +541,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; @@ -464,23 +559,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; @@ -509,87 +603,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 @@ -599,6 +700,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.
@@ -621,21 +724,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()
@@ -643,16 +749,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();
@@ -674,9 +779,9 @@ public Builder 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
@@ -695,7 +800,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 {
@@ -715,38 +821,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;
@@ -754,7 +863,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());
         }
@@ -783,7 +893,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) {
@@ -795,24 +906,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() { @@ -823,11 +945,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) { @@ -843,14 +968,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(); @@ -861,17 +988,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; } @@ -883,11 +1015,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) { @@ -901,48 +1036,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_; @@ -950,51 +1096,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. */ @@ -1002,21 +1170,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; @@ -1024,24 +1197,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() { @@ -1052,6 +1234,8 @@ public com.google.privacy.dlp.v2.Value getValue() { } } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1072,14 +1256,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(); @@ -1090,6 +1275,8 @@ public Builder setValue( return this; } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1100,7 +1287,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; } @@ -1112,6 +1299,8 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1130,6 +1319,8 @@ public Builder clearValue() { return this; } /** + * + * *
        * Value to compare against. [Mandatory, except for `EXISTS` tests.]
        * 
@@ -1137,11 +1328,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.]
        * 
@@ -1152,11 +1345,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.]
        * 
@@ -1164,18 +1358,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) { @@ -1188,12 +1386,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(); } @@ -1202,16 +1400,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; @@ -1226,23 +1424,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.
      * 
@@ -1251,6 +1452,8 @@ public interface ConditionsOrBuilder extends */ com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int index); /** + * + * *
      * A collection of conditions.
      * 
@@ -1259,56 +1462,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) @@ -1328,22 +1536,27 @@ 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) { @@ -1351,8 +1564,7 @@ private Conditions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -1361,22 +1573,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.
      * 
@@ -1388,6 +1605,8 @@ public java.util.List getCo return conditions_; } /** + * + * *
      * A collection of conditions.
      * 
@@ -1395,11 +1614,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.
      * 
@@ -1411,6 +1632,8 @@ public int getConditionsCount() { return conditions_.size(); } /** + * + * *
      * A collection of conditions.
      * 
@@ -1422,6 +1645,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int ind return conditions_.get(index); } /** + * + * *
      * A collection of conditions.
      * 
@@ -1435,6 +1660,7 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getCondition } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1446,8 +1672,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1461,8 +1686,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; @@ -1472,15 +1696,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; } @@ -1502,87 +1726,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 @@ -1592,27 +1823,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() @@ -1620,17 +1856,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(); @@ -1644,9 +1880,9 @@ public Builder 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 @@ -1665,7 +1901,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)) { @@ -1684,38 +1921,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; @@ -1723,7 +1963,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()) { @@ -1742,9 +1983,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_); } @@ -1769,7 +2011,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) { @@ -1778,28 +2021,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 { @@ -1807,6 +2060,8 @@ public java.util.List getCo } } /** + * + * *
        * A collection of conditions.
        * 
@@ -1821,6 +2076,8 @@ public int getConditionsCount() { } } /** + * + * *
        * A collection of conditions.
        * 
@@ -1835,6 +2092,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition getConditions(int ind } } /** + * + * *
        * A collection of conditions.
        * 
@@ -1856,6 +2115,8 @@ public Builder setConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1874,6 +2135,8 @@ public Builder setConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1894,6 +2157,8 @@ public Builder addConditions(com.google.privacy.dlp.v2.RecordCondition.Condition return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1915,6 +2180,8 @@ public Builder addConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1933,6 +2200,8 @@ public Builder addConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1951,6 +2220,8 @@ public Builder addConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1958,11 +2229,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); @@ -1970,6 +2241,8 @@ public Builder addAllConditions( return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -1987,6 +2260,8 @@ public Builder clearConditions() { return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -2004,6 +2279,8 @@ public Builder removeConditions(int index) { return this; } /** + * + * *
        * A collection of conditions.
        * 
@@ -2015,6 +2292,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Condition.Builder getConditions return getConditionsFieldBuilder().getBuilder(index); } /** + * + * *
        * A collection of conditions.
        * 
@@ -2024,19 +2303,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 { @@ -2044,6 +2326,8 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionOrBuilder getCondition } } /** + * + * *
        * A collection of conditions.
        * 
@@ -2051,10 +2335,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.
        * 
@@ -2063,34 +2349,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) { @@ -2103,12 +2396,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(); } @@ -2117,16 +2410,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; @@ -2141,53 +2434,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.
      * 
@@ -2199,37 +2510,39 @@ public interface ExpressionsOrBuilder extends public com.google.privacy.dlp.v2.RecordCondition.Expressions.TypeCase getTypeCase(); } /** + * + * *
    * An expression, consisting of 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) @@ -2248,33 +2561,39 @@ 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) { @@ -2282,36 +2601,41 @@ private Expressions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
        * 
@@ -2320,6 +2644,8 @@ public enum LogicalOperator */ LOGICAL_OPERATOR_UNSPECIFIED(0), /** + * + * *
        * Conditional AND
        * 
@@ -2331,6 +2657,8 @@ public enum LogicalOperator ; /** + * + * *
        * Unused
        * 
@@ -2339,6 +2667,8 @@ public enum LogicalOperator */ public static final int LOGICAL_OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Conditional AND
        * 
@@ -2347,7 +2677,6 @@ public enum LogicalOperator */ public static final int AND_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2372,9 +2701,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; } } @@ -2382,29 +2714,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(); @@ -2412,8 +2746,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; @@ -2432,12 +2765,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; } @@ -2453,58 +2789,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 @@ -2512,21 +2870,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.
      * 
@@ -2536,12 +2899,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; @@ -2553,9 +2917,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) { @@ -2570,13 +2936,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; @@ -2586,19 +2955,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: @@ -2630,87 +2999,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 @@ -2720,27 +3096,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An expression, consisting of 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() @@ -2748,16 +3129,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(); @@ -2769,9 +3149,9 @@ public Builder 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 @@ -2790,7 +3170,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) { @@ -2808,38 +3189,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; @@ -2847,18 +3231,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(); @@ -2879,7 +3266,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) { @@ -2888,12 +3276,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() { @@ -2903,94 +3291,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 @@ -2998,11 +3423,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 @@ -3020,6 +3448,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions getConditions() { } } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3040,6 +3470,8 @@ public Builder setConditions(com.google.privacy.dlp.v2.RecordCondition.Condition return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3058,6 +3490,8 @@ public Builder setConditions( return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3066,10 +3500,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; } @@ -3085,6 +3523,8 @@ public Builder mergeConditions(com.google.privacy.dlp.v2.RecordCondition.Conditi return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3108,6 +3548,8 @@ public Builder clearConditions() { return this; } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3118,6 +3560,8 @@ public com.google.privacy.dlp.v2.RecordCondition.Conditions.Builder getCondition return getConditionsFieldBuilder().getBuilder(); } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3125,7 +3569,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 { @@ -3136,6 +3581,8 @@ public com.google.privacy.dlp.v2.RecordCondition.ConditionsOrBuilder getConditio } } /** + * + * *
        * Conditions to apply to the expression.
        * 
@@ -3143,23 +3590,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) { @@ -3172,12 +3626,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(); } @@ -3186,16 +3640,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; @@ -3210,17 +3664,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 @@ -3228,18 +3684,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.
    * 
@@ -3252,6 +3715,7 @@ public com.google.privacy.dlp.v2.RecordCondition.ExpressionsOrBuilder getExpress } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3263,8 +3727,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -3278,8 +3741,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; @@ -3289,17 +3751,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; @@ -3321,97 +3783,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.
@@ -3419,21 +3888,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()
@@ -3441,16 +3912,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();
@@ -3464,9 +3934,9 @@ public Builder 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
@@ -3485,7 +3955,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 {
@@ -3499,38 +3970,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;
@@ -3573,34 +4045,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.
      * 
@@ -3621,6 +4106,8 @@ public Builder setExpressions(com.google.privacy.dlp.v2.RecordCondition.Expressi return this; } /** + * + * *
      * An expression.
      * 
@@ -3639,6 +4126,8 @@ public Builder setExpressions( return this; } /** + * + * *
      * An expression.
      * 
@@ -3649,7 +4138,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; } @@ -3661,6 +4152,8 @@ public Builder mergeExpressions(com.google.privacy.dlp.v2.RecordCondition.Expres return this; } /** + * + * *
      * An expression.
      * 
@@ -3679,6 +4172,8 @@ public Builder clearExpressions() { return this; } /** + * + * *
      * An expression.
      * 
@@ -3686,26 +4181,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.
      * 
@@ -3713,21 +4214,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); } @@ -3737,12 +4241,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(); } @@ -3751,16 +4255,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; @@ -3775,6 +4279,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 c91d477b..579abc6f 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,50 +71,55 @@ 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) { @@ -105,8 +127,7 @@ private RecordKey( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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(); @@ -115,28 +136,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; } @@ -152,26 +179,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 @@ -180,22 +211,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(); } @@ -203,6 +233,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 @@ -211,22 +242,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(); } @@ -234,37 +264,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. */ @@ -272,21 +310,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; @@ -298,8 +339,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.DatastoreKey) type_); } @@ -319,12 +359,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; @@ -342,24 +384,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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: @@ -396,118 +435,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() @@ -515,16 +562,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(); @@ -536,9 +582,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 @@ -587,38 +633,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; @@ -638,17 +685,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(); @@ -678,12 +728,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() { @@ -696,9 +746,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 @@ -707,6 +761,7 @@ public boolean hasDatastoreKey() { } /** * .google.privacy.dlp.v2.DatastoreKey datastore_key = 2; + * * @return The datastoreKey. */ @java.lang.Override @@ -723,9 +778,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) { @@ -739,11 +792,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(); @@ -753,15 +803,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; } @@ -776,9 +827,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) { @@ -795,15 +844,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)) { @@ -815,32 +860,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 @@ -849,6 +900,7 @@ public boolean hasBigQueryKey() { } /** * .google.privacy.dlp.v2.BigQueryKey big_query_key = 3; + * * @return The bigQueryKey. */ @java.lang.Override @@ -865,9 +917,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) { @@ -881,11 +931,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(); @@ -895,15 +942,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; } @@ -918,9 +965,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) { @@ -937,15 +982,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)) { @@ -957,67 +998,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. */ @@ -1025,85 +1078,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() { @@ -1113,29 +1176,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); } @@ -1145,12 +1210,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(); } @@ -1159,16 +1224,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; @@ -1183,6 +1248,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 b6f7d800..8f43cf08 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,52 +68,60 @@ 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) { @@ -105,34 +129,39 @@ private RecordLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -140,18 +169,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.
    * 
@@ -166,11 +202,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 @@ -178,11 +217,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 @@ -190,6 +232,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.
    * 
@@ -204,11 +248,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 @@ -216,18 +263,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`.
    * 
@@ -240,6 +294,7 @@ public com.google.privacy.dlp.v2.TableLocationOrBuilder getTableLocationOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,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 (recordKey_ != null) { output.writeMessage(1, getRecordKey()); } @@ -272,16 +326,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; @@ -291,7 +342,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); @@ -300,18 +351,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; @@ -341,118 +389,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() @@ -460,16 +517,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +551,9 @@ public Builder 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 @@ -516,7 +572,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 { @@ -540,38 +597,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; @@ -620,34 +678,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.
      * 
@@ -668,14 +739,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(); @@ -686,6 +758,8 @@ public Builder setRecordKey( return this; } /** + * + * *
      * Key of the finding.
      * 
@@ -696,7 +770,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; } @@ -708,6 +784,8 @@ public Builder mergeRecordKey(com.google.privacy.dlp.v2.RecordKey value) { return this; } /** + * + * *
      * Key of the finding.
      * 
@@ -726,6 +804,8 @@ public Builder clearRecordKey() { return this; } /** + * + * *
      * Key of the finding.
      * 
@@ -733,11 +813,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.
      * 
@@ -748,11 +830,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.
      * 
@@ -760,14 +845,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_; @@ -775,24 +863,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() { @@ -803,6 +900,8 @@ public com.google.privacy.dlp.v2.FieldId getFieldId() { } } /** + * + * *
      * Field id of the field containing the finding.
      * 
@@ -823,14 +922,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(); @@ -841,6 +941,8 @@ public Builder setFieldId( return this; } /** + * + * *
      * Field id of the field containing the finding.
      * 
@@ -851,7 +953,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; } @@ -863,6 +967,8 @@ public Builder mergeFieldId(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Field id of the field containing the finding.
      * 
@@ -881,6 +987,8 @@ public Builder clearFieldId() { return this; } /** + * + * *
      * Field id of the field containing the finding.
      * 
@@ -888,11 +996,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.
      * 
@@ -903,11 +1013,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.
      * 
@@ -915,14 +1026,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_; @@ -930,34 +1044,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`.
      * 
@@ -978,6 +1105,8 @@ public Builder setTableLocation(com.google.privacy.dlp.v2.TableLocation value) { return this; } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -996,6 +1125,8 @@ public Builder setTableLocation( return this; } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1006,7 +1137,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; } @@ -1018,6 +1151,8 @@ public Builder mergeTableLocation(com.google.privacy.dlp.v2.TableLocation value) return this; } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1036,6 +1171,8 @@ public Builder clearTableLocation() { return this; } /** + * + * *
      * Location within a `ContentItem.Table`.
      * 
@@ -1043,11 +1180,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`.
      * 
@@ -1058,11 +1197,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`.
      * 
@@ -1070,21 +1212,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); } @@ -1094,12 +1239,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(); } @@ -1108,16 +1253,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; @@ -1132,6 +1277,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 11b598ec..5fa5b700 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,26 +69,29 @@ 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) {
@@ -80,35 +99,40 @@ private RecordSuppression(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -116,19 +140,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.
@@ -142,6 +173,7 @@ public com.google.privacy.dlp.v2.RecordConditionOrBuilder getConditionOrBuilder(
   }
 
   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 (condition_ != null) {
       output.writeMessage(1, getCondition());
     }
@@ -168,8 +199,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;
@@ -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.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;
@@ -211,97 +241,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.
@@ -309,21 +346,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()
@@ -331,16 +370,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -354,9 +392,9 @@ public Builder 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
@@ -375,7 +413,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 {
@@ -389,38 +428,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;
@@ -463,36 +503,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.
@@ -514,6 +567,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.
@@ -521,8 +576,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();
@@ -533,6 +587,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.
@@ -544,7 +600,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;
         }
@@ -556,6 +614,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.
@@ -575,6 +635,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.
@@ -583,11 +645,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.
@@ -599,11 +663,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.
@@ -612,21 +679,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);
     }
 
@@ -636,12 +706,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();
   }
@@ -650,16 +720,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;
@@ -674,6 +744,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/RecordTransformation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformation.java
similarity index 71%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformation.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformation.java
index a0e1b01e..6f59bb29 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformation.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformation.java
@@ -1,36 +1,49 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/privacy/dlp/v2/dlp.proto
 
 package com.google.privacy.dlp.v2;
 
-/**
- * Protobuf type {@code google.privacy.dlp.v2.RecordTransformation}
- */
-public final class RecordTransformation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+/** Protobuf type {@code google.privacy.dlp.v2.RecordTransformation} */
+public final class RecordTransformation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.RecordTransformation)
     RecordTransformationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RecordTransformation.newBuilder() to construct.
   private RecordTransformation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RecordTransformation() {
     containerVersion_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RecordTransformation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RecordTransformation(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -49,45 +62,50 @@ private RecordTransformation(
           case 0:
             done = true;
             break;
-          case 10: {
-            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 10:
+            {
+              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.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 18:
+            {
+              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 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            containerVersion_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              containerVersion_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -95,34 +113,39 @@ private RecordTransformation(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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_RecordTransformation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.RecordTransformation.class, com.google.privacy.dlp.v2.RecordTransformation.Builder.class);
+            com.google.privacy.dlp.v2.RecordTransformation.class,
+            com.google.privacy.dlp.v2.RecordTransformation.Builder.class);
   }
 
   public static final int FIELD_ID_FIELD_NUMBER = 1;
   private com.google.privacy.dlp.v2.FieldId fieldId_;
   /**
+   *
+   *
    * 
    * For record transformations, provide a field.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 1; + * * @return Whether the fieldId field is set. */ @java.lang.Override @@ -130,11 +153,14 @@ public boolean hasFieldId() { return fieldId_ != null; } /** + * + * *
    * For record transformations, provide a field.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 1; + * * @return The fieldId. */ @java.lang.Override @@ -142,6 +168,8 @@ public com.google.privacy.dlp.v2.FieldId getFieldId() { return fieldId_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : fieldId_; } /** + * + * *
    * For record transformations, provide a field.
    * 
@@ -156,11 +184,14 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { public static final int CONTAINER_TIMESTAMP_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp containerTimestamp_; /** + * + * *
    * Findings container modification timestamp, if applicable.
    * 
* * .google.protobuf.Timestamp container_timestamp = 2; + * * @return Whether the containerTimestamp field is set. */ @java.lang.Override @@ -168,18 +199,25 @@ public boolean hasContainerTimestamp() { return containerTimestamp_ != null; } /** + * + * *
    * Findings container modification timestamp, if applicable.
    * 
* * .google.protobuf.Timestamp container_timestamp = 2; + * * @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.
    * 
@@ -194,11 +232,14 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() { public static final int CONTAINER_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object containerVersion_; /** + * + * *
    * Container version, if available ("generation" for Cloud Storage).
    * 
* * string container_version = 3; + * * @return The containerVersion. */ @java.lang.Override @@ -207,29 +248,29 @@ 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; } } /** + * + * *
    * Container version, if available ("generation" for Cloud Storage).
    * 
* * string container_version = 3; + * * @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 { @@ -238,6 +279,7 @@ public java.lang.String getContainerVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,8 +291,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (fieldId_ != null) { output.writeMessage(1, getFieldId()); } @@ -270,12 +311,10 @@ public int getSerializedSize() { size = 0; if (fieldId_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getFieldId()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFieldId()); } if (containerTimestamp_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getContainerTimestamp()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getContainerTimestamp()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, containerVersion_); @@ -288,25 +327,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.RecordTransformation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.RecordTransformation other = (com.google.privacy.dlp.v2.RecordTransformation) obj; + com.google.privacy.dlp.v2.RecordTransformation other = + (com.google.privacy.dlp.v2.RecordTransformation) obj; if (hasFieldId() != other.hasFieldId()) return false; if (hasFieldId()) { - if (!getFieldId() - .equals(other.getFieldId())) return false; + if (!getFieldId().equals(other.getFieldId())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,114 +370,119 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.RecordTransformation parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom(java.io.InputStream input) 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.RecordTransformation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.RecordTransformation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.RecordTransformation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordTransformation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.RecordTransformation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.RecordTransformation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.privacy.dlp.v2.RecordTransformation} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.privacy.dlp.v2.RecordTransformation} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.RecordTransformation) com.google.privacy.dlp.v2.RecordTransformationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordTransformation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.RecordTransformation.class, com.google.privacy.dlp.v2.RecordTransformation.Builder.class); + com.google.privacy.dlp.v2.RecordTransformation.class, + com.google.privacy.dlp.v2.RecordTransformation.Builder.class); } // Construct using com.google.privacy.dlp.v2.RecordTransformation.newBuilder() @@ -448,16 +490,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 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_RecordTransformation_descriptor; } @java.lang.Override @@ -500,7 +541,8 @@ public com.google.privacy.dlp.v2.RecordTransformation build() { @java.lang.Override public com.google.privacy.dlp.v2.RecordTransformation buildPartial() { - com.google.privacy.dlp.v2.RecordTransformation result = new com.google.privacy.dlp.v2.RecordTransformation(this); + com.google.privacy.dlp.v2.RecordTransformation result = + new com.google.privacy.dlp.v2.RecordTransformation(this); if (fieldIdBuilder_ == null) { result.fieldId_ = fieldId_; } else { @@ -520,38 +562,39 @@ public com.google.privacy.dlp.v2.RecordTransformation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.RecordTransformation) { - return mergeFrom((com.google.privacy.dlp.v2.RecordTransformation)other); + return mergeFrom((com.google.privacy.dlp.v2.RecordTransformation) other); } else { super.mergeFrom(other); return this; @@ -601,24 +644,33 @@ public Builder mergeFrom( 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_; /** + * + * *
      * For record transformations, provide a field.
      * 
* * .google.privacy.dlp.v2.FieldId field_id = 1; + * * @return Whether the fieldId field is set. */ public boolean hasFieldId() { return fieldIdBuilder_ != null || fieldId_ != null; } /** + * + * *
      * For record transformations, provide a field.
      * 
* * .google.privacy.dlp.v2.FieldId field_id = 1; + * * @return The fieldId. */ public com.google.privacy.dlp.v2.FieldId getFieldId() { @@ -629,6 +681,8 @@ public com.google.privacy.dlp.v2.FieldId getFieldId() { } } /** + * + * *
      * For record transformations, provide a field.
      * 
@@ -649,14 +703,15 @@ public Builder setFieldId(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * For record transformations, provide a field.
      * 
* * .google.privacy.dlp.v2.FieldId field_id = 1; */ - 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(); @@ -667,6 +722,8 @@ public Builder setFieldId( return this; } /** + * + * *
      * For record transformations, provide a field.
      * 
@@ -677,7 +734,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; } @@ -689,6 +748,8 @@ public Builder mergeFieldId(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * For record transformations, provide a field.
      * 
@@ -707,6 +768,8 @@ public Builder clearFieldId() { return this; } /** + * + * *
      * For record transformations, provide a field.
      * 
@@ -714,11 +777,13 @@ public Builder clearFieldId() { * .google.privacy.dlp.v2.FieldId field_id = 1; */ public com.google.privacy.dlp.v2.FieldId.Builder getFieldIdBuilder() { - + onChanged(); return getFieldIdFieldBuilder().getBuilder(); } /** + * + * *
      * For record transformations, provide a field.
      * 
@@ -729,11 +794,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_; } } /** + * + * *
      * For record transformations, provide a field.
      * 
@@ -741,14 +807,17 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { * .google.privacy.dlp.v2.FieldId field_id = 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> 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_; @@ -756,34 +825,47 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder() { 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.
      * 
* * .google.protobuf.Timestamp container_timestamp = 2; + * * @return Whether the containerTimestamp field is set. */ public boolean hasContainerTimestamp() { return containerTimestampBuilder_ != null || containerTimestamp_ != null; } /** + * + * *
      * Findings container modification timestamp, if applicable.
      * 
* * .google.protobuf.Timestamp container_timestamp = 2; + * * @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.
      * 
@@ -804,14 +886,15 @@ public Builder setContainerTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Findings container modification timestamp, if applicable.
      * 
* * .google.protobuf.Timestamp container_timestamp = 2; */ - 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(); @@ -822,6 +905,8 @@ public Builder setContainerTimestamp( return this; } /** + * + * *
      * Findings container modification timestamp, if applicable.
      * 
@@ -832,7 +917,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; } @@ -844,6 +931,8 @@ public Builder mergeContainerTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Findings container modification timestamp, if applicable.
      * 
@@ -862,6 +951,8 @@ public Builder clearContainerTimestamp() { return this; } /** + * + * *
      * Findings container modification timestamp, if applicable.
      * 
@@ -869,11 +960,13 @@ public Builder clearContainerTimestamp() { * .google.protobuf.Timestamp container_timestamp = 2; */ public com.google.protobuf.Timestamp.Builder getContainerTimestampBuilder() { - + onChanged(); return getContainerTimestampFieldBuilder().getBuilder(); } /** + * + * *
      * Findings container modification timestamp, if applicable.
      * 
@@ -884,11 +977,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.
      * 
@@ -896,14 +992,17 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() { * .google.protobuf.Timestamp container_timestamp = 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> 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_; @@ -911,18 +1010,20 @@ public com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder() { private java.lang.Object containerVersion_ = ""; /** + * + * *
      * Container version, if available ("generation" for Cloud Storage).
      * 
* * string container_version = 3; + * * @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; @@ -931,20 +1032,21 @@ public java.lang.String getContainerVersion() { } } /** + * + * *
      * Container version, if available ("generation" for Cloud Storage).
      * 
* * string container_version = 3; + * * @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 { @@ -952,61 +1054,68 @@ public java.lang.String getContainerVersion() { } } /** + * + * *
      * Container version, if available ("generation" for Cloud Storage).
      * 
* * string container_version = 3; + * * @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; } /** + * + * *
      * Container version, if available ("generation" for Cloud Storage).
      * 
* * string container_version = 3; + * * @return This builder for chaining. */ public Builder clearContainerVersion() { - + containerVersion_ = getDefaultInstance().getContainerVersion(); onChanged(); return this; } /** + * + * *
      * Container version, if available ("generation" for Cloud Storage).
      * 
* * string container_version = 3; + * * @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); } @@ -1016,12 +1125,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.RecordTransformation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordTransformation) private static final com.google.privacy.dlp.v2.RecordTransformation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.RecordTransformation(); } @@ -1030,16 +1139,16 @@ public static com.google.privacy.dlp.v2.RecordTransformation getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecordTransformation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecordTransformation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecordTransformation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecordTransformation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1054,6 +1163,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.RecordTransformation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationOrBuilder.java index 0d0990a3..e9253af0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/RecordTransformationOrBuilder.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 RecordTransformationOrBuilder extends +public interface RecordTransformationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.RecordTransformation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * For record transformations, provide a field.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 1; + * * @return Whether the fieldId field is set. */ boolean hasFieldId(); /** + * + * *
    * For record transformations, provide a field.
    * 
* * .google.privacy.dlp.v2.FieldId field_id = 1; + * * @return The fieldId. */ com.google.privacy.dlp.v2.FieldId getFieldId(); /** + * + * *
    * For record transformations, provide a field.
    * 
@@ -35,24 +59,32 @@ public interface RecordTransformationOrBuilder extends com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldIdOrBuilder(); /** + * + * *
    * Findings container modification timestamp, if applicable.
    * 
* * .google.protobuf.Timestamp container_timestamp = 2; + * * @return Whether the containerTimestamp field is set. */ boolean hasContainerTimestamp(); /** + * + * *
    * Findings container modification timestamp, if applicable.
    * 
* * .google.protobuf.Timestamp container_timestamp = 2; + * * @return The containerTimestamp. */ com.google.protobuf.Timestamp getContainerTimestamp(); /** + * + * *
    * Findings container modification timestamp, if applicable.
    * 
@@ -62,22 +94,27 @@ public interface RecordTransformationOrBuilder extends com.google.protobuf.TimestampOrBuilder getContainerTimestampOrBuilder(); /** + * + * *
    * Container version, if available ("generation" for Cloud Storage).
    * 
* * string container_version = 3; + * * @return The containerVersion. */ java.lang.String getContainerVersion(); /** + * + * *
    * Container version, if available ("generation" for Cloud Storage).
    * 
* * string container_version = 3; + * * @return The bytes for containerVersion. */ - com.google.protobuf.ByteString - getContainerVersionBytes(); + com.google.protobuf.ByteString getContainerVersionBytes(); } 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 593d41c4..ecd9bc37 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,31 +73,37 @@ 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) {
@@ -88,8 +111,7 @@ private RecordTransformations(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -101,22 +123,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.
    * 
@@ -124,10 +151,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.
    * 
@@ -135,11 +165,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.
    * 
@@ -151,6 +183,8 @@ public int getFieldTransformationsCount() { return fieldTransformations_.size(); } /** + * + * *
    * Transform the record by applying various field transformations.
    * 
@@ -162,6 +196,8 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int return fieldTransformations_.get(index); } /** + * + * *
    * Transform the record by applying various field transformations.
    * 
@@ -177,6 +213,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.
@@ -189,6 +227,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.
@@ -197,11 +237,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.
@@ -214,6 +256,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.
@@ -226,6 +270,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.
@@ -240,6 +286,7 @@ public com.google.privacy.dlp.v2.RecordSuppressionOrBuilder getRecordSuppression
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -251,8 +298,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < fieldTransformations_.size(); i++) {
       output.writeMessage(1, fieldTransformations_.get(i));
     }
@@ -269,12 +315,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;
@@ -284,17 +330,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;
   }
@@ -319,97 +364,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.
@@ -417,21 +469,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()
@@ -439,18 +493,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();
@@ -470,9 +524,9 @@ public Builder 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
@@ -491,7 +545,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)) {
@@ -519,38 +574,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;
@@ -558,7 +614,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()) {
@@ -577,9 +634,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_);
           }
@@ -603,9 +661,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_);
           }
@@ -639,28 +698,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 { @@ -668,6 +737,8 @@ public java.util.List getFieldTra } } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -682,6 +753,8 @@ public int getFieldTransformationsCount() { } } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -696,6 +769,8 @@ public com.google.privacy.dlp.v2.FieldTransformation getFieldTransformations(int } } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -717,6 +792,8 @@ public Builder setFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -735,6 +812,8 @@ public Builder setFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -755,6 +834,8 @@ public Builder addFieldTransformations(com.google.privacy.dlp.v2.FieldTransforma return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -776,6 +857,8 @@ public Builder addFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -794,6 +877,8 @@ public Builder addFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -812,6 +897,8 @@ public Builder addFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -822,8 +909,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); @@ -831,6 +917,8 @@ public Builder addAllFieldTransformations( return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -848,6 +936,8 @@ public Builder clearFieldTransformations() { return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -865,6 +955,8 @@ public Builder removeFieldTransformations(int index) { return this; } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -876,6 +968,8 @@ public com.google.privacy.dlp.v2.FieldTransformation.Builder getFieldTransformat return getFieldTransformationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -885,19 +979,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 { @@ -905,6 +1002,8 @@ public com.google.privacy.dlp.v2.FieldTransformationOrBuilder getFieldTransforma } } /** + * + * *
      * Transform the record by applying various field transformations.
      * 
@@ -912,10 +1011,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.
      * 
@@ -924,26 +1025,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(), @@ -954,18 +1063,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.
@@ -981,6 +1098,8 @@ public java.util.List getRecordSupp
       }
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -996,6 +1115,8 @@ public int getRecordSuppressionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1011,6 +1132,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.
@@ -1033,6 +1156,8 @@ public Builder setRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1052,6 +1177,8 @@ public Builder setRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1073,6 +1200,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.
@@ -1095,6 +1224,8 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1114,6 +1245,8 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1133,6 +1266,8 @@ public Builder addRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1144,8 +1279,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);
@@ -1153,6 +1287,8 @@ public Builder addAllRecordSuppressions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1171,6 +1307,8 @@ public Builder clearRecordSuppressions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration defining which records get suppressed entirely. Records that
      * match any suppression rule are omitted from the output.
@@ -1189,6 +1327,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.
@@ -1201,6 +1341,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.
@@ -1211,11 +1353,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.
@@ -1223,8 +1368,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 {
@@ -1232,6 +1377,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.
@@ -1240,10 +1387,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.
@@ -1253,10 +1402,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.
@@ -1264,16 +1415,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(),
@@ -1282,9 +1439,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);
     }
 
@@ -1294,12 +1451,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();
   }
@@ -1308,16 +1465,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;
@@ -1332,6 +1489,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 68%
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 69e2e888..913294ad 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,13 +70,13 @@ 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) {
@@ -68,27 +84,30 @@ private RedactConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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;
@@ -100,8 +119,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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);
   }
 
@@ -119,7 +137,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);
@@ -142,97 +160,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
@@ -241,21 +266,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()
@@ -263,16 +290,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();
@@ -280,9 +306,9 @@ public Builder 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
@@ -301,7 +327,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;
     }
@@ -310,38 +337,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;
@@ -378,9 +406,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);
     }
 
@@ -390,12 +418,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();
   }
@@ -404,16 +432,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;
@@ -428,6 +456,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 54c3f7a5..47165b6e 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,65 +74,78 @@ 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) {
@@ -123,8 +153,7 @@ private RedactImageRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -133,24 +162,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
@@ -159,10 +194,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
@@ -171,10 +209,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
@@ -187,47 +228,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.
@@ -237,39 +292,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) @@ -288,45 +345,50 @@ 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: { - target_ = input.readBool(); - targetCase_ = 2; - break; - } - case 26: { - com.google.privacy.dlp.v2.Color.Builder subBuilder = null; - if (redactionColor_ != null) { - subBuilder = redactionColor_.toBuilder(); + case 16: + { + target_ = input.readBool(); + targetCase_ = 2; + 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) { @@ -334,35 +396,40 @@ private ImageRedactionConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; } @@ -378,25 +445,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
@@ -405,6 +477,7 @@ public int getNumber() {
      * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -412,6 +485,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
@@ -420,16 +495,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
@@ -442,19 +520,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 @@ -462,12 +543,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 @@ -481,12 +565,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 @@ -494,19 +581,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.
@@ -520,6 +614,7 @@ public com.google.privacy.dlp.v2.ColorOrBuilder getRedactionColorOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -531,14 +626,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());
@@ -553,17 +646,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;
@@ -573,27 +666,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:
@@ -620,8 +711,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:
@@ -632,87 +722,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
@@ -722,44 +820,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(); @@ -775,14 +878,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 @@ -796,7 +901,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_; @@ -821,61 +927,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(); @@ -896,7 +1012,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) { @@ -905,12 +1023,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() { @@ -920,10 +1038,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
@@ -932,6 +1054,7 @@ public Builder clearTarget() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -939,6 +1062,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
@@ -947,6 +1072,7 @@ public boolean hasInfoType() {
        * 
* * .google.privacy.dlp.v2.InfoType info_type = 1; + * * @return The infoType. */ @java.lang.Override @@ -964,6 +1090,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
@@ -987,6 +1115,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
@@ -996,8 +1126,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();
@@ -1008,6 +1137,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
@@ -1019,10 +1150,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;
           }
@@ -1038,6 +1172,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
@@ -1064,6 +1200,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
@@ -1077,6 +1215,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
@@ -1098,6 +1238,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
@@ -1108,43 +1250,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() { @@ -1154,12 +1306,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. */ @@ -1170,12 +1325,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() { @@ -1189,36 +1347,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.
@@ -1240,6 +1411,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.
@@ -1247,8 +1420,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();
@@ -1259,6 +1431,8 @@ public Builder setRedactionColor(
         return this;
       }
       /**
+       *
+       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1270,7 +1444,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;
           }
@@ -1282,6 +1458,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.
@@ -1301,6 +1479,8 @@ public Builder clearRedactionColor() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The color to use when redacting content from an image. If not specified,
        * the default is black.
@@ -1309,11 +1489,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.
@@ -1325,11 +1507,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.
@@ -1338,18 +1523,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) {
@@ -1362,30 +1551,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;
@@ -1397,15 +1588,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
@@ -1422,6 +1615,7 @@ public com.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig getDefa
    * 
* * string parent = 1 [(.google.api.resource_reference) = { ... } + * * @return The parent. */ @java.lang.Override @@ -1430,14 +1624,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
@@ -1454,16 +1649,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 { @@ -1474,11 +1668,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 @@ -1487,29 +1684,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 { @@ -1520,11 +1717,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 @@ -1532,18 +1732,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.
    * 
@@ -1556,74 +1763,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 @@ -1634,11 +1868,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 @@ -1646,18 +1883,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.
    * 
@@ -1670,6 +1914,7 @@ public com.google.privacy.dlp.v2.ByteContentItemOrBuilder getByteItemOrBuilder() } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1681,8 +1926,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1714,20 +1958,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_); @@ -1740,30 +1982,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; @@ -1789,8 +2026,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(); @@ -1800,97 +2036,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.
@@ -1898,21 +2141,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()
@@ -1920,17 +2165,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();
@@ -1962,9 +2207,9 @@ public Builder 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
@@ -1983,7 +2228,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_;
@@ -2015,38 +2261,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;
@@ -2084,9 +2331,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_);
           }
@@ -2126,10 +2374,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
@@ -2146,13 +2397,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; @@ -2161,6 +2412,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2177,15 +2430,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 { @@ -2193,6 +2445,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -2209,20 +2463,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
@@ -2239,15 +2495,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
@@ -2264,16 +2523,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; @@ -2281,18 +2540,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; @@ -2301,20 +2562,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 { @@ -2322,54 +2584,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; @@ -2377,34 +2646,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.
      * 
@@ -2425,6 +2707,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2443,6 +2727,8 @@ public Builder setInspectConfig( return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2453,7 +2739,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; } @@ -2465,6 +2753,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2483,6 +2773,8 @@ public Builder clearInspectConfig() { return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -2490,11 +2782,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.
      * 
@@ -2505,11 +2799,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.
      * 
@@ -2517,39 +2814,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 { @@ -2557,11 +2869,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) { @@ -2571,13 +2887,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 { @@ -2585,11 +2906,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) { @@ -2606,14 +2931,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()); @@ -2624,13 +2954,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(); @@ -2644,11 +2979,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) { @@ -2665,11 +3004,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) { @@ -2683,14 +3026,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()); @@ -2701,18 +3049,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); @@ -2720,11 +3073,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) { @@ -2737,11 +3094,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) { @@ -2754,39 +3115,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 { @@ -2794,45 +3169,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(), @@ -2842,14 +3241,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 @@ -2857,32 +3259,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; @@ -2890,34 +3298,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.
      * 
@@ -2938,14 +3359,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(); @@ -2956,6 +3378,8 @@ public Builder setByteItem( return this; } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -2966,7 +3390,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; } @@ -2978,6 +3404,8 @@ public Builder mergeByteItem(com.google.privacy.dlp.v2.ByteContentItem value) { return this; } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -2996,6 +3424,8 @@ public Builder clearByteItem() { return this; } /** + * + * *
      * The content must be PNG, JPEG, SVG or BMP.
      * 
@@ -3003,11 +3433,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.
      * 
@@ -3018,11 +3450,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.
      * 
@@ -3030,21 +3465,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); } @@ -3054,12 +3492,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(); } @@ -3068,16 +3506,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; @@ -3092,6 +3530,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 6652f23c..e2e11b14 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,37 +71,41 @@ 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) { @@ -92,34 +113,39 @@ private RedactImageResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -130,6 +156,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
@@ -137,6 +165,7 @@ public com.google.protobuf.ByteString getRedactedImage() {
    * 
* * string extracted_text = 2; + * * @return The extractedText. */ @java.lang.Override @@ -145,14 +174,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
@@ -160,16 +190,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 { @@ -180,11 +209,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 @@ -192,18 +224,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.
    * 
@@ -216,6 +255,7 @@ public com.google.privacy.dlp.v2.InspectResultOrBuilder getInspectResultOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!redactedImage_.isEmpty()) { output.writeBytes(1, redactedImage_); } @@ -248,15 +287,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; @@ -266,21 +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.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; @@ -306,118 +341,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() @@ -425,16 +469,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(); @@ -452,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_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 @@ -473,7 +516,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) { @@ -489,38 +533,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; @@ -570,11 +615,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 @@ -582,33 +630,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; @@ -616,6 +670,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
@@ -623,13 +679,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; @@ -638,6 +694,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
@@ -645,15 +703,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 { @@ -661,6 +718,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
@@ -668,20 +727,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
@@ -689,15 +750,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
@@ -705,16 +769,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; @@ -722,34 +786,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.
      * 
@@ -770,6 +847,8 @@ public Builder setInspectResult(com.google.privacy.dlp.v2.InspectResult value) { return this; } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -788,6 +867,8 @@ public Builder setInspectResult( return this; } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -798,7 +879,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; } @@ -810,6 +893,8 @@ public Builder mergeInspectResult(com.google.privacy.dlp.v2.InspectResult value) return this; } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -828,6 +913,8 @@ public Builder clearInspectResult() { return this; } /** + * + * *
      * The findings. Populated when include_findings in the request is true.
      * 
@@ -835,11 +922,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.
      * 
@@ -850,11 +939,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.
      * 
@@ -862,21 +954,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); } @@ -886,12 +981,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(); } @@ -900,16 +995,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; @@ -924,6 +1019,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 f7dbf974..2760c008 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,76 +73,89 @@ 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) { @@ -133,29 +163,33 @@ private ReidentifyContentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -171,7 +205,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 @@ -180,14 +217,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
@@ -203,17 +241,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 { @@ -224,6 +263,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
@@ -237,6 +278,7 @@ public java.lang.String getParent() {
    * 
* * .google.privacy.dlp.v2.DeidentifyConfig reidentify_config = 2; + * * @return Whether the reidentifyConfig field is set. */ @java.lang.Override @@ -244,6 +286,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
@@ -257,13 +301,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
@@ -286,11 +335,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 @@ -298,18 +350,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.
    * 
@@ -324,11 +383,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 @@ -336,11 +398,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 @@ -348,6 +413,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.
    * 
@@ -362,6 +429,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
@@ -371,6 +440,7 @@ public com.google.privacy.dlp.v2.ContentItemOrBuilder getItemOrBuilder() {
    * 
* * string inspect_template_name = 5; + * * @return The inspectTemplateName. */ @java.lang.Override @@ -379,14 +449,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
@@ -396,16 +467,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 { @@ -416,6 +486,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
@@ -427,6 +499,7 @@ public java.lang.String getInspectTemplateName() {
    * 
* * string reidentify_template_name = 6; + * * @return The reidentifyTemplateName. */ @java.lang.Override @@ -435,14 +508,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
@@ -454,16 +528,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 { @@ -474,11 +547,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 @@ -487,29 +563,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 { @@ -518,6 +594,7 @@ public java.lang.String getLocationId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -529,8 +606,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -565,16 +641,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_); @@ -593,36 +666,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; } @@ -660,117 +727,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() @@ -778,16 +854,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(); @@ -821,9 +896,9 @@ public Builder 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 @@ -842,7 +917,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_; @@ -870,38 +946,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; @@ -909,7 +986,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(); @@ -954,7 +1032,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) { @@ -966,6 +1045,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
@@ -981,14 +1062,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; @@ -997,6 +1080,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1012,16 +1097,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 { @@ -1029,6 +1115,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource name.
      * The format of this value varies depending on whether you have [specified a
@@ -1044,21 +1132,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
@@ -1074,16 +1166,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
@@ -1099,17 +1196,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; @@ -1117,8 +1216,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
@@ -1132,12 +1236,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
@@ -1151,16 +1258,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
@@ -1189,6 +1301,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
@@ -1215,6 +1329,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
@@ -1233,7 +1349,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;
         }
@@ -1245,6 +1363,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
@@ -1271,6 +1391,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
@@ -1286,11 +1408,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
@@ -1309,11 +1433,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
@@ -1329,14 +1456,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_;
@@ -1344,34 +1474,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.
      * 
@@ -1392,6 +1535,8 @@ public Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) { return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1410,6 +1555,8 @@ public Builder setInspectConfig( return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1420,7 +1567,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; } @@ -1432,6 +1581,8 @@ public Builder mergeInspectConfig(com.google.privacy.dlp.v2.InspectConfig value) return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1450,6 +1601,8 @@ public Builder clearInspectConfig() { return this; } /** + * + * *
      * Configuration for the inspector.
      * 
@@ -1457,11 +1610,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.
      * 
@@ -1472,11 +1627,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.
      * 
@@ -1484,14 +1642,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_; @@ -1499,24 +1660,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() { @@ -1527,6 +1697,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1547,14 +1719,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(); @@ -1565,6 +1738,8 @@ public Builder setItem( return this; } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1575,7 +1750,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; } @@ -1587,6 +1764,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1605,6 +1784,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The item to re-identify. Will be treated as text.
      * 
@@ -1612,11 +1793,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.
      * 
@@ -1627,11 +1810,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.
      * 
@@ -1639,14 +1823,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_; @@ -1654,6 +1841,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
@@ -1663,13 +1852,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; @@ -1678,6 +1867,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
@@ -1687,15 +1878,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 { @@ -1703,6 +1893,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
@@ -1712,20 +1904,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
@@ -1735,15 +1929,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
@@ -1753,16 +1950,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; @@ -1770,6 +1967,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
@@ -1781,13 +1980,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; @@ -1796,6 +1995,8 @@ public java.lang.String getReidentifyTemplateName() { } } /** + * + * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -1807,15 +2008,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 { @@ -1823,6 +2023,8 @@ public java.lang.String getReidentifyTemplateName() { } } /** + * + * *
      * Template to use. References an instance of `DeidentifyTemplate`.
      * Any configuration directly specified in `reidentify_config` or
@@ -1834,20 +2036,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
@@ -1859,15 +2063,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
@@ -1879,16 +2086,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; @@ -1896,18 +2103,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; @@ -1916,20 +2125,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 { @@ -1937,61 +2147,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); } @@ -2001,12 +2218,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(); } @@ -2015,16 +2232,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; @@ -2039,6 +2256,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 5da38a8a..d020c9e2 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 an 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,39 +68,45 @@ 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) { @@ -92,34 +114,39 @@ private ReidentifyContentResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -127,11 +154,14 @@ public boolean hasItem() { return item_ != null; } /** + * + * *
    * The re-identified item.
    * 
* * .google.privacy.dlp.v2.ContentItem item = 1; + * * @return The item. */ @java.lang.Override @@ -139,6 +169,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { return item_ == null ? com.google.privacy.dlp.v2.ContentItem.getDefaultInstance() : item_; } /** + * + * *
    * The re-identified item.
    * 
@@ -153,11 +185,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 @@ -165,18 +200,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`.
    * 
@@ -189,6 +231,7 @@ public com.google.privacy.dlp.v2.TransformationOverviewOrBuilder getOverviewOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,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 (item_ != null) { output.writeMessage(1, getItem()); } @@ -218,12 +260,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; @@ -233,22 +273,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; @@ -275,117 +314,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 an 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() @@ -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_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 @@ -443,7 +490,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 { @@ -462,38 +510,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; @@ -501,7 +550,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()); } @@ -527,7 +577,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) { @@ -539,24 +590,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() { @@ -567,6 +627,8 @@ public com.google.privacy.dlp.v2.ContentItem getItem() { } } /** + * + * *
      * The re-identified item.
      * 
@@ -587,14 +649,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(); @@ -605,6 +668,8 @@ public Builder setItem( return this; } /** + * + * *
      * The re-identified item.
      * 
@@ -615,7 +680,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 +694,8 @@ public Builder mergeItem(com.google.privacy.dlp.v2.ContentItem value) { return this; } /** + * + * *
      * The re-identified item.
      * 
@@ -645,6 +714,8 @@ public Builder clearItem() { return this; } /** + * + * *
      * The re-identified item.
      * 
@@ -652,11 +723,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.
      * 
@@ -667,11 +740,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.
      * 
@@ -679,14 +753,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 +771,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`.
      * 
@@ -742,6 +832,8 @@ public Builder setOverview(com.google.privacy.dlp.v2.TransformationOverview valu return this; } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -760,6 +852,8 @@ public Builder setOverview( return this; } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -770,7 +864,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; } @@ -782,6 +878,8 @@ public Builder mergeOverview(com.google.privacy.dlp.v2.TransformationOverview va return this; } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -800,6 +898,8 @@ public Builder clearOverview() { return this; } /** + * + * *
      * An overview of the changes that were made to the `item`.
      * 
@@ -807,11 +907,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`.
      * 
@@ -822,11 +924,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`.
      * 
@@ -834,21 +939,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); } @@ -858,12 +966,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(); } @@ -872,16 +980,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; @@ -896,6 +1004,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 31c4332e..117e32da 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(3); } @@ -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 f98afeb6..4f7b5d81 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,27 +68,34 @@ 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) { @@ -80,34 +103,39 @@ private ReplaceDictionaryConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; } @@ -123,24 +151,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
@@ -148,6 +180,7 @@ public int getNumber() {
    * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return Whether the wordList field is set. */ @java.lang.Override @@ -155,6 +188,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
@@ -162,16 +197,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
@@ -181,14 +219,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;
@@ -200,8 +240,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (typeCase_ == 1) {
       output.writeMessage(1, (com.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) type_);
     }
@@ -215,8 +254,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;
@@ -226,18 +266,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:
@@ -267,117 +307,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() @@ -385,16 +434,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(); @@ -404,9 +452,9 @@ public Builder 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 @@ -425,7 +473,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_; @@ -442,38 +491,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; @@ -481,15 +531,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(); @@ -510,7 +563,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) { @@ -519,12 +573,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() { @@ -534,10 +588,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
@@ -545,6 +603,7 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return Whether the wordList field is set. */ @java.lang.Override @@ -552,6 +611,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
@@ -559,6 +620,7 @@ public boolean hasWordList() {
      * 
* * .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; + * * @return The wordList. */ @java.lang.Override @@ -576,6 +638,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
@@ -598,6 +662,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
@@ -618,6 +684,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
@@ -626,12 +694,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;
         }
@@ -647,6 +721,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
@@ -672,6 +748,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
@@ -680,10 +758,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
@@ -693,7 +774,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 {
@@ -704,6 +786,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
@@ -713,26 +797,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);
     }
 
@@ -742,12 +832,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();
   }
@@ -756,16 +846,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;
@@ -780,6 +870,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 452727c9..a5195d3b 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,26 +68,28 @@ 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) { @@ -79,34 +97,39 @@ private ReplaceValueConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -114,11 +137,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 @@ -126,6 +152,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.
    * 
@@ -138,6 +166,7 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getNewValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -164,8 +192,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; @@ -175,17 +202,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; @@ -207,118 +234,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() @@ -326,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(); @@ -349,9 +384,9 @@ public Builder 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 @@ -370,7 +405,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 { @@ -384,38 +420,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; @@ -458,24 +495,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() { @@ -486,6 +532,8 @@ public com.google.privacy.dlp.v2.Value getNewValue() { } } /** + * + * *
      * Value to replace it with.
      * 
@@ -506,14 +554,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(); @@ -524,6 +573,8 @@ public Builder setNewValue( return this; } /** + * + * *
      * Value to replace it with.
      * 
@@ -534,7 +585,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; } @@ -546,6 +597,8 @@ public Builder mergeNewValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
      * Value to replace it with.
      * 
@@ -564,6 +617,8 @@ public Builder clearNewValue() { return this; } /** + * + * *
      * Value to replace it with.
      * 
@@ -571,11 +626,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.
      * 
@@ -586,11 +643,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.
      * 
@@ -598,21 +656,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); } @@ -622,12 +683,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(); } @@ -636,16 +697,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; @@ -660,6 +721,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 49d41adc..40d89941 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,13 +68,13 @@ 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) { @@ -66,27 +82,30 @@ private ReplaceWithInfoTypeConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; @@ -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,12 +135,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; @@ -141,117 +160,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() @@ -259,16 +287,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 +303,9 @@ public Builder 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 @@ -297,7 +324,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; } @@ -306,38 +334,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; @@ -345,7 +374,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; @@ -365,7 +395,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) { @@ -374,9 +405,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 +417,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(); } @@ -400,16 +431,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; @@ -424,6 +455,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/ResourceVisibility.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ResourceVisibility.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ResourceVisibility.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ResourceVisibility.java index f0ba9260..4ac4fb7a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ResourceVisibility.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ResourceVisibility.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 broadly a resource has been shared. New items may be added over time.
  * A higher number means more restricted.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.privacy.dlp.v2.ResourceVisibility}
  */
-public enum ResourceVisibility
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ResourceVisibility implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Unused.
    * 
@@ -22,6 +40,8 @@ public enum ResourceVisibility */ RESOURCE_VISIBILITY_UNSPECIFIED(0), /** + * + * *
    * Visible to any user.
    * 
@@ -30,6 +50,8 @@ public enum ResourceVisibility */ RESOURCE_VISIBILITY_PUBLIC(10), /** + * + * *
    * Visible only to specific users.
    * 
@@ -41,6 +63,8 @@ public enum ResourceVisibility ; /** + * + * *
    * Unused.
    * 
@@ -49,6 +73,8 @@ public enum ResourceVisibility */ public static final int RESOURCE_VISIBILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Visible to any user.
    * 
@@ -57,6 +83,8 @@ public enum ResourceVisibility */ public static final int RESOURCE_VISIBILITY_PUBLIC_VALUE = 10; /** + * + * *
    * Visible only to specific users.
    * 
@@ -65,7 +93,6 @@ public enum ResourceVisibility */ public static final int RESOURCE_VISIBILITY_RESTRICTED_VALUE = 20; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -90,39 +117,42 @@ public static ResourceVisibility valueOf(int value) { */ public static ResourceVisibility forNumber(int value) { switch (value) { - case 0: return RESOURCE_VISIBILITY_UNSPECIFIED; - case 10: return RESOURCE_VISIBILITY_PUBLIC; - case 20: return RESOURCE_VISIBILITY_RESTRICTED; - default: return null; + case 0: + return RESOURCE_VISIBILITY_UNSPECIFIED; + case 10: + return RESOURCE_VISIBILITY_PUBLIC; + case 20: + return RESOURCE_VISIBILITY_RESTRICTED; + 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< - ResourceVisibility> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ResourceVisibility findValueByNumber(int number) { - return ResourceVisibility.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 ResourceVisibility findValueByNumber(int number) { + return ResourceVisibility.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(10); } @@ -131,8 +161,7 @@ public ResourceVisibility findValueByNumber(int number) { public static ResourceVisibility 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; @@ -148,4 +177,3 @@ private ResourceVisibility(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.ResourceVisibility) } - 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 a512fc3e..88551431 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,48 +72,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();
-            }
+          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) {
@@ -104,8 +128,7 @@ private RiskAnalysisJobConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -114,27 +137,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 @@ -142,18 +171,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.
    * 
@@ -168,11 +204,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 @@ -180,18 +219,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.
    * 
@@ -206,6 +252,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.
@@ -218,6 +266,8 @@ public java.util.List getActionsList() {
     return actions_;
   }
   /**
+   *
+   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -226,11 +276,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.
@@ -243,6 +295,8 @@ public int getActionsCount() {
     return actions_.size();
   }
   /**
+   *
+   *
    * 
    * Actions to execute at the completion of the job. Are executed in the order
    * provided.
@@ -255,6 +309,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.
@@ -263,12 +319,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;
@@ -280,8 +336,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -301,16 +356,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;
@@ -320,25 +372,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;
   }
@@ -367,97 +417,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.
@@ -465,21 +522,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()
@@ -487,17 +546,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();
@@ -523,9 +582,9 @@ public Builder 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
@@ -544,7 +603,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_;
@@ -573,38 +633,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;
@@ -612,7 +673,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());
       }
@@ -637,9 +699,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_);
           }
@@ -673,38 +736,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.
      * 
@@ -725,6 +802,8 @@ public Builder setPrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) { return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -743,6 +822,8 @@ public Builder setPrivacyMetric( return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -753,7 +834,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; } @@ -765,6 +848,8 @@ public Builder mergePrivacyMetric(com.google.privacy.dlp.v2.PrivacyMetric value) return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -783,6 +868,8 @@ public Builder clearPrivacyMetric() { return this; } /** + * + * *
      * Privacy metric to compute.
      * 
@@ -790,11 +877,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.
      * 
@@ -805,11 +894,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.
      * 
@@ -817,14 +909,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_; @@ -832,34 +927,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.
      * 
@@ -880,14 +988,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(); @@ -898,6 +1007,8 @@ public Builder setSourceTable( return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -908,7 +1019,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; } @@ -920,6 +1033,8 @@ public Builder mergeSourceTable(com.google.privacy.dlp.v2.BigQueryTable value) { return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -938,6 +1053,8 @@ public Builder clearSourceTable() { return this; } /** + * + * *
      * Input dataset to compute metrics over.
      * 
@@ -945,11 +1062,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.
      * 
@@ -960,11 +1079,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.
      * 
@@ -972,32 +1094,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.
@@ -1013,6 +1144,8 @@ public java.util.List getActionsList() {
       }
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1028,6 +1161,8 @@ public int getActionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1043,6 +1178,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.
@@ -1050,8 +1187,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();
@@ -1065,6 +1201,8 @@ public Builder setActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1072,8 +1210,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());
@@ -1084,6 +1221,8 @@ public Builder setActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1105,6 +1244,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.
@@ -1112,8 +1253,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();
@@ -1127,6 +1267,8 @@ public Builder addActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1134,8 +1276,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());
@@ -1146,6 +1287,8 @@ public Builder addActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1153,8 +1296,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());
@@ -1165,6 +1307,8 @@ public Builder addActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1176,8 +1320,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);
@@ -1185,6 +1328,8 @@ public Builder addAllActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1203,6 +1348,8 @@ public Builder clearActions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1221,6 +1368,8 @@ public Builder removeActions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1228,11 +1377,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.
@@ -1240,14 +1390,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.
@@ -1255,8 +1407,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 {
@@ -1264,6 +1416,8 @@ public com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Actions to execute at the completion of the job. Are executed in the order
      * provided.
@@ -1272,10 +1426,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.
@@ -1283,12 +1439,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.
@@ -1296,27 +1453,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);
     }
 
@@ -1326,12 +1485,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();
   }
@@ -1340,16 +1499,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;
@@ -1364,6 +1523,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 74%
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 6e693ddb..2b0a0c9a 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,27 +68,27 @@ 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) { @@ -80,34 +96,39 @@ private Schedule( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; } @@ -123,24 +144,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 on a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -151,6 +176,7 @@ public int getNumber() {
    * 
* * .google.protobuf.Duration recurrence_period_duration = 1; + * * @return Whether the recurrencePeriodDuration field is set. */ @java.lang.Override @@ -158,6 +184,8 @@ public boolean hasRecurrencePeriodDuration() { return optionCase_ == 1; } /** + * + * *
    * With this option a job is started on a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -168,16 +196,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 on a regular periodic basis. For
    * example: every day (86400 seconds).
@@ -192,12 +223,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;
@@ -209,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 (optionCase_ == 1) {
       output.writeMessage(1, (com.google.protobuf.Duration) option_);
     }
@@ -224,8 +255,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;
@@ -235,7 +267,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);
@@ -245,8 +277,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:
@@ -275,118 +307,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() @@ -394,16 +434,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(); @@ -413,9 +452,9 @@ public Builder 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 @@ -451,38 +490,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; @@ -492,13 +532,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(); @@ -528,12 +570,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() { @@ -543,10 +585,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 on a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -557,6 +603,7 @@ public Builder clearOption() {
      * 
* * .google.protobuf.Duration recurrence_period_duration = 1; + * * @return Whether the recurrencePeriodDuration field is set. */ @java.lang.Override @@ -564,6 +611,8 @@ public boolean hasRecurrencePeriodDuration() { return optionCase_ == 1; } /** + * + * *
      * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -574,6 +623,7 @@ public boolean hasRecurrencePeriodDuration() {
      * 
* * .google.protobuf.Duration recurrence_period_duration = 1; + * * @return The recurrencePeriodDuration. */ @java.lang.Override @@ -591,6 +641,8 @@ public com.google.protobuf.Duration getRecurrencePeriodDuration() { } } /** + * + * *
      * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -616,6 +668,8 @@ public Builder setRecurrencePeriodDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -639,6 +693,8 @@ public Builder setRecurrencePeriodDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -652,10 +708,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;
         }
@@ -671,6 +728,8 @@ public Builder mergeRecurrencePeriodDuration(com.google.protobuf.Duration value)
       return this;
     }
     /**
+     *
+     *
      * 
      * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -699,6 +758,8 @@ public Builder clearRecurrencePeriodDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -714,6 +775,8 @@ public com.google.protobuf.Duration.Builder getRecurrencePeriodDurationBuilder()
       return getRecurrencePeriodDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -737,6 +800,8 @@ public com.google.protobuf.DurationOrBuilder getRecurrencePeriodDurationOrBuilde
       }
     }
     /**
+     *
+     *
      * 
      * With this option a job is started on a regular periodic basis. For
      * example: every day (86400 seconds).
@@ -749,26 +814,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);
     }
 
@@ -778,12 +847,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();
   }
@@ -792,16 +861,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;
@@ -816,6 +885,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 e86a68c3..70d73a97 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 on 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 on 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 on 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/SensitivityScore.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.java
index 9c8a683f..6840f3b2 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScore.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;
 
 /**
+ *
+ *
  * 
  * Score is a summary of all elements in the data profile.
  * A higher number means more sensitive.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.SensitivityScore}
  */
-public final class SensitivityScore extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SensitivityScore extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.SensitivityScore)
     SensitivityScoreOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SensitivityScore.newBuilder() to construct.
   private SensitivityScore(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SensitivityScore() {
     score_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SensitivityScore();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private SensitivityScore(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private SensitivityScore(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            score_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              score_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,36 +92,41 @@ private SensitivityScore(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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_SensitivityScore_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpStorage
+        .internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.SensitivityScore.class, com.google.privacy.dlp.v2.SensitivityScore.Builder.class);
+            com.google.privacy.dlp.v2.SensitivityScore.class,
+            com.google.privacy.dlp.v2.SensitivityScore.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Various score levels for resources.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel} */ - public enum SensitivityScoreLevel - implements com.google.protobuf.ProtocolMessageEnum { + public enum SensitivityScoreLevel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unused.
      * 
@@ -112,6 +135,8 @@ public enum SensitivityScoreLevel */ SENSITIVITY_SCORE_UNSPECIFIED(0), /** + * + * *
      * No sensitive information detected. Limited access.
      * 
@@ -120,6 +145,8 @@ public enum SensitivityScoreLevel */ SENSITIVITY_LOW(10), /** + * + * *
      * Medium risk - PII, potentially sensitive data, or fields with free-text
      * data that are at higher risk of having intermittent sensitive data.
@@ -130,6 +157,8 @@ public enum SensitivityScoreLevel
      */
     SENSITIVITY_MODERATE(20),
     /**
+     *
+     *
      * 
      * High risk – SPII may be present. Exfiltration of data may lead to user
      * data loss. Re-identification of users may be possible. Consider limiting
@@ -143,6 +172,8 @@ public enum SensitivityScoreLevel
     ;
 
     /**
+     *
+     *
      * 
      * Unused.
      * 
@@ -151,6 +182,8 @@ public enum SensitivityScoreLevel */ public static final int SENSITIVITY_SCORE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * No sensitive information detected. Limited access.
      * 
@@ -159,6 +192,8 @@ public enum SensitivityScoreLevel */ public static final int SENSITIVITY_LOW_VALUE = 10; /** + * + * *
      * Medium risk - PII, potentially sensitive data, or fields with free-text
      * data that are at higher risk of having intermittent sensitive data.
@@ -169,6 +204,8 @@ public enum SensitivityScoreLevel
      */
     public static final int SENSITIVITY_MODERATE_VALUE = 20;
     /**
+     *
+     *
      * 
      * High risk – SPII may be present. Exfiltration of data may lead to user
      * data loss. Re-identification of users may be possible. Consider limiting
@@ -179,7 +216,6 @@ public enum SensitivityScoreLevel
      */
     public static final int SENSITIVITY_HIGH_VALUE = 30;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -204,11 +240,16 @@ public static SensitivityScoreLevel valueOf(int value) {
      */
     public static SensitivityScoreLevel forNumber(int value) {
       switch (value) {
-        case 0: return SENSITIVITY_SCORE_UNSPECIFIED;
-        case 10: return SENSITIVITY_LOW;
-        case 20: return SENSITIVITY_MODERATE;
-        case 30: return SENSITIVITY_HIGH;
-        default: return null;
+        case 0:
+          return SENSITIVITY_SCORE_UNSPECIFIED;
+        case 10:
+          return SENSITIVITY_LOW;
+        case 20:
+          return SENSITIVITY_MODERATE;
+        case 30:
+          return SENSITIVITY_HIGH;
+        default:
+          return null;
       }
     }
 
@@ -216,28 +257,28 @@ public static SensitivityScoreLevel forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        SensitivityScoreLevel> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public SensitivityScoreLevel findValueByNumber(int number) {
-              return SensitivityScoreLevel.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 SensitivityScoreLevel findValueByNumber(int number) {
+                return SensitivityScoreLevel.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.SensitivityScore.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -246,8 +287,7 @@ public SensitivityScoreLevel findValueByNumber(int number) {
     public static SensitivityScoreLevel 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;
@@ -267,31 +307,43 @@ private SensitivityScoreLevel(int value) {
   public static final int SCORE_FIELD_NUMBER = 1;
   private int score_;
   /**
+   *
+   *
    * 
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; + * * @return The enum numeric value on the wire for score. */ - @java.lang.Override public int getScoreValue() { + @java.lang.Override + public int getScoreValue() { return score_; } /** + * + * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; + * * @return The score. */ - @java.lang.Override public com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel getScore() { + @java.lang.Override + public com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel getScore() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel result = com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.valueOf(score_); - return result == null ? com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel result = + com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.valueOf(score_); + return result == null + ? com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,9 +355,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (score_ != com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.SENSITIVITY_SCORE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (score_ + != com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel + .SENSITIVITY_SCORE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, score_); } unknownFields.writeTo(output); @@ -317,9 +371,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (score_ != com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.SENSITIVITY_SCORE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, score_); + if (score_ + != com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel + .SENSITIVITY_SCORE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, score_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -329,12 +385,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.SensitivityScore)) { return super.equals(obj); } - com.google.privacy.dlp.v2.SensitivityScore other = (com.google.privacy.dlp.v2.SensitivityScore) obj; + com.google.privacy.dlp.v2.SensitivityScore other = + (com.google.privacy.dlp.v2.SensitivityScore) obj; if (score_ != other.score_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -355,97 +412,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.SensitivityScore parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.SensitivityScore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.SensitivityScore parseFrom(java.io.InputStream input) 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.SensitivityScore parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.SensitivityScore parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.SensitivityScore parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.SensitivityScore parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.SensitivityScore parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.SensitivityScore prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Score is a summary of all elements in the data profile.
    * A higher number means more sensitive.
@@ -453,21 +517,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.SensitivityScore}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.SensitivityScore)
       com.google.privacy.dlp.v2.SensitivityScoreOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpStorage.internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_SensitivityScore_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.SensitivityScore.class, com.google.privacy.dlp.v2.SensitivityScore.Builder.class);
+              com.google.privacy.dlp.v2.SensitivityScore.class,
+              com.google.privacy.dlp.v2.SensitivityScore.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.SensitivityScore.newBuilder()
@@ -475,16 +541,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();
@@ -494,9 +559,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_SensitivityScore_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpStorage
+          .internal_static_google_privacy_dlp_v2_SensitivityScore_descriptor;
     }
 
     @java.lang.Override
@@ -515,7 +580,8 @@ public com.google.privacy.dlp.v2.SensitivityScore build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.SensitivityScore buildPartial() {
-      com.google.privacy.dlp.v2.SensitivityScore result = new com.google.privacy.dlp.v2.SensitivityScore(this);
+      com.google.privacy.dlp.v2.SensitivityScore result =
+          new com.google.privacy.dlp.v2.SensitivityScore(this);
       result.score_ = score_;
       onBuilt();
       return result;
@@ -525,38 +591,39 @@ public com.google.privacy.dlp.v2.SensitivityScore buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.SensitivityScore) {
-        return mergeFrom((com.google.privacy.dlp.v2.SensitivityScore)other);
+        return mergeFrom((com.google.privacy.dlp.v2.SensitivityScore) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -599,80 +666,100 @@ public Builder mergeFrom(
 
     private int score_ = 0;
     /**
+     *
+     *
      * 
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; + * * @return The enum numeric value on the wire for score. */ - @java.lang.Override public int getScoreValue() { + @java.lang.Override + public int getScoreValue() { return score_; } /** + * + * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; + * * @param value The enum numeric value on the wire for score to set. * @return This builder for chaining. */ public Builder setScoreValue(int value) { - + score_ = value; onChanged(); return this; } /** + * + * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; + * * @return The score. */ @java.lang.Override public com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel getScore() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel result = com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.valueOf(score_); - return result == null ? com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel result = + com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.valueOf(score_); + return result == null + ? com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel.UNRECOGNIZED + : result; } /** + * + * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; + * * @param value The score to set. * @return This builder for chaining. */ - public Builder setScore(com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel value) { + public Builder setScore( + com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel value) { if (value == null) { throw new NullPointerException(); } - + score_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The score applied to the resource.
      * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; + * * @return This builder for chaining. */ public Builder clearScore() { - + score_ = 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); } @@ -682,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.SensitivityScore) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.SensitivityScore) private static final com.google.privacy.dlp.v2.SensitivityScore DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.SensitivityScore(); } @@ -696,16 +783,16 @@ public static com.google.privacy.dlp.v2.SensitivityScore getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SensitivityScore parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SensitivityScore(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SensitivityScore parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SensitivityScore(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -720,6 +807,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.SensitivityScore getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.java similarity index 54% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.java index 858ce025..711206d3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/SensitivityScoreOrBuilder.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/storage.proto package com.google.privacy.dlp.v2; -public interface SensitivityScoreOrBuilder extends +public interface SensitivityScoreOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.SensitivityScore) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; + * * @return The enum numeric value on the wire for score. */ int getScoreValue(); /** + * + * *
    * The score applied to the resource.
    * 
* * .google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel score = 1; + * * @return The score. */ com.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel getScore(); 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 66% 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 25d0a1f9..2d164eed 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,48 +77,58 @@ 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) {
@@ -109,8 +136,7 @@ private StatisticalTable(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -119,42 +145,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.
      * 
@@ -164,6 +202,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
@@ -171,10 +211,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
@@ -182,12 +225,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.
@@ -195,31 +240,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)
@@ -238,32 +283,36 @@ 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) {
@@ -271,34 +320,39 @@ private QuasiIdentifierField(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -306,11 +360,14 @@ public boolean hasField() { return field_ != null; } /** + * + * *
      * Identifies the column.
      * 
* * .google.privacy.dlp.v2.FieldId field = 1; + * * @return The field. */ @java.lang.Override @@ -318,6 +375,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { return field_ == null ? com.google.privacy.dlp.v2.FieldId.getDefaultInstance() : field_; } /** + * + * *
      * Identifies the column.
      * 
@@ -332,6 +391,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
@@ -339,6 +400,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getFieldOrBuilder() {
      * 
* * string custom_tag = 2; + * * @return The customTag. */ @java.lang.Override @@ -347,14 +409,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
@@ -362,16 +425,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 { @@ -380,6 +442,7 @@ public java.lang.String getCustomTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,8 +454,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -409,8 +471,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_); @@ -423,20 +484,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; } @@ -460,87 +520,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 @@ -550,6 +618,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.
@@ -557,38 +627,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();
@@ -604,13 +677,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();
       }
 
@@ -625,7 +699,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 {
@@ -640,46 +715,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());
         }
@@ -706,7 +787,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) {
@@ -718,24 +801,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() { @@ -746,6 +838,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
        * Identifies the column.
        * 
@@ -766,14 +860,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(); @@ -784,6 +879,8 @@ public Builder setField( return this; } /** + * + * *
        * Identifies the column.
        * 
@@ -794,7 +891,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; } @@ -806,6 +905,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
        * Identifies the column.
        * 
@@ -824,6 +925,8 @@ public Builder clearField() { return this; } /** + * + * *
        * Identifies the column.
        * 
@@ -831,11 +934,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.
        * 
@@ -846,11 +951,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.
        * 
@@ -858,14 +964,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_; @@ -873,6 +982,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
@@ -880,13 +991,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; @@ -895,6 +1006,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
@@ -902,15 +1015,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 { @@ -918,6 +1030,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
@@ -925,20 +1039,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
@@ -946,15 +1062,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
@@ -962,20 +1081,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) { @@ -988,30 +1108,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; @@ -1023,20 +1145,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 @@ -1044,11 +1170,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 @@ -1056,11 +1186,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() { @@ -1070,72 +1203,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 @@ -1143,25 +1303,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() { @@ -1169,6 +1340,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getRelativeFrequencyOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1180,8 +1352,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < quasiIds_.size(); i++) { output.writeMessage(1, quasiIds_.get(i)); } @@ -1201,16 +1372,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; @@ -1220,24 +1388,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; @@ -1267,97 +1433,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
@@ -1370,21 +1543,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()
@@ -1392,17 +1567,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();
@@ -1428,9 +1603,9 @@ public Builder 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
@@ -1449,7 +1624,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_;
@@ -1478,38 +1654,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;
@@ -1539,9 +1716,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_);
           }
@@ -1578,43 +1756,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) { @@ -1630,14 +1828,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(); @@ -1648,17 +1849,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; } @@ -1670,11 +1877,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) { @@ -1688,73 +1899,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 { @@ -1762,11 +2000,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) { @@ -1776,11 +2018,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) { @@ -1790,11 +2036,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) { @@ -1811,14 +2061,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()); @@ -1829,13 +2084,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(); @@ -1849,11 +2109,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) { @@ -1870,11 +2134,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) { @@ -1888,14 +2156,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()); @@ -1906,18 +2179,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); @@ -1925,11 +2203,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) { @@ -1942,11 +2224,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) { @@ -1959,39 +2245,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 { @@ -1999,49 +2299,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_; @@ -2049,42 +2368,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) { @@ -2100,15 +2438,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(); @@ -2119,18 +2460,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; } @@ -2142,12 +2489,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) { @@ -2161,58 +2512,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); } @@ -2222,12 +2589,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(); } @@ -2236,16 +2603,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; @@ -2260,6 +2627,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 78% 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 72230106..99391223 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,82 +68,94 @@ 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) { @@ -135,51 +163,62 @@ private StorageConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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.
@@ -190,26 +229,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.
@@ -220,6 +267,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.
@@ -251,10 +300,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.
@@ -286,10 +338,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.
@@ -325,6 +380,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
@@ -334,11 +391,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 Cloud Storage and BigQuery.
@@ -346,30 +406,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)
@@ -388,57 +447,64 @@ 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) {
@@ -446,35 +512,40 @@ private TimespanConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -482,12 +553,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 @@ -495,6 +569,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.
@@ -510,12 +586,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 @@ -523,12 +602,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 @@ -536,6 +618,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.
@@ -551,6 +635,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.
@@ -582,6 +668,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 @@ -589,6 +676,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.
@@ -620,13 +709,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.
@@ -667,6 +761,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
@@ -676,6 +772,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
      * 
* * bool enable_auto_population_of_timespan_config = 4; + * * @return The enableAutoPopulationOfTimespanConfig. */ @java.lang.Override @@ -684,6 +781,7 @@ public boolean getEnableAutoPopulationOfTimespanConfig() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -695,8 +793,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -719,20 +816,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; @@ -742,27 +837,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; @@ -790,95 +883,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 @@ -888,6 +989,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration of the timespan of the items to include in scanning.
      * Currently only supported when inspecting Cloud Storage and BigQuery.
@@ -895,21 +998,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()
@@ -917,16 +1023,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();
@@ -954,9 +1059,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
@@ -975,7 +1080,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 {
@@ -1000,38 +1106,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;
@@ -1039,7 +1148,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());
         }
@@ -1071,7 +1181,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) {
@@ -1083,36 +1194,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.
@@ -1134,6 +1258,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.
@@ -1141,8 +1267,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();
@@ -1153,6 +1278,8 @@ public Builder setStartTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1164,7 +1291,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;
           }
@@ -1176,6 +1305,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.
@@ -1195,6 +1326,8 @@ public Builder clearStartTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows older than this value.
        * If not set, no lower time limit is applied.
@@ -1203,11 +1336,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.
@@ -1219,11 +1354,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.
@@ -1232,14 +1370,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_;
@@ -1247,26 +1388,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() { @@ -1277,6 +1427,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.
@@ -1298,6 +1450,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.
@@ -1305,8 +1459,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();
@@ -1317,6 +1470,8 @@ public Builder setEndTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1328,7 +1483,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;
           }
@@ -1340,6 +1495,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.
@@ -1359,6 +1516,8 @@ public Builder clearEndTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Exclude files, tables, or rows newer than this value.
        * If not set, no upper time limit is applied.
@@ -1367,11 +1526,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.
@@ -1383,11 +1544,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.
@@ -1396,14 +1558,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_;
@@ -1411,8 +1576,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.
@@ -1444,12 +1614,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.
@@ -1481,16 +1654,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.
@@ -1537,6 +1715,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.
@@ -1569,8 +1749,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();
@@ -1581,6 +1760,8 @@ public Builder setTimestampField(
         return this;
       }
       /**
+       *
+       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1617,7 +1798,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;
           }
@@ -1629,6 +1812,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.
@@ -1673,6 +1858,8 @@ public Builder clearTimestampField() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Specification of the field containing the timestamp of scanned items.
        * Used for data sources like Datastore and BigQuery.
@@ -1706,11 +1893,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.
@@ -1747,11 +1936,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.
@@ -1785,21 +1977,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
@@ -1809,6 +2006,7 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getTimestampFieldOrBuilder() {
        * 
* * bool enable_auto_population_of_timespan_config = 4; + * * @return The enableAutoPopulationOfTimespanConfig. */ @java.lang.Override @@ -1816,6 +2014,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
@@ -1825,16 +2025,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
@@ -1844,14 +2047,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) { @@ -1864,12 +2069,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(); } @@ -1878,16 +2083,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; @@ -1902,13 +2107,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), @@ -1916,6 +2122,7 @@ public enum TypeCase HYBRID_OPTIONS(9), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -1931,32 +2138,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 @@ -1964,21 +2179,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.
    * 
@@ -1988,18 +2208,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; /** + * + * *
    * Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return Whether the cloudStorageOptions field is set. */ @java.lang.Override @@ -2007,21 +2230,26 @@ public boolean hasCloudStorageOptions() { return typeCase_ == 3; } /** + * + * *
    * 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(); } /** + * + * *
    * Cloud Storage options.
    * 
@@ -2031,18 +2259,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 @@ -2050,21 +2281,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.
    * 
@@ -2074,18 +2310,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 @@ -2093,21 +2332,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.
    * 
@@ -2117,7 +2361,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(); } @@ -2126,6 +2370,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 @@ -2134,21 +2379,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; @@ -2160,8 +2408,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -2187,24 +2434,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; @@ -2214,7 +2464,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); @@ -2223,26 +2473,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: @@ -2287,118 +2532,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() @@ -2406,16 +2660,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(); @@ -2431,9 +2684,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 @@ -2452,7 +2705,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_; @@ -2495,38 +2749,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; @@ -2539,25 +2794,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(); @@ -2587,12 +2847,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() { @@ -2602,15 +2862,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 @@ -2618,11 +2883,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 @@ -2640,6 +2908,8 @@ public com.google.privacy.dlp.v2.DatastoreOptions getDatastoreOptions() { } } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2660,6 +2930,8 @@ public Builder setDatastoreOptions(com.google.privacy.dlp.v2.DatastoreOptions va return this; } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2678,6 +2950,8 @@ public Builder setDatastoreOptions( return this; } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2686,10 +2960,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; } @@ -2705,6 +2982,8 @@ public Builder mergeDatastoreOptions(com.google.privacy.dlp.v2.DatastoreOptions return this; } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2728,6 +3007,8 @@ public Builder clearDatastoreOptions() { return this; } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2738,6 +3019,8 @@ public com.google.privacy.dlp.v2.DatastoreOptions.Builder getDatastoreOptionsBui return getDatastoreOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2756,6 +3039,8 @@ public com.google.privacy.dlp.v2.DatastoreOptionsOrBuilder getDatastoreOptionsOr } } /** + * + * *
      * Google Cloud Datastore options.
      * 
@@ -2763,32 +3048,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_; /** + * + * *
      * Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return Whether the cloudStorageOptions field is set. */ @java.lang.Override @@ -2796,11 +3093,14 @@ public boolean hasCloudStorageOptions() { return typeCase_ == 3; } /** + * + * *
      * Cloud Storage options.
      * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return The cloudStorageOptions. */ @java.lang.Override @@ -2818,6 +3118,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions() { } } /** + * + * *
      * Cloud Storage options.
      * 
@@ -2838,6 +3140,8 @@ public Builder setCloudStorageOptions(com.google.privacy.dlp.v2.CloudStorageOpti return this; } /** + * + * *
      * Cloud Storage options.
      * 
@@ -2856,6 +3160,8 @@ public Builder setCloudStorageOptions( return this; } /** + * + * *
      * Cloud Storage options.
      * 
@@ -2864,10 +3170,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; } @@ -2883,6 +3192,8 @@ public Builder mergeCloudStorageOptions(com.google.privacy.dlp.v2.CloudStorageOp return this; } /** + * + * *
      * Cloud Storage options.
      * 
@@ -2906,6 +3217,8 @@ public Builder clearCloudStorageOptions() { return this; } /** + * + * *
      * Cloud Storage options.
      * 
@@ -2916,6 +3229,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptions.Builder getCloudStorageOpti return getCloudStorageOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Cloud Storage options.
      * 
@@ -2923,7 +3238,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 { @@ -2934,6 +3250,8 @@ public com.google.privacy.dlp.v2.CloudStorageOptionsOrBuilder getCloudStorageOpt } } /** + * + * *
      * Cloud Storage options.
      * 
@@ -2941,32 +3259,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 @@ -2974,11 +3304,14 @@ public boolean hasBigQueryOptions() { return typeCase_ == 4; } /** + * + * *
      * BigQuery options.
      * 
* * .google.privacy.dlp.v2.BigQueryOptions big_query_options = 4; + * * @return The bigQueryOptions. */ @java.lang.Override @@ -2996,6 +3329,8 @@ public com.google.privacy.dlp.v2.BigQueryOptions getBigQueryOptions() { } } /** + * + * *
      * BigQuery options.
      * 
@@ -3016,6 +3351,8 @@ public Builder setBigQueryOptions(com.google.privacy.dlp.v2.BigQueryOptions valu return this; } /** + * + * *
      * BigQuery options.
      * 
@@ -3034,6 +3371,8 @@ public Builder setBigQueryOptions( return this; } /** + * + * *
      * BigQuery options.
      * 
@@ -3042,10 +3381,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; } @@ -3061,6 +3403,8 @@ public Builder mergeBigQueryOptions(com.google.privacy.dlp.v2.BigQueryOptions va return this; } /** + * + * *
      * BigQuery options.
      * 
@@ -3084,6 +3428,8 @@ public Builder clearBigQueryOptions() { return this; } /** + * + * *
      * BigQuery options.
      * 
@@ -3094,6 +3440,8 @@ public com.google.privacy.dlp.v2.BigQueryOptions.Builder getBigQueryOptionsBuild return getBigQueryOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * BigQuery options.
      * 
@@ -3112,6 +3460,8 @@ public com.google.privacy.dlp.v2.BigQueryOptionsOrBuilder getBigQueryOptionsOrBu } } /** + * + * *
      * BigQuery options.
      * 
@@ -3119,32 +3469,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 @@ -3152,11 +3514,14 @@ public boolean hasHybridOptions() { return typeCase_ == 9; } /** + * + * *
      * Hybrid inspection options.
      * 
* * .google.privacy.dlp.v2.HybridOptions hybrid_options = 9; + * * @return The hybridOptions. */ @java.lang.Override @@ -3174,6 +3539,8 @@ public com.google.privacy.dlp.v2.HybridOptions getHybridOptions() { } } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3194,6 +3561,8 @@ public Builder setHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) { return this; } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3212,6 +3581,8 @@ public Builder setHybridOptions( return this; } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3220,10 +3591,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; } @@ -3239,6 +3613,8 @@ public Builder mergeHybridOptions(com.google.privacy.dlp.v2.HybridOptions value) return this; } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3262,6 +3638,8 @@ public Builder clearHybridOptions() { return this; } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3272,6 +3650,8 @@ public com.google.privacy.dlp.v2.HybridOptions.Builder getHybridOptionsBuilder() return getHybridOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3290,6 +3670,8 @@ public com.google.privacy.dlp.v2.HybridOptionsOrBuilder getHybridOptionsOrBuilde } } /** + * + * *
      * Hybrid inspection options.
      * 
@@ -3297,29 +3679,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() { @@ -3327,18 +3717,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) { @@ -3352,9 +3743,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) { @@ -3366,14 +3755,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; } @@ -3384,9 +3774,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; @@ -3398,44 +3786,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); } @@ -3445,12 +3833,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(); } @@ -3459,16 +3847,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; @@ -3483,6 +3871,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 b3cd3b03..69187e99 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(); /** + * + * *
    * Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return Whether the cloudStorageOptions field is set. */ boolean hasCloudStorageOptions(); /** + * + * *
    * Cloud Storage options.
    * 
* * .google.privacy.dlp.v2.CloudStorageOptions cloud_storage_options = 3; + * * @return The cloudStorageOptions. */ com.google.privacy.dlp.v2.CloudStorageOptions getCloudStorageOptions(); /** + * + * *
    * 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 c1b640c6..9c5be873 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,19 +70,20 @@ 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) { @@ -73,30 +91,33 @@ private StorageMetadataLabel( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -105,8 +126,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; @@ -114,16 +134,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 { @@ -132,6 +151,7 @@ public java.lang.String getKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,8 +163,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -168,15 +187,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; } @@ -195,118 +214,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() @@ -314,16 +342,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(); @@ -333,9 +360,9 @@ public Builder 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 @@ -354,7 +381,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; @@ -364,38 +392,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; @@ -440,13 +469,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; @@ -456,15 +485,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 { @@ -473,48 +501,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); } @@ -524,12 +553,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(); } @@ -538,16 +567,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; @@ -562,6 +591,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 5b2018aa..6bf02747 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,41 +73,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;
-          }
-          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) {
@@ -98,8 +122,7 @@ private StoredInfoType(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -108,27 +131,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 @@ -137,29 +166,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 { @@ -170,11 +199,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 @@ -182,18 +214,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.
    * 
@@ -208,6 +247,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.
@@ -220,6 +261,8 @@ public java.util.List getPendin
     return pendingVersions_;
   }
   /**
+   *
+   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -228,11 +271,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.
@@ -245,6 +290,8 @@ public int getPendingVersionsCount() {
     return pendingVersions_.size();
   }
   /**
+   *
+   *
    * 
    * Pending versions of the stored info type. Empty if no versions are
    * pending.
@@ -257,6 +304,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.
@@ -271,6 +320,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -282,8 +332,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -306,12 +355,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;
@@ -321,22 +368,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;
   }
@@ -363,97 +407,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.
@@ -461,21 +512,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()
@@ -483,17 +536,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();
@@ -515,9 +568,9 @@ public Builder 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
@@ -536,7 +589,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) {
@@ -561,38 +615,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;
@@ -626,9 +681,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_);
           }
@@ -662,22 +718,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; @@ -686,20 +745,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 { @@ -707,54 +767,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; @@ -762,34 +829,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.
      * 
@@ -810,6 +890,8 @@ public Builder setCurrentVersion(com.google.privacy.dlp.v2.StoredInfoTypeVersion return this; } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -828,6 +910,8 @@ public Builder setCurrentVersion( return this; } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -838,7 +922,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; } @@ -850,6 +936,8 @@ public Builder mergeCurrentVersion(com.google.privacy.dlp.v2.StoredInfoTypeVersi return this; } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -868,6 +956,8 @@ public Builder clearCurrentVersion() { return this; } /** + * + * *
      * Current version of the stored info type.
      * 
@@ -875,11 +965,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.
      * 
@@ -890,11 +982,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.
      * 
@@ -902,32 +997,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.
@@ -935,7 +1041,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 {
@@ -943,6 +1050,8 @@ public java.util.List getPendin
       }
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -958,6 +1067,8 @@ public int getPendingVersionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -973,6 +1084,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersion getPendingVersions(int in
       }
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -995,6 +1108,8 @@ public Builder setPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1014,6 +1129,8 @@ public Builder setPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1035,6 +1152,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.
@@ -1057,6 +1176,8 @@ public Builder addPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1076,6 +1197,8 @@ public Builder addPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1095,6 +1218,8 @@ public Builder addPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1106,8 +1231,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);
@@ -1115,6 +1239,8 @@ public Builder addAllPendingVersions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1133,6 +1259,8 @@ public Builder clearPendingVersions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1151,6 +1279,8 @@ public Builder removePendingVersions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1163,6 +1293,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.
@@ -1173,11 +1305,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.
@@ -1185,8 +1320,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 {
@@ -1194,6 +1329,8 @@ public com.google.privacy.dlp.v2.StoredInfoTypeVersionOrBuilder getPendingVersio
       }
     }
     /**
+     *
+     *
      * 
      * Pending versions of the stored info type. Empty if no versions are
      * pending.
@@ -1202,10 +1339,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.
@@ -1215,10 +1354,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.
@@ -1226,16 +1367,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(),
@@ -1244,9 +1391,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);
     }
 
@@ -1256,12 +1403,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();
   }
@@ -1270,16 +1417,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;
@@ -1294,6 +1441,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 4f77b119..3fe88dbb 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,67 +73,79 @@ 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) {
@@ -124,36 +153,41 @@ private StoredInfoTypeConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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;
     }
@@ -169,32 +203,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 @@ -203,29 +244,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 { @@ -236,11 +277,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 @@ -249,29 +293,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 { @@ -281,11 +325,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 @@ -293,21 +340,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.
    * 
@@ -315,20 +367,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 @@ -336,21 +392,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.
    * 
@@ -360,18 +421,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 @@ -379,21 +443,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.
    * 
@@ -403,12 +472,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; @@ -420,8 +490,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -453,16 +522,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; @@ -472,30 +544,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: @@ -536,97 +604,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
@@ -635,21 +710,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()
@@ -657,16 +734,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();
@@ -680,9 +756,9 @@ public Builder 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
@@ -701,7 +777,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) {
@@ -734,38 +811,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;
@@ -783,21 +861,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();
@@ -827,12 +909,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() {
@@ -842,21 +924,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; @@ -865,20 +948,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 { @@ -886,54 +970,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; @@ -941,18 +1032,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; @@ -961,20 +1054,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 { @@ -982,67 +1076,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 @@ -1050,11 +1157,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 @@ -1072,13 +1182,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(); @@ -1092,6 +1205,8 @@ public Builder setLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDic return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1110,18 +1225,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; } @@ -1137,6 +1259,8 @@ public Builder mergeLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomD return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1160,16 +1284,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.
      * 
@@ -1177,7 +1306,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 { @@ -1188,6 +1318,8 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryConfigOrBuilder getLargeCu } } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -1195,32 +1327,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 @@ -1228,11 +1372,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 @@ -1250,6 +1397,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary() { } } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1270,6 +1419,8 @@ public Builder setDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictionary return this; } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1288,6 +1439,8 @@ public Builder setDictionary( return this; } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1296,10 +1449,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; } @@ -1315,6 +1471,8 @@ public Builder mergeDictionary(com.google.privacy.dlp.v2.CustomInfoType.Dictiona return this; } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1338,6 +1496,8 @@ public Builder clearDictionary() { return this; } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1348,6 +1508,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Dictionary.Builder getDictionary return getDictionaryFieldBuilder().getBuilder(); } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1366,6 +1528,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionar } } /** + * + * *
      * Store dictionary-based CustomInfoType.
      * 
@@ -1373,32 +1537,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 @@ -1406,11 +1582,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 @@ -1428,6 +1607,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex() { } } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1448,6 +1629,8 @@ public Builder setRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) { return this; } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1466,6 +1649,8 @@ public Builder setRegex( return this; } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1474,10 +1659,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; } @@ -1493,6 +1681,8 @@ public Builder mergeRegex(com.google.privacy.dlp.v2.CustomInfoType.Regex value) return this; } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1516,6 +1706,8 @@ public Builder clearRegex() { return this; } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1526,6 +1718,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.Regex.Builder getRegexBuilder() return getRegexFieldBuilder().getBuilder(); } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1544,6 +1738,8 @@ public com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder } } /** + * + * *
      * Store regular expression-based StoredInfoType.
      * 
@@ -1551,26 +1747,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); } @@ -1580,12 +1782,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(); } @@ -1594,16 +1796,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; @@ -1618,6 +1820,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 9f7ca00d..05064ff0 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 3a4b1567..45d6fd1f 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(9);
   }
 
@@ -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 19e3e85d..1f93f7d9 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,27 +68,31 @@ 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) { @@ -80,34 +100,39 @@ private StoredInfoTypeStats( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; } @@ -123,29 +148,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 @@ -153,21 +183,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.
    * 
@@ -175,14 +210,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; @@ -194,8 +231,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (com.google.privacy.dlp.v2.LargeCustomDictionaryStats) type_); } @@ -209,8 +245,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; @@ -220,18 +257,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: @@ -260,118 +297,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() @@ -379,16 +425,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -398,9 +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_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 @@ -419,7 +464,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_; @@ -436,38 +482,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; @@ -477,13 +524,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(); @@ -513,12 +562,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() { @@ -528,15 +577,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 @@ -544,11 +598,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 @@ -566,13 +623,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(); @@ -586,6 +646,8 @@ public Builder setLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomDic return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -604,18 +666,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; } @@ -631,6 +699,8 @@ public Builder mergeLargeCustomDictionary(com.google.privacy.dlp.v2.LargeCustomD return this; } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -654,16 +724,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.
      * 
@@ -671,7 +746,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 { @@ -682,6 +758,8 @@ public com.google.privacy.dlp.v2.LargeCustomDictionaryStatsOrBuilder getLargeCus } } /** + * + * *
      * StoredInfoType where findings are defined by a dictionary of phrases.
      * 
@@ -689,26 +767,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); } @@ -718,12 +802,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(); } @@ -732,16 +816,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; @@ -756,6 +840,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 6a6c3e4a..b9a89871 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,67 +73,77 @@ 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) {
@@ -124,8 +151,7 @@ private StoredInfoTypeVersion(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -134,27 +160,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 @@ -162,18 +194,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.
    * 
@@ -188,12 +227,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 @@ -201,12 +243,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 @@ -214,6 +259,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.
@@ -229,35 +276,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
@@ -279,6 +337,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
@@ -296,11 +356,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
@@ -322,6 +384,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
@@ -343,6 +407,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
@@ -360,19 +426,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 @@ -380,18 +448,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.
    * 
@@ -404,6 +479,7 @@ public com.google.privacy.dlp.v2.StoredInfoTypeStatsOrBuilder getStatsOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -415,15 +491,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++) { @@ -442,24 +519,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; @@ -469,30 +543,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; @@ -528,97 +599,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.
@@ -626,21 +704,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()
@@ -648,17 +728,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();
@@ -692,9 +772,9 @@ public Builder 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
@@ -713,7 +793,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_;
@@ -748,38 +829,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;
@@ -787,7 +869,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());
       }
@@ -815,9 +898,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_);
           }
@@ -854,38 +938,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.
      * 
@@ -906,6 +1004,8 @@ public Builder setConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) { return this; } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -924,6 +1024,8 @@ public Builder setConfig( return this; } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -934,7 +1036,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; } @@ -946,6 +1050,8 @@ public Builder mergeConfig(com.google.privacy.dlp.v2.StoredInfoTypeConfig value) return this; } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -964,6 +1070,8 @@ public Builder clearConfig() { return this; } /** + * + * *
      * StoredInfoType configuration.
      * 
@@ -971,11 +1079,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.
      * 
@@ -986,11 +1096,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.
      * 
@@ -998,14 +1111,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_; @@ -1013,36 +1129,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.
@@ -1064,6 +1193,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.
@@ -1071,8 +1202,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();
@@ -1083,6 +1213,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1094,7 +1226,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;
         }
@@ -1106,6 +1238,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.
@@ -1125,6 +1259,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Create timestamp of the version. Read-only, determined by the system
      * when the version is created.
@@ -1133,11 +1269,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.
@@ -1149,11 +1287,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.
@@ -1162,14 +1303,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_;
@@ -1177,55 +1321,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. */ @@ -1233,40 +1391,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
@@ -1291,6 +1458,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
@@ -1315,6 +1484,8 @@ public int getErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Errors that occurred when creating this storedInfoType version, or
      * anomalies detected in the storedInfoType data that render it unusable. Only
@@ -1339,6 +1510,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
@@ -1355,8 +1528,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();
@@ -1370,6 +1542,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
@@ -1386,8 +1560,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());
@@ -1398,6 +1571,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
@@ -1428,6 +1603,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
@@ -1444,8 +1621,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();
@@ -1459,6 +1635,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
@@ -1475,8 +1653,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());
@@ -1487,6 +1664,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
@@ -1503,8 +1682,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());
@@ -1515,6 +1693,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
@@ -1535,8 +1715,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);
@@ -1544,6 +1723,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
@@ -1571,6 +1752,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
@@ -1598,6 +1781,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
@@ -1614,11 +1799,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
@@ -1635,14 +1821,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
@@ -1659,8 +1847,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 {
@@ -1668,6 +1856,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
@@ -1685,10 +1875,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
@@ -1705,12 +1897,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
@@ -1727,20 +1920,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_;
@@ -1748,34 +1943,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.
      * 
@@ -1796,14 +2004,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(); @@ -1814,6 +2023,8 @@ public Builder setStats( return this; } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
@@ -1824,7 +2035,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; } @@ -1836,6 +2049,8 @@ public Builder mergeStats(com.google.privacy.dlp.v2.StoredInfoTypeStats value) { return this; } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
@@ -1854,6 +2069,8 @@ public Builder clearStats() { return this; } /** + * + * *
      * Statistics about this storedInfoType version.
      * 
@@ -1861,11 +2078,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.
      * 
@@ -1876,11 +2095,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.
      * 
@@ -1888,21 +2110,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); } @@ -1912,12 +2137,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(); } @@ -1926,16 +2151,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; @@ -1950,6 +2175,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 adfc4e48..e8a16d08 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 53b531e6..68cabafc 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,32 +70,35 @@ 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) { @@ -86,29 +106,33 @@ private StoredType( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -116,6 +140,7 @@ private StoredType(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -124,14 +149,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
@@ -139,16 +165,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 { @@ -159,12 +184,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 @@ -172,12 +200,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 @@ -185,6 +216,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.
@@ -198,6 +231,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -209,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_);
     }
@@ -230,8 +263,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;
@@ -241,19 +273,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;
@@ -277,118 +307,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() @@ -396,16 +434,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(); @@ -421,9 +458,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 @@ -457,38 +494,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; @@ -535,6 +573,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -542,13 +582,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; @@ -557,6 +597,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -564,15 +606,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 { @@ -580,6 +621,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name of the requested `StoredInfoType`, for example
      * `organizations/433245324/storedInfoTypes/432452342` or
@@ -587,20 +630,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
@@ -608,15 +653,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
@@ -624,16 +672,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; @@ -641,36 +689,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.
@@ -692,6 +753,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.
@@ -699,8 +762,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();
@@ -711,6 +773,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.
@@ -722,7 +786,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;
         }
@@ -734,6 +798,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.
@@ -753,6 +819,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.
@@ -761,11 +829,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.
@@ -777,11 +847,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.
@@ -790,21 +863,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);
     }
 
@@ -814,12 +890,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();
   }
@@ -828,16 +904,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;
@@ -852,6 +928,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 587dc47a..93c89a3a 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,31 +74,34 @@ 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) {
@@ -89,8 +109,7 @@ private Table(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -102,33 +121,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.
      * 
@@ -137,6 +162,8 @@ public interface RowOrBuilder extends */ com.google.privacy.dlp.v2.Value getValues(int index); /** + * + * *
      * Individual cells.
      * 
@@ -145,56 +172,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) @@ -214,22 +245,23 @@ 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) { @@ -237,8 +269,7 @@ private Row( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -247,22 +278,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.
      * 
@@ -274,6 +310,8 @@ public java.util.List getValuesList() { return values_; } /** + * + * *
      * Individual cells.
      * 
@@ -281,11 +319,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.
      * 
@@ -297,6 +337,8 @@ public int getValuesCount() { return values_.size(); } /** + * + * *
      * Individual cells.
      * 
@@ -308,6 +350,8 @@ public com.google.privacy.dlp.v2.Value getValues(int index) { return values_.get(index); } /** + * + * *
      * Individual cells.
      * 
@@ -315,12 +359,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; @@ -332,8 +376,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -347,8 +390,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; @@ -358,15 +400,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; } @@ -387,88 +428,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 @@ -478,27 +524,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() @@ -506,17 +557,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(); @@ -530,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_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 @@ -570,38 +621,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; @@ -628,9 +682,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_); } @@ -664,21 +719,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.
        * 
@@ -693,6 +755,8 @@ public java.util.List getValuesList() { } } /** + * + * *
        * Individual cells.
        * 
@@ -707,6 +771,8 @@ public int getValuesCount() { } } /** + * + * *
        * Individual cells.
        * 
@@ -721,14 +787,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(); @@ -742,14 +809,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()); @@ -760,6 +828,8 @@ public Builder setValues( return this; } /** + * + * *
        * Individual cells.
        * 
@@ -780,14 +850,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(); @@ -801,14 +872,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()); @@ -819,14 +891,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()); @@ -837,6 +910,8 @@ public Builder addValues( return this; } /** + * + * *
        * Individual cells.
        * 
@@ -847,8 +922,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); @@ -856,6 +930,8 @@ public Builder addAllValues( return this; } /** + * + * *
        * Individual cells.
        * 
@@ -873,6 +949,8 @@ public Builder clearValues() { return this; } /** + * + * *
        * Individual cells.
        * 
@@ -890,39 +968,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 { @@ -930,6 +1013,8 @@ public com.google.privacy.dlp.v2.ValueOrBuilder getValuesOrBuilder( } } /** + * + * *
        * Individual cells.
        * 
@@ -937,46 +1022,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) { @@ -989,12 +1080,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(); } @@ -1003,16 +1094,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; @@ -1027,12 +1118,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.
    * 
@@ -1044,6 +1136,8 @@ public java.util.List getHeadersList() { return headers_; } /** + * + * *
    * Headers of the table.
    * 
@@ -1051,11 +1145,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.
    * 
@@ -1067,6 +1163,8 @@ public int getHeadersCount() { return headers_.size(); } /** + * + * *
    * Headers of the table.
    * 
@@ -1078,6 +1176,8 @@ public com.google.privacy.dlp.v2.FieldId getHeaders(int index) { return headers_.get(index); } /** + * + * *
    * Headers of the table.
    * 
@@ -1085,14 +1185,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.
    * 
@@ -1104,6 +1205,8 @@ public java.util.List getRowsList() { return rows_; } /** + * + * *
    * Rows of the table.
    * 
@@ -1111,11 +1214,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.
    * 
@@ -1127,6 +1232,8 @@ public int getRowsCount() { return rows_.size(); } /** + * + * *
    * Rows of the table.
    * 
@@ -1138,6 +1245,8 @@ public com.google.privacy.dlp.v2.Table.Row getRows(int index) { return rows_.get(index); } /** + * + * *
    * Rows of the table.
    * 
@@ -1145,12 +1254,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; @@ -1162,8 +1271,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1180,12 +1288,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; @@ -1195,17 +1301,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; } @@ -1230,97 +1334,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
@@ -1329,19 +1439,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);
     }
@@ -1351,18 +1462,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();
@@ -1382,9 +1493,9 @@ public Builder 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
@@ -1431,38 +1542,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;
@@ -1489,9 +1601,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_);
           }
@@ -1515,9 +1628,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_);
           }
@@ -1551,21 +1665,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.
      * 
@@ -1580,6 +1701,8 @@ public java.util.List getHeadersList() { } } /** + * + * *
      * Headers of the table.
      * 
@@ -1594,6 +1717,8 @@ public int getHeadersCount() { } } /** + * + * *
      * Headers of the table.
      * 
@@ -1608,14 +1733,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(); @@ -1629,6 +1755,8 @@ public Builder setHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1647,6 +1775,8 @@ public Builder setHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1667,14 +1797,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(); @@ -1688,14 +1819,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()); @@ -1706,6 +1838,8 @@ public Builder addHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1724,6 +1858,8 @@ public Builder addHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1734,8 +1870,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); @@ -1743,6 +1878,8 @@ public Builder addAllHeaders( return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1760,6 +1897,8 @@ public Builder clearHeaders() { return this; } /** + * + * *
      * Headers of the table.
      * 
@@ -1777,39 +1916,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 { @@ -1817,6 +1961,8 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getHeadersOrBuilder( } } /** + * + * *
      * Headers of the table.
      * 
@@ -1824,60 +1970,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.
      * 
@@ -1892,6 +2049,8 @@ public java.util.List getRowsList() { } } /** + * + * *
      * Rows of the table.
      * 
@@ -1906,6 +2065,8 @@ public int getRowsCount() { } } /** + * + * *
      * Rows of the table.
      * 
@@ -1920,14 +2081,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(); @@ -1941,14 +2103,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()); @@ -1959,6 +2122,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of the table.
      * 
@@ -1979,14 +2144,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(); @@ -2000,14 +2166,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()); @@ -2018,14 +2185,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()); @@ -2036,6 +2204,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of the table.
      * 
@@ -2046,8 +2216,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); @@ -2055,6 +2224,8 @@ public Builder addAllRows( return this; } /** + * + * *
      * Rows of the table.
      * 
@@ -2072,6 +2243,8 @@ public Builder clearRows() { return this; } /** + * + * *
      * Rows of the table.
      * 
@@ -2089,39 +2262,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 { @@ -2129,6 +2307,8 @@ public com.google.privacy.dlp.v2.Table.RowOrBuilder getRowsOrBuilder( } } /** + * + * *
      * Rows of the table.
      * 
@@ -2136,49 +2316,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); } @@ -2188,12 +2373,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(); } @@ -2202,16 +2387,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; @@ -2226,6 +2411,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/TableDataProfile.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfile.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfile.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfile.java index 4e882224..f4f28ede 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfile.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfile.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 profile for a scanned table.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.TableDataProfile} */ -public final class TableDataProfile extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TableDataProfile extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TableDataProfile) TableDataProfileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableDataProfile.newBuilder() to construct. private TableDataProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TableDataProfile() { name_ = ""; projectDataProfile_ = ""; @@ -36,16 +54,15 @@ private TableDataProfile() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableDataProfile(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableDataProfile( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -65,228 +82,269 @@ private TableDataProfile( 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(); - projectDataProfile_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + projectDataProfile_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - fullResource_ = s; - break; - } - case 42: { - com.google.privacy.dlp.v2.SensitivityScore.Builder subBuilder = null; - if (sensitivityScore_ != null) { - subBuilder = sensitivityScore_.toBuilder(); + fullResource_ = s; + break; } - sensitivityScore_ = input.readMessage(com.google.privacy.dlp.v2.SensitivityScore.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sensitivityScore_); - sensitivityScore_ = subBuilder.buildPartial(); + case 42: + { + com.google.privacy.dlp.v2.SensitivityScore.Builder subBuilder = null; + if (sensitivityScore_ != null) { + subBuilder = sensitivityScore_.toBuilder(); + } + sensitivityScore_ = + input.readMessage( + com.google.privacy.dlp.v2.SensitivityScore.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sensitivityScore_); + sensitivityScore_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 50: { - com.google.privacy.dlp.v2.DataRiskLevel.Builder subBuilder = null; - if (dataRiskLevel_ != null) { - subBuilder = dataRiskLevel_.toBuilder(); + case 50: + { + com.google.privacy.dlp.v2.DataRiskLevel.Builder subBuilder = null; + if (dataRiskLevel_ != null) { + subBuilder = dataRiskLevel_.toBuilder(); + } + dataRiskLevel_ = + input.readMessage( + com.google.privacy.dlp.v2.DataRiskLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dataRiskLevel_); + dataRiskLevel_ = subBuilder.buildPartial(); + } + + break; } - dataRiskLevel_ = input.readMessage(com.google.privacy.dlp.v2.DataRiskLevel.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dataRiskLevel_); - dataRiskLevel_ = subBuilder.buildPartial(); + case 58: + { + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder subBuilder = null; + if (configSnapshot_ != null) { + subBuilder = configSnapshot_.toBuilder(); + } + configSnapshot_ = + input.readMessage( + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(configSnapshot_); + configSnapshot_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 58: { - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder subBuilder = null; - if (configSnapshot_ != null) { - subBuilder = configSnapshot_.toBuilder(); + case 66: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (lastModifiedTime_ != null) { + subBuilder = lastModifiedTime_.toBuilder(); + } + lastModifiedTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(lastModifiedTime_); + lastModifiedTime_ = subBuilder.buildPartial(); + } + + break; } - configSnapshot_ = input.readMessage(com.google.privacy.dlp.v2.DataProfileConfigSnapshot.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(configSnapshot_); - configSnapshot_ = subBuilder.buildPartial(); + case 74: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expirationTime_ != null) { + subBuilder = expirationTime_.toBuilder(); + } + expirationTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expirationTime_); + expirationTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 66: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (lastModifiedTime_ != null) { - subBuilder = lastModifiedTime_.toBuilder(); + case 80: + { + scannedColumnCount_ = input.readInt64(); + break; } - lastModifiedTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(lastModifiedTime_); - lastModifiedTime_ = subBuilder.buildPartial(); + case 88: + { + failedColumnCount_ = input.readInt64(); + break; } - - break; - } - case 74: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expirationTime_ != null) { - subBuilder = expirationTime_.toBuilder(); + case 96: + { + tableSizeBytes_ = input.readInt64(); + break; } - expirationTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expirationTime_); - expirationTime_ = subBuilder.buildPartial(); + case 104: + { + rowCount_ = input.readInt64(); + break; } + case 112: + { + int rawValue = input.readEnum(); - break; - } - case 80: { - - scannedColumnCount_ = input.readInt64(); - break; - } - case 88: { - - failedColumnCount_ = input.readInt64(); - break; - } - case 96: { - - tableSizeBytes_ = input.readInt64(); - break; - } - case 104: { - - rowCount_ = input.readInt64(); - break; - } - case 112: { - int rawValue = input.readEnum(); - - encryptionStatus_ = rawValue; - break; - } - case 120: { - int rawValue = input.readEnum(); - - resourceVisibility_ = rawValue; - break; - } - case 130: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (profileLastGenerated_ != null) { - subBuilder = profileLastGenerated_.toBuilder(); - } - profileLastGenerated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(profileLastGenerated_); - profileLastGenerated_ = subBuilder.buildPartial(); + encryptionStatus_ = rawValue; + break; } + case 120: + { + int rawValue = input.readEnum(); - break; - } - case 138: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - resourceLabels_ = com.google.protobuf.MapField.newMapField( - ResourceLabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + resourceVisibility_ = rawValue; + break; } - com.google.protobuf.MapEntry - resourceLabels__ = input.readMessage( - ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - resourceLabels_.getMutableMap().put( - resourceLabels__.getKey(), resourceLabels__.getValue()); - break; - } - case 170: { - com.google.privacy.dlp.v2.ProfileStatus.Builder subBuilder = null; - if (profileStatus_ != null) { - subBuilder = profileStatus_.toBuilder(); + case 130: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (profileLastGenerated_ != null) { + subBuilder = profileLastGenerated_.toBuilder(); + } + profileLastGenerated_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(profileLastGenerated_); + profileLastGenerated_ = subBuilder.buildPartial(); + } + + break; } - profileStatus_ = input.readMessage(com.google.privacy.dlp.v2.ProfileStatus.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(profileStatus_); - profileStatus_ = subBuilder.buildPartial(); + case 138: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + resourceLabels_ = + com.google.protobuf.MapField.newMapField( + ResourceLabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry resourceLabels__ = + input.readMessage( + ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + resourceLabels_ + .getMutableMap() + .put(resourceLabels__.getKey(), resourceLabels__.getValue()); + break; } + case 170: + { + com.google.privacy.dlp.v2.ProfileStatus.Builder subBuilder = null; + if (profileStatus_ != null) { + subBuilder = profileStatus_.toBuilder(); + } + profileStatus_ = + input.readMessage( + com.google.privacy.dlp.v2.ProfileStatus.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(profileStatus_); + profileStatus_ = subBuilder.buildPartial(); + } + + break; + } + case 176: + { + int rawValue = input.readEnum(); - break; - } - case 176: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 186: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + state_ = rawValue; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 186: + { + 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 194: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 194: { - java.lang.String s = input.readStringRequireUtf8(); - - datasetProjectId_ = s; - break; - } - case 202: { - java.lang.String s = input.readStringRequireUtf8(); + datasetProjectId_ = s; + break; + } + case 202: + { + java.lang.String s = input.readStringRequireUtf8(); - datasetId_ = s; - break; - } - case 210: { - java.lang.String s = input.readStringRequireUtf8(); + datasetId_ = s; + break; + } + case 210: + { + java.lang.String s = input.readStringRequireUtf8(); - tableId_ = s; - break; - } - case 218: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - predictedInfoTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + tableId_ = s; + break; } - predictedInfoTypes_.add( - input.readMessage(com.google.privacy.dlp.v2.InfoTypeSummary.parser(), extensionRegistry)); - break; - } - case 226: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - otherInfoTypes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 218: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + predictedInfoTypes_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + predictedInfoTypes_.add( + input.readMessage( + com.google.privacy.dlp.v2.InfoTypeSummary.parser(), extensionRegistry)); + break; } - otherInfoTypes_.add( - input.readMessage(com.google.privacy.dlp.v2.OtherInfoTypeSummary.parser(), extensionRegistry)); - break; - } - case 234: { - java.lang.String s = input.readStringRequireUtf8(); + case 226: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + otherInfoTypes_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + otherInfoTypes_.add( + input.readMessage( + com.google.privacy.dlp.v2.OtherInfoTypeSummary.parser(), extensionRegistry)); + break; + } + case 234: + { + java.lang.String s = input.readStringRequireUtf8(); - datasetLocation_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + datasetLocation_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -294,8 +352,7 @@ private TableDataProfile( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { predictedInfoTypes_ = java.util.Collections.unmodifiableList(predictedInfoTypes_); @@ -307,41 +364,46 @@ private TableDataProfile( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TableDataProfile_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 17: return internalGetResourceLabels(); 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_TableDataProfile_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableDataProfile.class, com.google.privacy.dlp.v2.TableDataProfile.Builder.class); + com.google.privacy.dlp.v2.TableDataProfile.class, + com.google.privacy.dlp.v2.TableDataProfile.Builder.class); } /** + * + * *
    * Possible states of a profile. New items may be added.
    * 
* * Protobuf enum {@code google.privacy.dlp.v2.TableDataProfile.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unused.
      * 
@@ -350,6 +412,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The profile is currently running. Once a profile has finished it will
      * transition to DONE.
@@ -359,6 +423,8 @@ public enum State
      */
     RUNNING(1),
     /**
+     *
+     *
      * 
      * The profile is no longer generating.
      * If profile_status.status.code is 0, the profile succeeded, otherwise, it
@@ -372,6 +438,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unused.
      * 
@@ -380,6 +448,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The profile is currently running. Once a profile has finished it will
      * transition to DONE.
@@ -389,6 +459,8 @@ public enum State
      */
     public static final int RUNNING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The profile is no longer generating.
      * If profile_status.status.code is 0, the profile succeeded, otherwise, it
@@ -399,7 +471,6 @@ public enum State
      */
     public static final int DONE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -424,49 +495,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return DONE;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return DONE;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       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.TableDataProfile.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -486,11 +557,14 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the profile.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -499,29 +573,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 profile.
    * 
* * 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 { @@ -532,11 +606,14 @@ public java.lang.String getName() { public static final int PROJECT_DATA_PROFILE_FIELD_NUMBER = 2; private volatile java.lang.Object projectDataProfile_; /** + * + * *
    * The resource name to the project data profile for this table.
    * 
* * string project_data_profile = 2; + * * @return The projectDataProfile. */ @java.lang.Override @@ -545,29 +622,29 @@ public java.lang.String getProjectDataProfile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectDataProfile_ = s; return s; } } /** + * + * *
    * The resource name to the project data profile for this table.
    * 
* * string project_data_profile = 2; + * * @return The bytes for projectDataProfile. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectDataProfileBytes() { + public com.google.protobuf.ByteString getProjectDataProfileBytes() { java.lang.Object ref = projectDataProfile_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectDataProfile_ = b; return b; } else { @@ -578,11 +655,14 @@ public java.lang.String getProjectDataProfile() { public static final int DATASET_PROJECT_ID_FIELD_NUMBER = 24; private volatile java.lang.Object datasetProjectId_; /** + * + * *
    * The GCP project ID that owns the BigQuery dataset.
    * 
* * string dataset_project_id = 24; + * * @return The datasetProjectId. */ @java.lang.Override @@ -591,29 +671,29 @@ public java.lang.String getDatasetProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetProjectId_ = s; return s; } } /** + * + * *
    * The GCP project ID that owns the BigQuery dataset.
    * 
* * string dataset_project_id = 24; + * * @return The bytes for datasetProjectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetProjectIdBytes() { + public com.google.protobuf.ByteString getDatasetProjectIdBytes() { java.lang.Object ref = datasetProjectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetProjectId_ = b; return b; } else { @@ -624,6 +704,8 @@ public java.lang.String getDatasetProjectId() { public static final int DATASET_LOCATION_FIELD_NUMBER = 29; private volatile java.lang.Object datasetLocation_; /** + * + * *
    * The BigQuery location where the dataset's data is stored.
    * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -631,6 +713,7 @@ public java.lang.String getDatasetProjectId() {
    * 
* * string dataset_location = 29; + * * @return The datasetLocation. */ @java.lang.Override @@ -639,14 +722,15 @@ public java.lang.String getDatasetLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetLocation_ = s; return s; } } /** + * + * *
    * The BigQuery location where the dataset's data is stored.
    * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -654,16 +738,15 @@ public java.lang.String getDatasetLocation() {
    * 
* * string dataset_location = 29; + * * @return The bytes for datasetLocation. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetLocationBytes() { + public com.google.protobuf.ByteString getDatasetLocationBytes() { java.lang.Object ref = datasetLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetLocation_ = b; return b; } else { @@ -674,11 +757,14 @@ public java.lang.String getDatasetLocation() { public static final int DATASET_ID_FIELD_NUMBER = 25; private volatile java.lang.Object datasetId_; /** + * + * *
    * The BigQuery dataset ID.
    * 
* * string dataset_id = 25; + * * @return The datasetId. */ @java.lang.Override @@ -687,29 +773,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; } } /** + * + * *
    * The BigQuery dataset ID.
    * 
* * string dataset_id = 25; + * * @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 { @@ -720,11 +806,14 @@ public java.lang.String getDatasetId() { public static final int TABLE_ID_FIELD_NUMBER = 26; private volatile java.lang.Object tableId_; /** + * + * *
    * The BigQuery table ID.
    * 
* * string table_id = 26; + * * @return The tableId. */ @java.lang.Override @@ -733,29 +822,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; } } /** + * + * *
    * The BigQuery table ID.
    * 
* * string table_id = 26; + * * @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 { @@ -766,12 +855,15 @@ public java.lang.String getTableId() { public static final int FULL_RESOURCE_FIELD_NUMBER = 3; private volatile java.lang.Object fullResource_; /** + * + * *
    * The resource name of the table.
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource = 3; + * * @return The fullResource. */ @java.lang.Override @@ -780,30 +872,30 @@ public java.lang.String getFullResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResource_ = s; return s; } } /** + * + * *
    * The resource name of the table.
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource = 3; + * * @return The bytes for fullResource. */ @java.lang.Override - public com.google.protobuf.ByteString - getFullResourceBytes() { + public com.google.protobuf.ByteString getFullResourceBytes() { java.lang.Object ref = fullResource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResource_ = b; return b; } else { @@ -814,12 +906,15 @@ public java.lang.String getFullResource() { public static final int PROFILE_STATUS_FIELD_NUMBER = 21; private com.google.privacy.dlp.v2.ProfileStatus profileStatus_; /** + * + * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
    * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; + * * @return Whether the profileStatus field is set. */ @java.lang.Override @@ -827,19 +922,26 @@ public boolean hasProfileStatus() { return profileStatus_ != null; } /** + * + * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
    * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; + * * @return The profileStatus. */ @java.lang.Override public com.google.privacy.dlp.v2.ProfileStatus getProfileStatus() { - return profileStatus_ == null ? com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance() : profileStatus_; + return profileStatus_ == null + ? com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance() + : profileStatus_; } /** + * + * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
@@ -855,38 +957,50 @@ public com.google.privacy.dlp.v2.ProfileStatusOrBuilder getProfileStatusOrBuilde
   public static final int STATE_FIELD_NUMBER = 22;
   private int state_;
   /**
+   *
+   *
    * 
    * State of a profile.
    * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; + * * @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 profile.
    * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; + * * @return The state. */ - @java.lang.Override public com.google.privacy.dlp.v2.TableDataProfile.State getState() { + @java.lang.Override + public com.google.privacy.dlp.v2.TableDataProfile.State getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TableDataProfile.State result = com.google.privacy.dlp.v2.TableDataProfile.State.valueOf(state_); + com.google.privacy.dlp.v2.TableDataProfile.State result = + com.google.privacy.dlp.v2.TableDataProfile.State.valueOf(state_); return result == null ? com.google.privacy.dlp.v2.TableDataProfile.State.UNRECOGNIZED : result; } public static final int SENSITIVITY_SCORE_FIELD_NUMBER = 5; private com.google.privacy.dlp.v2.SensitivityScore sensitivityScore_; /** + * + * *
    * The sensitivity score of this table.
    * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; + * * @return Whether the sensitivityScore field is set. */ @java.lang.Override @@ -894,18 +1008,25 @@ public boolean hasSensitivityScore() { return sensitivityScore_ != null; } /** + * + * *
    * The sensitivity score of this table.
    * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; + * * @return The sensitivityScore. */ @java.lang.Override public com.google.privacy.dlp.v2.SensitivityScore getSensitivityScore() { - return sensitivityScore_ == null ? com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() : sensitivityScore_; + return sensitivityScore_ == null + ? com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() + : sensitivityScore_; } /** + * + * *
    * The sensitivity score of this table.
    * 
@@ -920,11 +1041,14 @@ public com.google.privacy.dlp.v2.SensitivityScoreOrBuilder getSensitivityScoreOr public static final int DATA_RISK_LEVEL_FIELD_NUMBER = 6; private com.google.privacy.dlp.v2.DataRiskLevel dataRiskLevel_; /** + * + * *
    * The data risk level of this table.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; + * * @return Whether the dataRiskLevel field is set. */ @java.lang.Override @@ -932,18 +1056,25 @@ public boolean hasDataRiskLevel() { return dataRiskLevel_ != null; } /** + * + * *
    * The data risk level of this table.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; + * * @return The dataRiskLevel. */ @java.lang.Override public com.google.privacy.dlp.v2.DataRiskLevel getDataRiskLevel() { - return dataRiskLevel_ == null ? com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() : dataRiskLevel_; + return dataRiskLevel_ == null + ? com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() + : dataRiskLevel_; } /** + * + * *
    * The data risk level of this table.
    * 
@@ -958,6 +1089,8 @@ public com.google.privacy.dlp.v2.DataRiskLevelOrBuilder getDataRiskLevelOrBuilde public static final int PREDICTED_INFO_TYPES_FIELD_NUMBER = 27; private java.util.List predictedInfoTypes_; /** + * + * *
    * The infoTypes predicted from this table's data.
    * 
@@ -969,6 +1102,8 @@ public java.util.List getPredictedInf return predictedInfoTypes_; } /** + * + * *
    * The infoTypes predicted from this table's data.
    * 
@@ -976,11 +1111,13 @@ public java.util.List getPredictedInf * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ @java.lang.Override - public java.util.List + public java.util.List getPredictedInfoTypesOrBuilderList() { return predictedInfoTypes_; } /** + * + * *
    * The infoTypes predicted from this table's data.
    * 
@@ -992,6 +1129,8 @@ public int getPredictedInfoTypesCount() { return predictedInfoTypes_.size(); } /** + * + * *
    * The infoTypes predicted from this table's data.
    * 
@@ -1003,6 +1142,8 @@ public com.google.privacy.dlp.v2.InfoTypeSummary getPredictedInfoTypes(int index return predictedInfoTypes_.get(index); } /** + * + * *
    * The infoTypes predicted from this table's data.
    * 
@@ -1018,6 +1159,8 @@ public com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesO public static final int OTHER_INFO_TYPES_FIELD_NUMBER = 28; private java.util.List otherInfoTypes_; /** + * + * *
    * Other infoTypes found in this table's data.
    * 
@@ -1029,6 +1172,8 @@ public java.util.List getOtherIn return otherInfoTypes_; } /** + * + * *
    * Other infoTypes found in this table's data.
    * 
@@ -1036,11 +1181,13 @@ public java.util.List getOtherIn * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ @java.lang.Override - public java.util.List + public java.util.List getOtherInfoTypesOrBuilderList() { return otherInfoTypes_; } /** + * + * *
    * Other infoTypes found in this table's data.
    * 
@@ -1052,6 +1199,8 @@ public int getOtherInfoTypesCount() { return otherInfoTypes_.size(); } /** + * + * *
    * Other infoTypes found in this table's data.
    * 
@@ -1063,6 +1212,8 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary getOtherInfoTypes(int inde return otherInfoTypes_.get(index); } /** + * + * *
    * Other infoTypes found in this table's data.
    * 
@@ -1078,11 +1229,14 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypes public static final int CONFIG_SNAPSHOT_FIELD_NUMBER = 7; private com.google.privacy.dlp.v2.DataProfileConfigSnapshot configSnapshot_; /** + * + * *
    * The snapshot of the configurations used to generate the profile.
    * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; + * * @return Whether the configSnapshot field is set. */ @java.lang.Override @@ -1090,18 +1244,25 @@ public boolean hasConfigSnapshot() { return configSnapshot_ != null; } /** + * + * *
    * The snapshot of the configurations used to generate the profile.
    * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; + * * @return The configSnapshot. */ @java.lang.Override public com.google.privacy.dlp.v2.DataProfileConfigSnapshot getConfigSnapshot() { - return configSnapshot_ == null ? com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() : configSnapshot_; + return configSnapshot_ == null + ? com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() + : configSnapshot_; } /** + * + * *
    * The snapshot of the configurations used to generate the profile.
    * 
@@ -1116,11 +1277,14 @@ public com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder getConfigSna public static final int LAST_MODIFIED_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp lastModifiedTime_; /** + * + * *
    * The time when this table was last modified
    * 
* * .google.protobuf.Timestamp last_modified_time = 8; + * * @return Whether the lastModifiedTime field is set. */ @java.lang.Override @@ -1128,18 +1292,25 @@ public boolean hasLastModifiedTime() { return lastModifiedTime_ != null; } /** + * + * *
    * The time when this table was last modified
    * 
* * .google.protobuf.Timestamp last_modified_time = 8; + * * @return The lastModifiedTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastModifiedTime() { - return lastModifiedTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedTime_; + return lastModifiedTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastModifiedTime_; } /** + * + * *
    * The time when this table was last modified
    * 
@@ -1154,11 +1325,14 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder() { public static final int EXPIRATION_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp expirationTime_; /** + * + * *
    * Optional. The time when this table expires.
    * 
* * .google.protobuf.Timestamp expiration_time = 9; + * * @return Whether the expirationTime field is set. */ @java.lang.Override @@ -1166,18 +1340,25 @@ public boolean hasExpirationTime() { return expirationTime_ != null; } /** + * + * *
    * Optional. The time when this table expires.
    * 
* * .google.protobuf.Timestamp expiration_time = 9; + * * @return The expirationTime. */ @java.lang.Override public com.google.protobuf.Timestamp getExpirationTime() { - return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } /** + * + * *
    * Optional. The time when this table expires.
    * 
@@ -1192,11 +1373,14 @@ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { public static final int SCANNED_COLUMN_COUNT_FIELD_NUMBER = 10; private long scannedColumnCount_; /** + * + * *
    * The number of columns profiled in the table.
    * 
* * int64 scanned_column_count = 10; + * * @return The scannedColumnCount. */ @java.lang.Override @@ -1207,11 +1391,14 @@ public long getScannedColumnCount() { public static final int FAILED_COLUMN_COUNT_FIELD_NUMBER = 11; private long failedColumnCount_; /** + * + * *
    * The number of columns skipped in the table because of an error.
    * 
* * int64 failed_column_count = 11; + * * @return The failedColumnCount. */ @java.lang.Override @@ -1222,11 +1409,14 @@ public long getFailedColumnCount() { public static final int TABLE_SIZE_BYTES_FIELD_NUMBER = 12; private long tableSizeBytes_; /** + * + * *
    * The size of the table when the profile was generated.
    * 
* * int64 table_size_bytes = 12; + * * @return The tableSizeBytes. */ @java.lang.Override @@ -1237,11 +1427,14 @@ public long getTableSizeBytes() { public static final int ROW_COUNT_FIELD_NUMBER = 13; private long rowCount_; /** + * + * *
    * Number of rows in the table when the profile was generated.
    * 
* * int64 row_count = 13; + * * @return The rowCount. */ @java.lang.Override @@ -1252,65 +1445,86 @@ public long getRowCount() { public static final int ENCRYPTION_STATUS_FIELD_NUMBER = 14; private int encryptionStatus_; /** + * + * *
    * How the table is encrypted.
    * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; + * * @return The enum numeric value on the wire for encryptionStatus. */ - @java.lang.Override public int getEncryptionStatusValue() { + @java.lang.Override + public int getEncryptionStatusValue() { return encryptionStatus_; } /** + * + * *
    * How the table is encrypted.
    * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; + * * @return The encryptionStatus. */ - @java.lang.Override public com.google.privacy.dlp.v2.EncryptionStatus getEncryptionStatus() { + @java.lang.Override + public com.google.privacy.dlp.v2.EncryptionStatus getEncryptionStatus() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.EncryptionStatus result = com.google.privacy.dlp.v2.EncryptionStatus.valueOf(encryptionStatus_); + com.google.privacy.dlp.v2.EncryptionStatus result = + com.google.privacy.dlp.v2.EncryptionStatus.valueOf(encryptionStatus_); return result == null ? com.google.privacy.dlp.v2.EncryptionStatus.UNRECOGNIZED : result; } public static final int RESOURCE_VISIBILITY_FIELD_NUMBER = 15; private int resourceVisibility_; /** + * + * *
    * How broadly a resource has been shared.
    * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; + * * @return The enum numeric value on the wire for resourceVisibility. */ - @java.lang.Override public int getResourceVisibilityValue() { + @java.lang.Override + public int getResourceVisibilityValue() { return resourceVisibility_; } /** + * + * *
    * How broadly a resource has been shared.
    * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; + * * @return The resourceVisibility. */ - @java.lang.Override public com.google.privacy.dlp.v2.ResourceVisibility getResourceVisibility() { + @java.lang.Override + public com.google.privacy.dlp.v2.ResourceVisibility getResourceVisibility() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.ResourceVisibility result = com.google.privacy.dlp.v2.ResourceVisibility.valueOf(resourceVisibility_); + com.google.privacy.dlp.v2.ResourceVisibility result = + com.google.privacy.dlp.v2.ResourceVisibility.valueOf(resourceVisibility_); return result == null ? com.google.privacy.dlp.v2.ResourceVisibility.UNRECOGNIZED : result; } public static final int PROFILE_LAST_GENERATED_FIELD_NUMBER = 16; private com.google.protobuf.Timestamp profileLastGenerated_; /** + * + * *
    * The last time the profile was generated.
    * 
* * .google.protobuf.Timestamp profile_last_generated = 16; + * * @return Whether the profileLastGenerated field is set. */ @java.lang.Override @@ -1318,18 +1532,25 @@ public boolean hasProfileLastGenerated() { return profileLastGenerated_ != null; } /** + * + * *
    * The last time the profile was generated.
    * 
* * .google.protobuf.Timestamp profile_last_generated = 16; + * * @return The profileLastGenerated. */ @java.lang.Override public com.google.protobuf.Timestamp getProfileLastGenerated() { - return profileLastGenerated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : profileLastGenerated_; + return profileLastGenerated_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : profileLastGenerated_; } /** + * + * *
    * The last time the profile was generated.
    * 
@@ -1342,21 +1563,22 @@ public com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder() } public static final int RESOURCE_LABELS_FIELD_NUMBER = 17; + private static final class ResourceLabelsDefaultEntryHolder { - 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_TableDataProfile_ResourceLabelsEntry_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_TableDataProfile_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -1368,28 +1590,30 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
    * The labels applied to the resource at the time the profile was generated.
    * 
* * map<string, string> resource_labels = 17; */ - @java.lang.Override - public boolean containsResourceLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsResourceLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetResourceLabels().getMap().containsKey(key); } - /** - * Use {@link #getResourceLabelsMap()} instead. - */ + /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** + * + * *
    * The labels applied to the resource at the time the profile was generated.
    * 
@@ -1397,11 +1621,12 @@ public java.util.Map getResourceLabels() { * map<string, string> resource_labels = 17; */ @java.lang.Override - public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** + * + * *
    * The labels applied to the resource at the time the profile was generated.
    * 
@@ -1409,16 +1634,17 @@ public java.util.Map getResourceLabelsMap() * map<string, string> resource_labels = 17; */ @java.lang.Override - public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * The labels applied to the resource at the time the profile was generated.
    * 
@@ -1426,12 +1652,11 @@ public java.lang.String getResourceLabelsOrDefault( * map<string, string> resource_labels = 17; */ @java.lang.Override - - public java.lang.String getResourceLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1441,11 +1666,14 @@ public java.lang.String getResourceLabelsOrThrow( public static final int CREATE_TIME_FIELD_NUMBER = 23; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time at which the table was created.
    * 
* * .google.protobuf.Timestamp create_time = 23; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1453,11 +1681,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time at which the table was created.
    * 
* * .google.protobuf.Timestamp create_time = 23; + * * @return The createTime. */ @java.lang.Override @@ -1465,6 +1696,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time at which the table was created.
    * 
@@ -1477,6 +1710,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1488,8 +1722,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1526,21 +1759,20 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (rowCount_ != 0L) { output.writeInt64(13, rowCount_); } - if (encryptionStatus_ != com.google.privacy.dlp.v2.EncryptionStatus.ENCRYPTION_STATUS_UNSPECIFIED.getNumber()) { + if (encryptionStatus_ + != com.google.privacy.dlp.v2.EncryptionStatus.ENCRYPTION_STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(14, encryptionStatus_); } - if (resourceVisibility_ != com.google.privacy.dlp.v2.ResourceVisibility.RESOURCE_VISIBILITY_UNSPECIFIED.getNumber()) { + if (resourceVisibility_ + != com.google.privacy.dlp.v2.ResourceVisibility.RESOURCE_VISIBILITY_UNSPECIFIED + .getNumber()) { output.writeEnum(15, resourceVisibility_); } if (profileLastGenerated_ != null) { output.writeMessage(16, getProfileLastGenerated()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetResourceLabels(), - ResourceLabelsDefaultEntryHolder.defaultEntry, - 17); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 17); if (profileStatus_ != null) { output.writeMessage(21, getProfileStatus()); } @@ -1587,74 +1819,63 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fullResource_); } if (sensitivityScore_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSensitivityScore()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSensitivityScore()); } if (dataRiskLevel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDataRiskLevel()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDataRiskLevel()); } if (configSnapshot_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getConfigSnapshot()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getConfigSnapshot()); } if (lastModifiedTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getLastModifiedTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getLastModifiedTime()); } if (expirationTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getExpirationTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getExpirationTime()); } if (scannedColumnCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(10, scannedColumnCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, scannedColumnCount_); } if (failedColumnCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, failedColumnCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, failedColumnCount_); } if (tableSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(12, tableSizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, tableSizeBytes_); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(13, rowCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(13, rowCount_); } - if (encryptionStatus_ != com.google.privacy.dlp.v2.EncryptionStatus.ENCRYPTION_STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(14, encryptionStatus_); + if (encryptionStatus_ + != com.google.privacy.dlp.v2.EncryptionStatus.ENCRYPTION_STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, encryptionStatus_); } - if (resourceVisibility_ != com.google.privacy.dlp.v2.ResourceVisibility.RESOURCE_VISIBILITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(15, resourceVisibility_); + if (resourceVisibility_ + != com.google.privacy.dlp.v2.ResourceVisibility.RESOURCE_VISIBILITY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, resourceVisibility_); } if (profileLastGenerated_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getProfileLastGenerated()); - } - for (java.util.Map.Entry entry - : internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, resourceLabels__); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(16, getProfileLastGenerated()); + } + for (java.util.Map.Entry entry : + internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry resourceLabels__ = + ResourceLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, resourceLabels__); } if (profileStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getProfileStatus()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getProfileStatus()); } if (state_ != com.google.privacy.dlp.v2.TableDataProfile.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(22, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, state_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getCreateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetProjectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, datasetProjectId_); @@ -1666,12 +1887,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, tableId_); } for (int i = 0; i < predictedInfoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, predictedInfoTypes_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(27, predictedInfoTypes_.get(i)); } for (int i = 0; i < otherInfoTypes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, otherInfoTypes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(28, otherInfoTypes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetLocation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, datasetLocation_); @@ -1684,83 +1904,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.TableDataProfile)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TableDataProfile other = (com.google.privacy.dlp.v2.TableDataProfile) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getProjectDataProfile() - .equals(other.getProjectDataProfile())) return false; - if (!getDatasetProjectId() - .equals(other.getDatasetProjectId())) return false; - if (!getDatasetLocation() - .equals(other.getDatasetLocation())) return false; - if (!getDatasetId() - .equals(other.getDatasetId())) return false; - if (!getTableId() - .equals(other.getTableId())) return false; - if (!getFullResource() - .equals(other.getFullResource())) return false; + com.google.privacy.dlp.v2.TableDataProfile other = + (com.google.privacy.dlp.v2.TableDataProfile) obj; + + if (!getName().equals(other.getName())) return false; + if (!getProjectDataProfile().equals(other.getProjectDataProfile())) return false; + if (!getDatasetProjectId().equals(other.getDatasetProjectId())) return false; + if (!getDatasetLocation().equals(other.getDatasetLocation())) return false; + if (!getDatasetId().equals(other.getDatasetId())) return false; + if (!getTableId().equals(other.getTableId())) return false; + if (!getFullResource().equals(other.getFullResource())) return false; if (hasProfileStatus() != other.hasProfileStatus()) return false; if (hasProfileStatus()) { - if (!getProfileStatus() - .equals(other.getProfileStatus())) return false; + if (!getProfileStatus().equals(other.getProfileStatus())) return false; } if (state_ != other.state_) return false; if (hasSensitivityScore() != other.hasSensitivityScore()) return false; if (hasSensitivityScore()) { - if (!getSensitivityScore() - .equals(other.getSensitivityScore())) return false; + if (!getSensitivityScore().equals(other.getSensitivityScore())) return false; } if (hasDataRiskLevel() != other.hasDataRiskLevel()) return false; if (hasDataRiskLevel()) { - if (!getDataRiskLevel() - .equals(other.getDataRiskLevel())) return false; + if (!getDataRiskLevel().equals(other.getDataRiskLevel())) return false; } - if (!getPredictedInfoTypesList() - .equals(other.getPredictedInfoTypesList())) return false; - if (!getOtherInfoTypesList() - .equals(other.getOtherInfoTypesList())) return false; + if (!getPredictedInfoTypesList().equals(other.getPredictedInfoTypesList())) return false; + if (!getOtherInfoTypesList().equals(other.getOtherInfoTypesList())) return false; if (hasConfigSnapshot() != other.hasConfigSnapshot()) return false; if (hasConfigSnapshot()) { - if (!getConfigSnapshot() - .equals(other.getConfigSnapshot())) return false; + if (!getConfigSnapshot().equals(other.getConfigSnapshot())) return false; } if (hasLastModifiedTime() != other.hasLastModifiedTime()) return false; if (hasLastModifiedTime()) { - if (!getLastModifiedTime() - .equals(other.getLastModifiedTime())) return false; + if (!getLastModifiedTime().equals(other.getLastModifiedTime())) return false; } if (hasExpirationTime() != other.hasExpirationTime()) return false; if (hasExpirationTime()) { - if (!getExpirationTime() - .equals(other.getExpirationTime())) return false; - } - if (getScannedColumnCount() - != other.getScannedColumnCount()) return false; - if (getFailedColumnCount() - != other.getFailedColumnCount()) return false; - if (getTableSizeBytes() - != other.getTableSizeBytes()) return false; - if (getRowCount() - != other.getRowCount()) return false; + if (!getExpirationTime().equals(other.getExpirationTime())) return false; + } + if (getScannedColumnCount() != other.getScannedColumnCount()) return false; + if (getFailedColumnCount() != other.getFailedColumnCount()) return false; + if (getTableSizeBytes() != other.getTableSizeBytes()) return false; + if (getRowCount() != other.getRowCount()) return false; if (encryptionStatus_ != other.encryptionStatus_) return false; if (resourceVisibility_ != other.resourceVisibility_) return false; if (hasProfileLastGenerated() != other.hasProfileLastGenerated()) return false; if (hasProfileLastGenerated()) { - if (!getProfileLastGenerated() - .equals(other.getProfileLastGenerated())) return false; + if (!getProfileLastGenerated().equals(other.getProfileLastGenerated())) return false; } - if (!internalGetResourceLabels().equals( - other.internalGetResourceLabels())) return false; + if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) 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; @@ -1822,17 +2021,13 @@ public int hashCode() { hash = (53 * hash) + getExpirationTime().hashCode(); } hash = (37 * hash) + SCANNED_COLUMN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getScannedColumnCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getScannedColumnCount()); hash = (37 * hash) + FAILED_COLUMN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getFailedColumnCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getFailedColumnCount()); hash = (37 * hash) + TABLE_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTableSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTableSizeBytes()); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); hash = (37 * hash) + ENCRYPTION_STATUS_FIELD_NUMBER; hash = (53 * hash) + encryptionStatus_; hash = (37 * hash) + RESOURCE_VISIBILITY_FIELD_NUMBER; @@ -1854,140 +2049,147 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TableDataProfile parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TableDataProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TableDataProfile parseFrom(java.io.InputStream input) 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.TableDataProfile parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TableDataProfile parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TableDataProfile parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TableDataProfile parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TableDataProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TableDataProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 profile for a scanned table.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TableDataProfile} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TableDataProfile) com.google.privacy.dlp.v2.TableDataProfileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 17: return internalGetResourceLabels(); 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 17: return internalGetMutableResourceLabels(); 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_TableDataProfile_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TableDataProfile_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TableDataProfile.class, com.google.privacy.dlp.v2.TableDataProfile.Builder.class); + com.google.privacy.dlp.v2.TableDataProfile.class, + com.google.privacy.dlp.v2.TableDataProfile.Builder.class); } // Construct using com.google.privacy.dlp.v2.TableDataProfile.newBuilder() @@ -1995,18 +2197,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) { getPredictedInfoTypesFieldBuilder(); getOtherInfoTypesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2103,9 +2305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TableDataProfile_descriptor; } @java.lang.Override @@ -2124,7 +2326,8 @@ public com.google.privacy.dlp.v2.TableDataProfile build() { @java.lang.Override public com.google.privacy.dlp.v2.TableDataProfile buildPartial() { - com.google.privacy.dlp.v2.TableDataProfile result = new com.google.privacy.dlp.v2.TableDataProfile(this); + com.google.privacy.dlp.v2.TableDataProfile result = + new com.google.privacy.dlp.v2.TableDataProfile(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.projectDataProfile_ = projectDataProfile_; @@ -2208,38 +2411,39 @@ public com.google.privacy.dlp.v2.TableDataProfile buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TableDataProfile) { - return mergeFrom((com.google.privacy.dlp.v2.TableDataProfile)other); + return mergeFrom((com.google.privacy.dlp.v2.TableDataProfile) other); } else { super.mergeFrom(other); return this; @@ -2306,9 +2510,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TableDataProfile other) { predictedInfoTypesBuilder_ = null; predictedInfoTypes_ = other.predictedInfoTypes_; bitField0_ = (bitField0_ & ~0x00000001); - predictedInfoTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPredictedInfoTypesFieldBuilder() : null; + predictedInfoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPredictedInfoTypesFieldBuilder() + : null; } else { predictedInfoTypesBuilder_.addAllMessages(other.predictedInfoTypes_); } @@ -2332,9 +2537,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TableDataProfile other) { otherInfoTypesBuilder_ = null; otherInfoTypes_ = other.otherInfoTypes_; bitField0_ = (bitField0_ & ~0x00000002); - otherInfoTypesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOtherInfoTypesFieldBuilder() : null; + otherInfoTypesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOtherInfoTypesFieldBuilder() + : null; } else { otherInfoTypesBuilder_.addAllMessages(other.otherInfoTypes_); } @@ -2370,8 +2576,7 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TableDataProfile other) { if (other.hasProfileLastGenerated()) { mergeProfileLastGenerated(other.getProfileLastGenerated()); } - internalGetMutableResourceLabels().mergeFrom( - other.internalGetResourceLabels()); + internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2403,22 +2608,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of the profile.
      * 
* * 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; @@ -2427,20 +2635,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the profile.
      * 
* * 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 { @@ -2448,54 +2657,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the profile.
      * 
* * 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 profile.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the profile.
      * 
* * 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; @@ -2503,18 +2719,20 @@ public Builder setNameBytes( private java.lang.Object projectDataProfile_ = ""; /** + * + * *
      * The resource name to the project data profile for this table.
      * 
* * string project_data_profile = 2; + * * @return The projectDataProfile. */ public java.lang.String getProjectDataProfile() { java.lang.Object ref = projectDataProfile_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectDataProfile_ = s; return s; @@ -2523,20 +2741,21 @@ public java.lang.String getProjectDataProfile() { } } /** + * + * *
      * The resource name to the project data profile for this table.
      * 
* * string project_data_profile = 2; + * * @return The bytes for projectDataProfile. */ - public com.google.protobuf.ByteString - getProjectDataProfileBytes() { + public com.google.protobuf.ByteString getProjectDataProfileBytes() { java.lang.Object ref = projectDataProfile_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectDataProfile_ = b; return b; } else { @@ -2544,54 +2763,61 @@ public java.lang.String getProjectDataProfile() { } } /** + * + * *
      * The resource name to the project data profile for this table.
      * 
* * string project_data_profile = 2; + * * @param value The projectDataProfile to set. * @return This builder for chaining. */ - public Builder setProjectDataProfile( - java.lang.String value) { + public Builder setProjectDataProfile(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectDataProfile_ = value; onChanged(); return this; } /** + * + * *
      * The resource name to the project data profile for this table.
      * 
* * string project_data_profile = 2; + * * @return This builder for chaining. */ public Builder clearProjectDataProfile() { - + projectDataProfile_ = getDefaultInstance().getProjectDataProfile(); onChanged(); return this; } /** + * + * *
      * The resource name to the project data profile for this table.
      * 
* * string project_data_profile = 2; + * * @param value The bytes for projectDataProfile to set. * @return This builder for chaining. */ - public Builder setProjectDataProfileBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectDataProfileBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectDataProfile_ = value; onChanged(); return this; @@ -2599,18 +2825,20 @@ public Builder setProjectDataProfileBytes( private java.lang.Object datasetProjectId_ = ""; /** + * + * *
      * The GCP project ID that owns the BigQuery dataset.
      * 
* * string dataset_project_id = 24; + * * @return The datasetProjectId. */ public java.lang.String getDatasetProjectId() { java.lang.Object ref = datasetProjectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetProjectId_ = s; return s; @@ -2619,20 +2847,21 @@ public java.lang.String getDatasetProjectId() { } } /** + * + * *
      * The GCP project ID that owns the BigQuery dataset.
      * 
* * string dataset_project_id = 24; + * * @return The bytes for datasetProjectId. */ - public com.google.protobuf.ByteString - getDatasetProjectIdBytes() { + public com.google.protobuf.ByteString getDatasetProjectIdBytes() { java.lang.Object ref = datasetProjectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetProjectId_ = b; return b; } else { @@ -2640,54 +2869,61 @@ public java.lang.String getDatasetProjectId() { } } /** + * + * *
      * The GCP project ID that owns the BigQuery dataset.
      * 
* * string dataset_project_id = 24; + * * @param value The datasetProjectId to set. * @return This builder for chaining. */ - public Builder setDatasetProjectId( - java.lang.String value) { + public Builder setDatasetProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetProjectId_ = value; onChanged(); return this; } /** + * + * *
      * The GCP project ID that owns the BigQuery dataset.
      * 
* * string dataset_project_id = 24; + * * @return This builder for chaining. */ public Builder clearDatasetProjectId() { - + datasetProjectId_ = getDefaultInstance().getDatasetProjectId(); onChanged(); return this; } /** + * + * *
      * The GCP project ID that owns the BigQuery dataset.
      * 
* * string dataset_project_id = 24; + * * @param value The bytes for datasetProjectId to set. * @return This builder for chaining. */ - public Builder setDatasetProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDatasetProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetProjectId_ = value; onChanged(); return this; @@ -2695,6 +2931,8 @@ public Builder setDatasetProjectIdBytes( private java.lang.Object datasetLocation_ = ""; /** + * + * *
      * The BigQuery location where the dataset's data is stored.
      * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -2702,13 +2940,13 @@ public Builder setDatasetProjectIdBytes(
      * 
* * string dataset_location = 29; + * * @return The datasetLocation. */ public java.lang.String getDatasetLocation() { java.lang.Object ref = datasetLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetLocation_ = s; return s; @@ -2717,6 +2955,8 @@ public java.lang.String getDatasetLocation() { } } /** + * + * *
      * The BigQuery location where the dataset's data is stored.
      * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -2724,15 +2964,14 @@ public java.lang.String getDatasetLocation() {
      * 
* * string dataset_location = 29; + * * @return The bytes for datasetLocation. */ - public com.google.protobuf.ByteString - getDatasetLocationBytes() { + public com.google.protobuf.ByteString getDatasetLocationBytes() { java.lang.Object ref = datasetLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetLocation_ = b; return b; } else { @@ -2740,6 +2979,8 @@ public java.lang.String getDatasetLocation() { } } /** + * + * *
      * The BigQuery location where the dataset's data is stored.
      * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -2747,20 +2988,22 @@ public java.lang.String getDatasetLocation() {
      * 
* * string dataset_location = 29; + * * @param value The datasetLocation to set. * @return This builder for chaining. */ - public Builder setDatasetLocation( - java.lang.String value) { + public Builder setDatasetLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetLocation_ = value; onChanged(); return this; } /** + * + * *
      * The BigQuery location where the dataset's data is stored.
      * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -2768,15 +3011,18 @@ public Builder setDatasetLocation(
      * 
* * string dataset_location = 29; + * * @return This builder for chaining. */ public Builder clearDatasetLocation() { - + datasetLocation_ = getDefaultInstance().getDatasetLocation(); onChanged(); return this; } /** + * + * *
      * The BigQuery location where the dataset's data is stored.
      * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -2784,16 +3030,16 @@ public Builder clearDatasetLocation() {
      * 
* * string dataset_location = 29; + * * @param value The bytes for datasetLocation to set. * @return This builder for chaining. */ - public Builder setDatasetLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setDatasetLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetLocation_ = value; onChanged(); return this; @@ -2801,18 +3047,20 @@ public Builder setDatasetLocationBytes( private java.lang.Object datasetId_ = ""; /** + * + * *
      * The BigQuery dataset ID.
      * 
* * string dataset_id = 25; + * * @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; @@ -2821,20 +3069,21 @@ public java.lang.String getDatasetId() { } } /** + * + * *
      * The BigQuery dataset ID.
      * 
* * string dataset_id = 25; + * * @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 { @@ -2842,54 +3091,61 @@ public java.lang.String getDatasetId() { } } /** + * + * *
      * The BigQuery dataset ID.
      * 
* * string dataset_id = 25; + * * @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; } /** + * + * *
      * The BigQuery dataset ID.
      * 
* * string dataset_id = 25; + * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); return this; } /** + * + * *
      * The BigQuery dataset ID.
      * 
* * string dataset_id = 25; + * * @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; @@ -2897,18 +3153,20 @@ public Builder setDatasetIdBytes( private java.lang.Object tableId_ = ""; /** + * + * *
      * The BigQuery table ID.
      * 
* * string table_id = 26; + * * @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; @@ -2917,20 +3175,21 @@ public java.lang.String getTableId() { } } /** + * + * *
      * The BigQuery table ID.
      * 
* * string table_id = 26; + * * @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 { @@ -2938,54 +3197,61 @@ public java.lang.String getTableId() { } } /** + * + * *
      * The BigQuery table ID.
      * 
* * string table_id = 26; + * * @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; } /** + * + * *
      * The BigQuery table ID.
      * 
* * string table_id = 26; + * * @return This builder for chaining. */ public Builder clearTableId() { - + tableId_ = getDefaultInstance().getTableId(); onChanged(); return this; } /** + * + * *
      * The BigQuery table ID.
      * 
* * string table_id = 26; + * * @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; @@ -2993,19 +3259,21 @@ public Builder setTableIdBytes( private java.lang.Object fullResource_ = ""; /** + * + * *
      * The resource name of the table.
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource = 3; + * * @return The fullResource. */ public java.lang.String getFullResource() { java.lang.Object ref = fullResource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullResource_ = s; return s; @@ -3014,21 +3282,22 @@ public java.lang.String getFullResource() { } } /** + * + * *
      * The resource name of the table.
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource = 3; + * * @return The bytes for fullResource. */ - public com.google.protobuf.ByteString - getFullResourceBytes() { + public com.google.protobuf.ByteString getFullResourceBytes() { java.lang.Object ref = fullResource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); fullResource_ = b; return b; } else { @@ -3036,57 +3305,64 @@ public java.lang.String getFullResource() { } } /** + * + * *
      * The resource name of the table.
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource = 3; + * * @param value The fullResource to set. * @return This builder for chaining. */ - public Builder setFullResource( - java.lang.String value) { + public Builder setFullResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fullResource_ = value; onChanged(); return this; } /** + * + * *
      * The resource name of the table.
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource = 3; + * * @return This builder for chaining. */ public Builder clearFullResource() { - + fullResource_ = getDefaultInstance().getFullResource(); onChanged(); return this; } /** + * + * *
      * The resource name of the table.
      * https://cloud.google.com/apis/design/resource_names#full_resource_name
      * 
* * string full_resource = 3; + * * @param value The bytes for fullResource to set. * @return This builder for chaining. */ - public Builder setFullResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setFullResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + fullResource_ = value; onChanged(); return this; @@ -3094,36 +3370,49 @@ public Builder setFullResourceBytes( private com.google.privacy.dlp.v2.ProfileStatus profileStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.ProfileStatus, com.google.privacy.dlp.v2.ProfileStatus.Builder, com.google.privacy.dlp.v2.ProfileStatusOrBuilder> profileStatusBuilder_; + com.google.privacy.dlp.v2.ProfileStatus, + com.google.privacy.dlp.v2.ProfileStatus.Builder, + com.google.privacy.dlp.v2.ProfileStatusOrBuilder> + profileStatusBuilder_; /** + * + * *
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
      * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; + * * @return Whether the profileStatus field is set. */ public boolean hasProfileStatus() { return profileStatusBuilder_ != null || profileStatus_ != null; } /** + * + * *
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
      * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; + * * @return The profileStatus. */ public com.google.privacy.dlp.v2.ProfileStatus getProfileStatus() { if (profileStatusBuilder_ == null) { - return profileStatus_ == null ? com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance() : profileStatus_; + return profileStatus_ == null + ? com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance() + : profileStatus_; } else { return profileStatusBuilder_.getMessage(); } } /** + * + * *
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3145,6 +3434,8 @@ public Builder setProfileStatus(com.google.privacy.dlp.v2.ProfileStatus value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3164,6 +3455,8 @@ public Builder setProfileStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3175,7 +3468,9 @@ public Builder mergeProfileStatus(com.google.privacy.dlp.v2.ProfileStatus value)
       if (profileStatusBuilder_ == null) {
         if (profileStatus_ != null) {
           profileStatus_ =
-            com.google.privacy.dlp.v2.ProfileStatus.newBuilder(profileStatus_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.ProfileStatus.newBuilder(profileStatus_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           profileStatus_ = value;
         }
@@ -3187,6 +3482,8 @@ public Builder mergeProfileStatus(com.google.privacy.dlp.v2.ProfileStatus value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3206,6 +3503,8 @@ public Builder clearProfileStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3214,11 +3513,13 @@ public Builder clearProfileStatus() {
      * .google.privacy.dlp.v2.ProfileStatus profile_status = 21;
      */
     public com.google.privacy.dlp.v2.ProfileStatus.Builder getProfileStatusBuilder() {
-      
+
       onChanged();
       return getProfileStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3230,11 +3531,14 @@ public com.google.privacy.dlp.v2.ProfileStatusOrBuilder getProfileStatusOrBuilde
       if (profileStatusBuilder_ != null) {
         return profileStatusBuilder_.getMessageOrBuilder();
       } else {
-        return profileStatus_ == null ?
-            com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance() : profileStatus_;
+        return profileStatus_ == null
+            ? com.google.privacy.dlp.v2.ProfileStatus.getDefaultInstance()
+            : profileStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Success or error status from the most recent profile generation attempt.
      * May be empty if the profile is still being generated.
@@ -3243,14 +3547,17 @@ public com.google.privacy.dlp.v2.ProfileStatusOrBuilder getProfileStatusOrBuilde
      * .google.privacy.dlp.v2.ProfileStatus profile_status = 21;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.ProfileStatus, com.google.privacy.dlp.v2.ProfileStatus.Builder, com.google.privacy.dlp.v2.ProfileStatusOrBuilder> 
+            com.google.privacy.dlp.v2.ProfileStatus,
+            com.google.privacy.dlp.v2.ProfileStatus.Builder,
+            com.google.privacy.dlp.v2.ProfileStatusOrBuilder>
         getProfileStatusFieldBuilder() {
       if (profileStatusBuilder_ == null) {
-        profileStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.ProfileStatus, com.google.privacy.dlp.v2.ProfileStatus.Builder, com.google.privacy.dlp.v2.ProfileStatusOrBuilder>(
-                getProfileStatus(),
-                getParentForChildren(),
-                isClean());
+        profileStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.ProfileStatus,
+                com.google.privacy.dlp.v2.ProfileStatus.Builder,
+                com.google.privacy.dlp.v2.ProfileStatusOrBuilder>(
+                getProfileStatus(), getParentForChildren(), isClean());
         profileStatus_ = null;
       }
       return profileStatusBuilder_;
@@ -3258,51 +3565,67 @@ public com.google.privacy.dlp.v2.ProfileStatusOrBuilder getProfileStatusOrBuilde
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * State of a profile.
      * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; + * * @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 profile.
      * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; + * * @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 profile.
      * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; + * * @return The state. */ @java.lang.Override public com.google.privacy.dlp.v2.TableDataProfile.State getState() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TableDataProfile.State result = com.google.privacy.dlp.v2.TableDataProfile.State.valueOf(state_); - return result == null ? com.google.privacy.dlp.v2.TableDataProfile.State.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.TableDataProfile.State result = + com.google.privacy.dlp.v2.TableDataProfile.State.valueOf(state_); + return result == null + ? com.google.privacy.dlp.v2.TableDataProfile.State.UNRECOGNIZED + : result; } /** + * + * *
      * State of a profile.
      * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; + * * @param value The state to set. * @return This builder for chaining. */ @@ -3310,21 +3633,24 @@ public Builder setState(com.google.privacy.dlp.v2.TableDataProfile.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * State of a profile.
      * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3332,34 +3658,47 @@ public Builder clearState() { private com.google.privacy.dlp.v2.SensitivityScore sensitivityScore_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.SensitivityScore, com.google.privacy.dlp.v2.SensitivityScore.Builder, com.google.privacy.dlp.v2.SensitivityScoreOrBuilder> sensitivityScoreBuilder_; + com.google.privacy.dlp.v2.SensitivityScore, + com.google.privacy.dlp.v2.SensitivityScore.Builder, + com.google.privacy.dlp.v2.SensitivityScoreOrBuilder> + sensitivityScoreBuilder_; /** + * + * *
      * The sensitivity score of this table.
      * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; + * * @return Whether the sensitivityScore field is set. */ public boolean hasSensitivityScore() { return sensitivityScoreBuilder_ != null || sensitivityScore_ != null; } /** + * + * *
      * The sensitivity score of this table.
      * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; + * * @return The sensitivityScore. */ public com.google.privacy.dlp.v2.SensitivityScore getSensitivityScore() { if (sensitivityScoreBuilder_ == null) { - return sensitivityScore_ == null ? com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() : sensitivityScore_; + return sensitivityScore_ == null + ? com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() + : sensitivityScore_; } else { return sensitivityScoreBuilder_.getMessage(); } } /** + * + * *
      * The sensitivity score of this table.
      * 
@@ -3380,6 +3719,8 @@ public Builder setSensitivityScore(com.google.privacy.dlp.v2.SensitivityScore va return this; } /** + * + * *
      * The sensitivity score of this table.
      * 
@@ -3398,6 +3739,8 @@ public Builder setSensitivityScore( return this; } /** + * + * *
      * The sensitivity score of this table.
      * 
@@ -3408,7 +3751,9 @@ public Builder mergeSensitivityScore(com.google.privacy.dlp.v2.SensitivityScore if (sensitivityScoreBuilder_ == null) { if (sensitivityScore_ != null) { sensitivityScore_ = - com.google.privacy.dlp.v2.SensitivityScore.newBuilder(sensitivityScore_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.SensitivityScore.newBuilder(sensitivityScore_) + .mergeFrom(value) + .buildPartial(); } else { sensitivityScore_ = value; } @@ -3420,6 +3765,8 @@ public Builder mergeSensitivityScore(com.google.privacy.dlp.v2.SensitivityScore return this; } /** + * + * *
      * The sensitivity score of this table.
      * 
@@ -3438,6 +3785,8 @@ public Builder clearSensitivityScore() { return this; } /** + * + * *
      * The sensitivity score of this table.
      * 
@@ -3445,11 +3794,13 @@ public Builder clearSensitivityScore() { * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; */ public com.google.privacy.dlp.v2.SensitivityScore.Builder getSensitivityScoreBuilder() { - + onChanged(); return getSensitivityScoreFieldBuilder().getBuilder(); } /** + * + * *
      * The sensitivity score of this table.
      * 
@@ -3460,11 +3811,14 @@ public com.google.privacy.dlp.v2.SensitivityScoreOrBuilder getSensitivityScoreOr if (sensitivityScoreBuilder_ != null) { return sensitivityScoreBuilder_.getMessageOrBuilder(); } else { - return sensitivityScore_ == null ? - com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() : sensitivityScore_; + return sensitivityScore_ == null + ? com.google.privacy.dlp.v2.SensitivityScore.getDefaultInstance() + : sensitivityScore_; } } /** + * + * *
      * The sensitivity score of this table.
      * 
@@ -3472,14 +3826,17 @@ public com.google.privacy.dlp.v2.SensitivityScoreOrBuilder getSensitivityScoreOr * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.SensitivityScore, com.google.privacy.dlp.v2.SensitivityScore.Builder, com.google.privacy.dlp.v2.SensitivityScoreOrBuilder> + com.google.privacy.dlp.v2.SensitivityScore, + com.google.privacy.dlp.v2.SensitivityScore.Builder, + com.google.privacy.dlp.v2.SensitivityScoreOrBuilder> getSensitivityScoreFieldBuilder() { if (sensitivityScoreBuilder_ == null) { - sensitivityScoreBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.SensitivityScore, com.google.privacy.dlp.v2.SensitivityScore.Builder, com.google.privacy.dlp.v2.SensitivityScoreOrBuilder>( - getSensitivityScore(), - getParentForChildren(), - isClean()); + sensitivityScoreBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.SensitivityScore, + com.google.privacy.dlp.v2.SensitivityScore.Builder, + com.google.privacy.dlp.v2.SensitivityScoreOrBuilder>( + getSensitivityScore(), getParentForChildren(), isClean()); sensitivityScore_ = null; } return sensitivityScoreBuilder_; @@ -3487,34 +3844,47 @@ public com.google.privacy.dlp.v2.SensitivityScoreOrBuilder getSensitivityScoreOr private com.google.privacy.dlp.v2.DataRiskLevel dataRiskLevel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataRiskLevel, com.google.privacy.dlp.v2.DataRiskLevel.Builder, com.google.privacy.dlp.v2.DataRiskLevelOrBuilder> dataRiskLevelBuilder_; + com.google.privacy.dlp.v2.DataRiskLevel, + com.google.privacy.dlp.v2.DataRiskLevel.Builder, + com.google.privacy.dlp.v2.DataRiskLevelOrBuilder> + dataRiskLevelBuilder_; /** + * + * *
      * The data risk level of this table.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; + * * @return Whether the dataRiskLevel field is set. */ public boolean hasDataRiskLevel() { return dataRiskLevelBuilder_ != null || dataRiskLevel_ != null; } /** + * + * *
      * The data risk level of this table.
      * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; + * * @return The dataRiskLevel. */ public com.google.privacy.dlp.v2.DataRiskLevel getDataRiskLevel() { if (dataRiskLevelBuilder_ == null) { - return dataRiskLevel_ == null ? com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() : dataRiskLevel_; + return dataRiskLevel_ == null + ? com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() + : dataRiskLevel_; } else { return dataRiskLevelBuilder_.getMessage(); } } /** + * + * *
      * The data risk level of this table.
      * 
@@ -3535,6 +3905,8 @@ public Builder setDataRiskLevel(com.google.privacy.dlp.v2.DataRiskLevel value) { return this; } /** + * + * *
      * The data risk level of this table.
      * 
@@ -3553,6 +3925,8 @@ public Builder setDataRiskLevel( return this; } /** + * + * *
      * The data risk level of this table.
      * 
@@ -3563,7 +3937,9 @@ public Builder mergeDataRiskLevel(com.google.privacy.dlp.v2.DataRiskLevel value) if (dataRiskLevelBuilder_ == null) { if (dataRiskLevel_ != null) { dataRiskLevel_ = - com.google.privacy.dlp.v2.DataRiskLevel.newBuilder(dataRiskLevel_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.DataRiskLevel.newBuilder(dataRiskLevel_) + .mergeFrom(value) + .buildPartial(); } else { dataRiskLevel_ = value; } @@ -3575,6 +3951,8 @@ public Builder mergeDataRiskLevel(com.google.privacy.dlp.v2.DataRiskLevel value) return this; } /** + * + * *
      * The data risk level of this table.
      * 
@@ -3593,6 +3971,8 @@ public Builder clearDataRiskLevel() { return this; } /** + * + * *
      * The data risk level of this table.
      * 
@@ -3600,11 +3980,13 @@ public Builder clearDataRiskLevel() { * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; */ public com.google.privacy.dlp.v2.DataRiskLevel.Builder getDataRiskLevelBuilder() { - + onChanged(); return getDataRiskLevelFieldBuilder().getBuilder(); } /** + * + * *
      * The data risk level of this table.
      * 
@@ -3615,11 +3997,14 @@ public com.google.privacy.dlp.v2.DataRiskLevelOrBuilder getDataRiskLevelOrBuilde if (dataRiskLevelBuilder_ != null) { return dataRiskLevelBuilder_.getMessageOrBuilder(); } else { - return dataRiskLevel_ == null ? - com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() : dataRiskLevel_; + return dataRiskLevel_ == null + ? com.google.privacy.dlp.v2.DataRiskLevel.getDefaultInstance() + : dataRiskLevel_; } } /** + * + * *
      * The data risk level of this table.
      * 
@@ -3627,32 +4012,42 @@ public com.google.privacy.dlp.v2.DataRiskLevelOrBuilder getDataRiskLevelOrBuilde * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataRiskLevel, com.google.privacy.dlp.v2.DataRiskLevel.Builder, com.google.privacy.dlp.v2.DataRiskLevelOrBuilder> + com.google.privacy.dlp.v2.DataRiskLevel, + com.google.privacy.dlp.v2.DataRiskLevel.Builder, + com.google.privacy.dlp.v2.DataRiskLevelOrBuilder> getDataRiskLevelFieldBuilder() { if (dataRiskLevelBuilder_ == null) { - dataRiskLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataRiskLevel, com.google.privacy.dlp.v2.DataRiskLevel.Builder, com.google.privacy.dlp.v2.DataRiskLevelOrBuilder>( - getDataRiskLevel(), - getParentForChildren(), - isClean()); + dataRiskLevelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataRiskLevel, + com.google.privacy.dlp.v2.DataRiskLevel.Builder, + com.google.privacy.dlp.v2.DataRiskLevelOrBuilder>( + getDataRiskLevel(), getParentForChildren(), isClean()); dataRiskLevel_ = null; } return dataRiskLevelBuilder_; } private java.util.List predictedInfoTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePredictedInfoTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - predictedInfoTypes_ = new java.util.ArrayList(predictedInfoTypes_); + predictedInfoTypes_ = + new java.util.ArrayList(predictedInfoTypes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeSummary, com.google.privacy.dlp.v2.InfoTypeSummary.Builder, com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder> predictedInfoTypesBuilder_; + com.google.privacy.dlp.v2.InfoTypeSummary, + com.google.privacy.dlp.v2.InfoTypeSummary.Builder, + com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder> + predictedInfoTypesBuilder_; /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3667,6 +4062,8 @@ public java.util.List getPredictedInf } } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3681,6 +4078,8 @@ public int getPredictedInfoTypesCount() { } } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3695,6 +4094,8 @@ public com.google.privacy.dlp.v2.InfoTypeSummary getPredictedInfoTypes(int index } } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3716,6 +4117,8 @@ public Builder setPredictedInfoTypes( return this; } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3734,6 +4137,8 @@ public Builder setPredictedInfoTypes( return this; } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3754,6 +4159,8 @@ public Builder addPredictedInfoTypes(com.google.privacy.dlp.v2.InfoTypeSummary v return this; } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3775,6 +4182,8 @@ public Builder addPredictedInfoTypes( return this; } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3793,6 +4202,8 @@ public Builder addPredictedInfoTypes( return this; } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3811,6 +4222,8 @@ public Builder addPredictedInfoTypes( return this; } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3821,8 +4234,7 @@ public Builder addAllPredictedInfoTypes( java.lang.Iterable values) { if (predictedInfoTypesBuilder_ == null) { ensurePredictedInfoTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, predictedInfoTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, predictedInfoTypes_); onChanged(); } else { predictedInfoTypesBuilder_.addAllMessages(values); @@ -3830,6 +4242,8 @@ public Builder addAllPredictedInfoTypes( return this; } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3847,6 +4261,8 @@ public Builder clearPredictedInfoTypes() { return this; } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3864,6 +4280,8 @@ public Builder removePredictedInfoTypes(int index) { return this; } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3875,6 +4293,8 @@ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder getPredictedInfoTypesBu return getPredictedInfoTypesFieldBuilder().getBuilder(index); } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3884,19 +4304,22 @@ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder getPredictedInfoTypesBu public com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesOrBuilder( int index) { if (predictedInfoTypesBuilder_ == null) { - return predictedInfoTypes_.get(index); } else { + return predictedInfoTypes_.get(index); + } else { return predictedInfoTypesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ - public java.util.List - getPredictedInfoTypesOrBuilderList() { + public java.util.List + getPredictedInfoTypesOrBuilderList() { if (predictedInfoTypesBuilder_ != null) { return predictedInfoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -3904,6 +4327,8 @@ public com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesO } } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3911,10 +4336,12 @@ public com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesO * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder addPredictedInfoTypesBuilder() { - return getPredictedInfoTypesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.InfoTypeSummary.getDefaultInstance()); + return getPredictedInfoTypesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.InfoTypeSummary.getDefaultInstance()); } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
@@ -3923,26 +4350,34 @@ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder addPredictedInfoTypesBu */ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder addPredictedInfoTypesBuilder( int index) { - return getPredictedInfoTypesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.InfoTypeSummary.getDefaultInstance()); + return getPredictedInfoTypesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.InfoTypeSummary.getDefaultInstance()); } /** + * + * *
      * The infoTypes predicted from this table's data.
      * 
* * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ - public java.util.List - getPredictedInfoTypesBuilderList() { + public java.util.List + getPredictedInfoTypesBuilderList() { return getPredictedInfoTypesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeSummary, com.google.privacy.dlp.v2.InfoTypeSummary.Builder, com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder> + com.google.privacy.dlp.v2.InfoTypeSummary, + com.google.privacy.dlp.v2.InfoTypeSummary.Builder, + com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder> getPredictedInfoTypesFieldBuilder() { if (predictedInfoTypesBuilder_ == null) { - predictedInfoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.InfoTypeSummary, com.google.privacy.dlp.v2.InfoTypeSummary.Builder, com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder>( + predictedInfoTypesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.InfoTypeSummary, + com.google.privacy.dlp.v2.InfoTypeSummary.Builder, + com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder>( predictedInfoTypes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3953,18 +4388,26 @@ public com.google.privacy.dlp.v2.InfoTypeSummary.Builder addPredictedInfoTypesBu } private java.util.List otherInfoTypes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOtherInfoTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - otherInfoTypes_ = new java.util.ArrayList(otherInfoTypes_); + otherInfoTypes_ = + new java.util.ArrayList( + otherInfoTypes_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.OtherInfoTypeSummary, com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder> otherInfoTypesBuilder_; + com.google.privacy.dlp.v2.OtherInfoTypeSummary, + com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, + com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder> + otherInfoTypesBuilder_; /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -3979,6 +4422,8 @@ public java.util.List getOtherIn } } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -3993,6 +4438,8 @@ public int getOtherInfoTypesCount() { } } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4007,6 +4454,8 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary getOtherInfoTypes(int inde } } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4028,6 +4477,8 @@ public Builder setOtherInfoTypes( return this; } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4046,6 +4497,8 @@ public Builder setOtherInfoTypes( return this; } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4066,6 +4519,8 @@ public Builder addOtherInfoTypes(com.google.privacy.dlp.v2.OtherInfoTypeSummary return this; } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4087,6 +4542,8 @@ public Builder addOtherInfoTypes( return this; } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4105,6 +4562,8 @@ public Builder addOtherInfoTypes( return this; } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4123,6 +4582,8 @@ public Builder addOtherInfoTypes( return this; } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4133,8 +4594,7 @@ public Builder addAllOtherInfoTypes( java.lang.Iterable values) { if (otherInfoTypesBuilder_ == null) { ensureOtherInfoTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, otherInfoTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, otherInfoTypes_); onChanged(); } else { otherInfoTypesBuilder_.addAllMessages(values); @@ -4142,6 +4602,8 @@ public Builder addAllOtherInfoTypes( return this; } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4159,6 +4621,8 @@ public Builder clearOtherInfoTypes() { return this; } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4176,6 +4640,8 @@ public Builder removeOtherInfoTypes(int index) { return this; } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4187,6 +4653,8 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder getOtherInfoTypesB return getOtherInfoTypesFieldBuilder().getBuilder(index); } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4196,19 +4664,22 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder getOtherInfoTypesB public com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuilder( int index) { if (otherInfoTypesBuilder_ == null) { - return otherInfoTypes_.get(index); } else { + return otherInfoTypes_.get(index); + } else { return otherInfoTypesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
* * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ - public java.util.List - getOtherInfoTypesOrBuilderList() { + public java.util.List + getOtherInfoTypesOrBuilderList() { if (otherInfoTypesBuilder_ != null) { return otherInfoTypesBuilder_.getMessageOrBuilderList(); } else { @@ -4216,6 +4687,8 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypes } } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4223,10 +4696,12 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypes * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder addOtherInfoTypesBuilder() { - return getOtherInfoTypesFieldBuilder().addBuilder( - com.google.privacy.dlp.v2.OtherInfoTypeSummary.getDefaultInstance()); + return getOtherInfoTypesFieldBuilder() + .addBuilder(com.google.privacy.dlp.v2.OtherInfoTypeSummary.getDefaultInstance()); } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
@@ -4235,26 +4710,34 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder addOtherInfoTypesB */ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder addOtherInfoTypesBuilder( int index) { - return getOtherInfoTypesFieldBuilder().addBuilder( - index, com.google.privacy.dlp.v2.OtherInfoTypeSummary.getDefaultInstance()); + return getOtherInfoTypesFieldBuilder() + .addBuilder(index, com.google.privacy.dlp.v2.OtherInfoTypeSummary.getDefaultInstance()); } /** + * + * *
      * Other infoTypes found in this table's data.
      * 
* * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ - public java.util.List - getOtherInfoTypesBuilderList() { + public java.util.List + getOtherInfoTypesBuilderList() { return getOtherInfoTypesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.OtherInfoTypeSummary, com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder> + com.google.privacy.dlp.v2.OtherInfoTypeSummary, + com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, + com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder> getOtherInfoTypesFieldBuilder() { if (otherInfoTypesBuilder_ == null) { - otherInfoTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.OtherInfoTypeSummary, com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder>( + otherInfoTypesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.privacy.dlp.v2.OtherInfoTypeSummary, + com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder, + com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder>( otherInfoTypes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4266,34 +4749,47 @@ public com.google.privacy.dlp.v2.OtherInfoTypeSummary.Builder addOtherInfoTypesB private com.google.privacy.dlp.v2.DataProfileConfigSnapshot configSnapshot_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileConfigSnapshot, com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder> configSnapshotBuilder_; + com.google.privacy.dlp.v2.DataProfileConfigSnapshot, + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, + com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder> + configSnapshotBuilder_; /** + * + * *
      * The snapshot of the configurations used to generate the profile.
      * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; + * * @return Whether the configSnapshot field is set. */ public boolean hasConfigSnapshot() { return configSnapshotBuilder_ != null || configSnapshot_ != null; } /** + * + * *
      * The snapshot of the configurations used to generate the profile.
      * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; + * * @return The configSnapshot. */ public com.google.privacy.dlp.v2.DataProfileConfigSnapshot getConfigSnapshot() { if (configSnapshotBuilder_ == null) { - return configSnapshot_ == null ? com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() : configSnapshot_; + return configSnapshot_ == null + ? com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() + : configSnapshot_; } else { return configSnapshotBuilder_.getMessage(); } } /** + * + * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4314,6 +4810,8 @@ public Builder setConfigSnapshot(com.google.privacy.dlp.v2.DataProfileConfigSnap return this; } /** + * + * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4332,6 +4830,8 @@ public Builder setConfigSnapshot( return this; } /** + * + * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4342,7 +4842,9 @@ public Builder mergeConfigSnapshot(com.google.privacy.dlp.v2.DataProfileConfigSn if (configSnapshotBuilder_ == null) { if (configSnapshot_ != null) { configSnapshot_ = - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.newBuilder(configSnapshot_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.newBuilder(configSnapshot_) + .mergeFrom(value) + .buildPartial(); } else { configSnapshot_ = value; } @@ -4354,6 +4856,8 @@ public Builder mergeConfigSnapshot(com.google.privacy.dlp.v2.DataProfileConfigSn return this; } /** + * + * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4372,6 +4876,8 @@ public Builder clearConfigSnapshot() { return this; } /** + * + * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4379,26 +4885,32 @@ public Builder clearConfigSnapshot() { * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; */ public com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder getConfigSnapshotBuilder() { - + onChanged(); return getConfigSnapshotFieldBuilder().getBuilder(); } /** + * + * *
      * The snapshot of the configurations used to generate the profile.
      * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; */ - public com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder getConfigSnapshotOrBuilder() { + public com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder + getConfigSnapshotOrBuilder() { if (configSnapshotBuilder_ != null) { return configSnapshotBuilder_.getMessageOrBuilder(); } else { - return configSnapshot_ == null ? - com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() : configSnapshot_; + return configSnapshot_ == null + ? com.google.privacy.dlp.v2.DataProfileConfigSnapshot.getDefaultInstance() + : configSnapshot_; } } /** + * + * *
      * The snapshot of the configurations used to generate the profile.
      * 
@@ -4406,14 +4918,17 @@ public com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder getConfigSna * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileConfigSnapshot, com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder> + com.google.privacy.dlp.v2.DataProfileConfigSnapshot, + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, + com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder> getConfigSnapshotFieldBuilder() { if (configSnapshotBuilder_ == null) { - configSnapshotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.DataProfileConfigSnapshot, com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder>( - getConfigSnapshot(), - getParentForChildren(), - isClean()); + configSnapshotBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.DataProfileConfigSnapshot, + com.google.privacy.dlp.v2.DataProfileConfigSnapshot.Builder, + com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder>( + getConfigSnapshot(), getParentForChildren(), isClean()); configSnapshot_ = null; } return configSnapshotBuilder_; @@ -4421,34 +4936,47 @@ public com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder getConfigSna private com.google.protobuf.Timestamp lastModifiedTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastModifiedTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + lastModifiedTimeBuilder_; /** + * + * *
      * The time when this table was last modified
      * 
* * .google.protobuf.Timestamp last_modified_time = 8; + * * @return Whether the lastModifiedTime field is set. */ public boolean hasLastModifiedTime() { return lastModifiedTimeBuilder_ != null || lastModifiedTime_ != null; } /** + * + * *
      * The time when this table was last modified
      * 
* * .google.protobuf.Timestamp last_modified_time = 8; + * * @return The lastModifiedTime. */ public com.google.protobuf.Timestamp getLastModifiedTime() { if (lastModifiedTimeBuilder_ == null) { - return lastModifiedTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedTime_; + return lastModifiedTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastModifiedTime_; } else { return lastModifiedTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when this table was last modified
      * 
@@ -4469,14 +4997,15 @@ public Builder setLastModifiedTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when this table was last modified
      * 
* * .google.protobuf.Timestamp last_modified_time = 8; */ - public Builder setLastModifiedTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastModifiedTimeBuilder_ == null) { lastModifiedTime_ = builderForValue.build(); onChanged(); @@ -4487,6 +5016,8 @@ public Builder setLastModifiedTime( return this; } /** + * + * *
      * The time when this table was last modified
      * 
@@ -4497,7 +5028,9 @@ public Builder mergeLastModifiedTime(com.google.protobuf.Timestamp value) { if (lastModifiedTimeBuilder_ == null) { if (lastModifiedTime_ != null) { lastModifiedTime_ = - com.google.protobuf.Timestamp.newBuilder(lastModifiedTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastModifiedTime_) + .mergeFrom(value) + .buildPartial(); } else { lastModifiedTime_ = value; } @@ -4509,6 +5042,8 @@ public Builder mergeLastModifiedTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when this table was last modified
      * 
@@ -4527,6 +5062,8 @@ public Builder clearLastModifiedTime() { return this; } /** + * + * *
      * The time when this table was last modified
      * 
@@ -4534,11 +5071,13 @@ public Builder clearLastModifiedTime() { * .google.protobuf.Timestamp last_modified_time = 8; */ public com.google.protobuf.Timestamp.Builder getLastModifiedTimeBuilder() { - + onChanged(); return getLastModifiedTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when this table was last modified
      * 
@@ -4549,11 +5088,14 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder() { if (lastModifiedTimeBuilder_ != null) { return lastModifiedTimeBuilder_.getMessageOrBuilder(); } else { - return lastModifiedTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastModifiedTime_; + return lastModifiedTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastModifiedTime_; } } /** + * + * *
      * The time when this table was last modified
      * 
@@ -4561,14 +5103,17 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder() { * .google.protobuf.Timestamp last_modified_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> getLastModifiedTimeFieldBuilder() { if (lastModifiedTimeBuilder_ == null) { - lastModifiedTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastModifiedTime(), - getParentForChildren(), - isClean()); + lastModifiedTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastModifiedTime(), getParentForChildren(), isClean()); lastModifiedTime_ = null; } return lastModifiedTimeBuilder_; @@ -4576,34 +5121,47 @@ public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder() { private com.google.protobuf.Timestamp expirationTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expirationTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expirationTimeBuilder_; /** + * + * *
      * Optional. The time when this table expires.
      * 
* * .google.protobuf.Timestamp expiration_time = 9; + * * @return Whether the expirationTime field is set. */ public boolean hasExpirationTime() { return expirationTimeBuilder_ != null || expirationTime_ != null; } /** + * + * *
      * Optional. The time when this table expires.
      * 
* * .google.protobuf.Timestamp expiration_time = 9; + * * @return The expirationTime. */ public com.google.protobuf.Timestamp getExpirationTime() { if (expirationTimeBuilder_ == null) { - return expirationTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } else { return expirationTimeBuilder_.getMessage(); } } /** + * + * *
      * Optional. The time when this table expires.
      * 
@@ -4624,14 +5182,15 @@ public Builder setExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The time when this table expires.
      * 
* * .google.protobuf.Timestamp expiration_time = 9; */ - public Builder setExpirationTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expirationTimeBuilder_ == null) { expirationTime_ = builderForValue.build(); onChanged(); @@ -4642,6 +5201,8 @@ public Builder setExpirationTime( return this; } /** + * + * *
      * Optional. The time when this table expires.
      * 
@@ -4652,7 +5213,9 @@ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { if (expirationTimeBuilder_ == null) { if (expirationTime_ != null) { expirationTime_ = - com.google.protobuf.Timestamp.newBuilder(expirationTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expirationTime_) + .mergeFrom(value) + .buildPartial(); } else { expirationTime_ = value; } @@ -4664,6 +5227,8 @@ public Builder mergeExpirationTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Optional. The time when this table expires.
      * 
@@ -4682,6 +5247,8 @@ public Builder clearExpirationTime() { return this; } /** + * + * *
      * Optional. The time when this table expires.
      * 
@@ -4689,11 +5256,13 @@ public Builder clearExpirationTime() { * .google.protobuf.Timestamp expiration_time = 9; */ public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder() { - + onChanged(); return getExpirationTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The time when this table expires.
      * 
@@ -4704,11 +5273,14 @@ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { if (expirationTimeBuilder_ != null) { return expirationTimeBuilder_.getMessageOrBuilder(); } else { - return expirationTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expirationTime_; + return expirationTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expirationTime_; } } /** + * + * *
      * Optional. The time when this table expires.
      * 
@@ -4716,26 +5288,32 @@ public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder() { * .google.protobuf.Timestamp expiration_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getExpirationTimeFieldBuilder() { if (expirationTimeBuilder_ == null) { - expirationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpirationTime(), - getParentForChildren(), - isClean()); + expirationTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpirationTime(), getParentForChildren(), isClean()); expirationTime_ = null; } return expirationTimeBuilder_; } - private long scannedColumnCount_ ; + private long scannedColumnCount_; /** + * + * *
      * The number of columns profiled in the table.
      * 
* * int64 scanned_column_count = 10; + * * @return The scannedColumnCount. */ @java.lang.Override @@ -4743,42 +5321,51 @@ public long getScannedColumnCount() { return scannedColumnCount_; } /** + * + * *
      * The number of columns profiled in the table.
      * 
* * int64 scanned_column_count = 10; + * * @param value The scannedColumnCount to set. * @return This builder for chaining. */ public Builder setScannedColumnCount(long value) { - + scannedColumnCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of columns profiled in the table.
      * 
* * int64 scanned_column_count = 10; + * * @return This builder for chaining. */ public Builder clearScannedColumnCount() { - + scannedColumnCount_ = 0L; onChanged(); return this; } - private long failedColumnCount_ ; + private long failedColumnCount_; /** + * + * *
      * The number of columns skipped in the table because of an error.
      * 
* * int64 failed_column_count = 11; + * * @return The failedColumnCount. */ @java.lang.Override @@ -4786,42 +5373,51 @@ public long getFailedColumnCount() { return failedColumnCount_; } /** + * + * *
      * The number of columns skipped in the table because of an error.
      * 
* * int64 failed_column_count = 11; + * * @param value The failedColumnCount to set. * @return This builder for chaining. */ public Builder setFailedColumnCount(long value) { - + failedColumnCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of columns skipped in the table because of an error.
      * 
* * int64 failed_column_count = 11; + * * @return This builder for chaining. */ public Builder clearFailedColumnCount() { - + failedColumnCount_ = 0L; onChanged(); return this; } - private long tableSizeBytes_ ; + private long tableSizeBytes_; /** + * + * *
      * The size of the table when the profile was generated.
      * 
* * int64 table_size_bytes = 12; + * * @return The tableSizeBytes. */ @java.lang.Override @@ -4829,42 +5425,51 @@ public long getTableSizeBytes() { return tableSizeBytes_; } /** + * + * *
      * The size of the table when the profile was generated.
      * 
* * int64 table_size_bytes = 12; + * * @param value The tableSizeBytes to set. * @return This builder for chaining. */ public Builder setTableSizeBytes(long value) { - + tableSizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * The size of the table when the profile was generated.
      * 
* * int64 table_size_bytes = 12; + * * @return This builder for chaining. */ public Builder clearTableSizeBytes() { - + tableSizeBytes_ = 0L; onChanged(); return this; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * Number of rows in the table when the profile was generated.
      * 
* * int64 row_count = 13; + * * @return The rowCount. */ @java.lang.Override @@ -4872,30 +5477,36 @@ public long getRowCount() { return rowCount_; } /** + * + * *
      * Number of rows in the table when the profile was generated.
      * 
* * int64 row_count = 13; + * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * Number of rows in the table when the profile was generated.
      * 
* * int64 row_count = 13; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; @@ -4903,51 +5514,65 @@ public Builder clearRowCount() { private int encryptionStatus_ = 0; /** + * + * *
      * How the table is encrypted.
      * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; + * * @return The enum numeric value on the wire for encryptionStatus. */ - @java.lang.Override public int getEncryptionStatusValue() { + @java.lang.Override + public int getEncryptionStatusValue() { return encryptionStatus_; } /** + * + * *
      * How the table is encrypted.
      * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; + * * @param value The enum numeric value on the wire for encryptionStatus to set. * @return This builder for chaining. */ public Builder setEncryptionStatusValue(int value) { - + encryptionStatus_ = value; onChanged(); return this; } /** + * + * *
      * How the table is encrypted.
      * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; + * * @return The encryptionStatus. */ @java.lang.Override public com.google.privacy.dlp.v2.EncryptionStatus getEncryptionStatus() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.EncryptionStatus result = com.google.privacy.dlp.v2.EncryptionStatus.valueOf(encryptionStatus_); + com.google.privacy.dlp.v2.EncryptionStatus result = + com.google.privacy.dlp.v2.EncryptionStatus.valueOf(encryptionStatus_); return result == null ? com.google.privacy.dlp.v2.EncryptionStatus.UNRECOGNIZED : result; } /** + * + * *
      * How the table is encrypted.
      * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; + * * @param value The encryptionStatus to set. * @return This builder for chaining. */ @@ -4955,21 +5580,24 @@ public Builder setEncryptionStatus(com.google.privacy.dlp.v2.EncryptionStatus va if (value == null) { throw new NullPointerException(); } - + encryptionStatus_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * How the table is encrypted.
      * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; + * * @return This builder for chaining. */ public Builder clearEncryptionStatus() { - + encryptionStatus_ = 0; onChanged(); return this; @@ -4977,51 +5605,65 @@ public Builder clearEncryptionStatus() { private int resourceVisibility_ = 0; /** + * + * *
      * How broadly a resource has been shared.
      * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; + * * @return The enum numeric value on the wire for resourceVisibility. */ - @java.lang.Override public int getResourceVisibilityValue() { + @java.lang.Override + public int getResourceVisibilityValue() { return resourceVisibility_; } /** + * + * *
      * How broadly a resource has been shared.
      * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; + * * @param value The enum numeric value on the wire for resourceVisibility to set. * @return This builder for chaining. */ public Builder setResourceVisibilityValue(int value) { - + resourceVisibility_ = value; onChanged(); return this; } /** + * + * *
      * How broadly a resource has been shared.
      * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; + * * @return The resourceVisibility. */ @java.lang.Override public com.google.privacy.dlp.v2.ResourceVisibility getResourceVisibility() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.ResourceVisibility result = com.google.privacy.dlp.v2.ResourceVisibility.valueOf(resourceVisibility_); + com.google.privacy.dlp.v2.ResourceVisibility result = + com.google.privacy.dlp.v2.ResourceVisibility.valueOf(resourceVisibility_); return result == null ? com.google.privacy.dlp.v2.ResourceVisibility.UNRECOGNIZED : result; } /** + * + * *
      * How broadly a resource has been shared.
      * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; + * * @param value The resourceVisibility to set. * @return This builder for chaining. */ @@ -5029,21 +5671,24 @@ public Builder setResourceVisibility(com.google.privacy.dlp.v2.ResourceVisibilit if (value == null) { throw new NullPointerException(); } - + resourceVisibility_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * How broadly a resource has been shared.
      * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; + * * @return This builder for chaining. */ public Builder clearResourceVisibility() { - + resourceVisibility_ = 0; onChanged(); return this; @@ -5051,34 +5696,47 @@ public Builder clearResourceVisibility() { private com.google.protobuf.Timestamp profileLastGenerated_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> profileLastGeneratedBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + profileLastGeneratedBuilder_; /** + * + * *
      * The last time the profile was generated.
      * 
* * .google.protobuf.Timestamp profile_last_generated = 16; + * * @return Whether the profileLastGenerated field is set. */ public boolean hasProfileLastGenerated() { return profileLastGeneratedBuilder_ != null || profileLastGenerated_ != null; } /** + * + * *
      * The last time the profile was generated.
      * 
* * .google.protobuf.Timestamp profile_last_generated = 16; + * * @return The profileLastGenerated. */ public com.google.protobuf.Timestamp getProfileLastGenerated() { if (profileLastGeneratedBuilder_ == null) { - return profileLastGenerated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : profileLastGenerated_; + return profileLastGenerated_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : profileLastGenerated_; } else { return profileLastGeneratedBuilder_.getMessage(); } } /** + * + * *
      * The last time the profile was generated.
      * 
@@ -5099,14 +5757,15 @@ public Builder setProfileLastGenerated(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The last time the profile was generated.
      * 
* * .google.protobuf.Timestamp profile_last_generated = 16; */ - public Builder setProfileLastGenerated( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setProfileLastGenerated(com.google.protobuf.Timestamp.Builder builderForValue) { if (profileLastGeneratedBuilder_ == null) { profileLastGenerated_ = builderForValue.build(); onChanged(); @@ -5117,6 +5776,8 @@ public Builder setProfileLastGenerated( return this; } /** + * + * *
      * The last time the profile was generated.
      * 
@@ -5127,7 +5788,9 @@ public Builder mergeProfileLastGenerated(com.google.protobuf.Timestamp value) { if (profileLastGeneratedBuilder_ == null) { if (profileLastGenerated_ != null) { profileLastGenerated_ = - com.google.protobuf.Timestamp.newBuilder(profileLastGenerated_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(profileLastGenerated_) + .mergeFrom(value) + .buildPartial(); } else { profileLastGenerated_ = value; } @@ -5139,6 +5802,8 @@ public Builder mergeProfileLastGenerated(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The last time the profile was generated.
      * 
@@ -5157,6 +5822,8 @@ public Builder clearProfileLastGenerated() { return this; } /** + * + * *
      * The last time the profile was generated.
      * 
@@ -5164,11 +5831,13 @@ public Builder clearProfileLastGenerated() { * .google.protobuf.Timestamp profile_last_generated = 16; */ public com.google.protobuf.Timestamp.Builder getProfileLastGeneratedBuilder() { - + onChanged(); return getProfileLastGeneratedFieldBuilder().getBuilder(); } /** + * + * *
      * The last time the profile was generated.
      * 
@@ -5179,11 +5848,14 @@ public com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder() if (profileLastGeneratedBuilder_ != null) { return profileLastGeneratedBuilder_.getMessageOrBuilder(); } else { - return profileLastGenerated_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : profileLastGenerated_; + return profileLastGenerated_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : profileLastGenerated_; } } /** + * + * *
      * The last time the profile was generated.
      * 
@@ -5191,35 +5863,40 @@ public com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder() * .google.protobuf.Timestamp profile_last_generated = 16; */ 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> getProfileLastGeneratedFieldBuilder() { if (profileLastGeneratedBuilder_ == null) { - profileLastGeneratedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getProfileLastGenerated(), - getParentForChildren(), - isClean()); + profileLastGeneratedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getProfileLastGenerated(), getParentForChildren(), isClean()); profileLastGenerated_ = null; } return profileLastGeneratedBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } + private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged();; + internalGetMutableResourceLabels() { + onChanged(); + ; if (resourceLabels_ == null) { - resourceLabels_ = com.google.protobuf.MapField.newMapField( - ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = + com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -5231,28 +5908,30 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
      * The labels applied to the resource at the time the profile was generated.
      * 
* * map<string, string> resource_labels = 17; */ - @java.lang.Override - public boolean containsResourceLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsResourceLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetResourceLabels().getMap().containsKey(key); } - /** - * Use {@link #getResourceLabelsMap()} instead. - */ + /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** + * + * *
      * The labels applied to the resource at the time the profile was generated.
      * 
@@ -5260,11 +5939,12 @@ public java.util.Map getResourceLabels() { * map<string, string> resource_labels = 17; */ @java.lang.Override - public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** + * + * *
      * The labels applied to the resource at the time the profile was generated.
      * 
@@ -5272,16 +5952,17 @@ public java.util.Map getResourceLabelsMap() * map<string, string> resource_labels = 17; */ @java.lang.Override - public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * The labels applied to the resource at the time the profile was generated.
      * 
@@ -5289,12 +5970,11 @@ public java.lang.String getResourceLabelsOrDefault( * map<string, string> resource_labels = 17; */ @java.lang.Override - - public java.lang.String getResourceLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -5302,97 +5982,107 @@ public java.lang.String getResourceLabelsOrThrow( } public Builder clearResourceLabels() { - internalGetMutableResourceLabels().getMutableMap() - .clear(); + internalGetMutableResourceLabels().getMutableMap().clear(); return this; } /** + * + * *
      * The labels applied to the resource at the time the profile was generated.
      * 
* * map<string, string> resource_labels = 17; */ - - public Builder removeResourceLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableResourceLabels().getMutableMap() - .remove(key); + public Builder removeResourceLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableResourceLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableResourceLabels() { + public java.util.Map getMutableResourceLabels() { return internalGetMutableResourceLabels().getMutableMap(); } /** + * + * *
      * The labels applied to the resource at the time the profile was generated.
      * 
* * map<string, string> resource_labels = 17; */ - public Builder putResourceLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putResourceLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableResourceLabels().getMutableMap() - .put(key, value); + internalGetMutableResourceLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * The labels applied to the resource at the time the profile was generated.
      * 
* * map<string, string> resource_labels = 17; */ - - public Builder putAllResourceLabels( - java.util.Map values) { - internalGetMutableResourceLabels().getMutableMap() - .putAll(values); + public Builder putAllResourceLabels(java.util.Map values) { + internalGetMutableResourceLabels().getMutableMap().putAll(values); return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * The time at which the table was created.
      * 
* * .google.protobuf.Timestamp create_time = 23; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time at which the table was created.
      * 
* * .google.protobuf.Timestamp create_time = 23; + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the table was created.
      * 
@@ -5413,14 +6103,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the table was created.
      * 
* * .google.protobuf.Timestamp create_time = 23; */ - 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(); @@ -5431,6 +6122,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time at which the table was created.
      * 
@@ -5441,7 +6134,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; } @@ -5453,6 +6146,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the table was created.
      * 
@@ -5471,6 +6166,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time at which the table was created.
      * 
@@ -5478,11 +6175,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 23; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the table was created.
      * 
@@ -5493,11 +6192,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * The time at which the table was created.
      * 
@@ -5505,21 +6207,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 23; */ 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); } @@ -5529,12 +6234,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TableDataProfile) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TableDataProfile) private static final com.google.privacy.dlp.v2.TableDataProfile DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TableDataProfile(); } @@ -5543,16 +6248,16 @@ public static com.google.privacy.dlp.v2.TableDataProfile getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableDataProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TableDataProfile(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableDataProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TableDataProfile(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5567,6 +6272,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TableDataProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java similarity index 85% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java index 8f69c540..b5e09cf9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TableDataProfileOrBuilder.java @@ -1,73 +1,106 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under 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 TableDataProfileOrBuilder extends +public interface TableDataProfileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TableDataProfile) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the profile.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the profile.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The resource name to the project data profile for this table.
    * 
* * string project_data_profile = 2; + * * @return The projectDataProfile. */ java.lang.String getProjectDataProfile(); /** + * + * *
    * The resource name to the project data profile for this table.
    * 
* * string project_data_profile = 2; + * * @return The bytes for projectDataProfile. */ - com.google.protobuf.ByteString - getProjectDataProfileBytes(); + com.google.protobuf.ByteString getProjectDataProfileBytes(); /** + * + * *
    * The GCP project ID that owns the BigQuery dataset.
    * 
* * string dataset_project_id = 24; + * * @return The datasetProjectId. */ java.lang.String getDatasetProjectId(); /** + * + * *
    * The GCP project ID that owns the BigQuery dataset.
    * 
* * string dataset_project_id = 24; + * * @return The bytes for datasetProjectId. */ - com.google.protobuf.ByteString - getDatasetProjectIdBytes(); + com.google.protobuf.ByteString getDatasetProjectIdBytes(); /** + * + * *
    * The BigQuery location where the dataset's data is stored.
    * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -75,10 +108,13 @@ public interface TableDataProfileOrBuilder extends
    * 
* * string dataset_location = 29; + * * @return The datasetLocation. */ java.lang.String getDatasetLocation(); /** + * + * *
    * The BigQuery location where the dataset's data is stored.
    * See https://cloud.google.com/bigquery/docs/locations for supported
@@ -86,94 +122,117 @@ public interface TableDataProfileOrBuilder extends
    * 
* * string dataset_location = 29; + * * @return The bytes for datasetLocation. */ - com.google.protobuf.ByteString - getDatasetLocationBytes(); + com.google.protobuf.ByteString getDatasetLocationBytes(); /** + * + * *
    * The BigQuery dataset ID.
    * 
* * string dataset_id = 25; + * * @return The datasetId. */ java.lang.String getDatasetId(); /** + * + * *
    * The BigQuery dataset ID.
    * 
* * string dataset_id = 25; + * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString - getDatasetIdBytes(); + com.google.protobuf.ByteString getDatasetIdBytes(); /** + * + * *
    * The BigQuery table ID.
    * 
* * string table_id = 26; + * * @return The tableId. */ java.lang.String getTableId(); /** + * + * *
    * The BigQuery table ID.
    * 
* * string table_id = 26; + * * @return The bytes for tableId. */ - com.google.protobuf.ByteString - getTableIdBytes(); + com.google.protobuf.ByteString getTableIdBytes(); /** + * + * *
    * The resource name of the table.
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource = 3; + * * @return The fullResource. */ java.lang.String getFullResource(); /** + * + * *
    * The resource name of the table.
    * https://cloud.google.com/apis/design/resource_names#full_resource_name
    * 
* * string full_resource = 3; + * * @return The bytes for fullResource. */ - com.google.protobuf.ByteString - getFullResourceBytes(); + com.google.protobuf.ByteString getFullResourceBytes(); /** + * + * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
    * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; + * * @return Whether the profileStatus field is set. */ boolean hasProfileStatus(); /** + * + * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
    * 
* * .google.privacy.dlp.v2.ProfileStatus profile_status = 21; + * * @return The profileStatus. */ com.google.privacy.dlp.v2.ProfileStatus getProfileStatus(); /** + * + * *
    * Success or error status from the most recent profile generation attempt.
    * May be empty if the profile is still being generated.
@@ -184,43 +243,57 @@ public interface TableDataProfileOrBuilder extends
   com.google.privacy.dlp.v2.ProfileStatusOrBuilder getProfileStatusOrBuilder();
 
   /**
+   *
+   *
    * 
    * State of a profile.
    * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * State of a profile.
    * 
* * .google.privacy.dlp.v2.TableDataProfile.State state = 22; + * * @return The state. */ com.google.privacy.dlp.v2.TableDataProfile.State getState(); /** + * + * *
    * The sensitivity score of this table.
    * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; + * * @return Whether the sensitivityScore field is set. */ boolean hasSensitivityScore(); /** + * + * *
    * The sensitivity score of this table.
    * 
* * .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 5; + * * @return The sensitivityScore. */ com.google.privacy.dlp.v2.SensitivityScore getSensitivityScore(); /** + * + * *
    * The sensitivity score of this table.
    * 
@@ -230,24 +303,32 @@ public interface TableDataProfileOrBuilder extends com.google.privacy.dlp.v2.SensitivityScoreOrBuilder getSensitivityScoreOrBuilder(); /** + * + * *
    * The data risk level of this table.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; + * * @return Whether the dataRiskLevel field is set. */ boolean hasDataRiskLevel(); /** + * + * *
    * The data risk level of this table.
    * 
* * .google.privacy.dlp.v2.DataRiskLevel data_risk_level = 6; + * * @return The dataRiskLevel. */ com.google.privacy.dlp.v2.DataRiskLevel getDataRiskLevel(); /** + * + * *
    * The data risk level of this table.
    * 
@@ -257,15 +338,18 @@ public interface TableDataProfileOrBuilder extends com.google.privacy.dlp.v2.DataRiskLevelOrBuilder getDataRiskLevelOrBuilder(); /** + * + * *
    * The infoTypes predicted from this table's data.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ - java.util.List - getPredictedInfoTypesList(); + java.util.List getPredictedInfoTypesList(); /** + * + * *
    * The infoTypes predicted from this table's data.
    * 
@@ -274,6 +358,8 @@ public interface TableDataProfileOrBuilder extends */ com.google.privacy.dlp.v2.InfoTypeSummary getPredictedInfoTypes(int index); /** + * + * *
    * The infoTypes predicted from this table's data.
    * 
@@ -282,34 +368,40 @@ public interface TableDataProfileOrBuilder extends */ int getPredictedInfoTypesCount(); /** + * + * *
    * The infoTypes predicted from this table's data.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ - java.util.List + java.util.List getPredictedInfoTypesOrBuilderList(); /** + * + * *
    * The infoTypes predicted from this table's data.
    * 
* * repeated .google.privacy.dlp.v2.InfoTypeSummary predicted_info_types = 27; */ - com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesOrBuilder( - int index); + com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesOrBuilder(int index); /** + * + * *
    * Other infoTypes found in this table's data.
    * 
* * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ - java.util.List - getOtherInfoTypesList(); + java.util.List getOtherInfoTypesList(); /** + * + * *
    * Other infoTypes found in this table's data.
    * 
@@ -318,6 +410,8 @@ com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesOrBuilde */ com.google.privacy.dlp.v2.OtherInfoTypeSummary getOtherInfoTypes(int index); /** + * + * *
    * Other infoTypes found in this table's data.
    * 
@@ -326,43 +420,54 @@ com.google.privacy.dlp.v2.InfoTypeSummaryOrBuilder getPredictedInfoTypesOrBuilde */ int getOtherInfoTypesCount(); /** + * + * *
    * Other infoTypes found in this table's data.
    * 
* * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ - java.util.List + java.util.List getOtherInfoTypesOrBuilderList(); /** + * + * *
    * Other infoTypes found in this table's data.
    * 
* * repeated .google.privacy.dlp.v2.OtherInfoTypeSummary other_info_types = 28; */ - com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuilder( - int index); + com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuilder(int index); /** + * + * *
    * The snapshot of the configurations used to generate the profile.
    * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; + * * @return Whether the configSnapshot field is set. */ boolean hasConfigSnapshot(); /** + * + * *
    * The snapshot of the configurations used to generate the profile.
    * 
* * .google.privacy.dlp.v2.DataProfileConfigSnapshot config_snapshot = 7; + * * @return The configSnapshot. */ com.google.privacy.dlp.v2.DataProfileConfigSnapshot getConfigSnapshot(); /** + * + * *
    * The snapshot of the configurations used to generate the profile.
    * 
@@ -372,24 +477,32 @@ com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuild com.google.privacy.dlp.v2.DataProfileConfigSnapshotOrBuilder getConfigSnapshotOrBuilder(); /** + * + * *
    * The time when this table was last modified
    * 
* * .google.protobuf.Timestamp last_modified_time = 8; + * * @return Whether the lastModifiedTime field is set. */ boolean hasLastModifiedTime(); /** + * + * *
    * The time when this table was last modified
    * 
* * .google.protobuf.Timestamp last_modified_time = 8; + * * @return The lastModifiedTime. */ com.google.protobuf.Timestamp getLastModifiedTime(); /** + * + * *
    * The time when this table was last modified
    * 
@@ -399,24 +512,32 @@ com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuild com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder(); /** + * + * *
    * Optional. The time when this table expires.
    * 
* * .google.protobuf.Timestamp expiration_time = 9; + * * @return Whether the expirationTime field is set. */ boolean hasExpirationTime(); /** + * + * *
    * Optional. The time when this table expires.
    * 
* * .google.protobuf.Timestamp expiration_time = 9; + * * @return The expirationTime. */ com.google.protobuf.Timestamp getExpirationTime(); /** + * + * *
    * Optional. The time when this table expires.
    * 
@@ -426,102 +547,134 @@ com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuild com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder(); /** + * + * *
    * The number of columns profiled in the table.
    * 
* * int64 scanned_column_count = 10; + * * @return The scannedColumnCount. */ long getScannedColumnCount(); /** + * + * *
    * The number of columns skipped in the table because of an error.
    * 
* * int64 failed_column_count = 11; + * * @return The failedColumnCount. */ long getFailedColumnCount(); /** + * + * *
    * The size of the table when the profile was generated.
    * 
* * int64 table_size_bytes = 12; + * * @return The tableSizeBytes. */ long getTableSizeBytes(); /** + * + * *
    * Number of rows in the table when the profile was generated.
    * 
* * int64 row_count = 13; + * * @return The rowCount. */ long getRowCount(); /** + * + * *
    * How the table is encrypted.
    * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; + * * @return The enum numeric value on the wire for encryptionStatus. */ int getEncryptionStatusValue(); /** + * + * *
    * How the table is encrypted.
    * 
* * .google.privacy.dlp.v2.EncryptionStatus encryption_status = 14; + * * @return The encryptionStatus. */ com.google.privacy.dlp.v2.EncryptionStatus getEncryptionStatus(); /** + * + * *
    * How broadly a resource has been shared.
    * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; + * * @return The enum numeric value on the wire for resourceVisibility. */ int getResourceVisibilityValue(); /** + * + * *
    * How broadly a resource has been shared.
    * 
* * .google.privacy.dlp.v2.ResourceVisibility resource_visibility = 15; + * * @return The resourceVisibility. */ com.google.privacy.dlp.v2.ResourceVisibility getResourceVisibility(); /** + * + * *
    * The last time the profile was generated.
    * 
* * .google.protobuf.Timestamp profile_last_generated = 16; + * * @return Whether the profileLastGenerated field is set. */ boolean hasProfileLastGenerated(); /** + * + * *
    * The last time the profile was generated.
    * 
* * .google.protobuf.Timestamp profile_last_generated = 16; + * * @return The profileLastGenerated. */ com.google.protobuf.Timestamp getProfileLastGenerated(); /** + * + * *
    * The last time the profile was generated.
    * 
@@ -531,6 +684,8 @@ com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuild com.google.protobuf.TimestampOrBuilder getProfileLastGeneratedOrBuilder(); /** + * + * *
    * The labels applied to the resource at the time the profile was generated.
    * 
@@ -539,30 +694,31 @@ com.google.privacy.dlp.v2.OtherInfoTypeSummaryOrBuilder getOtherInfoTypesOrBuild */ int getResourceLabelsCount(); /** + * + * *
    * The labels applied to the resource at the time the profile was generated.
    * 
* * map<string, string> resource_labels = 17; */ - boolean containsResourceLabels( - java.lang.String key); - /** - * Use {@link #getResourceLabelsMap()} instead. - */ + boolean containsResourceLabels(java.lang.String key); + /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getResourceLabels(); + java.util.Map getResourceLabels(); /** + * + * *
    * The labels applied to the resource at the time the profile was generated.
    * 
* * map<string, string> resource_labels = 17; */ - java.util.Map - getResourceLabelsMap(); + java.util.Map getResourceLabelsMap(); /** + * + * *
    * The labels applied to the resource at the time the profile was generated.
    * 
@@ -571,40 +727,48 @@ boolean containsResourceLabels( */ /* nullable */ -java.lang.String getResourceLabelsOrDefault( + java.lang.String getResourceLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * The labels applied to the resource at the time the profile was generated.
    * 
* * map<string, string> resource_labels = 17; */ - - java.lang.String getResourceLabelsOrThrow( - java.lang.String key); + java.lang.String getResourceLabelsOrThrow(java.lang.String key); /** + * + * *
    * The time at which the table was created.
    * 
* * .google.protobuf.Timestamp create_time = 23; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time at which the table was created.
    * 
* * .google.protobuf.Timestamp create_time = 23; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time at which the table was created.
    * 
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 babc1fa9..5f294cc7 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,18 +68,18 @@ 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) { @@ -71,29 +87,33 @@ private TableLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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
@@ -104,6 +124,7 @@ private TableLocation(
    * 
* * int64 row_index = 1; + * * @return The rowIndex. */ @java.lang.Override @@ -112,6 +133,7 @@ public long getRowIndex() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,8 +145,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -138,8 +159,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; @@ -149,15 +169,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; } @@ -170,125 +189,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() @@ -296,16 +323,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(); @@ -315,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_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 @@ -336,7 +362,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; @@ -346,38 +373,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; @@ -418,8 +446,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
@@ -430,6 +460,7 @@ public Builder mergeFrom(
      * 
* * int64 row_index = 1; + * * @return The rowIndex. */ @java.lang.Override @@ -437,6 +468,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
@@ -447,16 +480,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
@@ -467,17 +503,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); } @@ -487,12 +524,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(); } @@ -501,16 +538,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; @@ -525,6 +562,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 25e72c8b..605ee4fd 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,22 +71,23 @@ 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) { @@ -77,8 +95,7 @@ private TableOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -87,22 +104,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
@@ -117,6 +139,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
@@ -127,11 +151,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
@@ -146,6 +172,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
@@ -160,6 +188,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
@@ -170,12 +200,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;
@@ -187,8 +217,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -202,8 +231,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;
@@ -213,15 +242,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;
   }
@@ -242,118 +270,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() @@ -361,17 +398,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(); @@ -385,9 +422,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 @@ -406,7 +443,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)) { @@ -425,38 +463,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; @@ -483,9 +522,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_); } @@ -519,21 +559,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
@@ -551,6 +599,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
@@ -568,6 +618,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
@@ -585,6 +637,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
@@ -594,8 +648,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();
@@ -609,6 +662,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
@@ -630,6 +685,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
@@ -653,6 +710,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
@@ -662,8 +721,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();
@@ -677,6 +735,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
@@ -686,8 +746,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());
@@ -698,6 +757,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
@@ -719,6 +780,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
@@ -732,8 +795,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);
@@ -741,6 +803,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
@@ -761,6 +825,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
@@ -781,6 +847,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
@@ -790,11 +858,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
@@ -804,14 +873,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
@@ -821,8 +892,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 {
@@ -830,6 +901,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
@@ -840,10 +913,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
@@ -853,12 +928,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
@@ -868,16 +944,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(),
@@ -886,9 +968,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);
     }
 
@@ -898,12 +980,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();
   }
@@ -912,16 +994,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;
@@ -936,6 +1018,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 98fa846b..1fb58ac9 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,19 +71,20 @@ 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) {
@@ -74,36 +92,41 @@ private TimePartConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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
      * 
@@ -112,6 +135,8 @@ public enum TimePart */ TIME_PART_UNSPECIFIED(0), /** + * + * *
      * [0-9999]
      * 
@@ -120,6 +145,8 @@ public enum TimePart */ YEAR(1), /** + * + * *
      * [1-12]
      * 
@@ -128,6 +155,8 @@ public enum TimePart */ MONTH(2), /** + * + * *
      * [1-31]
      * 
@@ -136,6 +165,8 @@ public enum TimePart */ DAY_OF_MONTH(3), /** + * + * *
      * [1-7]
      * 
@@ -144,6 +175,8 @@ public enum TimePart */ DAY_OF_WEEK(4), /** + * + * *
      * [1-53]
      * 
@@ -152,6 +185,8 @@ public enum TimePart */ WEEK_OF_YEAR(5), /** + * + * *
      * [0-23]
      * 
@@ -163,6 +198,8 @@ public enum TimePart ; /** + * + * *
      * Unused
      * 
@@ -171,6 +208,8 @@ public enum TimePart */ public static final int TIME_PART_UNSPECIFIED_VALUE = 0; /** + * + * *
      * [0-9999]
      * 
@@ -179,6 +218,8 @@ public enum TimePart */ public static final int YEAR_VALUE = 1; /** + * + * *
      * [1-12]
      * 
@@ -187,6 +228,8 @@ public enum TimePart */ public static final int MONTH_VALUE = 2; /** + * + * *
      * [1-31]
      * 
@@ -195,6 +238,8 @@ public enum TimePart */ public static final int DAY_OF_MONTH_VALUE = 3; /** + * + * *
      * [1-7]
      * 
@@ -203,6 +248,8 @@ public enum TimePart */ public static final int DAY_OF_WEEK_VALUE = 4; /** + * + * *
      * [1-53]
      * 
@@ -211,6 +258,8 @@ public enum TimePart */ public static final int WEEK_OF_YEAR_VALUE = 5; /** + * + * *
      * [0-23]
      * 
@@ -219,7 +268,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( @@ -244,53 +292,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; @@ -310,31 +362,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; @@ -346,9 +408,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); @@ -360,9 +422,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; @@ -372,7 +434,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); @@ -398,97 +460,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.
@@ -496,21 +565,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()
@@ -518,16 +589,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -537,9 +607,9 @@ public Builder 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
@@ -558,7 +628,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;
@@ -568,38 +639,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;
@@ -642,51 +714,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. */ @@ -694,28 +782,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); } @@ -725,12 +816,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(); } @@ -739,16 +830,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; @@ -763,6 +854,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/TransformationConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfig.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfig.java index 9fbb92a3..2823e01c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfig.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; /** + * + * *
  * User specified templates and configs for how to deidentify structured,
  * unstructures, and image files. User must provide either a unstructured
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TransformationConfig}
  */
-public final class TransformationConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransformationConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationConfig)
     TransformationConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransformationConfig.newBuilder() to construct.
   private TransformationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TransformationConfig() {
     deidentifyTemplate_ = "";
     structuredDeidentifyTemplate_ = "";
@@ -29,16 +47,15 @@ private TransformationConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransformationConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TransformationConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,31 +74,34 @@ private TransformationConfig(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            deidentifyTemplate_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              deidentifyTemplate_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            structuredDeidentifyTemplate_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              structuredDeidentifyTemplate_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            imageRedactTemplate_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              imageRedactTemplate_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -89,29 +109,33 @@ private TransformationConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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_TransformationConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransformationConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationConfig_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransformationConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TransformationConfig.class, com.google.privacy.dlp.v2.TransformationConfig.Builder.class);
+            com.google.privacy.dlp.v2.TransformationConfig.class,
+            com.google.privacy.dlp.v2.TransformationConfig.Builder.class);
   }
 
   public static final int DEIDENTIFY_TEMPLATE_FIELD_NUMBER = 1;
   private volatile java.lang.Object deidentifyTemplate_;
   /**
+   *
+   *
    * 
    * De-identify template.
    * If this template is specified, it will serve as the default de-identify
@@ -122,6 +146,7 @@ private TransformationConfig(
    * 
* * string deidentify_template = 1; + * * @return The deidentifyTemplate. */ @java.lang.Override @@ -130,14 +155,15 @@ public java.lang.String getDeidentifyTemplate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deidentifyTemplate_ = s; return s; } } /** + * + * *
    * De-identify template.
    * If this template is specified, it will serve as the default de-identify
@@ -148,16 +174,15 @@ public java.lang.String getDeidentifyTemplate() {
    * 
* * string deidentify_template = 1; + * * @return The bytes for deidentifyTemplate. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeidentifyTemplateBytes() { + public com.google.protobuf.ByteString getDeidentifyTemplateBytes() { java.lang.Object ref = deidentifyTemplate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deidentifyTemplate_ = b; return b; } else { @@ -168,6 +193,8 @@ public java.lang.String getDeidentifyTemplate() { public static final int STRUCTURED_DEIDENTIFY_TEMPLATE_FIELD_NUMBER = 2; private volatile java.lang.Object structuredDeidentifyTemplate_; /** + * + * *
    * Structured de-identify template.
    * If this template is specified, it will serve as the de-identify template
@@ -179,6 +206,7 @@ public java.lang.String getDeidentifyTemplate() {
    * 
* * string structured_deidentify_template = 2; + * * @return The structuredDeidentifyTemplate. */ @java.lang.Override @@ -187,14 +215,15 @@ public java.lang.String getStructuredDeidentifyTemplate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); structuredDeidentifyTemplate_ = s; return s; } } /** + * + * *
    * Structured de-identify template.
    * If this template is specified, it will serve as the de-identify template
@@ -206,16 +235,15 @@ public java.lang.String getStructuredDeidentifyTemplate() {
    * 
* * string structured_deidentify_template = 2; + * * @return The bytes for structuredDeidentifyTemplate. */ @java.lang.Override - public com.google.protobuf.ByteString - getStructuredDeidentifyTemplateBytes() { + public com.google.protobuf.ByteString getStructuredDeidentifyTemplateBytes() { java.lang.Object ref = structuredDeidentifyTemplate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); structuredDeidentifyTemplate_ = b; return b; } else { @@ -226,6 +254,8 @@ public java.lang.String getStructuredDeidentifyTemplate() { public static final int IMAGE_REDACT_TEMPLATE_FIELD_NUMBER = 4; private volatile java.lang.Object imageRedactTemplate_; /** + * + * *
    * Image redact template.
    * If this template is specified, it will serve as the de-identify template
@@ -234,6 +264,7 @@ public java.lang.String getStructuredDeidentifyTemplate() {
    * 
* * string image_redact_template = 4; + * * @return The imageRedactTemplate. */ @java.lang.Override @@ -242,14 +273,15 @@ public java.lang.String getImageRedactTemplate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageRedactTemplate_ = s; return s; } } /** + * + * *
    * Image redact template.
    * If this template is specified, it will serve as the de-identify template
@@ -258,16 +290,15 @@ public java.lang.String getImageRedactTemplate() {
    * 
* * string image_redact_template = 4; + * * @return The bytes for imageRedactTemplate. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageRedactTemplateBytes() { + public com.google.protobuf.ByteString getImageRedactTemplateBytes() { java.lang.Object ref = imageRedactTemplate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageRedactTemplate_ = b; return b; } else { @@ -276,6 +307,7 @@ public java.lang.String getImageRedactTemplate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +319,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deidentifyTemplate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deidentifyTemplate_); } @@ -311,7 +342,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, deidentifyTemplate_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(structuredDeidentifyTemplate_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, structuredDeidentifyTemplate_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 2, structuredDeidentifyTemplate_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageRedactTemplate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, imageRedactTemplate_); @@ -324,19 +357,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.TransformationConfig)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationConfig other = (com.google.privacy.dlp.v2.TransformationConfig) obj; - - if (!getDeidentifyTemplate() - .equals(other.getDeidentifyTemplate())) return false; - if (!getStructuredDeidentifyTemplate() - .equals(other.getStructuredDeidentifyTemplate())) return false; - if (!getImageRedactTemplate() - .equals(other.getImageRedactTemplate())) return false; + com.google.privacy.dlp.v2.TransformationConfig other = + (com.google.privacy.dlp.v2.TransformationConfig) obj; + + if (!getDeidentifyTemplate().equals(other.getDeidentifyTemplate())) return false; + if (!getStructuredDeidentifyTemplate().equals(other.getStructuredDeidentifyTemplate())) + return false; + if (!getImageRedactTemplate().equals(other.getImageRedactTemplate())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -359,97 +391,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TransformationConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom(java.io.InputStream input) 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.TransformationConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * User specified templates and configs for how to deidentify structured,
    * unstructures, and image files. User must provide either a unstructured
@@ -458,21 +497,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationConfig)
       com.google.privacy.dlp.v2.TransformationConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationConfig_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationConfig.class, com.google.privacy.dlp.v2.TransformationConfig.Builder.class);
+              com.google.privacy.dlp.v2.TransformationConfig.class,
+              com.google.privacy.dlp.v2.TransformationConfig.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TransformationConfig.newBuilder()
@@ -480,16 +521,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,9 +543,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationConfig_descriptor;
     }
 
     @java.lang.Override
@@ -524,7 +564,8 @@ public com.google.privacy.dlp.v2.TransformationConfig build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TransformationConfig buildPartial() {
-      com.google.privacy.dlp.v2.TransformationConfig result = new com.google.privacy.dlp.v2.TransformationConfig(this);
+      com.google.privacy.dlp.v2.TransformationConfig result =
+          new com.google.privacy.dlp.v2.TransformationConfig(this);
       result.deidentifyTemplate_ = deidentifyTemplate_;
       result.structuredDeidentifyTemplate_ = structuredDeidentifyTemplate_;
       result.imageRedactTemplate_ = imageRedactTemplate_;
@@ -536,38 +577,39 @@ public com.google.privacy.dlp.v2.TransformationConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TransformationConfig) {
-        return mergeFrom((com.google.privacy.dlp.v2.TransformationConfig)other);
+        return mergeFrom((com.google.privacy.dlp.v2.TransformationConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -619,6 +661,8 @@ public Builder mergeFrom(
 
     private java.lang.Object deidentifyTemplate_ = "";
     /**
+     *
+     *
      * 
      * De-identify template.
      * If this template is specified, it will serve as the default de-identify
@@ -629,13 +673,13 @@ public Builder mergeFrom(
      * 
* * string deidentify_template = 1; + * * @return The deidentifyTemplate. */ public java.lang.String getDeidentifyTemplate() { java.lang.Object ref = deidentifyTemplate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deidentifyTemplate_ = s; return s; @@ -644,6 +688,8 @@ public java.lang.String getDeidentifyTemplate() { } } /** + * + * *
      * De-identify template.
      * If this template is specified, it will serve as the default de-identify
@@ -654,15 +700,14 @@ public java.lang.String getDeidentifyTemplate() {
      * 
* * string deidentify_template = 1; + * * @return The bytes for deidentifyTemplate. */ - public com.google.protobuf.ByteString - getDeidentifyTemplateBytes() { + public com.google.protobuf.ByteString getDeidentifyTemplateBytes() { java.lang.Object ref = deidentifyTemplate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deidentifyTemplate_ = b; return b; } else { @@ -670,6 +715,8 @@ public java.lang.String getDeidentifyTemplate() { } } /** + * + * *
      * De-identify template.
      * If this template is specified, it will serve as the default de-identify
@@ -680,20 +727,22 @@ public java.lang.String getDeidentifyTemplate() {
      * 
* * string deidentify_template = 1; + * * @param value The deidentifyTemplate to set. * @return This builder for chaining. */ - public Builder setDeidentifyTemplate( - java.lang.String value) { + public Builder setDeidentifyTemplate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deidentifyTemplate_ = value; onChanged(); return this; } /** + * + * *
      * De-identify template.
      * If this template is specified, it will serve as the default de-identify
@@ -704,15 +753,18 @@ public Builder setDeidentifyTemplate(
      * 
* * string deidentify_template = 1; + * * @return This builder for chaining. */ public Builder clearDeidentifyTemplate() { - + deidentifyTemplate_ = getDefaultInstance().getDeidentifyTemplate(); onChanged(); return this; } /** + * + * *
      * De-identify template.
      * If this template is specified, it will serve as the default de-identify
@@ -723,16 +775,16 @@ public Builder clearDeidentifyTemplate() {
      * 
* * string deidentify_template = 1; + * * @param value The bytes for deidentifyTemplate to set. * @return This builder for chaining. */ - public Builder setDeidentifyTemplateBytes( - com.google.protobuf.ByteString value) { + public Builder setDeidentifyTemplateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deidentifyTemplate_ = value; onChanged(); return this; @@ -740,6 +792,8 @@ public Builder setDeidentifyTemplateBytes( private java.lang.Object structuredDeidentifyTemplate_ = ""; /** + * + * *
      * Structured de-identify template.
      * If this template is specified, it will serve as the de-identify template
@@ -751,13 +805,13 @@ public Builder setDeidentifyTemplateBytes(
      * 
* * string structured_deidentify_template = 2; + * * @return The structuredDeidentifyTemplate. */ public java.lang.String getStructuredDeidentifyTemplate() { java.lang.Object ref = structuredDeidentifyTemplate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); structuredDeidentifyTemplate_ = s; return s; @@ -766,6 +820,8 @@ public java.lang.String getStructuredDeidentifyTemplate() { } } /** + * + * *
      * Structured de-identify template.
      * If this template is specified, it will serve as the de-identify template
@@ -777,15 +833,14 @@ public java.lang.String getStructuredDeidentifyTemplate() {
      * 
* * string structured_deidentify_template = 2; + * * @return The bytes for structuredDeidentifyTemplate. */ - public com.google.protobuf.ByteString - getStructuredDeidentifyTemplateBytes() { + public com.google.protobuf.ByteString getStructuredDeidentifyTemplateBytes() { java.lang.Object ref = structuredDeidentifyTemplate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); structuredDeidentifyTemplate_ = b; return b; } else { @@ -793,6 +848,8 @@ public java.lang.String getStructuredDeidentifyTemplate() { } } /** + * + * *
      * Structured de-identify template.
      * If this template is specified, it will serve as the de-identify template
@@ -804,20 +861,22 @@ public java.lang.String getStructuredDeidentifyTemplate() {
      * 
* * string structured_deidentify_template = 2; + * * @param value The structuredDeidentifyTemplate to set. * @return This builder for chaining. */ - public Builder setStructuredDeidentifyTemplate( - java.lang.String value) { + public Builder setStructuredDeidentifyTemplate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + structuredDeidentifyTemplate_ = value; onChanged(); return this; } /** + * + * *
      * Structured de-identify template.
      * If this template is specified, it will serve as the de-identify template
@@ -829,15 +888,18 @@ public Builder setStructuredDeidentifyTemplate(
      * 
* * string structured_deidentify_template = 2; + * * @return This builder for chaining. */ public Builder clearStructuredDeidentifyTemplate() { - + structuredDeidentifyTemplate_ = getDefaultInstance().getStructuredDeidentifyTemplate(); onChanged(); return this; } /** + * + * *
      * Structured de-identify template.
      * If this template is specified, it will serve as the de-identify template
@@ -849,16 +911,16 @@ public Builder clearStructuredDeidentifyTemplate() {
      * 
* * string structured_deidentify_template = 2; + * * @param value The bytes for structuredDeidentifyTemplate to set. * @return This builder for chaining. */ - public Builder setStructuredDeidentifyTemplateBytes( - com.google.protobuf.ByteString value) { + public Builder setStructuredDeidentifyTemplateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + structuredDeidentifyTemplate_ = value; onChanged(); return this; @@ -866,6 +928,8 @@ public Builder setStructuredDeidentifyTemplateBytes( private java.lang.Object imageRedactTemplate_ = ""; /** + * + * *
      * Image redact template.
      * If this template is specified, it will serve as the de-identify template
@@ -874,13 +938,13 @@ public Builder setStructuredDeidentifyTemplateBytes(
      * 
* * string image_redact_template = 4; + * * @return The imageRedactTemplate. */ public java.lang.String getImageRedactTemplate() { java.lang.Object ref = imageRedactTemplate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageRedactTemplate_ = s; return s; @@ -889,6 +953,8 @@ public java.lang.String getImageRedactTemplate() { } } /** + * + * *
      * Image redact template.
      * If this template is specified, it will serve as the de-identify template
@@ -897,15 +963,14 @@ public java.lang.String getImageRedactTemplate() {
      * 
* * string image_redact_template = 4; + * * @return The bytes for imageRedactTemplate. */ - public com.google.protobuf.ByteString - getImageRedactTemplateBytes() { + public com.google.protobuf.ByteString getImageRedactTemplateBytes() { java.lang.Object ref = imageRedactTemplate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageRedactTemplate_ = b; return b; } else { @@ -913,6 +978,8 @@ public java.lang.String getImageRedactTemplate() { } } /** + * + * *
      * Image redact template.
      * If this template is specified, it will serve as the de-identify template
@@ -921,20 +988,22 @@ public java.lang.String getImageRedactTemplate() {
      * 
* * string image_redact_template = 4; + * * @param value The imageRedactTemplate to set. * @return This builder for chaining. */ - public Builder setImageRedactTemplate( - java.lang.String value) { + public Builder setImageRedactTemplate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageRedactTemplate_ = value; onChanged(); return this; } /** + * + * *
      * Image redact template.
      * If this template is specified, it will serve as the de-identify template
@@ -943,15 +1012,18 @@ public Builder setImageRedactTemplate(
      * 
* * string image_redact_template = 4; + * * @return This builder for chaining. */ public Builder clearImageRedactTemplate() { - + imageRedactTemplate_ = getDefaultInstance().getImageRedactTemplate(); onChanged(); return this; } /** + * + * *
      * Image redact template.
      * If this template is specified, it will serve as the de-identify template
@@ -960,23 +1032,23 @@ public Builder clearImageRedactTemplate() {
      * 
* * string image_redact_template = 4; + * * @param value The bytes for imageRedactTemplate to set. * @return This builder for chaining. */ - public Builder setImageRedactTemplateBytes( - com.google.protobuf.ByteString value) { + public Builder setImageRedactTemplateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageRedactTemplate_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -986,12 +1058,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationConfig) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationConfig) private static final com.google.privacy.dlp.v2.TransformationConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationConfig(); } @@ -1000,16 +1072,16 @@ public static com.google.privacy.dlp.v2.TransformationConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1024,6 +1096,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TransformationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfigOrBuilder.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfigOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfigOrBuilder.java index 026ab337..605211c8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfigOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationConfigOrBuilder.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 TransformationConfigOrBuilder extends +public interface TransformationConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * De-identify template.
    * If this template is specified, it will serve as the default de-identify
@@ -18,10 +36,13 @@ public interface TransformationConfigOrBuilder extends
    * 
* * string deidentify_template = 1; + * * @return The deidentifyTemplate. */ java.lang.String getDeidentifyTemplate(); /** + * + * *
    * De-identify template.
    * If this template is specified, it will serve as the default de-identify
@@ -32,12 +53,14 @@ public interface TransformationConfigOrBuilder extends
    * 
* * string deidentify_template = 1; + * * @return The bytes for deidentifyTemplate. */ - com.google.protobuf.ByteString - getDeidentifyTemplateBytes(); + com.google.protobuf.ByteString getDeidentifyTemplateBytes(); /** + * + * *
    * Structured de-identify template.
    * If this template is specified, it will serve as the de-identify template
@@ -49,10 +72,13 @@ public interface TransformationConfigOrBuilder extends
    * 
* * string structured_deidentify_template = 2; + * * @return The structuredDeidentifyTemplate. */ java.lang.String getStructuredDeidentifyTemplate(); /** + * + * *
    * Structured de-identify template.
    * If this template is specified, it will serve as the de-identify template
@@ -64,12 +90,14 @@ public interface TransformationConfigOrBuilder extends
    * 
* * string structured_deidentify_template = 2; + * * @return The bytes for structuredDeidentifyTemplate. */ - com.google.protobuf.ByteString - getStructuredDeidentifyTemplateBytes(); + com.google.protobuf.ByteString getStructuredDeidentifyTemplateBytes(); /** + * + * *
    * Image redact template.
    * If this template is specified, it will serve as the de-identify template
@@ -78,10 +106,13 @@ public interface TransformationConfigOrBuilder extends
    * 
* * string image_redact_template = 4; + * * @return The imageRedactTemplate. */ java.lang.String getImageRedactTemplate(); /** + * + * *
    * Image redact template.
    * If this template is specified, it will serve as the de-identify template
@@ -90,8 +121,8 @@ public interface TransformationConfigOrBuilder extends
    * 
* * string image_redact_template = 4; + * * @return The bytes for imageRedactTemplate. */ - com.google.protobuf.ByteString - getImageRedactTemplateBytes(); + com.google.protobuf.ByteString getImageRedactTemplateBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationContainerType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationContainerType.java similarity index 59% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationContainerType.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationContainerType.java index 41544632..ee929393 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationContainerType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationContainerType.java @@ -1,54 +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; /** + * + * *
  * Describes functionality of a given container in its original format.
  * 
* * Protobuf enum {@code google.privacy.dlp.v2.TransformationContainerType} */ -public enum TransformationContainerType - implements com.google.protobuf.ProtocolMessageEnum { - /** - * TRANSFORM_UNKNOWN_CONTAINER = 0; - */ +public enum TransformationContainerType implements com.google.protobuf.ProtocolMessageEnum { + /** TRANSFORM_UNKNOWN_CONTAINER = 0; */ TRANSFORM_UNKNOWN_CONTAINER(0), - /** - * TRANSFORM_BODY = 1; - */ + /** TRANSFORM_BODY = 1; */ TRANSFORM_BODY(1), - /** - * TRANSFORM_METADATA = 2; - */ + /** TRANSFORM_METADATA = 2; */ TRANSFORM_METADATA(2), - /** - * TRANSFORM_TABLE = 3; - */ + /** TRANSFORM_TABLE = 3; */ TRANSFORM_TABLE(3), UNRECOGNIZED(-1), ; - /** - * TRANSFORM_UNKNOWN_CONTAINER = 0; - */ + /** TRANSFORM_UNKNOWN_CONTAINER = 0; */ public static final int TRANSFORM_UNKNOWN_CONTAINER_VALUE = 0; - /** - * TRANSFORM_BODY = 1; - */ + /** TRANSFORM_BODY = 1; */ public static final int TRANSFORM_BODY_VALUE = 1; - /** - * TRANSFORM_METADATA = 2; - */ + /** TRANSFORM_METADATA = 2; */ public static final int TRANSFORM_METADATA_VALUE = 2; - /** - * TRANSFORM_TABLE = 3; - */ + /** TRANSFORM_TABLE = 3; */ public static final int TRANSFORM_TABLE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -73,11 +72,16 @@ public static TransformationContainerType valueOf(int value) { */ public static TransformationContainerType forNumber(int value) { switch (value) { - case 0: return TRANSFORM_UNKNOWN_CONTAINER; - case 1: return TRANSFORM_BODY; - case 2: return TRANSFORM_METADATA; - case 3: return TRANSFORM_TABLE; - default: return null; + case 0: + return TRANSFORM_UNKNOWN_CONTAINER; + case 1: + return TRANSFORM_BODY; + case 2: + return TRANSFORM_METADATA; + case 3: + return TRANSFORM_TABLE; + default: + return null; } } @@ -85,28 +89,28 @@ public static TransformationContainerType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TransformationContainerType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransformationContainerType findValueByNumber(int number) { - return TransformationContainerType.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 TransformationContainerType findValueByNumber(int number) { + return TransformationContainerType.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); } @@ -115,8 +119,7 @@ public TransformationContainerType findValueByNumber(int number) { public static TransformationContainerType 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; @@ -132,4 +135,3 @@ private TransformationContainerType(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.TransformationContainerType) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescription.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescription.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescription.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescription.java index e77be554..8f989508 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescription.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescription.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 flattened description of a `PrimitiveTransformation` or
  * `RecordSuppression`.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TransformationDescription}
  */
-public final class TransformationDescription extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransformationDescription extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationDescription)
     TransformationDescriptionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransformationDescription.newBuilder() to construct.
   private TransformationDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TransformationDescription() {
     type_ = 0;
     description_ = "";
@@ -28,16 +46,15 @@ private TransformationDescription() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransformationDescription();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TransformationDescription(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,44 +73,49 @@ private TransformationDescription(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
-
-            type_ = rawValue;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            description_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              type_ = rawValue;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            condition_ = s;
-            break;
-          }
-          case 34: {
-            com.google.privacy.dlp.v2.InfoType.Builder subBuilder = null;
-            if (infoType_ != null) {
-              subBuilder = infoType_.toBuilder();
+              description_ = s;
+              break;
             }
-            infoType_ = input.readMessage(com.google.privacy.dlp.v2.InfoType.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(infoType_);
-              infoType_ = subBuilder.buildPartial();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              condition_ = s;
+              break;
             }
+          case 34:
+            {
+              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;
-          }
-          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) {
@@ -101,56 +123,69 @@ private TransformationDescription(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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_TransformationDescription_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransformationDescription_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TransformationDescription.class, com.google.privacy.dlp.v2.TransformationDescription.Builder.class);
+            com.google.privacy.dlp.v2.TransformationDescription.class,
+            com.google.privacy.dlp.v2.TransformationDescription.Builder.class);
   }
 
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
+   *
+   *
    * 
    * The transformation type.
    * 
* * .google.privacy.dlp.v2.TransformationType 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 transformation type.
    * 
* * .google.privacy.dlp.v2.TransformationType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.privacy.dlp.v2.TransformationType getType() { + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TransformationType result = com.google.privacy.dlp.v2.TransformationType.valueOf(type_); + com.google.privacy.dlp.v2.TransformationType result = + com.google.privacy.dlp.v2.TransformationType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.TransformationType.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * A description of the transformation. This is empty for a
    * RECORD_SUPPRESSION, or is the output of calling toString() on the
@@ -159,6 +194,7 @@ private TransformationDescription(
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -167,14 +203,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * A description of the transformation. This is empty for a
    * RECORD_SUPPRESSION, or is the output of calling toString() on the
@@ -183,16 +220,15 @@ public java.lang.String getDescription() {
    * 
* * 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 { @@ -203,6 +239,8 @@ public java.lang.String getDescription() { public static final int CONDITION_FIELD_NUMBER = 3; private volatile java.lang.Object condition_; /** + * + * *
    * A human-readable string representation of the `RecordCondition`
    * corresponding to this transformation. Set if a `RecordCondition` was used
@@ -216,6 +254,7 @@ public java.lang.String getDescription() {
    * 
* * string condition = 3; + * * @return The condition. */ @java.lang.Override @@ -224,14 +263,15 @@ public java.lang.String getCondition() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); condition_ = s; return s; } } /** + * + * *
    * A human-readable string representation of the `RecordCondition`
    * corresponding to this transformation. Set if a `RecordCondition` was used
@@ -245,16 +285,15 @@ public java.lang.String getCondition() {
    * 
* * string condition = 3; + * * @return The bytes for condition. */ @java.lang.Override - public com.google.protobuf.ByteString - getConditionBytes() { + public com.google.protobuf.ByteString getConditionBytes() { java.lang.Object ref = condition_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); condition_ = b; return b; } else { @@ -265,11 +304,14 @@ public java.lang.String getCondition() { public static final int INFO_TYPE_FIELD_NUMBER = 4; 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 = 4; + * * @return Whether the infoType field is set. */ @java.lang.Override @@ -277,11 +319,14 @@ public boolean hasInfoType() { return infoType_ != null; } /** + * + * *
    * Set if the transformation was limited to a specific `InfoType`.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 4; + * * @return The infoType. */ @java.lang.Override @@ -289,6 +334,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`.
    * 
@@ -301,6 +348,7 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,9 +360,10 @@ 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.TransformationType.TRANSFORMATION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.privacy.dlp.v2.TransformationType.TRANSFORMATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { @@ -335,9 +384,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.privacy.dlp.v2.TransformationType.TRANSFORMATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.privacy.dlp.v2.TransformationType.TRANSFORMATION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); @@ -346,8 +396,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, condition_); } if (infoType_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getInfoType()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getInfoType()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -357,22 +406,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.TransformationDescription)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationDescription other = (com.google.privacy.dlp.v2.TransformationDescription) obj; + com.google.privacy.dlp.v2.TransformationDescription other = + (com.google.privacy.dlp.v2.TransformationDescription) obj; if (type_ != other.type_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getCondition() - .equals(other.getCondition())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getCondition().equals(other.getCondition())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -401,96 +448,103 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.TransformationDescription parseFrom( - java.nio.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.TransformationDescription parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationDescription parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationDescription parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationDescription parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationDescription parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationDescription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationDescription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 flattened description of a `PrimitiveTransformation` or
    * `RecordSuppression`.
@@ -498,21 +552,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationDescription}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationDescription)
       com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDescription_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationDescription_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationDescription_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationDescription.class, com.google.privacy.dlp.v2.TransformationDescription.Builder.class);
+              com.google.privacy.dlp.v2.TransformationDescription.class,
+              com.google.privacy.dlp.v2.TransformationDescription.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TransformationDescription.newBuilder()
@@ -520,16 +576,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();
@@ -549,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_TransformationDescription_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationDescription_descriptor;
     }
 
     @java.lang.Override
@@ -570,7 +625,8 @@ public com.google.privacy.dlp.v2.TransformationDescription build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TransformationDescription buildPartial() {
-      com.google.privacy.dlp.v2.TransformationDescription result = new com.google.privacy.dlp.v2.TransformationDescription(this);
+      com.google.privacy.dlp.v2.TransformationDescription result =
+          new com.google.privacy.dlp.v2.TransformationDescription(this);
       result.type_ = type_;
       result.description_ = description_;
       result.condition_ = condition_;
@@ -587,38 +643,39 @@ public com.google.privacy.dlp.v2.TransformationDescription buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TransformationDescription) {
-        return mergeFrom((com.google.privacy.dlp.v2.TransformationDescription)other);
+        return mergeFrom((com.google.privacy.dlp.v2.TransformationDescription) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -626,7 +683,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationDescription other) {
-      if (other == com.google.privacy.dlp.v2.TransformationDescription.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.TransformationDescription.getDefaultInstance())
+        return this;
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
@@ -660,7 +718,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.privacy.dlp.v2.TransformationDescription) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.privacy.dlp.v2.TransformationDescription) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -672,51 +731,65 @@ public Builder mergeFrom(
 
     private int type_ = 0;
     /**
+     *
+     *
      * 
      * The transformation type.
      * 
* * .google.privacy.dlp.v2.TransformationType 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 transformation type.
      * 
* * .google.privacy.dlp.v2.TransformationType 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 transformation type.
      * 
* * .google.privacy.dlp.v2.TransformationType type = 1; + * * @return The type. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationType getType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TransformationType result = com.google.privacy.dlp.v2.TransformationType.valueOf(type_); + com.google.privacy.dlp.v2.TransformationType result = + com.google.privacy.dlp.v2.TransformationType.valueOf(type_); return result == null ? com.google.privacy.dlp.v2.TransformationType.UNRECOGNIZED : result; } /** + * + * *
      * The transformation type.
      * 
* * .google.privacy.dlp.v2.TransformationType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -724,21 +797,24 @@ public Builder setType(com.google.privacy.dlp.v2.TransformationType value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The transformation type.
      * 
* * .google.privacy.dlp.v2.TransformationType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -746,6 +822,8 @@ public Builder clearType() { private java.lang.Object description_ = ""; /** + * + * *
      * A description of the transformation. This is empty for a
      * RECORD_SUPPRESSION, or is the output of calling toString() on the
@@ -754,13 +832,13 @@ public Builder clearType() {
      * 
* * 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; @@ -769,6 +847,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of the transformation. This is empty for a
      * RECORD_SUPPRESSION, or is the output of calling toString() on the
@@ -777,15 +857,14 @@ public java.lang.String getDescription() {
      * 
* * 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 { @@ -793,6 +872,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A description of the transformation. This is empty for a
      * RECORD_SUPPRESSION, or is the output of calling toString() on the
@@ -801,20 +882,22 @@ public java.lang.String getDescription() {
      * 
* * 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; } /** + * + * *
      * A description of the transformation. This is empty for a
      * RECORD_SUPPRESSION, or is the output of calling toString() on the
@@ -823,15 +906,18 @@ public Builder setDescription(
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A description of the transformation. This is empty for a
      * RECORD_SUPPRESSION, or is the output of calling toString() on the
@@ -840,16 +926,16 @@ public Builder clearDescription() {
      * 
* * 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; @@ -857,6 +943,8 @@ public Builder setDescriptionBytes( private java.lang.Object condition_ = ""; /** + * + * *
      * A human-readable string representation of the `RecordCondition`
      * corresponding to this transformation. Set if a `RecordCondition` was used
@@ -870,13 +958,13 @@ public Builder setDescriptionBytes(
      * 
* * string condition = 3; + * * @return The condition. */ public java.lang.String getCondition() { java.lang.Object ref = condition_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); condition_ = s; return s; @@ -885,6 +973,8 @@ public java.lang.String getCondition() { } } /** + * + * *
      * A human-readable string representation of the `RecordCondition`
      * corresponding to this transformation. Set if a `RecordCondition` was used
@@ -898,15 +988,14 @@ public java.lang.String getCondition() {
      * 
* * string condition = 3; + * * @return The bytes for condition. */ - public com.google.protobuf.ByteString - getConditionBytes() { + public com.google.protobuf.ByteString getConditionBytes() { java.lang.Object ref = condition_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); condition_ = b; return b; } else { @@ -914,6 +1003,8 @@ public java.lang.String getCondition() { } } /** + * + * *
      * A human-readable string representation of the `RecordCondition`
      * corresponding to this transformation. Set if a `RecordCondition` was used
@@ -927,20 +1018,22 @@ public java.lang.String getCondition() {
      * 
* * string condition = 3; + * * @param value The condition to set. * @return This builder for chaining. */ - public Builder setCondition( - java.lang.String value) { + public Builder setCondition(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + condition_ = value; onChanged(); return this; } /** + * + * *
      * A human-readable string representation of the `RecordCondition`
      * corresponding to this transformation. Set if a `RecordCondition` was used
@@ -954,15 +1047,18 @@ public Builder setCondition(
      * 
* * string condition = 3; + * * @return This builder for chaining. */ public Builder clearCondition() { - + condition_ = getDefaultInstance().getCondition(); onChanged(); return this; } /** + * + * *
      * A human-readable string representation of the `RecordCondition`
      * corresponding to this transformation. Set if a `RecordCondition` was used
@@ -976,16 +1072,16 @@ public Builder clearCondition() {
      * 
* * string condition = 3; + * * @param value The bytes for condition to set. * @return This builder for chaining. */ - public Builder setConditionBytes( - com.google.protobuf.ByteString value) { + public Builder setConditionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + condition_ = value; onChanged(); return this; @@ -993,34 +1089,47 @@ public Builder setConditionBytes( 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 = 4; + * * @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 = 4; + * * @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`.
      * 
@@ -1041,14 +1150,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 = 4; */ - 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(); @@ -1059,6 +1169,8 @@ public Builder setInfoType( return this; } /** + * + * *
      * Set if the transformation was limited to a specific `InfoType`.
      * 
@@ -1069,7 +1181,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; } @@ -1081,6 +1195,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * Set if the transformation was limited to a specific `InfoType`.
      * 
@@ -1099,6 +1215,8 @@ public Builder clearInfoType() { return this; } /** + * + * *
      * Set if the transformation was limited to a specific `InfoType`.
      * 
@@ -1106,11 +1224,13 @@ public Builder clearInfoType() { * .google.privacy.dlp.v2.InfoType info_type = 4; */ public com.google.privacy.dlp.v2.InfoType.Builder getInfoTypeBuilder() { - + onChanged(); return getInfoTypeFieldBuilder().getBuilder(); } /** + * + * *
      * Set if the transformation was limited to a specific `InfoType`.
      * 
@@ -1121,11 +1241,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`.
      * 
@@ -1133,21 +1256,24 @@ public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypeOrBuilder() { * .google.privacy.dlp.v2.InfoType info_type = 4; */ 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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1157,12 +1283,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationDescription) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationDescription) private static final com.google.privacy.dlp.v2.TransformationDescription DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationDescription(); } @@ -1171,16 +1297,16 @@ public static com.google.privacy.dlp.v2.TransformationDescription getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationDescription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationDescription(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationDescription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationDescription(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1195,6 +1321,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.TransformationDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescriptionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescriptionOrBuilder.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescriptionOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescriptionOrBuilder.java index 304c5c1d..f592c000 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescriptionOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDescriptionOrBuilder.java @@ -1,32 +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 TransformationDescriptionOrBuilder extends +public interface TransformationDescriptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationDescription) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The transformation type.
    * 
* * .google.privacy.dlp.v2.TransformationType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The transformation type.
    * 
* * .google.privacy.dlp.v2.TransformationType type = 1; + * * @return The type. */ com.google.privacy.dlp.v2.TransformationType getType(); /** + * + * *
    * A description of the transformation. This is empty for a
    * RECORD_SUPPRESSION, or is the output of calling toString() on the
@@ -35,10 +59,13 @@ public interface TransformationDescriptionOrBuilder extends
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A description of the transformation. This is empty for a
    * RECORD_SUPPRESSION, or is the output of calling toString() on the
@@ -47,12 +74,14 @@ public interface TransformationDescriptionOrBuilder extends
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * A human-readable string representation of the `RecordCondition`
    * corresponding to this transformation. Set if a `RecordCondition` was used
@@ -66,10 +95,13 @@ public interface TransformationDescriptionOrBuilder extends
    * 
* * string condition = 3; + * * @return The condition. */ java.lang.String getCondition(); /** + * + * *
    * A human-readable string representation of the `RecordCondition`
    * corresponding to this transformation. Set if a `RecordCondition` was used
@@ -83,30 +115,38 @@ public interface TransformationDescriptionOrBuilder extends
    * 
* * string condition = 3; + * * @return The bytes for condition. */ - com.google.protobuf.ByteString - getConditionBytes(); + com.google.protobuf.ByteString getConditionBytes(); /** + * + * *
    * Set if the transformation was limited to a specific `InfoType`.
    * 
* * .google.privacy.dlp.v2.InfoType info_type = 4; + * * @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 = 4; + * * @return The infoType. */ com.google.privacy.dlp.v2.InfoType getInfoType(); /** + * + * *
    * Set if the transformation was limited to a specific `InfoType`.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetails.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetails.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetails.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetails.java index 999ba82c..80c6389a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetails.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetails.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 about a single transformation. This object contains a description of
  * the transformation, information about whether the transformation was
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.privacy.dlp.v2.TransformationDetails}
  */
-public final class TransformationDetails extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class TransformationDetails extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationDetails)
     TransformationDetailsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransformationDetails.newBuilder() to construct.
   private TransformationDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private TransformationDetails() {
     resourceName_ = "";
     containerName_ = "";
@@ -30,16 +48,15 @@ private TransformationDetails() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransformationDetails();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private TransformationDetails(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,65 +76,78 @@ private TransformationDetails(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            resourceName_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              resourceName_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            containerName_ = s;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              transformation_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              containerName_ = s;
+              break;
             }
-            transformation_.add(
-                input.readMessage(com.google.privacy.dlp.v2.TransformationDescription.parser(), extensionRegistry));
-            break;
-          }
-          case 34: {
-            com.google.privacy.dlp.v2.TransformationResultStatus.Builder subBuilder = null;
-            if (statusDetails_ != null) {
-              subBuilder = statusDetails_.toBuilder();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                transformation_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              transformation_.add(
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.TransformationDescription.parser(),
+                      extensionRegistry));
+              break;
             }
-            statusDetails_ = input.readMessage(com.google.privacy.dlp.v2.TransformationResultStatus.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(statusDetails_);
-              statusDetails_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.privacy.dlp.v2.TransformationResultStatus.Builder subBuilder = null;
+              if (statusDetails_ != null) {
+                subBuilder = statusDetails_.toBuilder();
+              }
+              statusDetails_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.TransformationResultStatus.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(statusDetails_);
+                statusDetails_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 40: {
-
-            transformedBytes_ = input.readInt64();
-            break;
-          }
-          case 50: {
-            com.google.privacy.dlp.v2.TransformationLocation.Builder subBuilder = null;
-            if (transformationLocation_ != null) {
-              subBuilder = transformationLocation_.toBuilder();
+          case 40:
+            {
+              transformedBytes_ = input.readInt64();
+              break;
             }
-            transformationLocation_ = input.readMessage(com.google.privacy.dlp.v2.TransformationLocation.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(transformationLocation_);
-              transformationLocation_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.privacy.dlp.v2.TransformationLocation.Builder subBuilder = null;
+              if (transformationLocation_ != null) {
+                subBuilder = transformationLocation_.toBuilder();
+              }
+              transformationLocation_ =
+                  input.readMessage(
+                      com.google.privacy.dlp.v2.TransformationLocation.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(transformationLocation_);
+                transformationLocation_ = 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) {
@@ -125,8 +155,7 @@ private TransformationDetails(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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)) {
         transformation_ = java.util.Collections.unmodifiableList(transformation_);
@@ -135,27 +164,33 @@ private TransformationDetails(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable
+    return com.google.privacy.dlp.v2.DlpProto
+        .internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.privacy.dlp.v2.TransformationDetails.class, com.google.privacy.dlp.v2.TransformationDetails.Builder.class);
+            com.google.privacy.dlp.v2.TransformationDetails.class,
+            com.google.privacy.dlp.v2.TransformationDetails.Builder.class);
   }
 
   public static final int RESOURCE_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object resourceName_;
   /**
+   *
+   *
    * 
    * The name of the job that completed the transformation.
    * 
* * string resource_name = 1; + * * @return The resourceName. */ @java.lang.Override @@ -164,29 +199,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 name of the job that completed the transformation.
    * 
* * string resource_name = 1; + * * @return The bytes for resourceName. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceNameBytes() { + public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceName_ = b; return b; } else { @@ -197,12 +232,15 @@ public java.lang.String getResourceName() { public static final int CONTAINER_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object containerName_; /** + * + * *
    * The top level name of the container where the transformation is located
    * (this will be the source file name or table name).
    * 
* * string container_name = 2; + * * @return The containerName. */ @java.lang.Override @@ -211,30 +249,30 @@ 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; } } /** + * + * *
    * The top level name of the container where the transformation is located
    * (this will be the source file name or table name).
    * 
* * string container_name = 2; + * * @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 { @@ -245,6 +283,8 @@ public java.lang.String getContainerName() { public static final int TRANSFORMATION_FIELD_NUMBER = 3; private java.util.List transformation_; /** + * + * *
    * Description of transformation. This would only contain more than one
    * element if there were multiple matching transformations and which one to
@@ -256,10 +296,13 @@ public java.lang.String getContainerName() {
    * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;
    */
   @java.lang.Override
-  public java.util.List getTransformationList() {
+  public java.util.List
+      getTransformationList() {
     return transformation_;
   }
   /**
+   *
+   *
    * 
    * Description of transformation. This would only contain more than one
    * element if there were multiple matching transformations and which one to
@@ -271,11 +314,13 @@ public java.util.List getTr
    * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTransformationOrBuilderList() {
     return transformation_;
   }
   /**
+   *
+   *
    * 
    * Description of transformation. This would only contain more than one
    * element if there were multiple matching transformations and which one to
@@ -291,6 +336,8 @@ public int getTransformationCount() {
     return transformation_.size();
   }
   /**
+   *
+   *
    * 
    * Description of transformation. This would only contain more than one
    * element if there were multiple matching transformations and which one to
@@ -306,6 +353,8 @@ public com.google.privacy.dlp.v2.TransformationDescription getTransformation(int
     return transformation_.get(index);
   }
   /**
+   *
+   *
    * 
    * Description of transformation. This would only contain more than one
    * element if there were multiple matching transformations and which one to
@@ -325,6 +374,8 @@ public com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransform
   public static final int STATUS_DETAILS_FIELD_NUMBER = 4;
   private com.google.privacy.dlp.v2.TransformationResultStatus statusDetails_;
   /**
+   *
+   *
    * 
    * Status of the transformation, if transformation was not successful, this
    * will specify what caused it to fail, otherwise it will show that the
@@ -332,6 +383,7 @@ public com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransform
    * 
* * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * * @return Whether the statusDetails field is set. */ @java.lang.Override @@ -339,6 +391,8 @@ public boolean hasStatusDetails() { return statusDetails_ != null; } /** + * + * *
    * Status of the transformation, if transformation was not successful, this
    * will specify what caused it to fail, otherwise it will show that the
@@ -346,13 +400,18 @@ public boolean hasStatusDetails() {
    * 
* * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * * @return The statusDetails. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationResultStatus getStatusDetails() { - return statusDetails_ == null ? com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance() : statusDetails_; + return statusDetails_ == null + ? com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance() + : statusDetails_; } /** + * + * *
    * Status of the transformation, if transformation was not successful, this
    * will specify what caused it to fail, otherwise it will show that the
@@ -369,6 +428,8 @@ public com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder getStatusDe
   public static final int TRANSFORMED_BYTES_FIELD_NUMBER = 5;
   private long transformedBytes_;
   /**
+   *
+   *
    * 
    * The number of bytes that were transformed. If transformation was
    * unsuccessful or did not take place because there was no content to
@@ -376,6 +437,7 @@ public com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder getStatusDe
    * 
* * int64 transformed_bytes = 5; + * * @return The transformedBytes. */ @java.lang.Override @@ -386,11 +448,14 @@ public long getTransformedBytes() { public static final int TRANSFORMATION_LOCATION_FIELD_NUMBER = 6; private com.google.privacy.dlp.v2.TransformationLocation transformationLocation_; /** + * + * *
    * The precise location of the transformed content in the original container.
    * 
* * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * * @return Whether the transformationLocation field is set. */ @java.lang.Override @@ -398,18 +463,25 @@ public boolean hasTransformationLocation() { return transformationLocation_ != null; } /** + * + * *
    * The precise location of the transformed content in the original container.
    * 
* * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * * @return The transformationLocation. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationLocation getTransformationLocation() { - return transformationLocation_ == null ? com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance() : transformationLocation_; + return transformationLocation_ == null + ? com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance() + : transformationLocation_; } /** + * + * *
    * The precise location of the transformed content in the original container.
    * 
@@ -417,11 +489,13 @@ public com.google.privacy.dlp.v2.TransformationLocation getTransformationLocatio * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; */ @java.lang.Override - public com.google.privacy.dlp.v2.TransformationLocationOrBuilder getTransformationLocationOrBuilder() { + public com.google.privacy.dlp.v2.TransformationLocationOrBuilder + getTransformationLocationOrBuilder() { return getTransformationLocation(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -433,8 +507,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_); } @@ -469,20 +542,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, containerName_); } for (int i = 0; i < transformation_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, transformation_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, transformation_.get(i)); } if (statusDetails_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getStatusDetails()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStatusDetails()); } if (transformedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, transformedBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, transformedBytes_); } if (transformationLocation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getTransformationLocation()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, getTransformationLocation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -492,30 +562,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.TransformationDetails)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationDetails other = (com.google.privacy.dlp.v2.TransformationDetails) obj; + com.google.privacy.dlp.v2.TransformationDetails other = + (com.google.privacy.dlp.v2.TransformationDetails) obj; - if (!getResourceName() - .equals(other.getResourceName())) return false; - if (!getContainerName() - .equals(other.getContainerName())) return false; - if (!getTransformationList() - .equals(other.getTransformationList())) return false; + if (!getResourceName().equals(other.getResourceName())) return false; + if (!getContainerName().equals(other.getContainerName())) return false; + if (!getTransformationList().equals(other.getTransformationList())) return false; if (hasStatusDetails() != other.hasStatusDetails()) return false; if (hasStatusDetails()) { - if (!getStatusDetails() - .equals(other.getStatusDetails())) return false; + if (!getStatusDetails().equals(other.getStatusDetails())) return false; } - if (getTransformedBytes() - != other.getTransformedBytes()) return false; + if (getTransformedBytes() != other.getTransformedBytes()) return false; if (hasTransformationLocation() != other.hasTransformationLocation()) return false; if (hasTransformationLocation()) { - if (!getTransformationLocation() - .equals(other.getTransformationLocation())) return false; + if (!getTransformationLocation().equals(other.getTransformationLocation())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -541,8 +606,7 @@ public int hashCode() { hash = (53 * hash) + getStatusDetails().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 (hasTransformationLocation()) { hash = (37 * hash) + TRANSFORMATION_LOCATION_FIELD_NUMBER; hash = (53 * hash) + getTransformationLocation().hashCode(); @@ -552,97 +616,104 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TransformationDetails parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom(java.io.InputStream input) 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.TransformationDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationDetails parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationDetails parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 about a single transformation. This object contains a description of
    * the transformation, information about whether the transformation was
@@ -652,21 +723,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.privacy.dlp.v2.TransformationDetails}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationDetails)
       com.google.privacy.dlp.v2.TransformationDetailsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationDetails_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.privacy.dlp.v2.TransformationDetails.class, com.google.privacy.dlp.v2.TransformationDetails.Builder.class);
+              com.google.privacy.dlp.v2.TransformationDetails.class,
+              com.google.privacy.dlp.v2.TransformationDetails.Builder.class);
     }
 
     // Construct using com.google.privacy.dlp.v2.TransformationDetails.newBuilder()
@@ -674,17 +747,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) {
         getTransformationFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -716,9 +789,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.privacy.dlp.v2.DlpProto
+          .internal_static_google_privacy_dlp_v2_TransformationDetails_descriptor;
     }
 
     @java.lang.Override
@@ -737,7 +810,8 @@ public com.google.privacy.dlp.v2.TransformationDetails build() {
 
     @java.lang.Override
     public com.google.privacy.dlp.v2.TransformationDetails buildPartial() {
-      com.google.privacy.dlp.v2.TransformationDetails result = new com.google.privacy.dlp.v2.TransformationDetails(this);
+      com.google.privacy.dlp.v2.TransformationDetails result =
+          new com.google.privacy.dlp.v2.TransformationDetails(this);
       int from_bitField0_ = bitField0_;
       result.resourceName_ = resourceName_;
       result.containerName_ = containerName_;
@@ -769,38 +843,39 @@ public com.google.privacy.dlp.v2.TransformationDetails buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.privacy.dlp.v2.TransformationDetails) {
-        return mergeFrom((com.google.privacy.dlp.v2.TransformationDetails)other);
+        return mergeFrom((com.google.privacy.dlp.v2.TransformationDetails) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -808,7 +883,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationDetails other) {
-      if (other == com.google.privacy.dlp.v2.TransformationDetails.getDefaultInstance()) return this;
+      if (other == com.google.privacy.dlp.v2.TransformationDetails.getDefaultInstance())
+        return this;
       if (!other.getResourceName().isEmpty()) {
         resourceName_ = other.resourceName_;
         onChanged();
@@ -835,9 +911,10 @@ public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationDetails other)
             transformationBuilder_ = null;
             transformation_ = other.transformation_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            transformationBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTransformationFieldBuilder() : null;
+            transformationBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTransformationFieldBuilder()
+                    : null;
           } else {
             transformationBuilder_.addAllMessages(other.transformation_);
           }
@@ -880,22 +957,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object resourceName_ = "";
     /**
+     *
+     *
      * 
      * The name of the job that completed the transformation.
      * 
* * string resource_name = 1; + * * @return The resourceName. */ public java.lang.String getResourceName() { java.lang.Object ref = resourceName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceName_ = s; return s; @@ -904,20 +984,21 @@ public java.lang.String getResourceName() { } } /** + * + * *
      * The name of the job that completed the transformation.
      * 
* * string resource_name = 1; + * * @return The bytes for resourceName. */ - public com.google.protobuf.ByteString - getResourceNameBytes() { + public com.google.protobuf.ByteString getResourceNameBytes() { java.lang.Object ref = resourceName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceName_ = b; return b; } else { @@ -925,54 +1006,61 @@ public java.lang.String getResourceName() { } } /** + * + * *
      * The name of the job that completed the transformation.
      * 
* * string resource_name = 1; + * * @param value The resourceName to set. * @return This builder for chaining. */ - public Builder setResourceName( - java.lang.String value) { + public Builder setResourceName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceName_ = value; onChanged(); return this; } /** + * + * *
      * The name of the job that completed the transformation.
      * 
* * string resource_name = 1; + * * @return This builder for chaining. */ public Builder clearResourceName() { - + resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /** + * + * *
      * The name of the job that completed the transformation.
      * 
* * string resource_name = 1; + * * @param value The bytes for resourceName to set. * @return This builder for chaining. */ - public Builder setResourceNameBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceName_ = value; onChanged(); return this; @@ -980,19 +1068,21 @@ public Builder setResourceNameBytes( private java.lang.Object containerName_ = ""; /** + * + * *
      * The top level name of the container where the transformation is located
      * (this will be the source file name or table name).
      * 
* * string container_name = 2; + * * @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; @@ -1001,21 +1091,22 @@ public java.lang.String getContainerName() { } } /** + * + * *
      * The top level name of the container where the transformation is located
      * (this will be the source file name or table name).
      * 
* * string container_name = 2; + * * @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 { @@ -1023,75 +1114,90 @@ public java.lang.String getContainerName() { } } /** + * + * *
      * The top level name of the container where the transformation is located
      * (this will be the source file name or table name).
      * 
* * string container_name = 2; + * * @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; } /** + * + * *
      * The top level name of the container where the transformation is located
      * (this will be the source file name or table name).
      * 
* * string container_name = 2; + * * @return This builder for chaining. */ public Builder clearContainerName() { - + containerName_ = getDefaultInstance().getContainerName(); onChanged(); return this; } /** + * + * *
      * The top level name of the container where the transformation is located
      * (this will be the source file name or table name).
      * 
* * string container_name = 2; + * * @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 java.util.List transformation_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTransformationIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - transformation_ = new java.util.ArrayList(transformation_); + transformation_ = + new java.util.ArrayList( + transformation_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationDescription, com.google.privacy.dlp.v2.TransformationDescription.Builder, com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder> transformationBuilder_; + com.google.privacy.dlp.v2.TransformationDescription, + com.google.privacy.dlp.v2.TransformationDescription.Builder, + com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder> + transformationBuilder_; /** + * + * *
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1102,7 +1208,8 @@ private void ensureTransformationIsMutable() {
      *
      * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;
      */
-    public java.util.List getTransformationList() {
+    public java.util.List
+        getTransformationList() {
       if (transformationBuilder_ == null) {
         return java.util.Collections.unmodifiableList(transformation_);
       } else {
@@ -1110,6 +1217,8 @@ public java.util.List getTr
       }
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1128,6 +1237,8 @@ public int getTransformationCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1146,6 +1257,8 @@ public com.google.privacy.dlp.v2.TransformationDescription getTransformation(int
       }
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1171,6 +1284,8 @@ public Builder setTransformation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1193,6 +1308,8 @@ public Builder setTransformation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1217,6 +1334,8 @@ public Builder addTransformation(com.google.privacy.dlp.v2.TransformationDescrip
       return this;
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1242,6 +1361,8 @@ public Builder addTransformation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1264,6 +1385,8 @@ public Builder addTransformation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1286,6 +1409,8 @@ public Builder addTransformation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1300,8 +1425,7 @@ public Builder addAllTransformation(
         java.lang.Iterable values) {
       if (transformationBuilder_ == null) {
         ensureTransformationIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, transformation_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, transformation_);
         onChanged();
       } else {
         transformationBuilder_.addAllMessages(values);
@@ -1309,6 +1433,8 @@ public Builder addAllTransformation(
       return this;
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1330,6 +1456,8 @@ public Builder clearTransformation() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1351,6 +1479,8 @@ public Builder removeTransformation(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1366,6 +1496,8 @@ public com.google.privacy.dlp.v2.TransformationDescription.Builder getTransforma
       return getTransformationFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1379,11 +1511,14 @@ public com.google.privacy.dlp.v2.TransformationDescription.Builder getTransforma
     public com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransformationOrBuilder(
         int index) {
       if (transformationBuilder_ == null) {
-        return transformation_.get(index);  } else {
+        return transformation_.get(index);
+      } else {
         return transformationBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1394,8 +1529,8 @@ public com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransform
      *
      * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;
      */
-    public java.util.List 
-         getTransformationOrBuilderList() {
+    public java.util.List
+        getTransformationOrBuilderList() {
       if (transformationBuilder_ != null) {
         return transformationBuilder_.getMessageOrBuilderList();
       } else {
@@ -1403,6 +1538,8 @@ public com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransform
       }
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1414,10 +1551,12 @@ public com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransform
      * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;
      */
     public com.google.privacy.dlp.v2.TransformationDescription.Builder addTransformationBuilder() {
-      return getTransformationFieldBuilder().addBuilder(
-          com.google.privacy.dlp.v2.TransformationDescription.getDefaultInstance());
+      return getTransformationFieldBuilder()
+          .addBuilder(com.google.privacy.dlp.v2.TransformationDescription.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1430,10 +1569,13 @@ public com.google.privacy.dlp.v2.TransformationDescription.Builder addTransforma
      */
     public com.google.privacy.dlp.v2.TransformationDescription.Builder addTransformationBuilder(
         int index) {
-      return getTransformationFieldBuilder().addBuilder(
-          index, com.google.privacy.dlp.v2.TransformationDescription.getDefaultInstance());
+      return getTransformationFieldBuilder()
+          .addBuilder(
+              index, com.google.privacy.dlp.v2.TransformationDescription.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Description of transformation. This would only contain more than one
      * element if there were multiple matching transformations and which one to
@@ -1444,16 +1586,22 @@ public com.google.privacy.dlp.v2.TransformationDescription.Builder addTransforma
      *
      * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;
      */
-    public java.util.List 
-         getTransformationBuilderList() {
+    public java.util.List
+        getTransformationBuilderList() {
       return getTransformationFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.privacy.dlp.v2.TransformationDescription, com.google.privacy.dlp.v2.TransformationDescription.Builder, com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder> 
+            com.google.privacy.dlp.v2.TransformationDescription,
+            com.google.privacy.dlp.v2.TransformationDescription.Builder,
+            com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder>
         getTransformationFieldBuilder() {
       if (transformationBuilder_ == null) {
-        transformationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.privacy.dlp.v2.TransformationDescription, com.google.privacy.dlp.v2.TransformationDescription.Builder, com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder>(
+        transformationBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.privacy.dlp.v2.TransformationDescription,
+                com.google.privacy.dlp.v2.TransformationDescription.Builder,
+                com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder>(
                 transformation_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1465,8 +1613,13 @@ public com.google.privacy.dlp.v2.TransformationDescription.Builder addTransforma
 
     private com.google.privacy.dlp.v2.TransformationResultStatus statusDetails_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.TransformationResultStatus, com.google.privacy.dlp.v2.TransformationResultStatus.Builder, com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder> statusDetailsBuilder_;
+            com.google.privacy.dlp.v2.TransformationResultStatus,
+            com.google.privacy.dlp.v2.TransformationResultStatus.Builder,
+            com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder>
+        statusDetailsBuilder_;
     /**
+     *
+     *
      * 
      * Status of the transformation, if transformation was not successful, this
      * will specify what caused it to fail, otherwise it will show that the
@@ -1474,12 +1627,15 @@ public com.google.privacy.dlp.v2.TransformationDescription.Builder addTransforma
      * 
* * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * * @return Whether the statusDetails field is set. */ public boolean hasStatusDetails() { return statusDetailsBuilder_ != null || statusDetails_ != null; } /** + * + * *
      * Status of the transformation, if transformation was not successful, this
      * will specify what caused it to fail, otherwise it will show that the
@@ -1487,16 +1643,21 @@ public boolean hasStatusDetails() {
      * 
* * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * * @return The statusDetails. */ public com.google.privacy.dlp.v2.TransformationResultStatus getStatusDetails() { if (statusDetailsBuilder_ == null) { - return statusDetails_ == null ? com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance() : statusDetails_; + return statusDetails_ == null + ? com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance() + : statusDetails_; } else { return statusDetailsBuilder_.getMessage(); } } /** + * + * *
      * Status of the transformation, if transformation was not successful, this
      * will specify what caused it to fail, otherwise it will show that the
@@ -1519,6 +1680,8 @@ public Builder setStatusDetails(com.google.privacy.dlp.v2.TransformationResultSt
       return this;
     }
     /**
+     *
+     *
      * 
      * Status of the transformation, if transformation was not successful, this
      * will specify what caused it to fail, otherwise it will show that the
@@ -1539,6 +1702,8 @@ public Builder setStatusDetails(
       return this;
     }
     /**
+     *
+     *
      * 
      * Status of the transformation, if transformation was not successful, this
      * will specify what caused it to fail, otherwise it will show that the
@@ -1551,7 +1716,9 @@ public Builder mergeStatusDetails(com.google.privacy.dlp.v2.TransformationResult
       if (statusDetailsBuilder_ == null) {
         if (statusDetails_ != null) {
           statusDetails_ =
-            com.google.privacy.dlp.v2.TransformationResultStatus.newBuilder(statusDetails_).mergeFrom(value).buildPartial();
+              com.google.privacy.dlp.v2.TransformationResultStatus.newBuilder(statusDetails_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           statusDetails_ = value;
         }
@@ -1563,6 +1730,8 @@ public Builder mergeStatusDetails(com.google.privacy.dlp.v2.TransformationResult
       return this;
     }
     /**
+     *
+     *
      * 
      * Status of the transformation, if transformation was not successful, this
      * will specify what caused it to fail, otherwise it will show that the
@@ -1583,6 +1752,8 @@ public Builder clearStatusDetails() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Status of the transformation, if transformation was not successful, this
      * will specify what caused it to fail, otherwise it will show that the
@@ -1592,11 +1763,13 @@ public Builder clearStatusDetails() {
      * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4;
      */
     public com.google.privacy.dlp.v2.TransformationResultStatus.Builder getStatusDetailsBuilder() {
-      
+
       onChanged();
       return getStatusDetailsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Status of the transformation, if transformation was not successful, this
      * will specify what caused it to fail, otherwise it will show that the
@@ -1605,15 +1778,19 @@ public com.google.privacy.dlp.v2.TransformationResultStatus.Builder getStatusDet
      *
      * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4;
      */
-    public com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder getStatusDetailsOrBuilder() {
+    public com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder
+        getStatusDetailsOrBuilder() {
       if (statusDetailsBuilder_ != null) {
         return statusDetailsBuilder_.getMessageOrBuilder();
       } else {
-        return statusDetails_ == null ?
-            com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance() : statusDetails_;
+        return statusDetails_ == null
+            ? com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance()
+            : statusDetails_;
       }
     }
     /**
+     *
+     *
      * 
      * Status of the transformation, if transformation was not successful, this
      * will specify what caused it to fail, otherwise it will show that the
@@ -1623,21 +1800,26 @@ public com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder getStatusDe
      * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.privacy.dlp.v2.TransformationResultStatus, com.google.privacy.dlp.v2.TransformationResultStatus.Builder, com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder> 
+            com.google.privacy.dlp.v2.TransformationResultStatus,
+            com.google.privacy.dlp.v2.TransformationResultStatus.Builder,
+            com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder>
         getStatusDetailsFieldBuilder() {
       if (statusDetailsBuilder_ == null) {
-        statusDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.privacy.dlp.v2.TransformationResultStatus, com.google.privacy.dlp.v2.TransformationResultStatus.Builder, com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder>(
-                getStatusDetails(),
-                getParentForChildren(),
-                isClean());
+        statusDetailsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.privacy.dlp.v2.TransformationResultStatus,
+                com.google.privacy.dlp.v2.TransformationResultStatus.Builder,
+                com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder>(
+                getStatusDetails(), getParentForChildren(), isClean());
         statusDetails_ = null;
       }
       return statusDetailsBuilder_;
     }
 
-    private long transformedBytes_ ;
+    private long transformedBytes_;
     /**
+     *
+     *
      * 
      * The number of bytes that were transformed. If transformation was
      * unsuccessful or did not take place because there was no content to
@@ -1645,6 +1827,7 @@ public com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder getStatusDe
      * 
* * int64 transformed_bytes = 5; + * * @return The transformedBytes. */ @java.lang.Override @@ -1652,6 +1835,8 @@ public long getTransformedBytes() { return transformedBytes_; } /** + * + * *
      * The number of bytes that were transformed. If transformation was
      * unsuccessful or did not take place because there was no content to
@@ -1659,16 +1844,19 @@ public long getTransformedBytes() {
      * 
* * int64 transformed_bytes = 5; + * * @param value The transformedBytes to set. * @return This builder for chaining. */ public Builder setTransformedBytes(long value) { - + transformedBytes_ = value; onChanged(); return this; } /** + * + * *
      * The number of bytes that were transformed. If transformation was
      * unsuccessful or did not take place because there was no content to
@@ -1676,10 +1864,11 @@ public Builder setTransformedBytes(long value) {
      * 
* * int64 transformed_bytes = 5; + * * @return This builder for chaining. */ public Builder clearTransformedBytes() { - + transformedBytes_ = 0L; onChanged(); return this; @@ -1687,41 +1876,55 @@ public Builder clearTransformedBytes() { private com.google.privacy.dlp.v2.TransformationLocation transformationLocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationLocation, com.google.privacy.dlp.v2.TransformationLocation.Builder, com.google.privacy.dlp.v2.TransformationLocationOrBuilder> transformationLocationBuilder_; + com.google.privacy.dlp.v2.TransformationLocation, + com.google.privacy.dlp.v2.TransformationLocation.Builder, + com.google.privacy.dlp.v2.TransformationLocationOrBuilder> + transformationLocationBuilder_; /** + * + * *
      * The precise location of the transformed content in the original container.
      * 
* * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * * @return Whether the transformationLocation field is set. */ public boolean hasTransformationLocation() { return transformationLocationBuilder_ != null || transformationLocation_ != null; } /** + * + * *
      * The precise location of the transformed content in the original container.
      * 
* * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * * @return The transformationLocation. */ public com.google.privacy.dlp.v2.TransformationLocation getTransformationLocation() { if (transformationLocationBuilder_ == null) { - return transformationLocation_ == null ? com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance() : transformationLocation_; + return transformationLocation_ == null + ? com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance() + : transformationLocation_; } else { return transformationLocationBuilder_.getMessage(); } } /** + * + * *
      * The precise location of the transformed content in the original container.
      * 
* * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; */ - public Builder setTransformationLocation(com.google.privacy.dlp.v2.TransformationLocation value) { + public Builder setTransformationLocation( + com.google.privacy.dlp.v2.TransformationLocation value) { if (transformationLocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1735,6 +1938,8 @@ public Builder setTransformationLocation(com.google.privacy.dlp.v2.Transformatio return this; } /** + * + * *
      * The precise location of the transformed content in the original container.
      * 
@@ -1753,17 +1958,22 @@ public Builder setTransformationLocation( return this; } /** + * + * *
      * The precise location of the transformed content in the original container.
      * 
* * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; */ - public Builder mergeTransformationLocation(com.google.privacy.dlp.v2.TransformationLocation value) { + public Builder mergeTransformationLocation( + com.google.privacy.dlp.v2.TransformationLocation value) { if (transformationLocationBuilder_ == null) { if (transformationLocation_ != null) { transformationLocation_ = - com.google.privacy.dlp.v2.TransformationLocation.newBuilder(transformationLocation_).mergeFrom(value).buildPartial(); + com.google.privacy.dlp.v2.TransformationLocation.newBuilder(transformationLocation_) + .mergeFrom(value) + .buildPartial(); } else { transformationLocation_ = value; } @@ -1775,6 +1985,8 @@ public Builder mergeTransformationLocation(com.google.privacy.dlp.v2.Transformat return this; } /** + * + * *
      * The precise location of the transformed content in the original container.
      * 
@@ -1793,33 +2005,42 @@ public Builder clearTransformationLocation() { return this; } /** + * + * *
      * The precise location of the transformed content in the original container.
      * 
* * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; */ - public com.google.privacy.dlp.v2.TransformationLocation.Builder getTransformationLocationBuilder() { - + public com.google.privacy.dlp.v2.TransformationLocation.Builder + getTransformationLocationBuilder() { + onChanged(); return getTransformationLocationFieldBuilder().getBuilder(); } /** + * + * *
      * The precise location of the transformed content in the original container.
      * 
* * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; */ - public com.google.privacy.dlp.v2.TransformationLocationOrBuilder getTransformationLocationOrBuilder() { + public com.google.privacy.dlp.v2.TransformationLocationOrBuilder + getTransformationLocationOrBuilder() { if (transformationLocationBuilder_ != null) { return transformationLocationBuilder_.getMessageOrBuilder(); } else { - return transformationLocation_ == null ? - com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance() : transformationLocation_; + return transformationLocation_ == null + ? com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance() + : transformationLocation_; } } /** + * + * *
      * The precise location of the transformed content in the original container.
      * 
@@ -1827,21 +2048,24 @@ public com.google.privacy.dlp.v2.TransformationLocationOrBuilder getTransformati * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationLocation, com.google.privacy.dlp.v2.TransformationLocation.Builder, com.google.privacy.dlp.v2.TransformationLocationOrBuilder> + com.google.privacy.dlp.v2.TransformationLocation, + com.google.privacy.dlp.v2.TransformationLocation.Builder, + com.google.privacy.dlp.v2.TransformationLocationOrBuilder> getTransformationLocationFieldBuilder() { if (transformationLocationBuilder_ == null) { - transformationLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.TransformationLocation, com.google.privacy.dlp.v2.TransformationLocation.Builder, com.google.privacy.dlp.v2.TransformationLocationOrBuilder>( - getTransformationLocation(), - getParentForChildren(), - isClean()); + transformationLocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.TransformationLocation, + com.google.privacy.dlp.v2.TransformationLocation.Builder, + com.google.privacy.dlp.v2.TransformationLocationOrBuilder>( + getTransformationLocation(), getParentForChildren(), isClean()); transformationLocation_ = null; } return transformationLocationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1851,12 +2075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationDetails) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationDetails) private static final com.google.privacy.dlp.v2.TransformationDetails DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationDetails(); } @@ -1865,16 +2089,16 @@ public static com.google.privacy.dlp.v2.TransformationDetails getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationDetails(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationDetails(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1889,6 +2113,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TransformationDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsOrBuilder.java similarity index 86% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsOrBuilder.java index 01f49cd0..a644ddb7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsOrBuilder.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 TransformationDetailsOrBuilder extends +public interface TransformationDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the job that completed the transformation.
    * 
* * string resource_name = 1; + * * @return The resourceName. */ java.lang.String getResourceName(); /** + * + * *
    * The name of the job that completed the transformation.
    * 
* * string resource_name = 1; + * * @return The bytes for resourceName. */ - com.google.protobuf.ByteString - getResourceNameBytes(); + com.google.protobuf.ByteString getResourceNameBytes(); /** + * + * *
    * The top level name of the container where the transformation is located
    * (this will be the source file name or table name).
    * 
* * string container_name = 2; + * * @return The containerName. */ java.lang.String getContainerName(); /** + * + * *
    * The top level name of the container where the transformation is located
    * (this will be the source file name or table name).
    * 
* * string container_name = 2; + * * @return The bytes for containerName. */ - com.google.protobuf.ByteString - getContainerNameBytes(); + com.google.protobuf.ByteString getContainerNameBytes(); /** + * + * *
    * Description of transformation. This would only contain more than one
    * element if there were multiple matching transformations and which one to
@@ -60,9 +88,10 @@ public interface TransformationDetailsOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;
    */
-  java.util.List 
-      getTransformationList();
+  java.util.List getTransformationList();
   /**
+   *
+   *
    * 
    * Description of transformation. This would only contain more than one
    * element if there were multiple matching transformations and which one to
@@ -75,6 +104,8 @@ public interface TransformationDetailsOrBuilder extends
    */
   com.google.privacy.dlp.v2.TransformationDescription getTransformation(int index);
   /**
+   *
+   *
    * 
    * Description of transformation. This would only contain more than one
    * element if there were multiple matching transformations and which one to
@@ -87,6 +118,8 @@ public interface TransformationDetailsOrBuilder extends
    */
   int getTransformationCount();
   /**
+   *
+   *
    * 
    * Description of transformation. This would only contain more than one
    * element if there were multiple matching transformations and which one to
@@ -97,9 +130,11 @@ public interface TransformationDetailsOrBuilder extends
    *
    * repeated .google.privacy.dlp.v2.TransformationDescription transformation = 3;
    */
-  java.util.List 
+  java.util.List
       getTransformationOrBuilderList();
   /**
+   *
+   *
    * 
    * Description of transformation. This would only contain more than one
    * element if there were multiple matching transformations and which one to
@@ -114,6 +149,8 @@ com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransformationOr
       int index);
 
   /**
+   *
+   *
    * 
    * Status of the transformation, if transformation was not successful, this
    * will specify what caused it to fail, otherwise it will show that the
@@ -121,10 +158,13 @@ com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransformationOr
    * 
* * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * * @return Whether the statusDetails field is set. */ boolean hasStatusDetails(); /** + * + * *
    * Status of the transformation, if transformation was not successful, this
    * will specify what caused it to fail, otherwise it will show that the
@@ -132,10 +172,13 @@ com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransformationOr
    * 
* * .google.privacy.dlp.v2.TransformationResultStatus status_details = 4; + * * @return The statusDetails. */ com.google.privacy.dlp.v2.TransformationResultStatus getStatusDetails(); /** + * + * *
    * Status of the transformation, if transformation was not successful, this
    * will specify what caused it to fail, otherwise it will show that the
@@ -147,6 +190,8 @@ com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransformationOr
   com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder getStatusDetailsOrBuilder();
 
   /**
+   *
+   *
    * 
    * The number of bytes that were transformed. If transformation was
    * unsuccessful or did not take place because there was no content to
@@ -154,29 +199,38 @@ com.google.privacy.dlp.v2.TransformationDescriptionOrBuilder getTransformationOr
    * 
* * int64 transformed_bytes = 5; + * * @return The transformedBytes. */ long getTransformedBytes(); /** + * + * *
    * The precise location of the transformed content in the original container.
    * 
* * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * * @return Whether the transformationLocation field is set. */ boolean hasTransformationLocation(); /** + * + * *
    * The precise location of the transformed content in the original container.
    * 
* * .google.privacy.dlp.v2.TransformationLocation transformation_location = 6; + * * @return The transformationLocation. */ com.google.privacy.dlp.v2.TransformationLocation getTransformationLocation(); /** + * + * *
    * The precise location of the transformed content in the original container.
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfig.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfig.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfig.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfig.java index 8a947da6..0e2e53a6 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfig.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfig.java @@ -1,39 +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; /** + * + * *
  * Config for storing transformation details.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationDetailsStorageConfig} */ -public final class TransformationDetailsStorageConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransformationDetailsStorageConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationDetailsStorageConfig) TransformationDetailsStorageConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransformationDetailsStorageConfig.newBuilder() to construct. - private TransformationDetailsStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TransformationDetailsStorageConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TransformationDetailsStorageConfig() { - } + + private TransformationDetailsStorageConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransformationDetailsStorageConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransformationDetailsStorageConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,27 +69,29 @@ private TransformationDetailsStorageConfig( 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(); + 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; } - 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; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private TransformationDetailsStorageConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_TransformationDetailsStorageConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.class, com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder.class); + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.class, + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.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 { TABLE(1), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -123,24 +147,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; /** + * + * *
    * The BigQuery table in which to store the output. This may be an existing
    * table or in a new table in an existing dataset.
@@ -151,6 +179,7 @@ public int getNumber() {
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ @java.lang.Override @@ -158,6 +187,8 @@ public boolean hasTable() { return typeCase_ == 1; } /** + * + * *
    * The BigQuery table in which to store the output. This may be an existing
    * table or in a new table in an existing dataset.
@@ -168,16 +199,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(); } /** + * + * *
    * The BigQuery table in which to store the output. This may be an existing
    * table or in a new table in an existing dataset.
@@ -192,12 +226,13 @@ 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();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -209,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 (typeCase_ == 1) {
       output.writeMessage(1, (com.google.privacy.dlp.v2.BigQueryTable) type_);
     }
@@ -224,8 +258,9 @@ 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_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -235,18 +270,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.TransformationDetailsStorageConfig)) {
       return super.equals(obj);
     }
-    com.google.privacy.dlp.v2.TransformationDetailsStorageConfig other = (com.google.privacy.dlp.v2.TransformationDetailsStorageConfig) obj;
+    com.google.privacy.dlp.v2.TransformationDetailsStorageConfig other =
+        (com.google.privacy.dlp.v2.TransformationDetailsStorageConfig) obj;
 
     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:
@@ -276,117 +311,127 @@ public int hashCode() {
   }
 
   public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(
-      java.nio.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.TransformationDetailsStorageConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationDetailsStorageConfig prototype) {
+
+  public static Builder newBuilder(
+      com.google.privacy.dlp.v2.TransformationDetailsStorageConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Config for storing transformation details.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationDetailsStorageConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationDetailsStorageConfig) com.google.privacy.dlp.v2.TransformationDetailsStorageConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.class, com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder.class); + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.class, + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.Builder.class); } // Construct using com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.newBuilder() @@ -394,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(); @@ -413,13 +457,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_TransformationDetailsStorageConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationDetailsStorageConfig_descriptor; } @java.lang.Override - public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getDefaultInstanceForType() { + public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig + getDefaultInstanceForType() { return com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance(); } @@ -434,7 +479,8 @@ public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig build() { @java.lang.Override public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig buildPartial() { - com.google.privacy.dlp.v2.TransformationDetailsStorageConfig result = new com.google.privacy.dlp.v2.TransformationDetailsStorageConfig(this); + com.google.privacy.dlp.v2.TransformationDetailsStorageConfig result = + new com.google.privacy.dlp.v2.TransformationDetailsStorageConfig(this); if (typeCase_ == 1) { if (tableBuilder_ == null) { result.type_ = type_; @@ -451,38 +497,39 @@ public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TransformationDetailsStorageConfig) { - return mergeFrom((com.google.privacy.dlp.v2.TransformationDetailsStorageConfig)other); + return mergeFrom((com.google.privacy.dlp.v2.TransformationDetailsStorageConfig) other); } else { super.mergeFrom(other); return this; @@ -490,15 +537,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationDetailsStorageConfig other) { - if (other == com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance()) return this; + if (other + == com.google.privacy.dlp.v2.TransformationDetailsStorageConfig.getDefaultInstance()) + return this; 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(); @@ -519,7 +570,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.TransformationDetailsStorageConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.TransformationDetailsStorageConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,12 +580,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() { @@ -543,10 +595,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_; /** + * + * *
      * The BigQuery table in which to store the output. This may be an existing
      * table or in a new table in an existing dataset.
@@ -557,6 +613,7 @@ public Builder clearType() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ @java.lang.Override @@ -564,6 +621,8 @@ public boolean hasTable() { return typeCase_ == 1; } /** + * + * *
      * The BigQuery table in which to store the output. This may be an existing
      * table or in a new table in an existing dataset.
@@ -574,6 +633,7 @@ public boolean hasTable() {
      * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return The table. */ @java.lang.Override @@ -591,6 +651,8 @@ public com.google.privacy.dlp.v2.BigQueryTable getTable() { } } /** + * + * *
      * The BigQuery table in which to store the output. This may be an existing
      * table or in a new table in an existing dataset.
@@ -616,6 +678,8 @@ public Builder setTable(com.google.privacy.dlp.v2.BigQueryTable value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The BigQuery table in which to store the output. This may be an existing
      * table or in a new table in an existing dataset.
@@ -627,8 +691,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();
@@ -639,6 +702,8 @@ public Builder setTable(
       return this;
     }
     /**
+     *
+     *
      * 
      * The BigQuery table in which to store the output. This may be an existing
      * table or in a new table in an existing dataset.
@@ -652,10 +717,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;
         }
@@ -671,6 +739,8 @@ public Builder mergeTable(com.google.privacy.dlp.v2.BigQueryTable value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The BigQuery table in which to store the output. This may be an existing
      * table or in a new table in an existing dataset.
@@ -699,6 +769,8 @@ public Builder clearTable() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The BigQuery table in which to store the output. This may be an existing
      * table or in a new table in an existing dataset.
@@ -714,6 +786,8 @@ public com.google.privacy.dlp.v2.BigQueryTable.Builder getTableBuilder() {
       return getTableFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The BigQuery table in which to store the output. This may be an existing
      * table or in a new table in an existing dataset.
@@ -737,6 +811,8 @@ public com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The BigQuery table in which to store the output. This may be an existing
      * table or in a new table in an existing dataset.
@@ -749,26 +825,30 @@ 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_;
     }
+
     @java.lang.Override
-    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 +858,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationDetailsStorageConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationDetailsStorageConfig)
-  private static final com.google.privacy.dlp.v2.TransformationDetailsStorageConfig DEFAULT_INSTANCE;
+  private static final com.google.privacy.dlp.v2.TransformationDetailsStorageConfig
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationDetailsStorageConfig();
   }
@@ -792,16 +873,16 @@ public static com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getDe
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TransformationDetailsStorageConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new TransformationDetailsStorageConfig(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TransformationDetailsStorageConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new TransformationDetailsStorageConfig(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -816,6 +897,4 @@ public com.google.protobuf.Parser getParserF
   public com.google.privacy.dlp.v2.TransformationDetailsStorageConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfigOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfigOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfigOrBuilder.java
rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfigOrBuilder.java
index 4c06560d..ecdbfb5b 100644
--- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfigOrBuilder.java
+++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationDetailsStorageConfigOrBuilder.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 TransformationDetailsStorageConfigOrBuilder extends
+public interface TransformationDetailsStorageConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationDetailsStorageConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The BigQuery table in which to store the output. This may be an existing
    * table or in a new table in an existing dataset.
@@ -18,10 +36,13 @@ public interface TransformationDetailsStorageConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return Whether the table field is set. */ boolean hasTable(); /** + * + * *
    * The BigQuery table in which to store the output. This may be an existing
    * table or in a new table in an existing dataset.
@@ -32,10 +53,13 @@ public interface TransformationDetailsStorageConfigOrBuilder extends
    * 
* * .google.privacy.dlp.v2.BigQueryTable table = 1; + * * @return The table. */ com.google.privacy.dlp.v2.BigQueryTable getTable(); /** + * + * *
    * The BigQuery table in which to store the output. This may be an existing
    * table or in a new table in an existing dataset.
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 62%
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 715e5b5a..3137a387 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,41 +75,58 @@ 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) {
@@ -101,61 +134,64 @@ private TransformationErrorHandling(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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) @@ -174,13 +210,13 @@ 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) { @@ -188,27 +224,30 @@ private ThrowError( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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; @@ -220,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -239,12 +277,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; @@ -263,87 +302,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 @@ -353,44 +400,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(); @@ -398,14 +450,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 @@ -419,7 +473,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; } @@ -428,46 +483,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; @@ -487,7 +549,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) { @@ -496,6 +560,7 @@ public Builder mergeFrom( } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -508,30 +573,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; @@ -543,17 +610,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
@@ -563,30 +632,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)
@@ -605,13 +673,13 @@ 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) {
@@ -619,27 +687,31 @@ private LeaveUntransformed(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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;
@@ -651,8 +723,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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);
     }
 
@@ -670,12 +741,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;
@@ -693,88 +766,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
@@ -784,6 +870,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
@@ -793,38 +881,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();
@@ -832,19 +924,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);
         }
@@ -852,8 +947,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;
       }
@@ -862,46 +959,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;
@@ -917,11 +1022,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) {
@@ -930,6 +1038,7 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -942,30 +1051,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;
@@ -977,21 +1089,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;
     }
@@ -1007,30 +1122,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 @@ -1038,21 +1159,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
    * 
@@ -1060,20 +1186,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 @@ -1081,36 +1213,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; @@ -1122,13 +1268,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); } @@ -1140,12 +1287,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; @@ -1155,22 +1304,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: @@ -1204,96 +1352,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
@@ -1307,21 +1463,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()
@@ -1329,16 +1487,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();
@@ -1348,9 +1505,9 @@ public Builder 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
@@ -1369,7 +1526,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_;
@@ -1393,38 +1551,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;
@@ -1432,19 +1591,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();
@@ -1465,7 +1628,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) {
@@ -1474,12 +1638,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() {
@@ -1489,15 +1653,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 @@ -1505,11 +1674,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 @@ -1518,22 +1690,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(); @@ -1547,6 +1724,8 @@ public Builder setThrowError(com.google.privacy.dlp.v2.TransformationErrorHandli return this; } /** + * + * *
      * Throw an error
      * 
@@ -1565,18 +1744,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; } @@ -1592,6 +1779,8 @@ public Builder mergeThrowError(com.google.privacy.dlp.v2.TransformationErrorHand return this; } /** + * + * *
      * Throw an error
      * 
@@ -1615,16 +1804,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
      * 
@@ -1632,17 +1826,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
      * 
@@ -1650,32 +1848,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 @@ -1683,35 +1896,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(); @@ -1725,14 +1951,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(); @@ -1743,18 +1974,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; } @@ -1770,11 +2012,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) { @@ -1793,61 +2039,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); } @@ -1857,12 +2126,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(); } @@ -1871,16 +2140,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; @@ -1895,6 +2164,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/TransformationLocation.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocation.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocation.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocation.java index ac07635a..71f51794 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocation.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocation.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 a transformation.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationLocation} */ -public final class TransformationLocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TransformationLocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationLocation) TransformationLocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransformationLocation.newBuilder() to construct. private TransformationLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransformationLocation() { containerType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransformationLocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransformationLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,39 +70,45 @@ private TransformationLocation( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - locationTypeCase_ = 1; - locationType_ = s; - break; - } - case 18: { - com.google.privacy.dlp.v2.RecordTransformation.Builder subBuilder = null; - if (locationTypeCase_ == 2) { - subBuilder = ((com.google.privacy.dlp.v2.RecordTransformation) locationType_).toBuilder(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + locationTypeCase_ = 1; + locationType_ = s; + break; } - locationType_ = - input.readMessage(com.google.privacy.dlp.v2.RecordTransformation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.privacy.dlp.v2.RecordTransformation) locationType_); - locationType_ = subBuilder.buildPartial(); + case 18: + { + com.google.privacy.dlp.v2.RecordTransformation.Builder subBuilder = null; + if (locationTypeCase_ == 2) { + subBuilder = + ((com.google.privacy.dlp.v2.RecordTransformation) locationType_).toBuilder(); + } + locationType_ = + input.readMessage( + com.google.privacy.dlp.v2.RecordTransformation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.privacy.dlp.v2.RecordTransformation) locationType_); + locationType_ = subBuilder.buildPartial(); + } + locationTypeCase_ = 2; + break; } - locationTypeCase_ = 2; - break; - } - case 24: { - int rawValue = input.readEnum(); + case 24: + { + int rawValue = input.readEnum(); - containerType_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + containerType_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +116,40 @@ private TransformationLocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_TransformationLocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationLocation.class, com.google.privacy.dlp.v2.TransformationLocation.Builder.class); + com.google.privacy.dlp.v2.TransformationLocation.class, + com.google.privacy.dlp.v2.TransformationLocation.Builder.class); } private int locationTypeCase_ = 0; private java.lang.Object locationType_; + public enum LocationTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FINDING_ID(1), RECORD_TRANSFORMATION(2), LOCATIONTYPE_NOT_SET(0); private final int value; + private LocationTypeCase(int value) { this.value = value; } @@ -137,25 +165,30 @@ public static LocationTypeCase valueOf(int value) { public static LocationTypeCase forNumber(int value) { switch (value) { - case 1: return FINDING_ID; - case 2: return RECORD_TRANSFORMATION; - case 0: return LOCATIONTYPE_NOT_SET; - default: return null; + case 1: + return FINDING_ID; + case 2: + return RECORD_TRANSFORMATION; + case 0: + return LOCATIONTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public LocationTypeCase - getLocationTypeCase() { - return LocationTypeCase.forNumber( - locationTypeCase_); + public LocationTypeCase getLocationTypeCase() { + return LocationTypeCase.forNumber(locationTypeCase_); } public static final int FINDING_ID_FIELD_NUMBER = 1; /** + * + * *
    * For infotype transformations, link to the corresponding findings ID so
    * that location information does not need to be duplicated. Each findings
@@ -165,12 +198,15 @@ public int getNumber() {
    * 
* * string finding_id = 1; + * * @return Whether the findingId field is set. */ public boolean hasFindingId() { return locationTypeCase_ == 1; } /** + * + * *
    * For infotype transformations, link to the corresponding findings ID so
    * that location information does not need to be duplicated. Each findings
@@ -180,6 +216,7 @@ public boolean hasFindingId() {
    * 
* * string finding_id = 1; + * * @return The findingId. */ public java.lang.String getFindingId() { @@ -190,8 +227,7 @@ 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(); if (locationTypeCase_ == 1) { locationType_ = s; @@ -200,6 +236,8 @@ public java.lang.String getFindingId() { } } /** + * + * *
    * For infotype transformations, link to the corresponding findings ID so
    * that location information does not need to be duplicated. Each findings
@@ -209,18 +247,17 @@ public java.lang.String getFindingId() {
    * 
* * string finding_id = 1; + * * @return The bytes for findingId. */ - public com.google.protobuf.ByteString - getFindingIdBytes() { + public com.google.protobuf.ByteString getFindingIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 1) { ref = locationType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (locationTypeCase_ == 1) { locationType_ = b; } @@ -232,11 +269,14 @@ public java.lang.String getFindingId() { public static final int RECORD_TRANSFORMATION_FIELD_NUMBER = 2; /** + * + * *
    * For record transformations, provide a field and container information.
    * 
* * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * * @return Whether the recordTransformation field is set. */ @java.lang.Override @@ -244,21 +284,26 @@ public boolean hasRecordTransformation() { return locationTypeCase_ == 2; } /** + * + * *
    * For record transformations, provide a field and container information.
    * 
* * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * * @return The recordTransformation. */ @java.lang.Override public com.google.privacy.dlp.v2.RecordTransformation getRecordTransformation() { if (locationTypeCase_ == 2) { - return (com.google.privacy.dlp.v2.RecordTransformation) locationType_; + return (com.google.privacy.dlp.v2.RecordTransformation) locationType_; } return com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance(); } /** + * + * *
    * For record transformations, provide a field and container information.
    * 
@@ -266,9 +311,10 @@ public com.google.privacy.dlp.v2.RecordTransformation getRecordTransformation() * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.RecordTransformationOrBuilder getRecordTransformationOrBuilder() { + public com.google.privacy.dlp.v2.RecordTransformationOrBuilder + getRecordTransformationOrBuilder() { if (locationTypeCase_ == 2) { - return (com.google.privacy.dlp.v2.RecordTransformation) locationType_; + return (com.google.privacy.dlp.v2.RecordTransformation) locationType_; } return com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance(); } @@ -276,33 +322,45 @@ public com.google.privacy.dlp.v2.RecordTransformationOrBuilder getRecordTransfor public static final int CONTAINER_TYPE_FIELD_NUMBER = 3; private int containerType_; /** + * + * *
    * Information about the functionality of the container where this finding
    * occurred, if available.
    * 
* * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * * @return The enum numeric value on the wire for containerType. */ - @java.lang.Override public int getContainerTypeValue() { + @java.lang.Override + public int getContainerTypeValue() { return containerType_; } /** + * + * *
    * Information about the functionality of the container where this finding
    * occurred, if available.
    * 
* * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * * @return The containerType. */ - @java.lang.Override public com.google.privacy.dlp.v2.TransformationContainerType getContainerType() { + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationContainerType getContainerType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TransformationContainerType result = com.google.privacy.dlp.v2.TransformationContainerType.valueOf(containerType_); - return result == null ? com.google.privacy.dlp.v2.TransformationContainerType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.TransformationContainerType result = + com.google.privacy.dlp.v2.TransformationContainerType.valueOf(containerType_); + return result == null + ? com.google.privacy.dlp.v2.TransformationContainerType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,15 +372,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 (locationTypeCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, locationType_); } if (locationTypeCase_ == 2) { output.writeMessage(2, (com.google.privacy.dlp.v2.RecordTransformation) locationType_); } - if (containerType_ != com.google.privacy.dlp.v2.TransformationContainerType.TRANSFORM_UNKNOWN_CONTAINER.getNumber()) { + if (containerType_ + != com.google.privacy.dlp.v2.TransformationContainerType.TRANSFORM_UNKNOWN_CONTAINER + .getNumber()) { output.writeEnum(3, containerType_); } unknownFields.writeTo(output); @@ -338,12 +397,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, locationType_); } if (locationTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.privacy.dlp.v2.RecordTransformation) locationType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.privacy.dlp.v2.RecordTransformation) locationType_); } - if (containerType_ != com.google.privacy.dlp.v2.TransformationContainerType.TRANSFORM_UNKNOWN_CONTAINER.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, containerType_); + if (containerType_ + != com.google.privacy.dlp.v2.TransformationContainerType.TRANSFORM_UNKNOWN_CONTAINER + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, containerType_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -353,23 +414,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.TransformationLocation)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationLocation other = (com.google.privacy.dlp.v2.TransformationLocation) obj; + com.google.privacy.dlp.v2.TransformationLocation other = + (com.google.privacy.dlp.v2.TransformationLocation) obj; if (containerType_ != other.containerType_) return false; if (!getLocationTypeCase().equals(other.getLocationTypeCase())) return false; switch (locationTypeCase_) { case 1: - if (!getFindingId() - .equals(other.getFindingId())) return false; + if (!getFindingId().equals(other.getFindingId())) return false; break; case 2: - if (!getRecordTransformation() - .equals(other.getRecordTransformation())) return false; + if (!getRecordTransformation().equals(other.getRecordTransformation())) return false; break; case 0: default: @@ -404,118 +464,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationLocation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationLocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationLocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationLocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationLocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 a transformation.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.TransformationLocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationLocation) com.google.privacy.dlp.v2.TransformationLocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationLocation.class, com.google.privacy.dlp.v2.TransformationLocation.Builder.class); + com.google.privacy.dlp.v2.TransformationLocation.class, + com.google.privacy.dlp.v2.TransformationLocation.Builder.class); } // Construct using com.google.privacy.dlp.v2.TransformationLocation.newBuilder() @@ -523,16 +592,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 +612,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationLocation_descriptor; } @java.lang.Override @@ -565,7 +633,8 @@ public com.google.privacy.dlp.v2.TransformationLocation build() { @java.lang.Override public com.google.privacy.dlp.v2.TransformationLocation buildPartial() { - com.google.privacy.dlp.v2.TransformationLocation result = new com.google.privacy.dlp.v2.TransformationLocation(this); + com.google.privacy.dlp.v2.TransformationLocation result = + new com.google.privacy.dlp.v2.TransformationLocation(this); if (locationTypeCase_ == 1) { result.locationType_ = locationType_; } @@ -586,38 +655,39 @@ public com.google.privacy.dlp.v2.TransformationLocation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TransformationLocation) { - return mergeFrom((com.google.privacy.dlp.v2.TransformationLocation)other); + return mergeFrom((com.google.privacy.dlp.v2.TransformationLocation) other); } else { super.mergeFrom(other); return this; @@ -625,24 +695,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationLocation other) { - if (other == com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.TransformationLocation.getDefaultInstance()) + return this; if (other.containerType_ != 0) { setContainerTypeValue(other.getContainerTypeValue()); } switch (other.getLocationTypeCase()) { - case FINDING_ID: { - locationTypeCase_ = 1; - locationType_ = other.locationType_; - onChanged(); - break; - } - case RECORD_TRANSFORMATION: { - mergeRecordTransformation(other.getRecordTransformation()); - break; - } - case LOCATIONTYPE_NOT_SET: { - break; - } + case FINDING_ID: + { + locationTypeCase_ = 1; + locationType_ = other.locationType_; + onChanged(); + break; + } + case RECORD_TRANSFORMATION: + { + mergeRecordTransformation(other.getRecordTransformation()); + break; + } + case LOCATIONTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -672,12 +746,12 @@ public Builder mergeFrom( } return this; } + private int locationTypeCase_ = 0; private java.lang.Object locationType_; - public LocationTypeCase - getLocationTypeCase() { - return LocationTypeCase.forNumber( - locationTypeCase_); + + public LocationTypeCase getLocationTypeCase() { + return LocationTypeCase.forNumber(locationTypeCase_); } public Builder clearLocationType() { @@ -687,8 +761,9 @@ public Builder clearLocationType() { return this; } - /** + * + * *
      * For infotype transformations, link to the corresponding findings ID so
      * that location information does not need to be duplicated. Each findings
@@ -698,6 +773,7 @@ public Builder clearLocationType() {
      * 
* * string finding_id = 1; + * * @return Whether the findingId field is set. */ @java.lang.Override @@ -705,6 +781,8 @@ public boolean hasFindingId() { return locationTypeCase_ == 1; } /** + * + * *
      * For infotype transformations, link to the corresponding findings ID so
      * that location information does not need to be duplicated. Each findings
@@ -714,6 +792,7 @@ public boolean hasFindingId() {
      * 
* * string finding_id = 1; + * * @return The findingId. */ @java.lang.Override @@ -723,8 +802,7 @@ public java.lang.String getFindingId() { ref = locationType_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (locationTypeCase_ == 1) { locationType_ = s; @@ -735,6 +813,8 @@ public java.lang.String getFindingId() { } } /** + * + * *
      * For infotype transformations, link to the corresponding findings ID so
      * that location information does not need to be duplicated. Each findings
@@ -744,19 +824,18 @@ public java.lang.String getFindingId() {
      * 
* * string finding_id = 1; + * * @return The bytes for findingId. */ @java.lang.Override - public com.google.protobuf.ByteString - getFindingIdBytes() { + public com.google.protobuf.ByteString getFindingIdBytes() { java.lang.Object ref = ""; if (locationTypeCase_ == 1) { ref = locationType_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (locationTypeCase_ == 1) { locationType_ = b; } @@ -766,6 +845,8 @@ public java.lang.String getFindingId() { } } /** + * + * *
      * For infotype transformations, link to the corresponding findings ID so
      * that location information does not need to be duplicated. Each findings
@@ -775,20 +856,22 @@ public java.lang.String getFindingId() {
      * 
* * string finding_id = 1; + * * @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(); - } - locationTypeCase_ = 1; + throw new NullPointerException(); + } + locationTypeCase_ = 1; locationType_ = value; onChanged(); return this; } /** + * + * *
      * For infotype transformations, link to the corresponding findings ID so
      * that location information does not need to be duplicated. Each findings
@@ -798,6 +881,7 @@ public Builder setFindingId(
      * 
* * string finding_id = 1; + * * @return This builder for chaining. */ public Builder clearFindingId() { @@ -809,6 +893,8 @@ public Builder clearFindingId() { return this; } /** + * + * *
      * For infotype transformations, link to the corresponding findings ID so
      * that location information does not need to be duplicated. Each findings
@@ -818,15 +904,15 @@ public Builder clearFindingId() {
      * 
* * string finding_id = 1; + * * @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); locationTypeCase_ = 1; locationType_ = value; onChanged(); @@ -834,13 +920,19 @@ public Builder setFindingIdBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordTransformation, com.google.privacy.dlp.v2.RecordTransformation.Builder, com.google.privacy.dlp.v2.RecordTransformationOrBuilder> recordTransformationBuilder_; + com.google.privacy.dlp.v2.RecordTransformation, + com.google.privacy.dlp.v2.RecordTransformation.Builder, + com.google.privacy.dlp.v2.RecordTransformationOrBuilder> + recordTransformationBuilder_; /** + * + * *
      * For record transformations, provide a field and container information.
      * 
* * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * * @return Whether the recordTransformation field is set. */ @java.lang.Override @@ -848,11 +940,14 @@ public boolean hasRecordTransformation() { return locationTypeCase_ == 2; } /** + * + * *
      * For record transformations, provide a field and container information.
      * 
* * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * * @return The recordTransformation. */ @java.lang.Override @@ -870,6 +965,8 @@ public com.google.privacy.dlp.v2.RecordTransformation getRecordTransformation() } } /** + * + * *
      * For record transformations, provide a field and container information.
      * 
@@ -890,6 +987,8 @@ public Builder setRecordTransformation(com.google.privacy.dlp.v2.RecordTransform return this; } /** + * + * *
      * For record transformations, provide a field and container information.
      * 
@@ -908,6 +1007,8 @@ public Builder setRecordTransformation( return this; } /** + * + * *
      * For record transformations, provide a field and container information.
      * 
@@ -916,10 +1017,14 @@ public Builder setRecordTransformation( */ public Builder mergeRecordTransformation(com.google.privacy.dlp.v2.RecordTransformation value) { if (recordTransformationBuilder_ == null) { - if (locationTypeCase_ == 2 && - locationType_ != com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance()) { - locationType_ = com.google.privacy.dlp.v2.RecordTransformation.newBuilder((com.google.privacy.dlp.v2.RecordTransformation) locationType_) - .mergeFrom(value).buildPartial(); + if (locationTypeCase_ == 2 + && locationType_ + != com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance()) { + locationType_ = + com.google.privacy.dlp.v2.RecordTransformation.newBuilder( + (com.google.privacy.dlp.v2.RecordTransformation) locationType_) + .mergeFrom(value) + .buildPartial(); } else { locationType_ = value; } @@ -935,6 +1040,8 @@ public Builder mergeRecordTransformation(com.google.privacy.dlp.v2.RecordTransfo return this; } /** + * + * *
      * For record transformations, provide a field and container information.
      * 
@@ -958,6 +1065,8 @@ public Builder clearRecordTransformation() { return this; } /** + * + * *
      * For record transformations, provide a field and container information.
      * 
@@ -968,6 +1077,8 @@ public com.google.privacy.dlp.v2.RecordTransformation.Builder getRecordTransform return getRecordTransformationFieldBuilder().getBuilder(); } /** + * + * *
      * For record transformations, provide a field and container information.
      * 
@@ -975,7 +1086,8 @@ public com.google.privacy.dlp.v2.RecordTransformation.Builder getRecordTransform * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; */ @java.lang.Override - public com.google.privacy.dlp.v2.RecordTransformationOrBuilder getRecordTransformationOrBuilder() { + public com.google.privacy.dlp.v2.RecordTransformationOrBuilder + getRecordTransformationOrBuilder() { if ((locationTypeCase_ == 2) && (recordTransformationBuilder_ != null)) { return recordTransformationBuilder_.getMessageOrBuilder(); } else { @@ -986,6 +1098,8 @@ public com.google.privacy.dlp.v2.RecordTransformationOrBuilder getRecordTransfor } } /** + * + * *
      * For record transformations, provide a field and container information.
      * 
@@ -993,75 +1107,97 @@ public com.google.privacy.dlp.v2.RecordTransformationOrBuilder getRecordTransfor * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordTransformation, com.google.privacy.dlp.v2.RecordTransformation.Builder, com.google.privacy.dlp.v2.RecordTransformationOrBuilder> + com.google.privacy.dlp.v2.RecordTransformation, + com.google.privacy.dlp.v2.RecordTransformation.Builder, + com.google.privacy.dlp.v2.RecordTransformationOrBuilder> getRecordTransformationFieldBuilder() { if (recordTransformationBuilder_ == null) { if (!(locationTypeCase_ == 2)) { locationType_ = com.google.privacy.dlp.v2.RecordTransformation.getDefaultInstance(); } - recordTransformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.privacy.dlp.v2.RecordTransformation, com.google.privacy.dlp.v2.RecordTransformation.Builder, com.google.privacy.dlp.v2.RecordTransformationOrBuilder>( + recordTransformationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.privacy.dlp.v2.RecordTransformation, + com.google.privacy.dlp.v2.RecordTransformation.Builder, + com.google.privacy.dlp.v2.RecordTransformationOrBuilder>( (com.google.privacy.dlp.v2.RecordTransformation) locationType_, getParentForChildren(), isClean()); locationType_ = null; } locationTypeCase_ = 2; - onChanged();; + onChanged(); + ; return recordTransformationBuilder_; } private int containerType_ = 0; /** + * + * *
      * Information about the functionality of the container where this finding
      * occurred, if available.
      * 
* * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * * @return The enum numeric value on the wire for containerType. */ - @java.lang.Override public int getContainerTypeValue() { + @java.lang.Override + public int getContainerTypeValue() { return containerType_; } /** + * + * *
      * Information about the functionality of the container where this finding
      * occurred, if available.
      * 
* * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * * @param value The enum numeric value on the wire for containerType to set. * @return This builder for chaining. */ public Builder setContainerTypeValue(int value) { - + containerType_ = value; onChanged(); return this; } /** + * + * *
      * Information about the functionality of the container where this finding
      * occurred, if available.
      * 
* * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * * @return The containerType. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationContainerType getContainerType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TransformationContainerType result = com.google.privacy.dlp.v2.TransformationContainerType.valueOf(containerType_); - return result == null ? com.google.privacy.dlp.v2.TransformationContainerType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.TransformationContainerType result = + com.google.privacy.dlp.v2.TransformationContainerType.valueOf(containerType_); + return result == null + ? com.google.privacy.dlp.v2.TransformationContainerType.UNRECOGNIZED + : result; } /** + * + * *
      * Information about the functionality of the container where this finding
      * occurred, if available.
      * 
* * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * * @param value The containerType to set. * @return This builder for chaining. */ @@ -1069,29 +1205,32 @@ public Builder setContainerType(com.google.privacy.dlp.v2.TransformationContaine if (value == null) { throw new NullPointerException(); } - + containerType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Information about the functionality of the container where this finding
      * occurred, if available.
      * 
* * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * * @return This builder for chaining. */ public Builder clearContainerType() { - + containerType_ = 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); } @@ -1101,12 +1240,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationLocation) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationLocation) private static final com.google.privacy.dlp.v2.TransformationLocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationLocation(); } @@ -1115,16 +1254,16 @@ public static com.google.privacy.dlp.v2.TransformationLocation getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationLocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationLocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationLocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,6 +1278,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.TransformationLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocationOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocationOrBuilder.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocationOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocationOrBuilder.java index d944788c..c5ac2d41 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocationOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationLocationOrBuilder.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 TransformationLocationOrBuilder extends +public interface TransformationLocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationLocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * For infotype transformations, link to the corresponding findings ID so
    * that location information does not need to be duplicated. Each findings
@@ -17,10 +35,13 @@ public interface TransformationLocationOrBuilder extends
    * 
* * string finding_id = 1; + * * @return Whether the findingId field is set. */ boolean hasFindingId(); /** + * + * *
    * For infotype transformations, link to the corresponding findings ID so
    * that location information does not need to be duplicated. Each findings
@@ -30,10 +51,13 @@ public interface TransformationLocationOrBuilder extends
    * 
* * string finding_id = 1; + * * @return The findingId. */ java.lang.String getFindingId(); /** + * + * *
    * For infotype transformations, link to the corresponding findings ID so
    * that location information does not need to be duplicated. Each findings
@@ -43,30 +67,38 @@ public interface TransformationLocationOrBuilder extends
    * 
* * string finding_id = 1; + * * @return The bytes for findingId. */ - com.google.protobuf.ByteString - getFindingIdBytes(); + com.google.protobuf.ByteString getFindingIdBytes(); /** + * + * *
    * For record transformations, provide a field and container information.
    * 
* * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * * @return Whether the recordTransformation field is set. */ boolean hasRecordTransformation(); /** + * + * *
    * For record transformations, provide a field and container information.
    * 
* * .google.privacy.dlp.v2.RecordTransformation record_transformation = 2; + * * @return The recordTransformation. */ com.google.privacy.dlp.v2.RecordTransformation getRecordTransformation(); /** + * + * *
    * For record transformations, provide a field and container information.
    * 
@@ -76,22 +108,28 @@ public interface TransformationLocationOrBuilder extends com.google.privacy.dlp.v2.RecordTransformationOrBuilder getRecordTransformationOrBuilder(); /** + * + * *
    * Information about the functionality of the container where this finding
    * occurred, if available.
    * 
* * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * * @return The enum numeric value on the wire for containerType. */ int getContainerTypeValue(); /** + * + * *
    * Information about the functionality of the container where this finding
    * occurred, if available.
    * 
* * .google.privacy.dlp.v2.TransformationContainerType container_type = 3; + * * @return The containerType. */ com.google.privacy.dlp.v2.TransformationContainerType getContainerType(); 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 687083d6..0e18f851 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,27 +71,30 @@ 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) { @@ -82,8 +102,7 @@ private TransformationOverview( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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_); @@ -92,27 +111,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 @@ -123,64 +148,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; @@ -192,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 (transformedBytes_ != 0L) { output.writeInt64(2, transformedBytes_); } @@ -210,12 +251,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; @@ -225,17 +266,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -248,8 +289,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(); @@ -259,118 +299,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() @@ -378,17 +427,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(); @@ -404,9 +453,9 @@ public Builder 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 @@ -425,12 +474,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_; @@ -445,38 +496,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; @@ -484,7 +536,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()); } @@ -506,9 +559,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_); } @@ -542,15 +596,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 @@ -558,55 +616,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 { @@ -614,11 +688,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) { @@ -628,11 +705,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) { @@ -642,11 +722,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) { @@ -663,11 +746,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) { @@ -681,13 +767,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(); @@ -701,11 +791,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) { @@ -722,11 +815,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) { @@ -740,11 +836,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) { @@ -758,18 +857,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); @@ -777,11 +878,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) { @@ -794,11 +898,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) { @@ -811,39 +918,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 { @@ -851,45 +968,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(), @@ -898,9 +1031,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); } @@ -910,12 +1043,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(); } @@ -924,16 +1057,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; @@ -948,6 +1081,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/TransformationResultStatus.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatus.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatus.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatus.java index 14819525..44d5311f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatus.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatus.java @@ -1,36 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -/** - * Protobuf type {@code google.privacy.dlp.v2.TransformationResultStatus} - */ -public final class TransformationResultStatus extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.privacy.dlp.v2.TransformationResultStatus} */ +public final class TransformationResultStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.TransformationResultStatus) TransformationResultStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TransformationResultStatus.newBuilder() to construct. private TransformationResultStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TransformationResultStatus() { resultStatusType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TransformationResultStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TransformationResultStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -49,32 +62,34 @@ private TransformationResultStatus( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - resultStatusType_ = rawValue; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (details_ != null) { - subBuilder = details_.toBuilder(); + resultStatusType_ = rawValue; + break; } - details_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(details_); - details_ = subBuilder.buildPartial(); + case 18: + { + 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; } - - 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) { @@ -82,63 +97,79 @@ private TransformationResultStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_TransformationResultStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationResultStatus.class, com.google.privacy.dlp.v2.TransformationResultStatus.Builder.class); + com.google.privacy.dlp.v2.TransformationResultStatus.class, + com.google.privacy.dlp.v2.TransformationResultStatus.Builder.class); } public static final int RESULT_STATUS_TYPE_FIELD_NUMBER = 1; private int resultStatusType_; /** + * + * *
    * Transformation result status type, this will be either SUCCESS, or it will
    * be the reason for why the transformation was not completely successful.
    * 
* * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * * @return The enum numeric value on the wire for resultStatusType. */ - @java.lang.Override public int getResultStatusTypeValue() { + @java.lang.Override + public int getResultStatusTypeValue() { return resultStatusType_; } /** + * + * *
    * Transformation result status type, this will be either SUCCESS, or it will
    * be the reason for why the transformation was not completely successful.
    * 
* * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * * @return The resultStatusType. */ - @java.lang.Override public com.google.privacy.dlp.v2.TransformationResultStatusType getResultStatusType() { + @java.lang.Override + public com.google.privacy.dlp.v2.TransformationResultStatusType getResultStatusType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TransformationResultStatusType result = com.google.privacy.dlp.v2.TransformationResultStatusType.valueOf(resultStatusType_); - return result == null ? com.google.privacy.dlp.v2.TransformationResultStatusType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.TransformationResultStatusType result = + com.google.privacy.dlp.v2.TransformationResultStatusType.valueOf(resultStatusType_); + return result == null + ? com.google.privacy.dlp.v2.TransformationResultStatusType.UNRECOGNIZED + : result; } public static final int DETAILS_FIELD_NUMBER = 2; private com.google.rpc.Status details_; /** + * + * *
    * Detailed error codes and messages
    * 
* * .google.rpc.Status details = 2; + * * @return Whether the details field is set. */ @java.lang.Override @@ -146,11 +177,14 @@ public boolean hasDetails() { return details_ != null; } /** + * + * *
    * Detailed error codes and messages
    * 
* * .google.rpc.Status details = 2; + * * @return The details. */ @java.lang.Override @@ -158,6 +192,8 @@ public com.google.rpc.Status getDetails() { return details_ == null ? com.google.rpc.Status.getDefaultInstance() : details_; } /** + * + * *
    * Detailed error codes and messages
    * 
@@ -170,6 +206,7 @@ public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,9 +218,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (resultStatusType_ != com.google.privacy.dlp.v2.TransformationResultStatusType.STATE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (resultStatusType_ + != com.google.privacy.dlp.v2.TransformationResultStatusType.STATE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, resultStatusType_); } if (details_ != null) { @@ -198,13 +236,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (resultStatusType_ != com.google.privacy.dlp.v2.TransformationResultStatusType.STATE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resultStatusType_); + if (resultStatusType_ + != com.google.privacy.dlp.v2.TransformationResultStatusType.STATE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, resultStatusType_); } if (details_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDetails()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDetails()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -214,18 +252,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.TransformationResultStatus)) { return super.equals(obj); } - com.google.privacy.dlp.v2.TransformationResultStatus other = (com.google.privacy.dlp.v2.TransformationResultStatus) obj; + com.google.privacy.dlp.v2.TransformationResultStatus other = + (com.google.privacy.dlp.v2.TransformationResultStatus) obj; if (resultStatusType_ != other.resultStatusType_) return false; if (hasDetails() != other.hasDetails()) return false; if (hasDetails()) { - if (!getDetails() - .equals(other.getDetails())) return false; + if (!getDetails().equals(other.getDetails())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -250,113 +288,118 @@ public int hashCode() { } public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom( - java.nio.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.TransformationResultStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.TransformationResultStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.TransformationResultStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.TransformationResultStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.TransformationResultStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** - * Protobuf type {@code google.privacy.dlp.v2.TransformationResultStatus} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.privacy.dlp.v2.TransformationResultStatus} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.TransformationResultStatus) com.google.privacy.dlp.v2.TransformationResultStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationResultStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.TransformationResultStatus.class, com.google.privacy.dlp.v2.TransformationResultStatus.Builder.class); + com.google.privacy.dlp.v2.TransformationResultStatus.class, + com.google.privacy.dlp.v2.TransformationResultStatus.Builder.class); } // Construct using com.google.privacy.dlp.v2.TransformationResultStatus.newBuilder() @@ -364,16 +407,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 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_TransformationResultStatus_descriptor; } @java.lang.Override @@ -410,7 +452,8 @@ public com.google.privacy.dlp.v2.TransformationResultStatus build() { @java.lang.Override public com.google.privacy.dlp.v2.TransformationResultStatus buildPartial() { - com.google.privacy.dlp.v2.TransformationResultStatus result = new com.google.privacy.dlp.v2.TransformationResultStatus(this); + com.google.privacy.dlp.v2.TransformationResultStatus result = + new com.google.privacy.dlp.v2.TransformationResultStatus(this); result.resultStatusType_ = resultStatusType_; if (detailsBuilder_ == null) { result.details_ = details_; @@ -425,38 +468,39 @@ public com.google.privacy.dlp.v2.TransformationResultStatus buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.TransformationResultStatus) { - return mergeFrom((com.google.privacy.dlp.v2.TransformationResultStatus)other); + return mergeFrom((com.google.privacy.dlp.v2.TransformationResultStatus) other); } else { super.mergeFrom(other); return this; @@ -464,7 +508,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.privacy.dlp.v2.TransformationResultStatus other) { - if (other == com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance()) return this; + if (other == com.google.privacy.dlp.v2.TransformationResultStatus.getDefaultInstance()) + return this; if (other.resultStatusType_ != 0) { setResultStatusTypeValue(other.getResultStatusTypeValue()); } @@ -490,7 +535,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.privacy.dlp.v2.TransformationResultStatus) e.getUnfinishedMessage(); + parsedMessage = + (com.google.privacy.dlp.v2.TransformationResultStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,78 +548,98 @@ public Builder mergeFrom( private int resultStatusType_ = 0; /** + * + * *
      * Transformation result status type, this will be either SUCCESS, or it will
      * be the reason for why the transformation was not completely successful.
      * 
* * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * * @return The enum numeric value on the wire for resultStatusType. */ - @java.lang.Override public int getResultStatusTypeValue() { + @java.lang.Override + public int getResultStatusTypeValue() { return resultStatusType_; } /** + * + * *
      * Transformation result status type, this will be either SUCCESS, or it will
      * be the reason for why the transformation was not completely successful.
      * 
* * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * * @param value The enum numeric value on the wire for resultStatusType to set. * @return This builder for chaining. */ public Builder setResultStatusTypeValue(int value) { - + resultStatusType_ = value; onChanged(); return this; } /** + * + * *
      * Transformation result status type, this will be either SUCCESS, or it will
      * be the reason for why the transformation was not completely successful.
      * 
* * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * * @return The resultStatusType. */ @java.lang.Override public com.google.privacy.dlp.v2.TransformationResultStatusType getResultStatusType() { @SuppressWarnings("deprecation") - com.google.privacy.dlp.v2.TransformationResultStatusType result = com.google.privacy.dlp.v2.TransformationResultStatusType.valueOf(resultStatusType_); - return result == null ? com.google.privacy.dlp.v2.TransformationResultStatusType.UNRECOGNIZED : result; + com.google.privacy.dlp.v2.TransformationResultStatusType result = + com.google.privacy.dlp.v2.TransformationResultStatusType.valueOf(resultStatusType_); + return result == null + ? com.google.privacy.dlp.v2.TransformationResultStatusType.UNRECOGNIZED + : result; } /** + * + * *
      * Transformation result status type, this will be either SUCCESS, or it will
      * be the reason for why the transformation was not completely successful.
      * 
* * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * * @param value The resultStatusType to set. * @return This builder for chaining. */ - public Builder setResultStatusType(com.google.privacy.dlp.v2.TransformationResultStatusType value) { + public Builder setResultStatusType( + com.google.privacy.dlp.v2.TransformationResultStatusType value) { if (value == null) { throw new NullPointerException(); } - + resultStatusType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Transformation result status type, this will be either SUCCESS, or it will
      * be the reason for why the transformation was not completely successful.
      * 
* * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * * @return This builder for chaining. */ public Builder clearResultStatusType() { - + resultStatusType_ = 0; onChanged(); return this; @@ -581,24 +647,31 @@ public Builder clearResultStatusType() { 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 = 2; + * * @return Whether the details field is set. */ public boolean hasDetails() { return detailsBuilder_ != null || details_ != null; } /** + * + * *
      * Detailed error codes and messages
      * 
* * .google.rpc.Status details = 2; + * * @return The details. */ public com.google.rpc.Status getDetails() { @@ -609,6 +682,8 @@ public com.google.rpc.Status getDetails() { } } /** + * + * *
      * Detailed error codes and messages
      * 
@@ -629,14 +704,15 @@ public Builder setDetails(com.google.rpc.Status value) { return this; } /** + * + * *
      * Detailed error codes and messages
      * 
* * .google.rpc.Status details = 2; */ - 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(); @@ -647,6 +723,8 @@ public Builder setDetails( return this; } /** + * + * *
      * Detailed error codes and messages
      * 
@@ -656,8 +734,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; } @@ -669,6 +746,8 @@ public Builder mergeDetails(com.google.rpc.Status value) { return this; } /** + * + * *
      * Detailed error codes and messages
      * 
@@ -687,6 +766,8 @@ public Builder clearDetails() { return this; } /** + * + * *
      * Detailed error codes and messages
      * 
@@ -694,11 +775,13 @@ public Builder clearDetails() { * .google.rpc.Status details = 2; */ public com.google.rpc.Status.Builder getDetailsBuilder() { - + onChanged(); return getDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Detailed error codes and messages
      * 
@@ -709,11 +792,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
      * 
@@ -721,21 +805,21 @@ public com.google.rpc.StatusOrBuilder getDetailsOrBuilder() { * .google.rpc.Status details = 2; */ 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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -745,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.TransformationResultStatus) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationResultStatus) private static final com.google.privacy.dlp.v2.TransformationResultStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.TransformationResultStatus(); } @@ -759,16 +843,16 @@ public static com.google.privacy.dlp.v2.TransformationResultStatus getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TransformationResultStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TransformationResultStatus(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TransformationResultStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TransformationResultStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -783,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.privacy.dlp.v2.TransformationResultStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusOrBuilder.java index 6cab1b0a..3b5d125e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusOrBuilder.java @@ -1,52 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/privacy/dlp/v2/dlp.proto package com.google.privacy.dlp.v2; -public interface TransformationResultStatusOrBuilder extends +public interface TransformationResultStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationResultStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Transformation result status type, this will be either SUCCESS, or it will
    * be the reason for why the transformation was not completely successful.
    * 
* * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * * @return The enum numeric value on the wire for resultStatusType. */ int getResultStatusTypeValue(); /** + * + * *
    * Transformation result status type, this will be either SUCCESS, or it will
    * be the reason for why the transformation was not completely successful.
    * 
* * .google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1; + * * @return The resultStatusType. */ com.google.privacy.dlp.v2.TransformationResultStatusType getResultStatusType(); /** + * + * *
    * Detailed error codes and messages
    * 
* * .google.rpc.Status details = 2; + * * @return Whether the details field is set. */ boolean hasDetails(); /** + * + * *
    * Detailed error codes and messages
    * 
* * .google.rpc.Status details = 2; + * * @return The details. */ com.google.rpc.Status getDetails(); /** + * + * *
    * Detailed error codes and messages
    * 
diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusType.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusType.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusType.java index 9c1eb3be..bd2a8914 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationResultStatusType.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; /** + * + * *
  * Enum of possible outcomes of transformations. SUCCESS if transformation and
  * storing of transformation was successful, otherwise, reason for not
@@ -12,13 +29,12 @@
  *
  * Protobuf enum {@code google.privacy.dlp.v2.TransformationResultStatusType}
  */
-public enum TransformationResultStatusType
-    implements com.google.protobuf.ProtocolMessageEnum {
-  /**
-   * STATE_TYPE_UNSPECIFIED = 0;
-   */
+public enum TransformationResultStatusType implements com.google.protobuf.ProtocolMessageEnum {
+  /** STATE_TYPE_UNSPECIFIED = 0; */
   STATE_TYPE_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * This will be set when a finding could not be transformed (i.e. outside user
    * set bucket range).
@@ -28,6 +44,8 @@ public enum TransformationResultStatusType
    */
   INVALID_TRANSFORM(1),
   /**
+   *
+   *
    * 
    * This will be set when a BigQuery transformation was successful but could
    * not be stored back in BigQuery because the transformed row exceeds
@@ -38,6 +56,8 @@ public enum TransformationResultStatusType
    */
   BIGQUERY_MAX_ROW_SIZE_EXCEEDED(2),
   /**
+   *
+   *
    * 
    * This will be set when there is a finding in the custom metadata of a file,
    * but at the write time of the transformed file, this key / value pair is
@@ -48,6 +68,8 @@ public enum TransformationResultStatusType
    */
   METADATA_UNRETRIEVABLE(3),
   /**
+   *
+   *
    * 
    * This will be set when the transformation and storing of it is successful.
    * 
@@ -58,11 +80,11 @@ public enum TransformationResultStatusType UNRECOGNIZED(-1), ; - /** - * STATE_TYPE_UNSPECIFIED = 0; - */ + /** STATE_TYPE_UNSPECIFIED = 0; */ public static final int STATE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * This will be set when a finding could not be transformed (i.e. outside user
    * set bucket range).
@@ -72,6 +94,8 @@ public enum TransformationResultStatusType
    */
   public static final int INVALID_TRANSFORM_VALUE = 1;
   /**
+   *
+   *
    * 
    * This will be set when a BigQuery transformation was successful but could
    * not be stored back in BigQuery because the transformed row exceeds
@@ -82,6 +106,8 @@ public enum TransformationResultStatusType
    */
   public static final int BIGQUERY_MAX_ROW_SIZE_EXCEEDED_VALUE = 2;
   /**
+   *
+   *
    * 
    * This will be set when there is a finding in the custom metadata of a file,
    * but at the write time of the transformed file, this key / value pair is
@@ -92,6 +118,8 @@ public enum TransformationResultStatusType
    */
   public static final int METADATA_UNRETRIEVABLE_VALUE = 3;
   /**
+   *
+   *
    * 
    * This will be set when the transformation and storing of it is successful.
    * 
@@ -100,7 +128,6 @@ public enum TransformationResultStatusType */ public static final int SUCCESS_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -125,12 +152,18 @@ public static TransformationResultStatusType valueOf(int value) { */ public static TransformationResultStatusType forNumber(int value) { switch (value) { - case 0: return STATE_TYPE_UNSPECIFIED; - case 1: return INVALID_TRANSFORM; - case 2: return BIGQUERY_MAX_ROW_SIZE_EXCEEDED; - case 3: return METADATA_UNRETRIEVABLE; - case 4: return SUCCESS; - default: return null; + case 0: + return STATE_TYPE_UNSPECIFIED; + case 1: + return INVALID_TRANSFORM; + case 2: + return BIGQUERY_MAX_ROW_SIZE_EXCEEDED; + case 3: + return METADATA_UNRETRIEVABLE; + case 4: + return SUCCESS; + default: + return null; } } @@ -138,28 +171,28 @@ public static TransformationResultStatusType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TransformationResultStatusType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransformationResultStatusType findValueByNumber(int number) { - return TransformationResultStatusType.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 TransformationResultStatusType findValueByNumber(int number) { + return TransformationResultStatusType.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); } @@ -168,8 +201,7 @@ public TransformationResultStatusType findValueByNumber(int number) { public static TransformationResultStatusType 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; @@ -185,4 +217,3 @@ private TransformationResultStatusType(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.TransformationResultStatusType) } - 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 f11a0d0a..45c02c92 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,88 +74,107 @@ 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) {
@@ -146,8 +182,7 @@ private TransformationSummary(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } 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_);
@@ -159,29 +194,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
      * 
@@ -190,6 +231,8 @@ public enum TransformationResultCode */ TRANSFORMATION_RESULT_CODE_UNSPECIFIED(0), /** + * + * *
      * Transformation completed without an error.
      * 
@@ -198,6 +241,8 @@ public enum TransformationResultCode */ SUCCESS(1), /** + * + * *
      * Transformation had an error.
      * 
@@ -209,6 +254,8 @@ public enum TransformationResultCode ; /** + * + * *
      * Unused
      * 
@@ -217,6 +264,8 @@ public enum TransformationResultCode */ public static final int TRANSFORMATION_RESULT_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Transformation completed without an error.
      * 
@@ -225,6 +274,8 @@ public enum TransformationResultCode */ public static final int SUCCESS_VALUE = 1; /** + * + * *
      * Transformation had an error.
      * 
@@ -233,7 +284,6 @@ public enum TransformationResultCode */ public static final int ERROR_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -258,10 +308,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; } } @@ -269,28 +323,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); } @@ -299,8 +353,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; @@ -317,62 +370,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.
@@ -380,15 +450,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_ = "";
@@ -396,16 +467,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)
@@ -424,30 +494,32 @@ 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) {
@@ -455,34 +527,39 @@ private SummaryResult(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -493,39 +570,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 @@ -534,30 +625,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 { @@ -566,6 +657,7 @@ public java.lang.String getDetails() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -577,12 +669,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_)) { @@ -598,12 +692,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_); @@ -616,18 +711,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; } @@ -640,8 +734,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; @@ -652,87 +745,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 @@ -742,6 +842,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A collection that informs the user the number of times a particular
      * `TransformationResultCode` and error details occurred.
@@ -749,21 +851,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()
@@ -771,16 +876,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();
@@ -794,13 +898,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();
       }
 
@@ -815,7 +920,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_;
@@ -827,46 +933,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());
         }
@@ -896,7 +1008,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) {
@@ -906,13 +1020,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 @@ -920,30 +1037,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; @@ -951,73 +1074,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; @@ -1025,19 +1173,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; @@ -1046,21 +1196,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 { @@ -1068,61 +1219,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) { @@ -1135,30 +1294,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; @@ -1170,20 +1331,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 @@ -1191,11 +1355,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 @@ -1203,6 +1370,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.
    * 
@@ -1217,11 +1386,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 @@ -1229,11 +1401,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 @@ -1241,6 +1416,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.
    * 
@@ -1255,11 +1432,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 @@ -1267,18 +1447,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.
    * 
@@ -1293,6 +1480,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,
@@ -1302,10 +1491,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,
@@ -1315,11 +1507,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,
@@ -1333,6 +1527,8 @@ public int getFieldTransformationsCount() {
     return fieldTransformations_.size();
   }
   /**
+   *
+   *
    * 
    * The field transformation that was applied.
    * If multiple field transformations are requested for a single field,
@@ -1346,6 +1542,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,
@@ -1363,11 +1561,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 @@ -1375,18 +1576,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.
    * 
@@ -1401,6 +1609,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.
    * 
@@ -1408,10 +1618,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.
    * 
@@ -1419,11 +1632,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.
    * 
@@ -1435,6 +1651,8 @@ public int getResultsCount() { return results_.size(); } /** + * + * *
    * Collection of all transformations that took place or had an error.
    * 
@@ -1446,6 +1664,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.
    * 
@@ -1461,11 +1681,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 @@ -1474,6 +1697,7 @@ public long getTransformedBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1485,8 +1709,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -1518,32 +1741,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; @@ -1553,39 +1770,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; } @@ -1622,104 +1833,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'
@@ -1728,21 +1945,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()
@@ -1750,18 +1969,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();
@@ -1807,9 +2026,9 @@ public Builder 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
@@ -1828,7 +2047,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_;
@@ -1877,38 +2097,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;
@@ -1916,7 +2137,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());
       }
@@ -1944,9 +2166,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_);
           }
@@ -1973,9 +2196,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_);
           }
@@ -2012,38 +2236,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.
      * 
@@ -2064,14 +2302,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(); @@ -2082,6 +2321,8 @@ public Builder setInfoType( return this; } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2092,7 +2333,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; } @@ -2104,6 +2347,8 @@ public Builder mergeInfoType(com.google.privacy.dlp.v2.InfoType value) { return this; } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2122,6 +2367,8 @@ public Builder clearInfoType() { return this; } /** + * + * *
      * Set if the transformation was limited to a specific InfoType.
      * 
@@ -2129,11 +2376,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.
      * 
@@ -2144,11 +2393,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.
      * 
@@ -2156,14 +2408,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_; @@ -2171,24 +2426,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() { @@ -2199,6 +2463,8 @@ public com.google.privacy.dlp.v2.FieldId getField() { } } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2219,14 +2485,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(); @@ -2237,6 +2504,8 @@ public Builder setField( return this; } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2247,7 +2516,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; } @@ -2259,6 +2528,8 @@ public Builder mergeField(com.google.privacy.dlp.v2.FieldId value) { return this; } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2277,6 +2548,8 @@ public Builder clearField() { return this; } /** + * + * *
      * Set if the transformation was limited to a specific FieldId.
      * 
@@ -2284,11 +2557,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.
      * 
@@ -2299,11 +2574,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.
      * 
@@ -2311,14 +2587,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_; @@ -2326,34 +2605,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.
      * 
@@ -2374,6 +2666,8 @@ public Builder setTransformation(com.google.privacy.dlp.v2.PrimitiveTransformati return this; } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2392,6 +2686,8 @@ public Builder setTransformation( return this; } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2402,7 +2698,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; } @@ -2414,6 +2712,8 @@ public Builder mergeTransformation(com.google.privacy.dlp.v2.PrimitiveTransforma return this; } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2432,6 +2732,8 @@ public Builder clearTransformation() { return this; } /** + * + * *
      * The specific transformation these stats apply to.
      * 
@@ -2439,11 +2741,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.
      * 
@@ -2454,11 +2758,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.
      * 
@@ -2466,32 +2773,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,
@@ -2500,7 +2818,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 {
@@ -2508,6 +2827,8 @@ public java.util.List getFieldTra
       }
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2524,6 +2845,8 @@ public int getFieldTransformationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2540,6 +2863,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,
@@ -2563,6 +2888,8 @@ public Builder setFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2583,6 +2910,8 @@ public Builder setFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2605,6 +2934,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,
@@ -2628,6 +2959,8 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2648,6 +2981,8 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2668,6 +3003,8 @@ public Builder addFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2680,8 +3017,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);
@@ -2689,6 +3025,8 @@ public Builder addAllFieldTransformations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2708,6 +3046,8 @@ public Builder clearFieldTransformations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2727,6 +3067,8 @@ public Builder removeFieldTransformations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The field transformation that was applied.
      * If multiple field transformations are requested for a single field,
@@ -2740,6 +3082,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,
@@ -2751,11 +3095,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,
@@ -2764,8 +3111,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 {
@@ -2773,6 +3120,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,
@@ -2782,10 +3131,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,
@@ -2796,10 +3147,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,
@@ -2808,16 +3161,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(),
@@ -2829,34 +3188,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.
      * 
@@ -2877,6 +3249,8 @@ public Builder setRecordSuppress(com.google.privacy.dlp.v2.RecordSuppression val return this; } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2895,6 +3269,8 @@ public Builder setRecordSuppress( return this; } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2905,7 +3281,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; } @@ -2917,6 +3295,8 @@ public Builder mergeRecordSuppress(com.google.privacy.dlp.v2.RecordSuppression v return this; } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2935,6 +3315,8 @@ public Builder clearRecordSuppress() { return this; } /** + * + * *
      * The specific suppression option these stats apply to.
      * 
@@ -2942,11 +3324,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.
      * 
@@ -2957,11 +3341,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.
      * 
@@ -2969,39 +3356,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 { @@ -3009,6 +3408,8 @@ public java.util.List * Collection of all transformations that took place or had an error. *
@@ -3023,6 +3424,8 @@ public int getResultsCount() { } } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3037,6 +3440,8 @@ public com.google.privacy.dlp.v2.TransformationSummary.SummaryResult getResults( } } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3058,6 +3463,8 @@ public Builder setResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3065,7 +3472,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()); @@ -3076,6 +3484,8 @@ public Builder setResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3096,6 +3506,8 @@ public Builder addResults(com.google.privacy.dlp.v2.TransformationSummary.Summar return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3117,6 +3529,8 @@ public Builder addResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3135,6 +3549,8 @@ public Builder addResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3142,7 +3558,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()); @@ -3153,6 +3570,8 @@ public Builder addResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3160,11 +3579,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); @@ -3172,6 +3591,8 @@ public Builder addAllResults( return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3189,6 +3610,8 @@ public Builder clearResults() { return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3206,6 +3629,8 @@ public Builder removeResults(int index) { return this; } /** + * + * *
      * Collection of all transformations that took place or had an error.
      * 
@@ -3217,28 +3642,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 { @@ -3246,17 +3677,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.
      * 
@@ -3265,42 +3702,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 @@ -3308,37 +3755,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); } @@ -3348,12 +3801,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(); } @@ -3362,16 +3815,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; @@ -3386,6 +3839,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/TransformationType.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationType.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationType.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationType.java index d9e523ca..f99389cd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationType.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/TransformationType.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 enum of rules that can be used to transform a value. Can be a
  * record suppression, or one of the transformation rules specified under
@@ -12,9 +29,10 @@
  *
  * Protobuf enum {@code google.privacy.dlp.v2.TransformationType}
  */
-public enum TransformationType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum TransformationType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Unused
    * 
@@ -23,6 +41,8 @@ public enum TransformationType */ TRANSFORMATION_TYPE_UNSPECIFIED(0), /** + * + * *
    * Record suppression
    * 
@@ -31,6 +51,8 @@ public enum TransformationType */ RECORD_SUPPRESSION(1), /** + * + * *
    * Replace value
    * 
@@ -39,6 +61,8 @@ public enum TransformationType */ REPLACE_VALUE(2), /** + * + * *
    * Replace value using a dictionary.
    * 
@@ -47,6 +71,8 @@ public enum TransformationType */ REPLACE_DICTIONARY(15), /** + * + * *
    * Redact
    * 
@@ -55,6 +81,8 @@ public enum TransformationType */ REDACT(3), /** + * + * *
    * Character mask
    * 
@@ -63,6 +91,8 @@ public enum TransformationType */ CHARACTER_MASK(4), /** + * + * *
    * FFX-FPE
    * 
@@ -71,6 +101,8 @@ public enum TransformationType */ CRYPTO_REPLACE_FFX_FPE(5), /** + * + * *
    * Fixed size bucketing
    * 
@@ -79,6 +111,8 @@ public enum TransformationType */ FIXED_SIZE_BUCKETING(6), /** + * + * *
    * Bucketing
    * 
@@ -87,6 +121,8 @@ public enum TransformationType */ BUCKETING(7), /** + * + * *
    * Replace with info type
    * 
@@ -95,6 +131,8 @@ public enum TransformationType */ REPLACE_WITH_INFO_TYPE(8), /** + * + * *
    * Time part
    * 
@@ -103,6 +141,8 @@ public enum TransformationType */ TIME_PART(9), /** + * + * *
    * Crypto hash
    * 
@@ -111,6 +151,8 @@ public enum TransformationType */ CRYPTO_HASH(10), /** + * + * *
    * Date shift
    * 
@@ -119,6 +161,8 @@ public enum TransformationType */ DATE_SHIFT(12), /** + * + * *
    * Deterministic crypto
    * 
@@ -127,6 +171,8 @@ public enum TransformationType */ CRYPTO_DETERMINISTIC_CONFIG(13), /** + * + * *
    * Redact image
    * 
@@ -138,6 +184,8 @@ public enum TransformationType ; /** + * + * *
    * Unused
    * 
@@ -146,6 +194,8 @@ public enum TransformationType */ public static final int TRANSFORMATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Record suppression
    * 
@@ -154,6 +204,8 @@ public enum TransformationType */ public static final int RECORD_SUPPRESSION_VALUE = 1; /** + * + * *
    * Replace value
    * 
@@ -162,6 +214,8 @@ public enum TransformationType */ public static final int REPLACE_VALUE_VALUE = 2; /** + * + * *
    * Replace value using a dictionary.
    * 
@@ -170,6 +224,8 @@ public enum TransformationType */ public static final int REPLACE_DICTIONARY_VALUE = 15; /** + * + * *
    * Redact
    * 
@@ -178,6 +234,8 @@ public enum TransformationType */ public static final int REDACT_VALUE = 3; /** + * + * *
    * Character mask
    * 
@@ -186,6 +244,8 @@ public enum TransformationType */ public static final int CHARACTER_MASK_VALUE = 4; /** + * + * *
    * FFX-FPE
    * 
@@ -194,6 +254,8 @@ public enum TransformationType */ public static final int CRYPTO_REPLACE_FFX_FPE_VALUE = 5; /** + * + * *
    * Fixed size bucketing
    * 
@@ -202,6 +264,8 @@ public enum TransformationType */ public static final int FIXED_SIZE_BUCKETING_VALUE = 6; /** + * + * *
    * Bucketing
    * 
@@ -210,6 +274,8 @@ public enum TransformationType */ public static final int BUCKETING_VALUE = 7; /** + * + * *
    * Replace with info type
    * 
@@ -218,6 +284,8 @@ public enum TransformationType */ public static final int REPLACE_WITH_INFO_TYPE_VALUE = 8; /** + * + * *
    * Time part
    * 
@@ -226,6 +294,8 @@ public enum TransformationType */ public static final int TIME_PART_VALUE = 9; /** + * + * *
    * Crypto hash
    * 
@@ -234,6 +304,8 @@ public enum TransformationType */ public static final int CRYPTO_HASH_VALUE = 10; /** + * + * *
    * Date shift
    * 
@@ -242,6 +314,8 @@ public enum TransformationType */ public static final int DATE_SHIFT_VALUE = 12; /** + * + * *
    * Deterministic crypto
    * 
@@ -250,6 +324,8 @@ public enum TransformationType */ public static final int CRYPTO_DETERMINISTIC_CONFIG_VALUE = 13; /** + * + * *
    * Redact image
    * 
@@ -258,7 +334,6 @@ public enum TransformationType */ public static final int REDACT_IMAGE_VALUE = 14; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -283,51 +358,66 @@ public static TransformationType valueOf(int value) { */ public static TransformationType forNumber(int value) { switch (value) { - case 0: return TRANSFORMATION_TYPE_UNSPECIFIED; - case 1: return RECORD_SUPPRESSION; - case 2: return REPLACE_VALUE; - case 15: return REPLACE_DICTIONARY; - case 3: return REDACT; - case 4: return CHARACTER_MASK; - case 5: return CRYPTO_REPLACE_FFX_FPE; - case 6: return FIXED_SIZE_BUCKETING; - case 7: return BUCKETING; - case 8: return REPLACE_WITH_INFO_TYPE; - case 9: return TIME_PART; - case 10: return CRYPTO_HASH; - case 12: return DATE_SHIFT; - case 13: return CRYPTO_DETERMINISTIC_CONFIG; - case 14: return REDACT_IMAGE; - default: return null; + case 0: + return TRANSFORMATION_TYPE_UNSPECIFIED; + case 1: + return RECORD_SUPPRESSION; + case 2: + return REPLACE_VALUE; + case 15: + return REPLACE_DICTIONARY; + case 3: + return REDACT; + case 4: + return CHARACTER_MASK; + case 5: + return CRYPTO_REPLACE_FFX_FPE; + case 6: + return FIXED_SIZE_BUCKETING; + case 7: + return BUCKETING; + case 8: + return REPLACE_WITH_INFO_TYPE; + case 9: + return TIME_PART; + case 10: + return CRYPTO_HASH; + case 12: + return DATE_SHIFT; + case 13: + return CRYPTO_DETERMINISTIC_CONFIG; + case 14: + return REDACT_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< - TransformationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TransformationType findValueByNumber(int number) { - return TransformationType.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 TransformationType findValueByNumber(int number) { + return TransformationType.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); } @@ -336,8 +426,7 @@ public TransformationType findValueByNumber(int number) { public static TransformationType 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; @@ -353,4 +442,3 @@ private TransformationType(int value) { // @@protoc_insertion_point(enum_scope:google.privacy.dlp.v2.TransformationType) } - 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 59900aa0..3261d961 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,19 +71,20 @@ 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) {
@@ -74,29 +92,33 @@ private TransientCryptoKey(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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.
@@ -107,6 +129,7 @@ private TransientCryptoKey(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -115,14 +138,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the key.
    * This is an arbitrary string used to differentiate different keys.
@@ -133,16 +157,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 { @@ -151,6 +174,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -162,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -187,15 +210,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; } @@ -214,97 +237,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.
@@ -312,21 +342,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()
@@ -334,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();
@@ -353,9 +384,9 @@ public Builder 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
@@ -374,7 +405,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;
@@ -384,38 +416,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;
@@ -459,6 +492,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -469,13 +504,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; @@ -484,6 +519,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -494,15 +531,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 { @@ -510,6 +546,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the key.
      * This is an arbitrary string used to differentiate different keys.
@@ -520,20 +558,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.
@@ -544,15 +584,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.
@@ -563,23 +606,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); } @@ -589,12 +632,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(); } @@ -603,16 +646,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; @@ -627,6 +670,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 0c2c1a2f..9682ff0e 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,18 +71,18 @@ 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) {
@@ -73,34 +90,39 @@ private UnwrappedCryptoKey(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -109,6 +131,7 @@ public com.google.protobuf.ByteString getKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,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 (!key_.isEmpty()) { output.writeBytes(1, key_); } @@ -135,8 +157,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; @@ -146,15 +167,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -173,97 +194,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.
@@ -271,21 +299,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()
@@ -293,16 +323,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();
@@ -312,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_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
@@ -333,7 +362,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;
@@ -343,38 +373,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;
@@ -417,11 +448,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 @@ -429,40 +463,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); } @@ -472,12 +512,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(); } @@ -486,16 +526,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; @@ -510,6 +550,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 22f6ee82..9567d1ef 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,45 +71,51 @@ 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) { @@ -99,36 +123,43 @@ private UpdateDeidentifyTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -137,31 +168,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 { @@ -172,11 +205,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 @@ -184,18 +220,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.
    * 
@@ -210,11 +253,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 @@ -222,11 +268,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 @@ -234,6 +283,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Mask to control which fields get updated.
    * 
@@ -246,6 +297,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +309,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -281,12 +332,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; @@ -296,24 +345,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; @@ -342,117 +389,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() @@ -460,16 +517,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -491,9 +547,9 @@ public Builder 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 @@ -512,7 +568,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_; @@ -532,38 +589,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; @@ -571,7 +629,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(); @@ -601,7 +660,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) { @@ -613,20 +673,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; @@ -635,22 +699,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 { @@ -658,60 +725,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; @@ -719,34 +799,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.
      * 
@@ -767,6 +860,8 @@ public Builder setDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTemplat return this; } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -785,6 +880,8 @@ public Builder setDeidentifyTemplate( return this; } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -795,7 +892,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; } @@ -807,6 +906,8 @@ public Builder mergeDeidentifyTemplate(com.google.privacy.dlp.v2.DeidentifyTempl return this; } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -825,6 +926,8 @@ public Builder clearDeidentifyTemplate() { return this; } /** + * + * *
      * New DeidentifyTemplate value.
      * 
@@ -832,11 +935,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.
      * 
@@ -847,11 +952,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.
      * 
@@ -859,14 +967,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_; @@ -874,34 +985,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.
      * 
@@ -922,14 +1046,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(); @@ -940,6 +1065,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -950,7 +1077,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; } @@ -962,6 +1089,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -980,6 +1109,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -987,11 +1118,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.
      * 
@@ -1002,11 +1135,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.
      * 
@@ -1014,21 +1150,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); } @@ -1038,12 +1177,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(); } @@ -1052,16 +1191,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; @@ -1076,6 +1215,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 69% 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 c5cd9a70..be5665fe 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,45 +70,51 @@ 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) { @@ -99,36 +122,43 @@ private UpdateInspectTemplateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -137,31 +167,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 { @@ -172,11 +204,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 @@ -184,18 +219,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.
    * 
@@ -210,11 +252,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 @@ -222,11 +267,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 @@ -234,6 +282,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Mask to control which fields get updated.
    * 
@@ -246,6 +296,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +308,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -281,12 +331,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; @@ -296,24 +344,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; @@ -342,117 +388,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() @@ -460,16 +516,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(); @@ -491,9 +546,9 @@ public Builder 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 @@ -512,7 +567,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_; @@ -532,38 +588,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; @@ -571,7 +628,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(); @@ -601,7 +659,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) { @@ -613,20 +672,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; @@ -635,22 +698,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 { @@ -658,60 +724,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; @@ -719,34 +798,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.
      * 
@@ -767,6 +859,8 @@ public Builder setInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate valu return this; } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -785,6 +879,8 @@ public Builder setInspectTemplate( return this; } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -795,7 +891,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; } @@ -807,6 +905,8 @@ public Builder mergeInspectTemplate(com.google.privacy.dlp.v2.InspectTemplate va return this; } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -825,6 +925,8 @@ public Builder clearInspectTemplate() { return this; } /** + * + * *
      * New InspectTemplate value.
      * 
@@ -832,11 +934,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.
      * 
@@ -847,11 +951,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.
      * 
@@ -859,14 +966,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_; @@ -874,34 +984,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.
      * 
@@ -922,14 +1045,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(); @@ -940,6 +1064,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -950,7 +1076,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; } @@ -962,6 +1088,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -980,6 +1108,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -987,11 +1117,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.
      * 
@@ -1002,11 +1134,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.
      * 
@@ -1014,21 +1149,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); } @@ -1038,12 +1176,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(); } @@ -1052,16 +1190,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; @@ -1076,6 +1214,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 ecd13ab8..73755889 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,45 +70,51 @@ 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) { @@ -99,35 +122,42 @@ private UpdateJobTriggerRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -136,30 +166,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 { @@ -170,11 +202,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 @@ -182,18 +217,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.
    * 
@@ -208,11 +250,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 @@ -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 (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; @@ -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.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; @@ -340,117 +386,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() @@ -458,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(); @@ -489,9 +543,9 @@ public Builder 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 @@ -510,7 +564,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_; @@ -530,38 +585,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; @@ -569,7 +625,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(); @@ -599,7 +656,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) { @@ -611,19 +669,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; @@ -632,21 +694,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 { @@ -654,57 +719,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; @@ -712,34 +790,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.
      * 
@@ -760,14 +851,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(); @@ -778,6 +870,8 @@ public Builder setJobTrigger( return this; } /** + * + * *
      * New JobTrigger value.
      * 
@@ -788,7 +882,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; } @@ -800,6 +896,8 @@ public Builder mergeJobTrigger(com.google.privacy.dlp.v2.JobTrigger value) { return this; } /** + * + * *
      * New JobTrigger value.
      * 
@@ -818,6 +916,8 @@ public Builder clearJobTrigger() { return this; } /** + * + * *
      * New JobTrigger value.
      * 
@@ -825,11 +925,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.
      * 
@@ -840,11 +942,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.
      * 
@@ -852,14 +957,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_; @@ -867,34 +975,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.
      * 
@@ -915,14 +1036,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(); @@ -933,6 +1055,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -943,7 +1067,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; } @@ -955,6 +1079,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -973,6 +1099,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -980,11 +1108,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.
      * 
@@ -995,11 +1125,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.
      * 
@@ -1007,21 +1140,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); } @@ -1031,12 +1167,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(); } @@ -1045,16 +1181,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; @@ -1069,6 +1205,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 70% 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 33f80bab..eed1f449 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,45 +70,51 @@ 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) { @@ -99,36 +122,43 @@ private UpdateStoredInfoTypeRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -137,31 +167,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 { @@ -172,6 +204,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
@@ -179,6 +213,7 @@ public java.lang.String getName() {
    * 
* * .google.privacy.dlp.v2.StoredInfoTypeConfig config = 2; + * * @return Whether the config field is set. */ @java.lang.Override @@ -186,6 +221,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
@@ -193,13 +230,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
@@ -216,11 +258,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 @@ -228,11 +273,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 @@ -240,6 +288,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Mask to control which fields get updated.
    * 
@@ -252,6 +302,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +314,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -287,12 +337,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; @@ -302,24 +350,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; @@ -348,117 +394,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() @@ -466,16 +522,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -497,9 +552,9 @@ public Builder 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 @@ -518,7 +573,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_; @@ -538,38 +594,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; @@ -577,7 +634,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(); @@ -607,7 +665,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) { @@ -619,20 +678,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; @@ -641,22 +704,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 { @@ -664,60 +730,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; @@ -725,8 +804,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
@@ -734,12 +818,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
@@ -747,16 +834,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
@@ -779,6 +871,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
@@ -799,6 +893,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
@@ -811,7 +907,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;
         }
@@ -823,6 +921,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
@@ -843,6 +943,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
@@ -852,11 +954,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
@@ -869,11 +973,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
@@ -883,14 +990,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_;
@@ -898,34 +1008,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.
      * 
@@ -946,14 +1069,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(); @@ -964,6 +1088,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -974,7 +1100,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; } @@ -986,6 +1112,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1004,6 +1132,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Mask to control which fields get updated.
      * 
@@ -1011,11 +1141,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.
      * 
@@ -1026,11 +1158,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.
      * 
@@ -1038,21 +1173,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); } @@ -1062,12 +1200,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(); } @@ -1076,16 +1214,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; @@ -1100,6 +1238,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 1dcea998..cd39a50d 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,82 +73,87 @@ private Value(
           case 0:
             done = true;
             break;
-          case 8: {
-            type_ = input.readInt64();
-            typeCase_ = 1;
-            break;
-          }
-          case 17: {
-            type_ = input.readDouble();
-            typeCase_ = 2;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            typeCase_ = 3;
-            type_ = s;
-            break;
-          }
-          case 32: {
-            type_ = input.readBool();
-            typeCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (typeCase_ == 5) {
-              subBuilder = ((com.google.protobuf.Timestamp) type_).toBuilder();
+          case 8:
+            {
+              type_ = input.readInt64();
+              typeCase_ = 1;
+              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:
+            {
+              type_ = input.readDouble();
+              typeCase_ = 2;
+              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:
+            {
+              type_ = input.readBool();
+              typeCase_ = 4;
+              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) {
@@ -140,30 +161,33 @@ private Value(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(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),
@@ -175,6 +199,7 @@ public enum TypeCase
     DAY_OF_WEEK_VALUE(8),
     TYPE_NOT_SET(0);
     private final int value;
+
     private TypeCase(int value) {
       this.value = value;
     }
@@ -190,36 +215,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 @@ -227,11 +264,14 @@ public boolean hasIntegerValue() { return typeCase_ == 1; } /** + * + * *
    * integer
    * 
* * int64 integer_value = 1; + * * @return The integerValue. */ @java.lang.Override @@ -244,11 +284,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 @@ -256,11 +299,14 @@ public boolean hasFloatValue() { return typeCase_ == 2; } /** + * + * *
    * float
    * 
* * double float_value = 2; + * * @return The floatValue. */ @java.lang.Override @@ -273,22 +319,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() { @@ -299,8 +351,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; @@ -309,23 +360,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; } @@ -337,11 +389,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 @@ -349,11 +404,14 @@ public boolean hasBooleanValue() { return typeCase_ == 4; } /** + * + * *
    * boolean
    * 
* * bool boolean_value = 4; + * * @return The booleanValue. */ @java.lang.Override @@ -366,11 +424,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 @@ -378,21 +439,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
    * 
@@ -402,18 +468,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 @@ -421,21 +490,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
    * 
@@ -445,18 +519,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 @@ -464,21 +541,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
    * 
@@ -488,29 +570,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() { @@ -520,24 +608,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; @@ -549,22 +641,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_); @@ -588,38 +676,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; @@ -629,7 +718,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); @@ -639,37 +728,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: @@ -688,13 +769,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; @@ -702,8 +784,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; @@ -729,97 +810,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
@@ -831,19 +918,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);
     }
@@ -853,16 +941,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();
@@ -872,9 +959,9 @@ public Builder 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
@@ -939,38 +1026,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;
@@ -980,43 +1068,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();
@@ -1046,12 +1143,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() {
@@ -1061,24 +1158,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() { @@ -1088,11 +1190,14 @@ public long getIntegerValue() { return 0L; } /** + * + * *
      * integer
      * 
* * int64 integer_value = 1; + * * @param value The integerValue to set. * @return This builder for chaining. */ @@ -1103,11 +1208,14 @@ public Builder setIntegerValue(long value) { return this; } /** + * + * *
      * integer
      * 
* * int64 integer_value = 1; + * * @return This builder for chaining. */ public Builder clearIntegerValue() { @@ -1120,22 +1228,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() { @@ -1145,11 +1259,14 @@ public double getFloatValue() { return 0D; } /** + * + * *
      * float
      * 
* * double float_value = 2; + * * @param value The floatValue to set. * @return This builder for chaining. */ @@ -1160,11 +1277,14 @@ public Builder setFloatValue(double value) { return this; } /** + * + * *
      * float
      * 
* * double float_value = 2; + * * @return This builder for chaining. */ public Builder clearFloatValue() { @@ -1177,11 +1297,14 @@ public Builder clearFloatValue() { } /** + * + * *
      * string
      * 
* * string string_value = 3; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1189,11 +1312,14 @@ public boolean hasStringValue() { return typeCase_ == 3; } /** + * + * *
      * string
      * 
* * string string_value = 3; + * * @return The stringValue. */ @java.lang.Override @@ -1203,8 +1329,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; @@ -1215,24 +1340,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; } @@ -1242,30 +1368,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() { @@ -1277,20 +1408,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(); @@ -1298,22 +1431,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() { @@ -1323,11 +1462,14 @@ public boolean getBooleanValue() { return false; } /** + * + * *
      * boolean
      * 
* * bool boolean_value = 4; + * * @param value The booleanValue to set. * @return This builder for chaining. */ @@ -1338,11 +1480,14 @@ public Builder setBooleanValue(boolean value) { return this; } /** + * + * *
      * boolean
      * 
* * bool boolean_value = 4; + * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1355,13 +1500,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 @@ -1369,11 +1520,14 @@ public boolean hasTimestampValue() { return typeCase_ == 5; } /** + * + * *
      * timestamp
      * 
* * .google.protobuf.Timestamp timestamp_value = 5; + * * @return The timestampValue. */ @java.lang.Override @@ -1391,6 +1545,8 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** + * + * *
      * timestamp
      * 
@@ -1411,14 +1567,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(); @@ -1429,6 +1586,8 @@ public Builder setTimestampValue( return this; } /** + * + * *
      * timestamp
      * 
@@ -1437,10 +1596,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; } @@ -1456,6 +1616,8 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * timestamp
      * 
@@ -1479,6 +1641,8 @@ public Builder clearTimestampValue() { return this; } /** + * + * *
      * timestamp
      * 
@@ -1489,6 +1653,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() { return getTimestampValueFieldBuilder().getBuilder(); } /** + * + * *
      * timestamp
      * 
@@ -1507,6 +1673,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() { } } /** + * + * *
      * timestamp
      * 
@@ -1514,32 +1682,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 @@ -1547,11 +1725,14 @@ public boolean hasTimeValue() { return typeCase_ == 6; } /** + * + * *
      * time of day
      * 
* * .google.type.TimeOfDay time_value = 6; + * * @return The timeValue. */ @java.lang.Override @@ -1569,6 +1750,8 @@ public com.google.type.TimeOfDay getTimeValue() { } } /** + * + * *
      * time of day
      * 
@@ -1589,14 +1772,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(); @@ -1607,6 +1791,8 @@ public Builder setTimeValue( return this; } /** + * + * *
      * time of day
      * 
@@ -1615,10 +1801,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; } @@ -1634,6 +1821,8 @@ public Builder mergeTimeValue(com.google.type.TimeOfDay value) { return this; } /** + * + * *
      * time of day
      * 
@@ -1657,6 +1846,8 @@ public Builder clearTimeValue() { return this; } /** + * + * *
      * time of day
      * 
@@ -1667,6 +1858,8 @@ public com.google.type.TimeOfDay.Builder getTimeValueBuilder() { return getTimeValueFieldBuilder().getBuilder(); } /** + * + * *
      * time of day
      * 
@@ -1685,6 +1878,8 @@ public com.google.type.TimeOfDayOrBuilder getTimeValueOrBuilder() { } } /** + * + * *
      * time of day
      * 
@@ -1692,32 +1887,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 @@ -1725,11 +1928,14 @@ public boolean hasDateValue() { return typeCase_ == 7; } /** + * + * *
      * date
      * 
* * .google.type.Date date_value = 7; + * * @return The dateValue. */ @java.lang.Override @@ -1747,6 +1953,8 @@ public com.google.type.Date getDateValue() { } } /** + * + * *
      * date
      * 
@@ -1767,14 +1975,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(); @@ -1785,6 +1994,8 @@ public Builder setDateValue( return this; } /** + * + * *
      * date
      * 
@@ -1793,10 +2004,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; } @@ -1812,6 +2024,8 @@ public Builder mergeDateValue(com.google.type.Date value) { return this; } /** + * + * *
      * date
      * 
@@ -1835,6 +2049,8 @@ public Builder clearDateValue() { return this; } /** + * + * *
      * date
      * 
@@ -1845,6 +2061,8 @@ public com.google.type.Date.Builder getDateValueBuilder() { return getDateValueFieldBuilder().getBuilder(); } /** + * + * *
      * date
      * 
@@ -1863,6 +2081,8 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { } } /** + * + * *
      * date
      * 
@@ -1870,30 +2090,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 @@ -1901,11 +2124,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 @@ -1916,11 +2142,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. */ @@ -1931,29 +2160,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. */ @@ -1967,11 +2202,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() { @@ -1982,9 +2220,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); } @@ -1994,12 +2232,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(); } @@ -2008,16 +2246,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; @@ -2032,6 +2270,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 f80ced7b..1034e999 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,31 +68,33 @@ 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) { @@ -84,34 +102,39 @@ private ValueFrequency( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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 @@ -119,11 +142,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 @@ -131,6 +157,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.
    * 
@@ -145,11 +173,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 @@ -158,6 +189,7 @@ public long getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (value_ != null) { output.writeMessage(1, getValue()); } @@ -187,12 +218,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; @@ -202,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.ValueFrequency)) { return super.equals(obj); @@ -211,11 +240,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; } @@ -232,125 +259,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() @@ -358,16 +393,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(); @@ -383,9 +417,9 @@ public Builder 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 @@ -404,7 +438,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 { @@ -419,38 +454,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; @@ -496,24 +532,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() { @@ -524,6 +569,8 @@ public com.google.privacy.dlp.v2.Value getValue() { } } /** + * + * *
      * A value contained in the field in question.
      * 
@@ -544,14 +591,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(); @@ -562,6 +610,8 @@ public Builder setValue( return this; } /** + * + * *
      * A value contained in the field in question.
      * 
@@ -572,7 +622,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; } @@ -584,6 +634,8 @@ public Builder mergeValue(com.google.privacy.dlp.v2.Value value) { return this; } /** + * + * *
      * A value contained in the field in question.
      * 
@@ -602,6 +654,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * A value contained in the field in question.
      * 
@@ -609,11 +663,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.
      * 
@@ -624,11 +680,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.
      * 
@@ -636,26 +693,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 @@ -663,37 +726,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); } @@ -703,12 +772,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(); } @@ -717,16 +786,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; @@ -741,6 +810,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/java/com/google/privacy/dlp/v2/VersionDescription.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescription.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescription.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescription.java index 9b080232..6710077b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescription.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescription.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; /** + * + * *
  * Details about each available version for an infotype.
  * 
* * Protobuf type {@code google.privacy.dlp.v2.VersionDescription} */ -public final class VersionDescription extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VersionDescription extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.privacy.dlp.v2.VersionDescription) VersionDescriptionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VersionDescription.newBuilder() to construct. private VersionDescription(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private VersionDescription() { version_ = ""; description_ = ""; @@ -26,16 +44,15 @@ private VersionDescription() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VersionDescription(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private VersionDescription( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private VersionDescription( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - version_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + version_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - 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) { @@ -80,34 +99,39 @@ private VersionDescription( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(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_VersionDescription_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_VersionDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_VersionDescription_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_VersionDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.VersionDescription.class, com.google.privacy.dlp.v2.VersionDescription.Builder.class); + com.google.privacy.dlp.v2.VersionDescription.class, + com.google.privacy.dlp.v2.VersionDescription.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** + * + * *
    * Name of the version
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -116,29 +140,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; } } /** + * + * *
    * Name of the version
    * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -149,11 +173,14 @@ public java.lang.String getVersion() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Description of the version.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -162,29 +189,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 version.
    * 
* * 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 { @@ -193,6 +220,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -235,17 +262,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.VersionDescription)) { return super.equals(obj); } - com.google.privacy.dlp.v2.VersionDescription other = (com.google.privacy.dlp.v2.VersionDescription) obj; + com.google.privacy.dlp.v2.VersionDescription other = + (com.google.privacy.dlp.v2.VersionDescription) obj; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -266,118 +292,127 @@ public int hashCode() { return hash; } - public static com.google.privacy.dlp.v2.VersionDescription parseFrom( - java.nio.ByteBuffer data) + public static com.google.privacy.dlp.v2.VersionDescription parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.VersionDescription parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.VersionDescription parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.VersionDescription parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.VersionDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.privacy.dlp.v2.VersionDescription parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.privacy.dlp.v2.VersionDescription parseFrom(java.io.InputStream input) 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.VersionDescription parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.privacy.dlp.v2.VersionDescription parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.privacy.dlp.v2.VersionDescription parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.VersionDescription parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.privacy.dlp.v2.VersionDescription parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.privacy.dlp.v2.VersionDescription parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.privacy.dlp.v2.VersionDescription prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 about each available version for an infotype.
    * 
* * Protobuf type {@code google.privacy.dlp.v2.VersionDescription} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.privacy.dlp.v2.VersionDescription) com.google.privacy.dlp.v2.VersionDescriptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_VersionDescription_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_VersionDescription_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.privacy.dlp.v2.DlpProto.internal_static_google_privacy_dlp_v2_VersionDescription_fieldAccessorTable + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_VersionDescription_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.privacy.dlp.v2.VersionDescription.class, com.google.privacy.dlp.v2.VersionDescription.Builder.class); + com.google.privacy.dlp.v2.VersionDescription.class, + com.google.privacy.dlp.v2.VersionDescription.Builder.class); } // Construct using com.google.privacy.dlp.v2.VersionDescription.newBuilder() @@ -385,16 +420,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 +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_VersionDescription_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.privacy.dlp.v2.DlpProto + .internal_static_google_privacy_dlp_v2_VersionDescription_descriptor; } @java.lang.Override @@ -427,7 +461,8 @@ public com.google.privacy.dlp.v2.VersionDescription build() { @java.lang.Override public com.google.privacy.dlp.v2.VersionDescription buildPartial() { - com.google.privacy.dlp.v2.VersionDescription result = new com.google.privacy.dlp.v2.VersionDescription(this); + com.google.privacy.dlp.v2.VersionDescription result = + new com.google.privacy.dlp.v2.VersionDescription(this); result.version_ = version_; result.description_ = description_; onBuilt(); @@ -438,38 +473,39 @@ public com.google.privacy.dlp.v2.VersionDescription buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.privacy.dlp.v2.VersionDescription) { - return mergeFrom((com.google.privacy.dlp.v2.VersionDescription)other); + return mergeFrom((com.google.privacy.dlp.v2.VersionDescription) other); } else { super.mergeFrom(other); return this; @@ -517,18 +553,20 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** + * + * *
      * Name of the version
      * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -537,20 +575,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Name of the version
      * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -558,54 +597,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * Name of the version
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * Name of the version
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * Name of the version
      * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -613,18 +659,20 @@ public Builder setVersionBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Description of the version.
      * 
* * 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; @@ -633,20 +681,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the version.
      * 
* * 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 { @@ -654,61 +703,68 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Description of the version.
      * 
* * 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 version.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Description of the version.
      * 
* * 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +774,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.privacy.dlp.v2.VersionDescription) } // @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.VersionDescription) private static final com.google.privacy.dlp.v2.VersionDescription DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.privacy.dlp.v2.VersionDescription(); } @@ -732,16 +788,16 @@ public static com.google.privacy.dlp.v2.VersionDescription getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VersionDescription parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VersionDescription(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VersionDescription parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VersionDescription(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +812,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.privacy.dlp.v2.VersionDescription getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescriptionOrBuilder.java b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescriptionOrBuilder.java similarity index 52% rename from owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescriptionOrBuilder.java rename to proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescriptionOrBuilder.java index 744cf81c..191e2230 100644 --- a/owl-bot-staging/v2/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescriptionOrBuilder.java +++ b/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/VersionDescriptionOrBuilder.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/dlp.proto package com.google.privacy.dlp.v2; -public interface VersionDescriptionOrBuilder extends +public interface VersionDescriptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.VersionDescription) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Name of the version
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * Name of the version
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * Description of the version.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Description of the version.
    * 
* * string description = 2; + * * @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/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